on 2023 Sep 20 1:44 PM
Hello experts,
we are looking for a possibility in APO-SNP to allow Selections in SDP (SelectionIDs for Interactive Planning books and background job usage) to perform filtering on additional //MATLOC attributes which are not offered by SAP in standard in SelectionsIDs for Location products.
Example: I have a selectionID with says "all MatLocs for Location=1000, SNP Planer=123". What we want to do is use an additonal product master field filtering (/SAPAPO/MATLOC-MAABC = A or BESKZ = F etc.) so that I have a selection like this: "all MatLocs for Location=1000, SNP Planer=123, ABC Code = A".
Best would be to have a UserExit or EnhSpot for this so that the additional filtering happens automatically (we don't need an explicit additional selection criteria in the SDP Selection ID shuffler).
Any ideas on this ?
Regards
Thomas
Request clarification before answering.
Dear Thomas,
enhancing the shuffler with an additional field is possible as well as the usage of this additional selection criteria automatically in interactive planning and background jobs. Some programming in the selector BAdI will be needed, I have done this in the past. I would not suggest to implement a hidden filter - for the sake of traceability and supportability. My former colleagues at SAP Product support might not like it...
You could proceed like this:
1) BAdI: /SAPAPO/SDP_SELECTOR method init_object_list
- add the new field (e.g. BEZKZ) to ct_sel_objects-sel_criteria to be able to select it in the shuffler
- add the new field to ct_sel_objects-alv_field_cat to be able to see it in the ALV grid of the selected objects
2) BAdI /SAPAPO/SDP_SELECTOR method method loc_prod_value_list
- manipulate on ct_value_list, e.g. filter out results with wrong BESKZ
optional:
3) BAdI /SAPAPO/SDP_SELECTOR method F4 if you want to provide a F4-help, when someone wants to select BESKZ, then there will be a popup showing the options E; F; X or P. Afterwards 1) 2) and 3) it will look like this:
Good luck implementing this feature and let me know if you are stuck <-- can be implemented in one or two days.
Nico
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Morning Nico,
thanks for this extensive answer - this is what I was looking for. If we ever need an expert helping us with the implementation then I have your profile and can check which number to call ;-).
Thanks and Regards
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
4 | |
4 | |
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.