Quantcast
Channel: SCN: Message List - SAP ERP Financials - Treasury Applications
Viewing all articles
Browse latest Browse all 5623

Re: Two Flow Types for Capital Increase

$
0
0

Hello, Santiago.

 

There is a proble of empy Flow type fields if you have 2 or more Flow types.

empty.jpg

Use BADI FTR_TR_GENERIC, method EVT_APPLICATION_START

badi.jpg

 

Sample code:

code.jpg

 

  " Limit this code to specific product type where you have 2 flow types for  IF pi_proxy_transaction->a_transaction-sgsart = '51A'.    " We use field-symbol to enter our screen field,    " becuase we are not able to update field directly.    FIELD-SYMBOLS: <fs_mseg> TYPE ANY.    ASSIGN ('(SAPLTM00)VTMHPTBWG-SFHAZBA') TO <fs_mseg>.    " Always check if field-symbol is assigned to our field    IF sy-subrc = 0.      " Assign Flow type to screen field      <fs_mseg> = '1100'.    ENDIF.  ENDIF.

screen.jpg


Viewing all articles
Browse latest Browse all 5623

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>