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_GOODSMVT_CREATE multiple call without commit

Former Member
0 Likes
1,079

Hi everybody,

I want to create several goods movements, but only all together. Thats why I try to call up BAPI_GOODSMVT_CREATE several times and only want to commit at the end. In a test program, it works fine, but in my transaction, I get the error 'MB_GOODS_MOVEMENT... can't be called twice(something like that)'.

Has anybody an idea?

Thanks in advance for yr reactions

Volker

6 REPLIES 6
Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
907

Hi

Keep the BAPI_GOODSMVT_CREATE in loop and process required no.of times.

Use commit statement after Endloop.

Regards,

Sreeram

Read only

0 Likes
907

Hi sree ram,

thanks for yr answer, but this is what I'm doing. What I would like to know is, why does this error appear, is this normal or what have I to look for.

Bibi Volker

Read only

Former Member
0 Likes
907

Can u paste ur code here.......

Read only

0 Likes
907

Hello Ravinder,

thanks for yr answer, but I just created another test program and it obviously is not possible to call the bapi several times without commit. I don't know why in the other case it was possible but unfortunately I have no time to verify.

Thanks to all

BiBi

Volker

Read only

0 Likes
907

Hi,

I have the same problem. Did you find any other solution ?

Regrads,

Marcin

Read only

0 Likes
907

Hi

I've the same problem also!

Did you find a way to do several calls with only one commit at the end?

Thanks in advance.