on 04-21-2011 3:35 AM
Hi,
my requirement is just i need to restrict or select the location products by procurement type from SNP planning book shuffler ( selector).
option 1 :
i have implemented Badi- /SAPAPO/SDP_SELECTOR , methods - F4 , INIT_OBJECT_LIST , LOC_PROD_VALUE_LIST.
just i copied the example code which provided by SAP in that BADI itself.
but the problem is even i am unable to see procurement type in selector...... what will be the issue?
option 2:
i tried other way also i defined the procurement type field as attribute in SPRO.... in this case i am able to see the procurement type field in shuffler , but its not filtering the location products by this field.
both the options are not working. whats the procedure to do that?? whether i am missing anything?
Regards
Rajesh
Hi Rajesh,
In our case we have added 4-5 filter criteria in Shuffler using the BAdi /sapapo/sdp_selector only.All the fields which we have added are the freely defined attributes in /sapapo/matkey and /sapapo/matloc table(ATT01,AT101.. fields...)
And everything is working fine.
Have you coded correctly, at which point you want to show the procurement type in drop down selection?
please find below sample code where I am showing any field when user will select Location-Product in SHOW.
gs_c_iobjnm-lok_prod contains the global constant for object location product.If it is appearing in shuffler then try to implement F4 and other methods to filter actual internal tables and merging with standard field catalog.
*When SHOW = Location Product in Shuffler
READ TABLE ct_sel_objects
WITH KEY object = gs_c_iobjnm-lok_prod "Location Product
ASSIGNING <ls_sel_objects>.
Regards,
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.