cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying Stock of Catagory AH DP Planning Book using Macro Function PHYSI

sameer_karbotker
Explorer
0 Kudos

Hi ,

I need to display In-Transit Stock with Order Catagory AH [Advanced Shipment Notification] in DP Planning Book.

I Have created Aux KF and macro using function - PHYSICAL_STOCK() with stock Catagory AH but I am not able to display In-Transit stocks in DP Planning Books.

Is functionality PHYSICAL_STOCK() not working for Order Catagory - AH ?

With above design I am able to display Order Catagories CC & CS.

Thanks in advance

Regards,

Sameer

Accepted Solutions (1)

Accepted Solutions (1)

aparna_ranganathan
Active Contributor
0 Kudos

Sameer

AH is shipping notification - not a stock category . So you cant display it using physical_stock function

Thanks

Aparna

Answers (2)

Answers (2)

sameer_karbotker
Explorer
0 Kudos

Hi,

Stock cannot be retrieved in DP Planning Book using Macro PHYSICAL_STOCK for Advance Shipment Notification [Catagory Type AH] as it is being Receipt Elements.

Function PHYSICAL_STOCK works for Receipt Elements only (ATPCATTYP value 0 in table /SAPAPO/ATP03)

Since AH have Category Type - 1 , above function will not display stock from SNP Planning Area.

As an alternative we have added new Key Figure ZDP_STINT [Stock in Transit] in DP Planning Book and In Transit Stock is added from SNP to DP using Program /SAPAPO/LCOUT.

Above job is scheduled to run every 30 min.

Regards,

Sameer

former_member583013
Active Contributor
0 Kudos

Hi,

make sure that you have added category to ST1 category group.

Regards,

Sunitha