Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the status of the IDOC in IDOC_OUTPUT_DELVRY

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

Hi,

You can use this program RC1_IDOC_SET_STATUS to change IDoc status.

Regards

Former Member
0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

error

Edited by: Fatih Kökce on Sep 19, 2008 3:58 PM

Former Member
0 Kudos

try using IDOC_STATUS_WRITE_TO_DATABASE FM

Edited by: Nanda Kishore Veeravalli on Sep 19, 2008 4:31 PM