‎2006 Aug 07 5:46 PM
hi to all,
how to create search help with the required columns in the output display when we press f4 option.
hi ravi
i had two fields namely(vbpa-pernr)i.e customs representative (ZG) and service representative(ZQ).
for these two fields i want to add a F4 option based on
search by partner function and select the data for input.
please help me in this regard.
thanks
sun
Message was edited by: sun deep
‎2006 Aug 07 5:50 PM
In SE11, when you are creating a search help, you can specify which fields you want to be displayed.
Regards,
Ravi
‎2006 Aug 07 5:53 PM
hi sundeep,
check these links..
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
hope this helps,
do reward if it helps,
priya.
‎2006 Aug 07 6:01 PM
'F4IF_INT_TABLE_VALUE_REQUEST'
try this FM, see its documentation
‎2006 Aug 07 6:36 PM
Check the below code,
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001
NO INTERVALS.
PARAMETERS: p_ym TYPE buper .
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ym.
PERFORM f4_ym.
&----
*& Form f4_ym
&----
F4 for Year and Month
----
FORM f4_ym .
DATA: li_ret_tab LIKE ddshretval OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = ' '
fieldname = ' '
searchhelp = 'BU_DATE_CHAR'
TABLES
return_tab = li_ret_tab
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
OTHERS = 5.
IF sy-subrc IS INITIAL.
READ TABLE li_ret_tab INDEX 1.
IF sy-subrc IS INITIAL.
CONCATENATE li_ret_tab-fieldval6(4) li_ret_tab-fieldval3(2)
INTO p_ym.
ENDIF.
ENDIF.
ENDFORM. " f4_ym
Regards,
Prakash