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

Former Member
0 Likes
953

Hello,

in my customized table i ve material field MATNR but im not using existing data element.

now i want to attach a F4 help to it.....like the one for the field MARA-MATNR.

Kindly help.

Thank u in advance .

Regards

Pranali.

Message was edited by:

Pranali

1 ACCEPTED SOLUTION
Read only

former_member196299
Active Contributor
0 Likes
938

Create a search help for that field in se11 and use it as match-code for that field , u;ll get the f4 help ..

Regards,

Ranjita

9 REPLIES 9
Read only

former_member196299
Active Contributor
0 Likes
939

Create a search help for that field in se11 and use it as match-code for that field , u;ll get the f4 help ..

Regards,

Ranjita

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
938

Hi,

Copy the exisitng search help, S_MAT1 or MAT1 and modify it according to your need.

Regards,

Sesh

Read only

Former Member
0 Likes
938

Hi,

Alternatively you can create a domain and assign the value table to it. Use this domain for your new data element. This will give you an F4 help.

Regards,

Shruthi R

Read only

Former Member
0 Likes
938

Attach the search help 'MAT1' to your table field.

Regards,

A.Singh

Read only

Former Member
0 Likes
938

Hi,

Just attach the search help as u attach to any table in se11 but do not forget to check the domain and data elemnt to be activated.

Regards,

Ameet

Read only

former_member196299
Active Contributor
0 Likes
938

hi ,

Is your problem solved ?

Regards,

Ranjita

Read only

Former Member
0 Likes
938

Hi,

Find the code for your help.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.

<b>SELECT  MATNR 
        FROM <ZTABLE> INTO CORRESPONDING FIELDS OF TABLE ITAB_HELP.</b>        

SORT ITAB_HELP BY MATNR.

DELETE ADJACENT DUPLICATES FROM ITAB_HELP.



<b>CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'</b>
  EXPORTING
*   DDIC_STRUCTURE         = ' '
    retfield               = 'MATNR'
*   PVALKEY                = ' '
   DYNPPROG               = SY-REPID
   DYNPNR                 = '1000'
   DYNPROFIELD            = 'P_UNIQUE'
*   STEPL                  = 0
*   WINDOW_TITLE           = ' '
*   VALUE                  = ' '
   VALUE_ORG              = 'S'
*   MULTIPLE_CHOICE        = ' '
*   DISPLAY                = ' '
*   CALLBACK_PROGRAM       = ' '
*   CALLBACK_FORM          = ' '
*   MARK_TAB               =
* IMPORTING
*   USER_RESET             =
  tables
    value_tab              = itab_help
*   FIELD_TAB              =
*   RETURN_TAB             =
*   DYNPFLD_MAPPING        =
* EXCEPTIONS
*   PARAMETER_ERROR        = 1
*   NO_VALUES_FOUND        = 2
*   OTHERS                 = 3
          .
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

<i><b>Reward point for helpful answer.

Debjani Lahiri</b></i>

Read only

Former Member
0 Likes
938

Anyway you are saying that you are not using the Exsisting data element for you MARA-MATNR .

then Create one new search help and attach to that it the data element in the se11 .

save and activate it in the se11 .

so that where ever you use it it will give you the F4 help .

reward points if it is usefull....

Girish

Read only

Former Member
0 Likes
938

thank u all