Hi,
Can somebody tell me how to stop the IDOC processing if the conditions are not met? My detail question is
I am modifying the data in the outbound IDOC (IDOC_OUTPUT_ORDERS) for purchase order. I am using the user exit EXIT_SAPLEINM_002 to modify the segment data.
But I would like to know how to stop for creating the IDOC if one of the condition will not met (for example if there is no data in Ztable while fetching then IDOC should not be created )?
If the condition will fail I don't want to create the IDOC but Purchase order has to create in R/3.
Any suggestions on my above query is highly appreciable.
Regards,
Noorul
Add a comment