Adding a Search Help to a Field Exit
Hi!!!.
I have a little doubt with field exits.
I have just created a field exit for field BEDNR. The next thing I'd have to do is to assign the same help search used for LFA1-BRSCH field ( H_T016 Search Help ) in field exit's function module.
The question is: How can I do that?. Does anyone have a clue of a function to retreive the values of that search help?. Could anybody tell me how should I do that?
Thaaaaanks in advance!
Raú
Try function module F4IF_FIELD_VALUE_REQUEST and fill in tabname with 'LFA1', fieldname with fieldname, search help with name of search help('H_T016') and the field you are searching on in shlpparam which must be one of the parameters in the search help you heve entered.
Hope this helps
Regards
Larissa Maryniuk
Similar Messages
-
Hi all, i would like to know if it is possible to put a search help in a Field exit or if there is some other way to create a searh help for a standard field of a standard trax. the Search help i need is for a <b>date</b> that is not contemplated by SAP.
Reward points guaranteed!!!!!thanks in advance, sorry for my bad EnglishFor example i have the field section in fch5. as it did not use that field (char 10) i was needing to input a date that was not contemplated by SAP. So i use this field 'section' to do this. this field has a field exit that validate the date, because it is a char field. i did this with FM RP_CHECK_DATE, so if the user enter 12.56.2006 an E message is displayed. My question is: is it possible to put a search help of date in that field?
thank all. -
Adding a search help to standard field
hi
My requiremnt is to add a search help to the field Corporate Group(KONZS) in XD01(customer Master data) table KNA1
Can anyone suggest how to go about
Thanks in Advance.Hi
Sorry, but I think that you must see the SAP Note 512840 - Search customer master record with search term 1/2
Regards
Eduardo -
Adding Search help to a field of standard transction
hi experts,
i m new to abap.
my pp consultant wants that in transaction MM03, for the field on selection screen (Material) one more search help should be added. and on pressing f4 it should be displayed there with other search options.
The search field is "(Document)-Number of the drawing that exists for this object".
Note: To see this field run transaction MM03, enter a material and press enter then we get a screen to choose a view. choose basic data2. In the block "design drawing" there is a field for "Document".
is it possible? if yes how much time it would take and to do it.
how should i go about it.
plz help.Hi ANNIE,
Go through the following Procedure to add a Search help to a field of standard Transaction
The Matchcode is replaced by search help from the version 4.6C.
I will tell u how create the search help.
Name of a search help
A search help is an object of the ABAP Dictionary with which input helps
(F4 helps) can be defined.
There are the following types of search helps:
o Elementary search helps implement a search path for determining the
possible entries.
o Collective search helps contain several elementary search helps. A
collective search help therefore provides several alternative search
paths for possible entries.
o Append search helps can be used to enhance collective search helps
delivered by SAP with customer-specific search paths without
requiring a modification.
The three components of the input help process described by a search
help are the outer interface, the online behavior and the method of data
Go to Tcode SE11. Select the search help radio button.
Give name as ztest and click create
There are two types of search help.
Once is elementary search help
& collective search help
Choose one.
Add the data element.
MatchCode is replaced by search helps.
To attach a search help to a field.
Use this code.
at selection-screen on value-request for source.
progname = sy-repid.
dynnum = sy-dynnr.
clear value_tab.
refresh value_tab.
Filling the Value_tab internal table by itab2 internal table.
loop at itab_desc.
write itab_desc-description to value_tab.
append value_tab.
endloop.
prog = sy-repid.
no = 1000.
clear tab.
refresh tab.
Building the Structure of the Seach Help.
tab-tabname = 'FMFCTRT'.
tab-fieldname = 'BESCHR'.
collect tab.
Function Used to provide Search Help.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BESCHR'
dynpprog = prog
dynpnr = no
dynprofield = 'SOURCE'
window_title = 'Function'
TABLES
value_tab = value_tab
field_tab = tab.
Regards
Sreeni -
Adding search help to existing fields
hi
i have created a ZTABLE(structure), i need to add search help to one of the field name1 which is the standard sap field from table lfb1. can i add it into the table which i have created, if yes how can i add a search help to the field.Hi,
TYPES: BEGIN OF t_reques,
lgnum TYPE lgnum,
END OF t_reques.
DATA:i_reques TYPE STANDARD TABLE OF t_reques.
SELECTION-SCREEN: BEGIN OF BLOCK b1.
PARAMETER: p_ware TYPE lgnum OBLIGATORY.
SELECTION-SCREEN: END OF BLOCK b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ware.
SELECT lgnum
FROM T301
INTO TABLE i_reques.
PERFORM f4_help USING i_reques CHANGING p_ware. "SUBROUTINE FOR F4 HELP.
SUBROUTINE FOR F4 HELP. *
-->P_I_REQUES text
<--P_P_WARE text
FORM f4_help USING p_i_reques
CHANGING p_p_ware.
CALLING FM F4IF_INT_TABLE_VALUE_REQUEST FOR F4 HELP. *
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
ddic_structure = 'LINK'
retfield = 'LGNUM'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'P_P_WARE'
callback_program = 'ZAR_F4HELP' "Your Program Name
TABLES
value_tab = i_reques
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE i006(zmm_ab).
ENDIF.
ENDFORM.
Thanks,
Arunprasad.P
Reward if useful. -
Custom search help on standard field of PO Item
Hi all,
any one know a way to build a custom search help on field EKPO-AFNAM in transaction ME21n,ME22N?
I'd prefer don't change the standard data element adding the search help. Is there a standard way, like badi or user exit?
I'm using ECC 6.0
Regards,
enzoCheck all Ewxits
Transaction Code - ME21N Create Purchase Order
Exit Name Description
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
No of Exits: 35
Transaction Code - ME22N Change Purchase Order
Exit Name Description
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
No of Exits: 35
Rewards if useful....................
Minal -
Search help for custom field in SRM
Hi All,
Im new to abap. I want to add(enhancement) custom input field with search help function for organization unit. I hv added input field and its displaying in portal also.
Now i want to add f4 help. Can u please help me in this regard. Can u tell me the steps to do for adding f4 help.
Thanks,
Rani.add search help to input fields data type. or you could assign search help via structure there that field is defined. you could enhance standard code adding custom search help which is called via FM. Choose the way.
best regards,
dez_ -
Search Help for Custom field in Sourcing Cockpit
Hi SRM Experts,
I added custom field "rush order" in the Structures as per requirement. I added code in MODIFY_SCREEN function module. Search help is working for "rush order" in Process Purchase Orders (to search PO) and Check Status (Searching Shopping Cart). But it is not working in sourcing cockpit. Please guide or suggest me is there any additional settings or programming is required to have search help for custom fields in Sourcing Cockpit.
Thanks a lot in advance.
Thanks,
KoyyaHi SRM Experts,
Please let me know any suggestion on this issue.
Thanks a lot in advance.
Thanks,
Koyya -
Search help for a field with no dictionary reference
Hi!
I have created a serchhelp (see se11)
there are two included search helps nested. Each one
has it own serch help exit. First search help has two
fields and one of them is a character field (CHAR030).
It hasn't a reference dictionary table in that case.
How can I assign a search help esspecially for this field.
Its values are stored inside a internal table.
Regards
ertasHi,
I think you need to attach a search help to a field programitically .
Below is one sample code.
REPORT ZMSTR0022.
CONSTANTS: C_FORM_NAME TYPE TDSFNAME VALUE 'ZMST_PER_APPL'.
TABLES :ZMST_PERMIT.
TYPE-POOLS: SLIS.
TYPE-POOLS :VRM. "Value Request Manager
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-023.
SELECT-OPTIONS:S_PIDNUM FOR ZMST_PERMIT-ZPIDNUM ,
S_ENGDSC FOR ZMST_PERMIT-ZENGDSC NO INTERVALS LOWER CASE,
S_ARBDSC FOR ZMST_PERMIT-ZARBDSC NO INTERVALS LOWER CASE,
S_TARIFF FOR ZMST_PERMIT-ZTARIFF NO INTERVALS,
S_PERNUM FOR ZMST_PERMIT-ZPERNUM NO INTERVALS,
S_ARRPRT FOR ZMST_PERMIT-ZARRPRT NO INTERVALS MATCHCODE OBJECT ZMST_PORTS.
PARAMETER:P_PERTYP(2) TYPE C AS LISTBOX VISIBLE LENGTH 20.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-LOW.
W_NAME2 = 'S_PIDNUM-LOW'.
W_NAME1 = 'ZPIDNUM'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-HIGH.
W_NAME2 = 'S_PIDNUM-HIGH'.
W_NAME1 = 'ZPIDNUM'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ENGDSC-LOW.
W_NAME2 = 'S_ENGDSC'.
W_NAME1 = 'ZENGDSC'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ARBDSC-LOW.
W_NAME2 = 'S_ARBDSC'.
W_NAME1 = 'ZARBDSC'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_TARIFF-LOW.
W_NAME2 = 'S_TARIFF'.
W_NAME1 = 'ZTARIFF'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PERNUM-LOW.
W_NAME2 = 'S_PERNUM'.
W_NAME1 = 'ZPERNUM'.
PERFORM F4_HELP USING W_NAME1 W_NAME2 . "calling subroutine to provide desired F4 help
*& Form F4_HELP
text
--> p1 text
<-- p2 text
FORM F4_HELP USING: W_VAR TYPE DFIES-FIELDNAME
W_VAR1 TYPE HELP_INFO-DYNPROFLD .
Fetching data from zmst_permit for F4 help on PERMIT ID No.--
IF IT_PERMIT[] IS INITIAL.
SELECT ZPIDNUM
ZENGDSC
ZARBDSC
ZTARIFF
ZPERNUM
ZARRPRT
ZEFFDT
ZEXPDT
FROM ZMST_PERMIT INTO CORRESPONDING FIELDS OF TABLE IT_PERMIT.
ENDIF.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = W_NAME1 " 'ZPIDNUM'
DYNPPROG = 'ZMSTR0022'
DYNPNR = SY-DYNNR
DYNPROFIELD = W_NAME2 "'S_PIDNUM'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = IT_PERMIT
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.
ENDFORM. " F4_HELP
I hope this will help you.
Help children of U.N World Food Program by rewarding points and encourage others to answer your queries. -
Search help for A field in select option which doesnt have search help in c
u have table in QM which is QMFE in whihc field FECOD which doesnt have search help , but my requirement is that in select option in report to have users to see its search help, anyone there to help me
Hi sridhar loganathan,
For this goto SE11 and create a ZFECOD Search help for that field. In Defination Tab enter table name
QMFE and Enter Z_F4_FECOD_EXIT in Search help Exit.
Then create a FM in SE37 as Z_F4_FECOD_EXIT under a FG. And then write code as follows for example:
FUNCTION Z_F4_REG_EXIT.
""Local Interface:
*" TABLES
*" SHLP_TAB TYPE SHLP_DESCR_TAB_T
*" RECORD_TAB STRUCTURE SEAHLPRES
*" CHANGING
*" VALUE(SHLP) TYPE SHLP_DESCR_T
*" VALUE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL
TYPES: begin of ty_code,
dam_code type QMFE-FECOD ,
end of ty_code.
DATA : tw_code type ty_code,
ta_code type table of ty_code.
IF "callcontrol-step <> 'SELONE' AND
callcontrol-step <> 'SELECT' AND
callcontrol-step <> 'DISP'.
EXIT.
ENDIF.
IF callcontrol-step = 'SELECT'.
CALL FUNCTION 'F4UT_PARAMETER_ALLOCATE'
EXPORTING
PARAMETER = 'FECOD'
TABLES
SHLP_TAB = shlp_tab
RECORD_TAB = record_tab
CHANGING
SHLP = shlp
CALLCONTROL = callcontrol
EXCEPTIONS
OTHERS = 3.
ENDIF.
IF callcontrol-step = 'DISP'.
Get the Region
CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'
EXPORTING
PARAMETER = 'FECOD'
FIELDNAME = 'FECOD'
TABLES
SHLP_TAB = shlp_tab
RECORD_TAB = record_tab
RESULTS_TAB = ta_code
CHANGING
SHLP = shlp
CALLCONTROL = callcontrol
EXCEPTIONS
PARAMETER_UNKNOWN = 1
OTHERS = 2.
IF SY-SUBRC = 0.
SORT TA_CODE BY DAM_CODE.
Deleting duplicate damage codes in Internal Table ta_code
DELETE ADJACENT DUPLICATES FROM TA_CODE COMPARING DAM_CODE.
Passing changed Internal table to FM
CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
EXPORTING
PARAMETER = 'REGION'
FIELDNAME = 'REGION'
TABLES
SHLP_TAB = shlp_tab
RECORD_TAB = record_tab
SOURCE_TAB = ta_code
CHANGING
SHLP = shlp
CALLCONTROL = callcontrol
EXCEPTIONS
PARAMETER_UNKNOWN = 1
OTHERS = 2.
ENDIF.
ENDIF.
ENDFUNCTION.
Revert me for any clarifications.
Regards,
Suneel G. -
Search help for a field in a web dynpro app
Hi All,
I have a web dybpro application where I need to add a field on the selection screen, the field that I need to add is USR02-BNAME. I have added the required field on the screen but now I need to have a F4 help for the same but when I looked US02 the search help is not defined, can you please tell me how can get this.
ThanksRaja,
If your attribute( selection field) is of type any dataelement and if corresponding domain has values then those values will appear in F4 help.
Or in se11 create one search help for that field.automatically it will reflect in apps.
Or Use OVS( Object value selector) , its a kind of advance search help...
Regards
Srinivas -
How to add a search help to a field Bank Type in Transaction FK02
Dear All,
How to add a search help to a field Bank Type in Transaction FK02.
Is there any possibilty of using exit or searc help or domain to solve this problem.
Thanks in Advance..
Thanks,
Lakhsmi.Hi, Tamas,
I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
The correct code is like:
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
Xin -
Search help ehancement of field in t-code F-02.
Hi all,
I want to ehance a filed's search help in t-code f-02.
requirement is as below.
when you click one field's sech help in t-code f-02. A search help pop-up window will display. In this pop-up window, there are several tabs. I want to add a new tab in this pop-up window.
In this new tab, I want to add 2 new fields (for example, company code & bank code) in this tab. each tab also has search help.
And also if I input value "1000" in the company code field, the search help value of field bank code will automatically relate to "1000".
could anyone give me a solution or suggestion?
Thanks in advance!Hi,
1. You can add new fields in the complex search help of the field
by editing the search help exit. please check search help have any search help exit attached to it.
Frank Zhang wrote:
> And also if I input value "1000" in the company code field, the search help value of field bank code will automatically relate to "1000".
I not sure how a F-02 screen value of company code in the entry screen can be relate with bank code in the search help
a® -
No search help for Custom field ZZKUKLA in vk11
Hi,
I have added the field KUKLA - Customer classification as a pricing field in KOMP. Created an access sequence as follows: Sales Org.-> Customer Classification - material group.
In the creation of the record in VK11 I'm not getting the search help for the ZZKUKLA field. The thing is that if I'm in change or display, the search help for the field appears and lists the possible values.
Anyone have a clue?
Thanks!
/PatrikDear Pratik,
Request you to first add Customer classification field (ZZKUKLA) in KOMK structure insted of structure KOMP. Becasue it is header structure filed. After add this new filed in KOMK structure, Add this new filed in your field catelog and than create table and new access sequence. Also request you to select KOMK structure in your access sequence against this new field Customer classification ZZKUKLA.
Regards,
Haresh Panara -
Adding elementry search help to SAP standard Collective Search help
Hi,
I had copied standard elementary search help to MAT0M to ZZ_MAT0M and added some more fields and activated to it.
it got activated sucessfully.
Now i have to attached the ZZ_MAT0M elementry search help to standard collective search help MAT1_A.
How can i do that?
can i add it directly to MAT1_A (sell --->search help <MAT1_A> changes --> in included search helpss tab using + (insert icon) )
Thanks & regardsI solved my problem :
I had copied standard elementary search help to MAT0M to ZZ_MAT0M and added some more fields and copied Database View M_MAT1M to ZZ_M_MAT1M and addedd same fields and activated both.
both got activated sucessfully.
Now i have to attached the ZZ_MAT0M elementry search help to standard collective search help MAT1_A and this Z-search help shd appear on the first tab.
so I just went to collective search help MAT1_A in change mode --> click on "+" icon addedd my ZZ__ search help, save and activated it.
If you dont really care in which tab your search help shd appear, then the best option is to use Append Search help.
Note : if you are directly adding your search help in collective standard search help, then its better to remove hotkey form your custom elementry search help, as, if not remove will lead to warnings or make sure that you have unique hotkey in that collective search help.
Maybe you are looking for
-
HP eprint will not print in grayscale using HP Photosmart 5510
Greetings, This morning I installed the app on my husband Android phone and sent a .pdf file to print. When prompted I chose to print via the hp eprint and on settings chossed grayscale The document printed in color.
-
Adding a Raspberry Pi to our network
Let me just begin by saying the while the company I work for is, thankfully, really starting to invest in their IT infrastructure we still have quite a bit of "ghettofied" systems in place. One such system was how we played our hold music over our ph
-
Update Contract Start and End dates via BAPI_SALESORDER_CREATEFROMDAT2
Hi Experts. We are successfully using BAPI_SALESORDER_CREATEFROMDAT2 to create sales order. Only problem is that the contract start and end date do not get updated. We are passing that in ORDER_HEADER_in-CT_VALID_F and ORDER_HEADER_IN-CT_VALID_T. Aft
-
Having trouble with my camera. The camera iris does not open and the camera icon remains dim. Tried restart, cleaning the lens, but it is still non-responsive. Everything else on the phone works. What am I missing?
-
[solved] cron's do not happen so I put cron restart in rc.local OK?
Is there a better way to do this? I noticed my cron.hourly only runs if cron is asked to restart at some point, so I added: /etc/rc.d/crond restart to /etc/rc.local Does this make sense? (the result is that at boot cron is asked to restart and so con