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: 

IDoc status 30 and 03 issue

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Please add this code & check again.


  call function 'DEQUEUE_ALL'.
  commit work.

5 REPLIES 5

Former Member
0 Kudos

Hi

Please add this code & check again.


  call function 'DEQUEUE_ALL'.
  commit work.

Former Member
0 Kudos

Former Member
0 Kudos

Run RSEOUT00 Program and enter the Idoc number and execute..

it will change status from 30 to 03..

Prabhudas

Former Member
0 Kudos

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

Former Member
0 Kudos

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