08-07-2007 5:43 AM
Hello all,
I got one requirement to error out the Idoc for outbound delivery.When the Outbound delivery is saved, the output type will be triggered and the Idoc will be generated.The requirement is to error out the IDoc if the serial number is empty in one of the segment of Delivery03.User exit EXIT_SAPLV56K_002 is available in the function module IDOC_OUTPUT_DELVRY but that is not useful in this case.
Is there any user exit or BADI available to change the status of the idoc in the FM IDOC_OUTPUT_DELVRY?
Full Points will be rewarded.
Thanks,
Nagesh
08-07-2007 5:58 AM
Hi,
You can use this program RC1_IDOC_SET_STATUS to change IDoc status.
Regards
08-07-2007 10:20 PM
Hi Nagesh,
Did Kiran's reply help? Could you change the status with the program RC1_IDOC_SET_STATUS ? Please let me know about this too.
Thanks.
08-08-2007 3:48 AM
No, that did not solve my problem.I need to implement the status change logic in some program or FM idoc_output_delvry that I could not identify.Please go through the requirement and let me know the solution
your help is highly appreciated
thanks,
Nagesh
09-19-2008 2:14 PM
09-19-2008 3:31 PM
try using IDOC_STATUS_WRITE_TO_DATABASE FM
Edited by: Nanda Kishore Veeravalli on Sep 19, 2008 4:31 PM