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 error

Former Member
0 Likes
722

I have one bapi function module called /AFS/BAPI_GOODSMVT_CREATE.

I have declared internal table of structure as /AFS/BAPI2017_GM_ITEM_CREATE.

I am passing storage location as '0001' into my internal table but it is taking this as '1'

Finally i am getting error in return table as "Stor. location 1 not supported (please check your entry)"

What is the problem solution.

this is really

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
669

Hi,

It should work fine as storage location field is numeric.

Can you paste your code here or can you debug at the point before you BAPI is called that what is populated in storage location field, it is 1 or 0001.

If its 1 then look at the assignment of the storage location.

Do let me know in case you need any help. I have used this BAPI and i didnt faced this problem.

Thanks,

Kartavya

3 REPLIES 3
Read only

Former Member
0 Likes
669

Hello,

From the description what you've mentioned, I could make out that there could be an issue with the Storage Location when processing the respective Transaction Code. Try processing the Transaction manually before you update the Transaction using BAPI. Try processing the Transaction with the Combination of Storage Location and other entities. If it still gives an error, then probably the Storage Location you've specified in the Transaction is not supported for the Goods Movement.

Thanks and Regards,

Venkat Phani Prasad Konduri

Read only

Former Member
0 Likes
670

Hi,

It should work fine as storage location field is numeric.

Can you paste your code here or can you debug at the point before you BAPI is called that what is populated in storage location field, it is 1 or 0001.

If its 1 then look at the assignment of the storage location.

Do let me know in case you need any help. I have used this BAPI and i didnt faced this problem.

Thanks,

Kartavya

Read only

Former Member
0 Likes
669

Hello, is sending the 0001 in single quotes as a string, and so I solve it step ...

luck.