Ansicht
Dokumentation

MWMIDO09 - Enhancement for msg. WMINVE (count data, phys. invnt.) Inbox

MWMIDO09 - Enhancement for msg. WMINVE (count data, phys. invnt.) Inbox

PERFORM Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this user exit to influence the processing of IDOCs of the message type WMINVE (actual count dates physical inventory) that are sent to SAP from external systems via MM-MOB or WM-LSR interfaces. It is also possible to access customer-specific processing in this case.

The user exit is performed in the function module that processes the IDOCs of message type WMINVE after the IDOC is withdrawn and checked, but before direct proccessing in the application has been initiated. That is, the actual count dates have already been determined and edited, but the function module for entering the actual count dates into the system has not been accessed. The standard function module for processing message type WMINVE is called L_IDOC_INPUT_WMINVE. The IDOCs is processed online, which means that the source code is also executed online.

If an error arises, messages should not be issued since processing is being carried out in the background and the result of processing must always be returned to the ALE interface. For this reason language elements such as MESSAGE, COMMIT WORK, LEAVE and the like should not be used. If errors that should be passed on to ALE interface or that affect the result of processing are detected in the user exit, you should also use the user exit MWMIDI11 (EXIT_SAPLLMDE_001) since it alone can be used to take your errors into account (see the documentation of this user exit).

The user exit in the program is the function module EXIT_SAPLLMDE_003. In order to be able to use it, you must first create Include zxlidu10 and activate the enhancement by means of transaction CMOD. As parameters, you can use the the following data:

  • Actual count dates already determined from the received IDOC:
  • The actual count dates record currently pending for processing (IDOC item) (import parameter X_E1LINVX).

  • Received IDOC data:
  • IDOC control record (import parameter I_IDOC_CONTROL)

  • IDOC data record (table parameter T_IDOC_DATA)

This user exit can be used to:

  • influence the determined actual count dates. All data can be changed in this case.
  • Analyze and process data that is transferred using customer-specific segments.
  • Access additional activities.

A number of potential applications are described below.

  • You want to update your own tables, for example statistical data.





BAL Application Log Documentation   General Material Data  
This documentation is copyright by SAP AG.

Length: 2808 Date: 20240329 Time: 055143     sap01-206 ( 76 ms )