07-19-2007 5:55 AM
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
07-19-2007 6:02 AM
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
07-19-2007 6:02 AM
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
07-19-2007 6:06 AM
Hi,
Copy the exisitng search help, S_MAT1 or MAT1 and modify it according to your need.
Regards,
Sesh
07-19-2007 6:07 AM
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
07-19-2007 6:14 AM
Attach the search help 'MAT1' to your table field.
Regards,
A.Singh
07-19-2007 6:15 AM
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
07-19-2007 8:27 AM
07-19-2007 9:27 AM
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>
07-19-2007 9:41 AM
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
07-20-2007 6:23 AM