‎2009 Dec 08 7:14 AM
Sir,
this code is working properly . But I want serch help
on two,three values means two three valuse in single row
in search help window just like sales order (VA02) help
on purchase document, sales order, distribution challan,sales office
like that.
Manoj.
REPORT YKC_SEARCH_HELP.
DATA: BEGIN OF IT_FINAL OCCURS 0,
WERKS TYPE MARC-WERKS,
END OF IT_FINAL.
data: IT_RETURN LIKE DDSHRETVAL OCCURS 0 WITH header line.
parameters: p_werks(10) type c.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks.
select werks from marc
into table IT_FINAL.
delete adjacent duplicates from IT_final comparing werks.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
* DDIC_STRUCTURE = ' '
RETFIELD = 'WERKS' "field of internal table
VALUE_ORG = 'S'
TABLES
VALUE_TAB = IT_FINAL
* FIELD_TAB =
RETURN_TAB = IT_RETURN
.
WRITE IT_RETURN-FIELDVAL TO P_WERKS.
REFRESH IT_FINAL.
‎2009 Dec 08 7:20 AM
Hi,
Refer this link and create a search help in SE11.
[http://help.sap.com/saphelp_47x200/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm]
You can code to get the other values in the Search Help Exit.
If your requirement is very similar to that you have seen on standard transactions, then try to find the standard search help and use it in your code.