‎2008 Apr 16 4:41 PM
Hi , I am using the
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
to get a custom list of F4 suggestions for a parameter.
Then problem is that the Column text is showing up as the DDIC text .
I am using an internal table
i_tab occurs 0 ,
verid like makl-verid,
end of i_tab.
so Verid is pulling the short text in the data dictionary as its deading in the search help. I want to use my own text , how to achieve this.
Thanks
‎2008 Apr 16 4:48 PM
I am able to generate the search help , with this example the search help will have the heading "Material Number" for the list of materials displayed. I want to have say "Inactive Materials" or any custom text . This is an urgent requirement and any help will be useful.
‎2008 Apr 16 4:43 PM
Hi,
Please refer the code below:
PARAMETERS:p_matnr(18) TYPE c.
DATA:BEGIN OF itab OCCURS 0,
matnr TYPE matnr,
END OF itab.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
itab-matnr = 'ABC123456788'.
APPEND itab.
itab-matnr = 'BCS123456788'.
APPEND itab.
itab-matnr = 'DFC123456788'.
APPEND itab.
itab-matnr = 'ASW123456788'.
APPEND itab.
"you can use select statement as well
"incase you are using any table field.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'MATNR'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_MATNR'
value_org = 'S'
TABLES
value_tab = itab.
Thanks,
Sriram Ponna.
‎2008 Apr 16 4:48 PM
I am able to generate the search help , with this example the search help will have the heading "Material Number" for the list of materials displayed. I want to have say "Inactive Materials" or any custom text . This is an urgent requirement and any help will be useful.
‎2008 Apr 16 4:53 PM
Create a Data Element with the same domain as MATNR and enter your own values for the Field Labels. In your table def, TYPE the MATNR field to your new Data element
‎2008 Apr 16 4:55 PM