Ansicht
Dokumentation

IWMI0001 - User exits for SM/PM IDOCs

IWMI0001 - User exits for SM/PM IDOCs

PERFORM Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function modules in function group XIWMI provide user exits for processing some Work Management Interface IDocs.

  • IORDER01 and INOTIF01 outbound IDocs: the EXIT_SAPLISMPM_IDOCS_001 function is called each time a data segment is added in t_idoc_data internal table. The internal table can be modified in the user exit (entries can be inserted/modified/deleted).
  • IORUPD01 inbound IDoc: the EXIT_SAPLISMPM_UPD_IDOCS_001 function is called when the completion of an order is requested via IDoc. A COMPLETION_REJECTED exception can be raised by the user exit.
  • INTUPD01 inbound IDoc: the EXIT_SAPLISMPM_UPD_IDOCS_002 function is called when the completion of a notification or a task (for a task when the MANUM parameter is not initial) is requested via IDoc. A COMPLETION_REJECTED exception can be raised by the user exit.
  • IOAUPD01 inbound IDoc: the EXIT_SAPLISMPM_UPD_IDOCS_003 function is called when the update of work assignment fields is requested via IDoc for an order or an operation (for an operation when the T_OPER-VORNR parameter field is not initial). A UPDATE_REJECTED exception can be raised by the user exit, or different values can be set in fields to be updated.

Example

In the EXIT_SAPLISMPM_IDOCS_001, the code should look like this:

CASE idoc_type.

WHEN 'IORDER01'.

CASE segment_name.

WHEN 'E1ORHDR'.

...

ENDCASE.

WHEN 'INOTIF01'.

...

ENDCASE.

If one IDoc is extended, add the new segment data after the preceding standard segment was processed. To determine which of the many optional import parameter is available for which segments, look at the code of the IDOC_INPUT_IORDER or IDOC_INPUT_INOTIF calling functions.






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

Length: 2095 Date: 20240420 Time: 142958     sap01-206 ( 45 ms )