Ansicht Dokumentation

Wir wachsen stetig und suchen neue Kollegen (m/w/d)! Schauen Sie sich unsere offenen Position an, um eine passende Herausforderung zu finden!

AMSP0002 - Determine relationship type for two company codes

AMSP0002 - Determine relationship type for two company codes

Fill RESBD Structure from EBP Component Structure   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You can use SAP enhancement AMSP0002 to have the system determine the company code relationship for intercompany asset transfer according to your own requirements.

The allowed company code relationship types are:
01 - the company codes are legally independent entities
02 - the company codes are not legally independent entities

If you do not use this SAP enhancement, the system determines the company code relationship type as follows:

  • 01 - if each of the company codes are assigned to different companies, or are not assigned to any company
  • 02 - if both company codes are assigned to the same company, or if the asset transfer takes place within the same company code (intracompany asset transfer).

To use this user exit, follow these steps:

  1. Maintain the include ZXAPCU01 and create source code in it for determining the company code relationship type.
  2. Create a customer project using SAP enhancement AMSP0002 and activate it (transaction CMOD).

The following parameters are available in include ZXAPCU02 :

  • Retiring company code I_BUKR1
  • Receiving company code I_BUKR2
  • Transfer variant being used I_TRANSV
  • Relationship type of the two company codes to each other E_BZTYP





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

Length: 1510 Date: 20220122 Time: 040052     sap01-206 ( 22 ms )