Application Development and Automation 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: 
Read only

bapi_entrysheet_release

Former Member
0 Likes
1,135

i'm using the FM bapi_entrysheet_release in a loop and passing entryseet no to it.

there are some case where more then one entrysheet can have same purchase order no.

so in this case it show this error "VPTURN* is already processing PO 45877857988"

VPTURN is username.

please help me on this

5 REPLIES 5
Read only

0 Likes
887

Are you committing between loop passes? Would the addition of a WAIT parameter help?

Read only

Former Member
0 Likes
887

Avinash,

I am sure its a timing issue.

Testing with a longer wait time between two entry sheets. I am sure it will work then.

Regards,

Ravi

Note : Please mark the helpful answers.

Read only

0 Likes
887

You can use <b>ENQUE_SLEEP</b> FM between each entry sheet -;)

Greetings,

Blag.

Read only

0 Likes
887

i had tried with all wait options but still it is giving the same error any other alternatives

Read only

0 Likes
887

hi avinash,

as already suggested is it possible for you to commit the BAPI in between the steps of the loop.