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

Idoc collective processing

Former Member
0 Likes
1,416

Hi We have a custom idoc(Inbound) for posting goods movements...Actually it does goods movements through two seperate BDC calls and returns the material document number in the status.When we process two or more idocs through a batch processing at a same time..the first idoc goes through do the posting corretly but the second and third doesnt do anything but gets 53 status and also picks up the material doc number of the first idoc in status...

Each idoc goes through correctly when processed individually...What might be the problem....?and how it could be corrected...?

Thanks,

Larry

3 REPLIES 3
Read only

Manohar2u
Active Contributor
0 Likes
795

Larry,

This is due to refresh problems in the program, after idoc has been sent clear all the varilable in the program.

To debug, keep the break point in the program and make settings as collecting method in we20 and problem by RBDOUT program to check which variable is causing problem.

Regds

Manohar

Read only

0 Likes
795

Hi,

As Manohar said ,the problem is due to variables refresh. One of the variables is setting to success status after processing of the first idoc , i think the same status is transfered to next idoc's also.

follow below steps to identify the problem.

1.Change the partner profile settings to 'Collective method' , then idoc's will be created with 64 status.

2.then put a break point at processing function module.

3.use BD87 or program : RBDAPP01 to process 64 status idoc's , while processing idoc's take more than one 64 status idoc. then you will know the exact problem.due to break point, program will go to debug mode, after processing of the first idoc then start debugging the program with second idoc processing.

Regards

Appana

Read only

Former Member
0 Likes
795

Thanks for the replies,

Yes,the problem was with refreshing the variables...

Replies appreciated with points

Larry