Ansicht
Dokumentation

J_3RF_TP_BADI - BAdI: Transfer Pricing Data

J_3RF_TP_BADI - BAdI: Transfer Pricing Data

PERFORM Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (BAdI) is used in Transfer Pricing for Russia.

You can use this BAdI to modify relevant data.

This BAdI definition contains BAdI methods:

  • MODIFY_MAIN is used to edit main transfer pricing notification data.
  • MODIFY_LIST1A is used to edit data for transfer pricing notification section 1A.
  • MODIFY_LIST1B is used to edit data for transfer pricing notification section 1B.
  • MODIFY_LIST2 is used to edit data for transfer pricing notification section 2.
  • MODIFY_TOTAL is used to edit data of relevant documents before the corrective invoices are applied to the accounting documents.
Fill out the fields as follows:
  • group - group code as defined in Customizing

  • grouping flag - grouping flag as defined in Customizing

  • partner - account type: D for customer account, K for vendor account

  • kunnr - customer number

  • lifnr- vendor number

  • prio - technical field, not used at this point

  • dmbtr_sign- technical field, not used at this point

Remaining fields are filled out according to Accounting Document Segment table (BSEG).
  • MODIFY_CORR is used to edit data of corrective documents before their data is written into the transfer pricing database.
Relevant tables are:
  • ct_bseg_cor- corrective documents

  • ct_bseg_ori- original documents

Fill out the fields as follows:
  • belnr_prev- number of the document the corrective invoice refers to

  • buzei_prev- number of the document item the corrective invoice refers to

  • belnr_orig- number of the original document in the document chain

  • buzei_orig- number of the original document item in the document chain

For the original document in the document chain, fill out the fields belnr_prev, buzei_prev, belnr_orig, buzei_orig with its own document and item numbers.
  • active flag - technical flag, not used at this point

In the standard system, there is no activated BAdI implementation.

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

To display the sample code, choose Goto -> Sample Code -> Display.

This BAdI uses the interface IF_J_3RF_TP_BADI. For more information, display the interface in the Class Builder.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 4870 Date: 20240523 Time: 191651     sap01-206 ( 94 ms )