Use the user exit EXIT_SAPLMRMH_014.
OSS note 119092 identifies the solution to not being able to process planned freight as processing it as unplanned freight.
You can account unplanned delivery costs with the aid of User Exit EXIT_SAPLIEDI_111 (for Transaction MR01) or EXIT_SAPLMRMH_014 (for Transaction MR1M / MIRO.
FU EXIT_SAPLMRMH_014
____________________________________________________
Short Text
Customer Exit: EDI Invoice Receipt - Change IDoc Segment
Functionality
This customer-specific function module is called after the system has read each IDoc segment while processing IDocs. This allows you to use the information in each IDoc segment to determine data in the invoice document to be created in a different way to that in the standard system. In addition to the IDoc segment, the document header data and the document items created so far are available.
Notes
The system only adopts the change if parameter E_CHANGE = 'X' is passed on.
Parameters
I_IDOC_DATA
E_CHANGE
E_RBKPV
T_FRSEG
Exceptions
ERROR_MESSAGE
Function Group
XM08
No comments:
Post a Comment