04-03-2018 10:12 AM
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.
04-04-2018 12:43 PM
Hi!
I think yes, you should commit each IDOC separately. Please refer to the standard report RBDSESTT subroutine SEND_BOMS
Hope it's helpful
04-04-2018 12:43 PM
Hi!
I think yes, you should commit each IDOC separately. Please refer to the standard report RBDSESTT subroutine SEND_BOMS
Hope it's helpful
04-04-2018 1:02 PM
Hi,
Thanks Evgeny. I have checked the standard program. Yes Dequeue are done inside the loop.
Regards,
Dhivya N.