‎2012 Dec 29 4:10 PM
Hia Everybody,
There is a dbase zcst_mst in which one of the field is PARFN. The PARFN domain is ZPARFN which has fixed values(SOTP, SHTP, BHTP).
Now i want a F4 help for some other field where it retrieves the values only related to SOTP or SHTP or BHTP. That means if I press F4 then it should retrieve only those values where PARFN = SHTP. or SOTP or BHTP.
Please help in coding thru Search help exit.
Thanks in advance.
‎2013 Jan 11 11:13 AM
Thanks for your valuable suggestions...I solved the problem using the below code..
DATA: lwa_temp LIKE record_tab,
lt_temp LIKE TABLE OF record_tab.
IF callcontrol-step = 'DISP'.
LOOP AT record_tab INTO lwa_temp WHERE string CS 'Y'.
APPEND lwa_temp TO lt_temp.
ENDLOOP.
CLEAR record_tab[].
record_tab[] = lt_temp[].
REFRESH lt_temp.
ENDIF.
I created a search help exit with the above code.
‎2013 Jan 08 5:24 AM
Hi Kishore,
I fi understand your question correctly you dont need any coding for that you can use the belowlinl http://saptechnical.com/Tutorials/ABAP/SearchHelp/page1.htm .Where we can use search help for the above Requirement hope its halpful.
Thanks,
Vijay
‎2013 Jan 08 5:44 AM
hi,
you can fix those values for ZPARFN in the domains value range and use the domain in the data element your problem will be solved.
hope it helps,
Vinoth.
‎2013 Jan 11 11:13 AM
Thanks for your valuable suggestions...I solved the problem using the below code..
DATA: lwa_temp LIKE record_tab,
lt_temp LIKE TABLE OF record_tab.
IF callcontrol-step = 'DISP'.
LOOP AT record_tab INTO lwa_temp WHERE string CS 'Y'.
APPEND lwa_temp TO lt_temp.
ENDLOOP.
CLEAR record_tab[].
record_tab[] = lt_temp[].
REFRESH lt_temp.
ENDIF.
I created a search help exit with the above code.