06-09-2010 7:36 AM
Hi Experts,
How to get F4 help values from domain fixed values. (In program)
Thanks
Chandra
06-09-2010 7:39 AM
Hi Shekar,
check out this link
http://wiki.sdn.sap.com/wiki/display/ABAP/FixedValueAppendForstandard+Domains
cheers,
Bhavana
06-09-2010 7:40 AM
You have to use F4IF_INT_TABLE_VALUE_REQUEST FM and append those fixed values in your program.
06-09-2010 7:48 AM
HI,
do you want to assign f4 help to ur selection parameter? in that case u can use any of these methods
1) if u refer ur selection parameter to the table-fieldname then automatically it will show the search help,
2) you can use MATCHCODE OBJECT while defining the selection variable
3)F4IF_INT_TABLE_VALUE_REQUEST function module..
thanx
06-09-2010 8:10 AM
Dom values are stored in table DD07L, a possible selection could be:
DATA: BEGIN OF ls_data,
value TYPE domvalue_l,
dtext TYPE val_text,
END OF ls_data,
lt_data LIKE TABLE OF ls_data.
SELECT a~domvalue_l AS value b~ddtext AS dtext
INTO CORRESPONDING FIELDS OF TABLE lt_data
FROM dd07l AS a INNER JOIN dd07t AS b
ON a~domname = b~domname
AND a~as4local = b~as4local
AND a~valpos = b~valpos
AND a~as4vers = b~as4vers
WHERE a~domname = iv_domname
AND b~ddlanguage = sy-langu.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'VALUE'
value_org = 'S'
window_title = 'Title'
TABLES
value_tab = lt_data
return_tab = lt_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
Regards
André
06-09-2010 8:34 AM
Hi,
To find fixed domain values use FM DDIF_DOMA_GET or tables DD07L,DD07T
and then use FM F4IF_INT_TABLE_VALUE_REQUEST for F4 help.
Ashutosh
06-09-2010 10:19 AM