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

VB_BATCH_DETERMINATION

Former Member
0 Likes
1,552

Hi All,

While using VB_BATCH_DETERMINATION i was able to get the required data, but when the same values are Passed onto BAPI_GOODSMVT_CREATE, i am getting an error "Goods movement not possible with mvmt type 201 " .

But when the same values are passed to BAPI_GOODSMVT_CREATE manually, it works as expected. Not able to find out the reason.

4 REPLIES 4
Read only

GK817
Active Contributor
1,153

Hi,

One possible reason could be that VB_BATCH_DETERMINATION changes are not committed. Please try by calling BAPI_TRANSACTION_COMMIT with wait = 'X' before calling BAPI_GOODSMVT_CREATE. Let me know how it goes.

GK

Read only

Former Member
0 Likes
1,153

hi Gaurav,

Thanx for the reply. As suggested i tried to use BAPI_TRANSACTION_COMMIT, it did nbot work as expected.

with rgds

Ranjith

Read only

Former Member
0 Likes
1,153

Following same.

Thanks.

Read only

Former Member
0 Likes
1,153

1. Change any flag(s)/configuration, to allow automated/background processing for this movement type for this transaction (in addition to manual)

2. Compare exact values of all parameters passed to this function module:

#2a. automatically, compared to

#2b. manually

(esp. if any leading zeroes, leading spaces, movement types, etc.)

3. Attach screenshots of #2a & #2b above