‎2010 Jul 26 8:14 AM
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
‎2010 Jul 27 7:22 AM
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,
‎2010 Jul 27 7:48 AM
we have a similar custom program, we call function module IDOC_INPUT to reprocess the IDOC.
‎2010 Jul 27 9:36 AM
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
‎2010 Jul 27 9:41 AM
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.