SAP Knowledge Base Article - Public

3225184 - Third party flow - purchase order storage location not filled

Symptom

You have a 3rd party order flow and during the creation of the sales order you maintain a storage location. 
When you save the sales order the storage location is filled in the corresponding purchase requisition item.
You when you create the purchase order, the storage location sometimes appears empty and the field is greyed out. 


Environment

SAP S/4Hana Cloud - All versions 

Reproducing the Issue

1) Create a third party sales order
2) In the item shipping data maintain a storage location 
3) Check the purchase requisition created (the storage location is filled) 
4) Create a purchase order with reference to the purchase requisition 
5) The storage location appears empty in the PO item

Cause

Standard system behaviour 

When you create a sales order in the public cloud you can use item categories CB2 (3rd Party w/o SN) or CBAB (Bought-In Item) for example. 
Item category CB2 will pick up an account assignment category of 'Y' and Item category CBAB will pick up an account assignment category of 'H'. 
Third party Purchase orders created from sales item category CBAB will have a displayed storage location the CB2 case will not.

A third party purchase order item will have item category '5', when item category '5' is present on a PO item the storage location will be greyed out.    
In the public cloud the delivered content for the 3rd party item field selection key, PT5F, does not have an active entry for the storage location field.
It is empty which hides the field. By design the storage location field is hidden to the user as it is a consumption posting with no actual posting to stock.  



Resolution

This is a display logic in the purchase order. The storage location is copied to the database 
and can be viewed in reports like 'Display Purchasing Documents by Material Group' (ME2C) etc. 

In the public cloud the field selection is not controlled by configuration but the BADI 
MM_PUR_S4_PO_FLDCNTRL_SIMPLE, 'Change of Field Control for Purchase Order Items'
is available for non standard requirements



Keywords

T163K, OME9, PT5B, t162k, LMEPOF2S, MEX_FELDAUSWAHL, MEREQS_EBAN_LOOKUP, LMEPOF7H, LMEPOF56, MEPO_ITEM_FILL_LGORT  , KBA , MM-PUR-GF-TP , Third Party Order Processing , SD-SLS-SO-TP , Third-party order processing , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions