11-15-2006 10:36 AM
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.
11-15-2006 10:39 AM
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.
11-15-2006 10:39 AM
11-15-2006 10:42 AM
they are user defined tables so wee need to write code for F4 help
11-15-2006 10:48 AM
11-15-2006 10:49 AM
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
11-15-2006 10:55 AM
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.
11-15-2006 11:00 AM
11-15-2006 11:05 AM
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