04-24-2014 7:49 PM
Hi,
I would like to have a SearchHelp with records from table T001L (Storage Locations), but the data must be filtered independently of Plant (field WERKS)
The Standard SearchHelp H_T001L do not fits to me because I have to "pass" the Plant (WERKS) and I just want one occurence of each LGORT (Storage Location).
For example:
If I have the following records on table T001L (Storage Locations):
The SearchHelp that I need must show:
Thanks!
04-25-2014 6:02 AM
Hi Lindomar,
You have to create a custom search help exit for that and in search help exit record_tab contains actual data so,
delete adjacent duplicates from record_tab comparing lgort.
For search Help exit check this How To Create Search Help Exit - ABAP Development - SCN Wiki
Use Fm F4UT_RESULTS_MAP Standard Search Help Exit for Filling Hit List - Function - ABAP - SAP to get data populated in to your record_tab table .
Regards,
Ravikiran.K
04-25-2014 6:02 AM
Hi Lindomar,
You have to create a custom search help exit for that and in search help exit record_tab contains actual data so,
delete adjacent duplicates from record_tab comparing lgort.
For search Help exit check this How To Create Search Help Exit - ABAP Development - SCN Wiki
Use Fm F4UT_RESULTS_MAP Standard Search Help Exit for Filling Hit List - Function - ABAP - SAP to get data populated in to your record_tab table .
Regards,
Ravikiran.K
04-25-2014 7:13 AM
Hi lindomar,
You can create a elementery search help for table T001L as selection method and add fields as per below screenshots:
and when you will select F4 based on selection of plants no of storage location will appear in search help.
And if you select dialog type as 'D' i.e display values immediately,,then you can enter default value for plant(werks).
Regards
Ujjawal
04-25-2014 11:34 AM
Dear Linodmar,
Please untick the import and export option for werks, also assign the Default Value as shown below.
Search Help:
Regards
Rajkumar Narasimman