cancel
Showing results for 
Search instead for 
Did you mean: 

Exclude storage location for ATP check but NOT for MRP - example

davide_delmonte
Participant
0 Kudos

Hi gurus.

We have this requirement:

3 storage locations, all the storage location must be relevant for MRP run and planning.

Only 2 of them must be relevant for ATP check during sales order creation/rescheduling.

I've read other threads and realize that probably we need to exclude the storage location in exit EXIT_SAPLATPC_001, table T_ATPCSX.

My question: what's the relevant field to exclude the storage location? Is there an example? with ABAP..

Thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

rupesh_brahmankar3
Active Contributor

Hello,

Standard way of doing it in SAP is create the sales order with storage location, and in scope of check OVZ9 for your Availability check and check rule A combination define deactivate No storage location inspection It is used to switch on the check at storage location level.

However it will check the receipts at a storage location which is there in sales order,

Or you can use an enhancement 'ATP00001' to influence the content of table 'T_ATPCSX' in EXIT_SAPLATPC_002, exclude storage location 3 from ATP receipts.

Relevant ATP-result is stored in table T_MDVEX which can be changed within the EXIT.

It will not impact on MRP process.

Refer this old discussion on it,

USEREXIT_AVAILABILITY_OUT

Best Regards,

R.Brahmankar

davide_delmonte
Participant
0 Kudos

Thank you for reply.

When you say "you can use an enhancement 'ATP00001' to influence the content of table 'T_ATPCSX' in EXIT_SAPLATPC_002, exclude storage location 3 from ATP receipts."

At this point, all the logics have been applied. I mean, in table T_MDVEX and T_ATPCSX I have results without storage locations because ATP is checked for the whole plant. So maybe I have a date that is the result of incoming goods and stocks on different wharehouse, but I cannot "exclude" one of them at this point.

The unique standard way seems to be MRP areas, but this have a big impact on MRP operations.

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello,

EXIT_SAPLATPC_002 you can reduce the available quantity of storage locations to lower the confirmed quantity, T_MDVEX-MNG02 should be reduced. delete all stocks you don't want to be transferred to ATP, so they will not be considered in the ATP check.

Best Regards,

R.Brahmankar

i520
Advisor
Advisor
0 Kudos

Hello,

I had this requirement for one of my clients and I confirm that you achieve this by BADI/EXIT. you can influence the input or the output of the ATP check using custom logic.

Regards.

Farid.

davide_delmonte
Participant
0 Kudos

Thank you Farid, if you can share a little bit more it could be great. Did you exclude a single storage location or you applied another logic?