Skip to Content
0
Jun 08, 2018 at 11:00 AM

Default Storage location in sales order creating from fiori app.

210 Views

Requirement : Storage location should be filled by default based on material , customer , and order type stored in a custom table. It has to happen from VA01 and FIORI Sales Order create app.

So far, I have implemented custom logic in USEREXIT_MOVE_FIELD_TO_VBAP.

It works for VA01 fine but not from FIORI APP.

In fiori extendsion class method ZCL_ZSRA017_SALESORDER_DPC_EXT ->SALESORDER_CREATE_DEEP_ENTITY,

BAPI - BAPI_SALESORDER_CREATEFROMDAT2 is called which again calls userexit.

But somewhere it is getting overwritten again.

How to make it work from FIORI APP?

Please Help!