‎2006 Aug 18 6:43 PM
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
‎2006 Aug 20 9:55 AM
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
‎2006 Aug 20 10:45 AM
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
‎2006 Aug 21 12:53 PM
Thanks for the replies,
Yes,the problem was with refreshing the variables...
Replies appreciated with points
Larry