Application Development 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: 

I need to provide the F4 help for field in table control

Former Member
0 Kudos

I need to provide the F4 help values for the fouth field depending on the first field in table control.

can any provide the logic for this.

8 REPLIES 8

0 Kudos

Hi,

If you make that field refer to some dataelement and assign a search help to that dataelement then you will get the help automatically.

You can also get the F4 help even if you have check table for that fields domain.

Regards,

Sesh.

0 Kudos

REFER..

0 Kudos

they are user defined tables so wee need to write code for F4 help

Former Member
0 Kudos

hi,

check the FM F4IF_INT_TABLE_VALUE_REQUEST .

check these threads...

regards,

priya.

Former Member
0 Kudos

module VALUE_TEXTCODE input.

 DATA: BEGIN OF it_value4 OCCURS 0,
         TEXTCODE  LIKE  ZXX-TEXTCODE,
         TEXTDESC  LIKE  ZXX-TEXTDESC,
       END OF it_value4.

  progname = sy-repid.
  dynnum   = sy-dynnr.

         SELECT TEXTCODE TEXTDESC
           FROM  xxxx
           INTO CORRESPONDING FIELDS OF TABLE<b> it_value4</b>
          WHERE  LOSS_CODE =<b> IT_VALUE1 .</b>

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield    = 'TEXTCODE'
      dynpprog    = progname
      dynpnr      = dynnum
      dynprofield = 'ITVALUE-TEXTCODE'  "-->UR  4 th filed value in screen
      value_org   = 'S'
    TABLES
      value_tab   = it_value4.


endmodule.      

this will ,

regards,

VIjay

0 Kudos

yes i got ur point but my problem is that i cannot fetch the value of the first field

which is necessary for to populate the F4 help table.

Former Member
0 Kudos

Hello,

check out this link,

Regards,

Shehryar Dahar

Former Member
0 Kudos

hi avinash ,

make this point clear ,,

see u can fetch the value into the 4 th field only if the field 1 is populated

else '

in my prev post the where condition in the select fails ...

so u need to give the value in the field 1 else

u cannot populate the field of f4 ,

vijay