cancel
Showing results for 
Search instead for 
Did you mean: 

ATP check in VA01 only for a specific stock (VBAP-LGORT)

Former Member
0 Kudos

Hi,

During sales order creation we want to restrict ATP control only for a specific

stock (which is given in sales order in vbap-lgort).

For example - if user creates a line in sales order:

PositionMaterialQuantityStock
0010BC1421210 PCZ101

then ATP checks if material is available for stock Z101 only.

Can it be done using any user-exit?

Best regards,

Mark

Accepted Solutions (1)

Accepted Solutions (1)

claire_yang
Contributor
0 Kudos

Hi Mark,

In case you specify the storage location in the sales order, the sales order's quantity can only be confirmed if you have available stock in this storage location and you have available stock at plant level.

See note 547118 Q6.

Claire

Former Member
0 Kudos

Thank you.

Answers (2)

Answers (2)

former_member223981
Active Contributor
0 Kudos

An availabi;lity check is only executed at storage location level when a storage location has been inserted into the sales order item. A storage location is not automatically populated during sales order processing. It can either be entered manually or via user exit (USEREXIT_SOURCE_DETERMINATION). I suggest you read SAP notes 1649672 & 387482 which explain this.

Hope this helps.

Former Member
0 Kudos

Hi Mark

Z101 is storage location ?

Former Member
0 Kudos

Hi Mohammad,

Yes. Z101 is storage location entered in sales order position (VBAP-LGORT)

Best regards,

Mark