cancel
Showing results for 
Search instead for 
Did you mean: 

Updation of financial transaction number in FI document

0 Kudos

HI,

Is there BADI or Function module exists in treasury and risk managment application which will update Financial Instrument Number created in T-code FTR_CREATE in FI Document created at the time of T-code TBB1??

Thanks

Parag

Accepted Solutions (0)

Answers (1)

Answers (1)

grigoriy_babitskiy
Active Contributor
0 Kudos

Hello,

  • You can use DMS in order to show Financial Instrument Number in accounting document.

Configuration:

You need to configure Field Status Variant (tr. OBC4) and (or) Status variant for Posting codes (tr, OB41)

If it doesn't work try to look for more configuration.

For example, http://service.sap.com/sap/support/notes/1938404

  • Also there is badi TPM_ACCIF_TRAC, method ACCIT_EXIT. List of available fields to fill you can find in structure ACCIT.

For example, Contract type and number.


METHOD IF_EX_TPM_ACCIF_TRAC~ACCIT_EXIT.

     DATA: ZRANTYP TYPE RANTYP.

     " Select Contract Type

     SELECT SINGLE RANTYP FROM VTBFHA

       INTO ZRANTYP WHERE BUKRS = IM_DATA-COMPANY_CODE

       AND RFHA = IM_DATA-DEAL_NUMBER.

     " Enter Contract type and Contract number

     IF SY-SUBRC = 0.

       CH_ACCIT_C-VERTN = IM_DATA-DEAL_NUMBER.

       CH_ACCIT_C-VERTT = ZRANTYP.

     ENDIF.

   ENDMETHOD.