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.