07-17-2007 4:15 AM
I am using the function 'F4IF_INT_TABLE_VALUE_REQUEST' which have a pop selection windows. Unfortunately, the label of the column does not seen to be that nice and user friendly. It is label as "F0001", 'F0002", "F0003' and etc.
How to re-label those column column so that it looks more user friendly?
Appreciate if you can post some sample.
07-17-2007 4:32 AM
In the Exporting parameters ..make the field retfield type data element
it will take the text from standard one
07-17-2007 4:35 AM
I am creating a user-defined field in a customised table. It does not refer to any data element.
Can you provide some sample code?
07-17-2007 5:24 AM
Hi,
You can display the text of your choice using the option in the TABLES parameter
of the FM.
DATA it_field_tab like dfies occurs 0
with header line.
*this will populate your columns name
CALL FUNCTION 'DDIF_NAMETAB_GET'
EXPORTING
tabname = '<table name>'
TABLES
DFIES_TAB = it_field_tab.
*then pass this table along with the values table
*to the F4 FM.
Regards,
Samson Rodrigues.
07-17-2007 5:55 AM
Pass the it_field_tab under which parameter in 'F4IF_INT_TABLE_VALUE_REQUEST' FM?
07-17-2007 5:58 AM
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'PROJECTNAME'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'CHILD' " dummy field need not be declared
value_org = 'S'
TABLES
value_tab = f4_tab
return_tab = return_tab
field_tab = it_fieldtab. <------ here
Regards,
Samson Rodrigues.
07-17-2007 6:33 AM
Dear Samson,
How to select only those fields that I want to display on the F4 Help windows? Currently it display all the fields which is not I want.
Thank you.
07-17-2007 6:56 AM
Hi,
You may have to loop through the table and delete those fields that you do not require.
Regards,
Samson Rodrigues.
08-22-2007 9:54 AM