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: 

Regarding reprocessing of idocs

0 Kudos

Whenever we re-process any idoc, a new idoc number is generated.I wrote a logic to update the number of times a idoc is processed.I used the counter field value in EDIDS table to show number of times the idoc is processed.But when Iam trying to run the logic in WE19 mode I find that the idoc number is changing to new number and iam unable to compare it.

Points will be rewarded immediately for useful answers..

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Venkata

There is something wrong logic in your mind..

Counter field of EDIDS field doesnot contain the number of times idocs gets processed..instead it contains the states through which it is passing...

e.g. take a IDOC and lets see it has thrree status 64 62 and 53

then there will three entries for this idoc in EDIDS table...one for 64 and other for 62 ans last for 53..

Also you cannot reprocess the same idoc which is already succesfull...if u reprocess it a new sucessful or failure idoc will be created

Thank you very much

REgards,

Madan Gopal Sharma

8 REPLIES 8

Former Member
0 Kudos

Hi Venkata

There is something wrong logic in your mind..

Counter field of EDIDS field doesnot contain the number of times idocs gets processed..instead it contains the states through which it is passing...

e.g. take a IDOC and lets see it has thrree status 64 62 and 53

then there will three entries for this idoc in EDIDS table...one for 64 and other for 62 ans last for 53..

Also you cannot reprocess the same idoc which is already succesfull...if u reprocess it a new sucessful or failure idoc will be created

Thank you very much

REgards,

Madan Gopal Sharma

0 Kudos

thanks

0 Kudos

thanks

ferry_lianto
Active Contributor
0 Kudos

Hi,

You can not reprocess IDoc using transaction WE19.

This IDoc testing tool (WE19), it will generate new IDoc number.

If you want to reprocess an error IDoc, you can use standard program RBDINPUT (Inbound IDoc) and RBDOUTPU (Outbound IDoc).

Also if you want to reprocess an success IDoc, you need to change the IDoc status to 64 (Inbound IDoc) and 30 (Outbound) via program RC1_IDOC_SET_STATUS then you can use program RBDAPP01 (Inbound IDoc) and RSEOUT00 (Outbound IDoc).

Hope this will help.

Regards,

Ferry Lianto

SAPAI
Participant
0 Kudos

WE19 is the test tool for IDoc processing.

in we19 a copy of ur idoc ( failed or processed ) is generated in which you can change the segment data if you need. change the data and process it.. it will generate a new idoc no. as it is a new idoc ( although copy of original one).

all the data will remain same ( if not changed before proceesing in we19 ) and you can compare it with the original one.

I hope it is clear to you now...

if not get back with the details what exactly you want to do.

Former Member
0 Kudos

Hi,

When you reprocess the failed IDocs through the specific programs, new IDocs would not be generated, instead the status changes in the same IDoc. The various programs to reprocess failed IDocs are,

RBDAGAI2 - to reprocess IDocs after ALE inbound error (with status 56, 61, 63, 65)

RBDAGAIE - to reprocess edited IDocs (with status 32 / 69 )

RBDAGAIN - to reprocess IDocs with status 02 / 04 / 05 / 25 / 29

RBDAPP01 - to reprocess IDocs with status 64 / 66 (inbound unprocessed IDocs / IDocs failing with serialization issue)

RBDSYNER - to reprocess IDocs with ssyntax error (with status 26 /60)

RBDMANI2 - to reprocess failed IDocs (status 51)

RSEOUT00 - to reprocess unprocessed outbound IDocs (status 30)

Any IDoc edited using transaction WE19(test tool for IDoc processing) would generate a new IDoc and the newly generated IDoc would have the status (42 - outbound / 74 - inbound).

~ Bineah

Former Member
0 Kudos

There are couple of other programs as well to reprocess IDOCs other than the above mentioned programs.

RBDPROCESS & in se 38 RBD*PROCESS will give you the other one (its weekend here and I dont have access to the system to find it for you )

Mathews

Former Member
0 Kudos

Hi,

To reprocess an IDoc you can either use the standard programs or goto to Transaction BD87 and select the process button this would enable you to reprocess the idoc, but would not create a new one.

Thanks

Krithika