on 07-06-2015 11:31 AM
Hello APO experts
In order to add some specific selection-criteria to a selection profile created with tcode /SAPAPO/SDP94, we have implemented the BADI /SAPAPO/SDP_SELECTOR. We have created a specific field plant-dependant on material view /SAPAPO/MAT1 (all five ATT fields were already used) that we want to use as a criteria in a DP selection profile : FORECAST.
Three methods have been used :
The issue results from the 3rd one.
2. But when we select the product to load data in the DP planning book, the plants are not filtered.
For our material, in database plant OP04 doesn't have FORECAST = VALUE and therefore shouldn't appear in the book as per our expectations.
The criteria only filters Materials as per our selection profile type. It is the same when we use a plant selection profile type, plants are filtered but not the materials. We need a selection profile type that crosses both material AND plant data (this exists in SNP).
The method DP_CHAR_VALUE_LIST is called in both of these steps. The input table IT_SELECTION contains each selection-criteria of our selection profile. But in debugging mode, we discovered that in the 2nd step, only standard selection-criteria were taken into account. The table IT_SELECTION does not contain the specific selection-criteria anymore.
Can anyone help us on this?
Thanks in advance.
Hi Gilles,
If its plant dependent field then do you need to use LOC_PROD_VALUE_LIST?
or
do you need to additional check through SELECTION_CHECK for OP04 ?
Thanks, Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try method Resource_value_list. This method gives you the table which is displayed once you give values in the shuffler.
CH_CT_VALUES_LIST is the table which is displayed and based on your logic you can filter out the values from it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refresh!
If anyone has any idea at all it could be helpful.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
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.