Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

F4 help customization

Former Member
0 Likes
592

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
548

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.

4 REPLIES 4
Read only

Former Member
0 Likes
548

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.

Read only

Former Member
0 Likes
549

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.

Read only

0 Likes
548

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

Read only

Former Member
0 Likes
548

hi check this....for help....

http://sapprograms.blogspot.com/

regards,

venkat.