Ansicht
Dokumentation

COM_CAT_R3_DOWNLOAD - BAdI: Change Category IDs When Downloading Product Categories from SAP ECC

COM_CAT_R3_DOWNLOAD - BAdI: Change Category IDs When Downloading Product Categories from SAP ECC

General Material Data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

When downloading Customizing objects DNL_CUST_PROD1 and DNL_CUST_SRVMAS, the following ERP product groupings are mapped to product categories:

  • Material types (T134, download object DNL_CUST_PROD1)
  • Material group (T023, download object DNL_CUST_PROD1)
  • Product hierarchies (T179, download object DNL_CUST_PROD1)
  • Service categories (T362, download object DNL_CUST_SRVMAS)

IDs are mapped as standard in the following way:

  • Material types
= MAT_ +
For example, the material type HAWA in the ERP system corresponds to the category MAT_HAWA in the CRM system.
  • Material groups
=
For example, the material group 01 in the ERP system corresponds to the category 01 in the CRM system.
  • Product hierarchies
=
For example, the product hierarchy ABCD in the ERP system corresponds to the category ABCD in the CRM system.
  • Service categories
= SRV_ +
For example, the service category BAU in the ERP system corresponds to the category SRV_BAU in the CRM system.

This mapping can be changed using the following methods:

  • Method MAP_R3_MATCLASS_TO_CATEGORY: Mapping the ERP material group to the CRM category ID
Here you can define that the ERP material group '01' is to be mapped to the CRM category '01A'.
  • Method MAP_CATEGORY_TO_R3_MATCLASS: Mapping the CRM category ID to the ERP material group
The reverse mapping direction must be implemented here. You therefore define that the CRM category '01A' corresponds to the ERP material group '01'.
  • Method MAP_R3_PRODHIER_TO_CATEGORY: Mapping the ERP product hierarchy to the CRM category ID
  • Method MAP_CATEGORY_TO_R3_PRODHIER: Mapping the CRM category ID to the ERP product hierarchy
  • Method MAP_R3_MATTYPE_TO_CATEGORY: Mapping the ERP material types to the CRM category ID
  • Method MAP_CATEGORY_TO_R3_MATTYPE: Mapping the CRM category ID to the ERP material types
  • Method MAP_R3_SERVICECAT_TO_CATEGORY: Mapping the ERP service categories to the CRM category ID
  • Method MAP_CATEGORY_TO_R3_SERVICECAT: Mapping the CRM category ID to the ERP service categories






ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2985 Date: 20240523 Time: 183905     sap01-206 ( 39 ms )