Application Development and Automation 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: 
Read only

INBOUND IDOC REPROCESSING IN CUSTOM PROGRAM

Former Member
0 Likes
1,561

Hello,

I have a custom program which displays the INBOUND IDoc data for the message type = ZSTLSP in the ALV format.

Requiremt is that I shall select a record and change one of the coulmn contents . A button 'Reprocess' will be

made available , when clicked it needs to reprocess the Idoc . The reprocessed idoc will be strored with the new values entered

and the original idoc will be stored with status 70.

Kindly let me know how to reporcess the IDoc in the custom program.

Note that If I try to cakk l standard program RBDAPP01 to reprocess the IDOCs using SUBMIT statement. We can pass the IDOC Number, Message type etc. while submitting the program but CANNNT pass the changed SDATA field.

Thanks in Advance!!

Senthil

4 REPLIES 4
Read only

Former Member
0 Likes
953

Transaction BD87 is doing the same thing except ALV report.

try to debug BD87 with sample changes and adpot the code into your custom program.

Regds,

Read only

Former Member
0 Likes
953

we have a similar custom program, we call function module IDOC_INPUT to reprocess the IDOC.

Read only

0 Likes
953

I am able to change the value using FM IDOC_INPUT , but the changed values is not updateing in the databse.

Maybe I need to do commit. kindly let me know how to do commit in this scenario.

Senthil

Read only

0 Likes
953

there is an import paramter DO_COMMIT which if set will perform the commit within the function, if not set, then commit within your bespoke program.