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

Problem with STORE_LOC in BAPI_SALESORDER_CREATEFROMDAT2

former_member1161170
Participant
0 Likes
892

Hi gurus.

I'm using BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders and it works almost fine ...

I've only one problem: is it possible to get automatically the storage?

If I set the field STORE_LOC in the item, I get that storage in my order, otherwise the storage in the row order is empty.

But if I insert rows by the transactionVA01/02 I get automatically the storage, I don't need to force it.

Thanks for your help ...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
674

Hi

If Storage Location is assigned against the particular Plant and Shipping point functionally, then using VA01 transaction, it will

pick the storage location automatically. So when using your BAPI try with passing PLANT or SHIPPING POINT and see whether

storage location getting populated or not.

Regards,

Murali

Hi

If Storage Location is assigned against the particular Plant and Shipping point functionally, then using VA01 transaction, it will

pick the storage location automatically. So when using your BAPI try with passing PLANT or SHIPPING POINT and see whether

storage location getting populated or not.

Regards,

Murali

2 REPLIES 2
Read only

Former Member
0 Likes
675

Hi

If Storage Location is assigned against the particular Plant and Shipping point functionally, then using VA01 transaction, it will

pick the storage location automatically. So when using your BAPI try with passing PLANT or SHIPPING POINT and see whether

storage location getting populated or not.

Regards,

Murali

Read only

former_member1161170
Participant
0 Likes
674

I found the answer!

There was an exit in vbap loading which can pick the storage.

Thanks!