on 01-25-2012 4:35 PM
Hi all,
there is a way (bapi?) to get the list of SKU that a selection ID filters?
Thanks.
Edited by: Cando00 on Jan 25, 2012 5:36 PM
Cando00
Here is a simple way - In /SAPAPO/MC62, display CVC's, restricted using the selection condition with the exact criteria as the selection ID.
RIshi Menon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We solved using this function: /SAPAPO/MSDP_SH_SEL_CONVERT
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you RIshi Menon,
but I need the list of SKU filtered by a selection ID in SNP, not in DP. I would like to use that information in a program, just because I would like to process a variable list of SKU, generated by a selection ID used in a heuristic job.
Thanks.
Edited by: Cando00 on Jan 26, 2012 9:02 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Please try BAPI BAPI_PBSRVAPS_GETDETAIL2, to see whether it meets your requirement.
You may need the below parameters to be passed to the BAPI:
PLANNINGBOOK Your Planning Book
DATA_VIEW Your Data view
PLANNING_VERSION Your planning version
SELECTION_ID The selection profile's name
READ_OPTIONS
PERIOD_TYPE Please refer to BAPI's documentation in transaction /\'BAPI'
DATE_FROM Please refer to BAPI's documentation in transaction /\'BAPI'
DATE_TO Please refer to BAPI's documentation in transaction /\'BAPI'
GROUP_BY The aggregation level
(E.G. if you load 'internal location product, you add '9AMATNR' and '9ALOCNO' here.)
KEY_FIGURE_SELECTION Any key figure
Then you check the result in return table 'CHARACTERISTICS_COMBINATION'.
For the DATE_FROM, DATE_TO and KEY_FIGURE_SELECTION, if you only want the result of the selection characteristic, you can pass a very short period and only one key figure to improve the performance.
Best Regards,
Ada
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
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.