Ansicht
Dokumentation

EXIT_/SAPAPO/SAPLCIF_PROD_001 - Inbound Processing: Products

EXIT_/SAPAPO/SAPLCIF_PROD_001 - Inbound Processing: Products

ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

In this function module you can set or change fields from the product master during inbound processing.

In addition, you can map external product numbers to SAP APO product numbers.

Change of product master data

You can set the product data in the tables. The indicator must be set so that these changes come into effect.

Example: You want to set the PP/DS planner.

The field IT_MATLOC-PLANNER_PPS is filled and to activate the change you need to set the checkbox to 'X' in the checkbox structure IT_MATLOCX-PLANNER_PPS.

To suppress changes it is sufficient to delete an 'X' that has been set in the checkbox structure.

Mapping product numbers

For this you use the table parameter ET_MATMAP, in which you enter the external number and the SAP APO product number.

In addition you need to set the parameter EF_MAP_USE to 'X' so that the system uses your customer specific mapping.

Set the parameter EF_DUP_CHECK to

  • X,
    if you only work with one Business System Group (BSG) or if there are only different products with different numbers in different system groups. In this case, if the same APO product number is transferred from two BSGs the system will generate an error message.
Example:
BSG 1: Screws with the APO product numbers s1, s2, s3, ...
BSV 2: Hammers with the APO product numbers h1, h2, h3, ...

  • A,
    if you 1.) work with different business system groups and 2.) products with identical APO product numbers from different BSGs are identical.
Example:
The product 'hammer' has
  • the external number A1 in BSG 1

  • the external number B1 in BSG 2

  • and the APO product number H1

Example

See example coding in customer exit APOCF005.





Parameters

CF_DST_BSG
CF_DUP_CHECK
CF_LOGSYS
CS_CONTROLS
EF_MAP_USE
ET_MATLWH
ET_MATLWHST
ET_MATLWHSTX
ET_MATLWHX
ET_MATMAP
ET_RETURN
IT_EXTENSIONIN
IT_MARM
IT_MARMX
IT_MATAPN
IT_MATCLASS
IT_MATGROUP
IT_MATKEY
IT_MATKEYCUS
IT_MATKEYX
IT_MATLOC
IT_MATLOCCUS
IT_MATLOCX
IT_MATTXT
IT_MATTXTX
IT_MATVERS
IT_MATVERX
IT_PENALTY1
IT_PENALTY1X
IT_PENALTY2
IT_PENALTY2X

Exceptions

USEREXIT_ERROR

Function Group

XCIFUSER

BAL_S_LOG - Application Log: Log header data   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3120 Date: 20240523 Time: 082402     sap01-206 ( 27 ms )