Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

AMSP0002 - Determine relationship type for two company codes

AMSP0002 - Determine relationship type for two company codes

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL_S_LOG - Application Log: Log header data  
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





TXBHW - Original Tax Base Amount in Local Currency   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 1510 Date: 20211208 Time: 015128     sap01-206 ( 20 ms )