06-17-2009 9:17 AM
Hi Experts,
I am creating IDocs for my Purchase Order. I have done all the necessary settings and in partner profile, I have chosen the option 'Transfer IDocs immediately'. My Port is a tRFC port.
I am creating POs in bulk and and mutilple IDocs are getting created. Some of them are in status 03 whereas others are in status 30.
Can someone plaese explain the reason why some IDocs are getting created with status 03 whereas others with status 30 ?? I dont want to run some program like RSNAST00 to convert the status from 30 to 03.
I have checked condition records and other infor in NACE and there is uniformity in records for all vendors and hence am not getting any clue about this problem.
Please suggest. Thanks.
Regards,
Rudresh
06-19-2009 7:40 AM
Hi
Please add this code & check again.
call function 'DEQUEUE_ALL'.
commit work.
06-19-2009 7:40 AM
Hi
Please add this code & check again.
call function 'DEQUEUE_ALL'.
commit work.
06-19-2009 7:38 PM
06-19-2009 8:21 PM
Run RSEOUT00 Program and enter the Idoc number and execute..
it will change status from 30 to 03..
Prabhudas
06-21-2009 6:47 PM
Hi,
It happens due to locking of standard tables by other users at the time of idoc generation. To process again shedule a job for pgm RSEOUT00 in background with relevant data.
Thanks,
Asit Purbey
06-24-2009 9:26 PM
Hi Rudresh,
CALL FUNCTION 'DB_COMMIT'.
CALL FUNCTION 'DEQUEUE_ALL'. ( this FM is used to remove any locks created for the tables which your program is updating)
After FM 'MASTER_IDOC_DISTRIBUTE' and before COMMIT WORK.
Also u can process the idocs in status 30 to 03 by running program RSEOUT00 in background. Or in BD87.
Please refer my comments in the following post:
Regards
Vinod