on 06-01-2012 9:32 PM
Hello Experts,
Greetings!
We are using SNP aggregated planning. We use location product hierarchy (Many individual products are assigned to one Family product - T-code in APO is /n/SAPAPO/RELHSHOW) for aggregation and disaggregation. For my planning process I need to wirte some custom macros and I have to know the parent and child relation for a given CVC. Inorder to read the hierarchy relation I want to know any standard SAP macro function available?
1 - I want to know is there a way to read this location product hierarchy and find what is the parent node of a given location product within SNP macros? Looking for standard SNP macro function and not reading location product extra charecters.
2 - If this is not possible we can write a user exit macro and read hierachy table. For this I wan to know what are transparent table names for location product hierachy in APO.
Thank you in advance.
Raj Kakarala
Hi Raj,
SAP did not deliver any macro function (as per my knowledge) to access the hierarchies. You need to use function module macro to pass ACT_PRODUCT and ACT_LOCATION and call the following BAPI to read the hierarchies nodes.
LocPrdHierarchyAPS (type: BUS10015)
FM: BAPI_LPHSRVAPS_GETDETAIL
The parameter HierarchyNodes (table) allows to access the required relationship i.e. parent or child from the given location product details.
Thanks,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.