Application Development 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: 

Creating stock transfer orders using BAPI_PO_CREATE1

Former Member
0 Kudos

Hi,

I'm creating stock transfer orders using BAPI_PO_CREATE1.

I'm filling POITEM table field SUPPL_STLOC ( the storage location exists ) however the supplying storage location is clened somewhere during BAPI call, and the PO is created without supplying storage location.

Does anyone have any idea about possible cases of that situation ?

Thanks in advance,

Paulo Sousa

3 REPLIES 3

Former Member
0 Kudos

hi Paulo,

Storage location is not mandatory while creating STO.

So BAPI will create sto without storgae location.

If u want to change that PO u can use BAPI_PO_CHANGE .

Former Member
0 Kudos

Hi,

I found the problem. In certain conditions ( if the center is a distribution center - it is determined from table T001W ) the suppliyng storage location is cleared by standard.

Kind regards,

Paulo Sousa

0 Kudos

Hi Paulo,

Can please share how you exactly solved this problem. I am facing a similar issue.

Best Regards,

Prateek