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 with domain fixed values

Former Member
0 Likes
10,272

Hi Experts,

How to get F4 help values from domain fixed values. (In program)

Thanks

Chandra

Hi Experts,

How to get F4 help values from domain fixed values. (In program)

Thanks

Chandra

6 REPLIES 6
Read only

Former Member
0 Likes
4,213

Hi Shekar,

check out this link

http://wiki.sdn.sap.com/wiki/display/ABAP/FixedValueAppendForstandard+Domains

cheers,

Bhavana

Read only

GauthamV
Active Contributor
0 Likes
4,213

You have to use F4IF_INT_TABLE_VALUE_REQUEST FM and append those fixed values in your program.

Read only

Former Member
0 Likes
4,213

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

Read only

Former Member
4,213

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é

Read only

Former Member
0 Likes
4,213

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

Read only

Former Member
0 Likes
4,213

This message was moderated.