on 03-09-2009 2:46 PM
Hi everybody,
I'm new to APO and I need to change some selection profiles in /SAPAPO/SDP94 transaction.I want to now if it's possible to use macros to do this, if yes... someboby can give me an example?
Scenario is like:
Profile Selection "XPTO" -> Current value
- Planning Version: 000
- Location: ABC
- Product: 1, 2, 3 and 4.
Requirement: Check all products of location ABC that has demand > 0 and keep on XPTO only these product.
Regards,
Douglas
Hi Douglas,
I dont think it can be done with a macro.
We had a similar requirement, wherein we went for a custom program which read location products and time series data(We hv tme series kf in SNP), and updated a particular selection profile automatically.
Warm regds,
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Douglas,
It is not possible to change a selection profile using a macro, instead u can go for some BADIs to have the functionality.
Please check these two BADIs,
SAPAPO/SDP_SELECTOR
Method: SELECTION_CHECK
/SAPAPO/SDP_MASTER
Method: COMBI_ENRICH
Thanks
Venkat.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Ashutosh mentioned that a custom program can be written to do this, just an addition to this...you can call this program from a macro as well..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Douglas,
I dont think it can be done with a macro.
We had a similar requirement, wherein we went for a custom program which read location products and time series data(We hv tme series kf in SNP), and updated a particular selection profile automatically.
Warm regds,
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashutosh, thanks for the reply.
Can you know how the custom program update the selection profile... it's using a BAPI or some particular standard function module or other method to do that? Can you give me the source code? If yes, I will check the code and adapt it to my case!
Thanks a lot!
Douglas
User | Count |
---|---|
11 | |
2 | |
1 | |
1 | |
1 | |
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.