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 after using commit work

Former Member
0 Kudos

Hi all,

my coding is like as below:

loop change pointer

CALL FUNCTION 'MASTER_IDOC_CREATE_BOMMAT'

endloop.

CALL FUNCTION 'DB_COMMIT'.

CALL FUNCTION 'DEQUEUE_ALL'.

COMMIT WORK.

Eventhough i have used the above three statement , IDOC are still queuing up with status '30.

My question here is whether I need to write this three statement inside loop ( means for each IDOC, these statement needs to be executed)???

As of now, after all IDOCS triggered, three statement are getting executed.

Thanks in advance.

Regards,

Dhivya N.

1 ACCEPTED SOLUTION

former_member400468
Active Participant
0 Kudos

Hi!

I think yes, you should commit each IDOC separately. Please refer to the standard report RBDSESTT subroutine SEND_BOMS

Hope it's helpful

2 REPLIES 2

former_member400468
Active Participant
0 Kudos

Hi!

I think yes, you should commit each IDOC separately. Please refer to the standard report RBDSESTT subroutine SEND_BOMS

Hope it's helpful

0 Kudos

Hi,

Thanks Evgeny. I have checked the standard program. Yes Dequeue are done inside the loop.

Regards,

Dhivya N.