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

Reprocessing IDOC

Former Member
0 Likes
2,613

Hello Experts,

I have developed a custom built function module , Similar to IDOC_INPUT_DELVRY , these function module will do delivery creation,

delivery change and subsequent PGI , there can be several reason for PGI couldn't have happen or delivery change couldn't have happen , Standard function module

allow you to reprocess the IDOC , but if they reprocess the IDOC which is asscoiated to my custom built function module then it will impact the entire delivery . How standard function module take care of reprocessing

Sanju

8 REPLIES 8
Read only

Former Member
0 Likes
1,609

USE BD87 TRANSACTION

Read only

former_member187255
Active Contributor
0 Likes
1,609

Use BD87 to reprocess the IDoc.

WE19 To resend the Idoc with new idoc number...

Read only

ferry_lianto
Active Contributor
0 Likes
1,609

Hi,

You can use standard program RBDINPUT to reprocess the inbound IDoc.

Regards,

Ferry Lianto

Read only

0 Likes
1,609

I think i didn't explain my question properly

1) You process the IDOC , Delivery got created and PGI failed , so if you are

using standard function module like 'IDOC_INPUT_DELVRY' then you can process the IDOC , how standard function module make sure that once you

reprocess the IDOC , code written for delivery creation should not be executed

as delivery has already been created and just code to do PGI should happen

Sanju

Read only

0 Likes
1,609

Hi sanju,

the incoming IDoc will have a delivery (or order) number from the originating system. This should be stored in a reference field of the dlivery created.

If an IDoc is being procesessed, the first thing to do is to find out if a delivery for this reference already exists. If so, the standard would initiate a delivery change, comparing the incoming with existing data. If everything is fine now, the Good Issue may proceed.

Regards,

Clemens

Read only

0 Likes
1,609

In standard function module, the commit will not happen until the IDoc status is ok (outside the function module). So you will have to make sure that you create a error status record in the same way standard function module does to ensure that the entire IDoc is processed or none of it.

Read only

0 Likes
1,609

In standard function module, the commit will not happen until the IDoc status is ok (outside the function module). So you will have to make sure that you create a error status record in the same way standard function module does to ensure that the entire IDoc is processed or none of it.

Read only

Former Member
0 Likes
1,609

Hi,

If the Idocs failes with status 51 , we can use programe RBDMANI2 to reprocessing the Idoc.

Regards,

Chandra