Match code help in sm30
Hi all,
Requirement is while entering values into a Ztable by SM30 ,
we need to have a standard search function (match code) for a field.
We are succeded till populating values to all the fields based on primary field in sm30,
stuck while creating search help for one of the field.
Regards,
Anil.
A suggestion can make a difference.
Without programming, you may provide a search help with
● Attaching a search help to the data element
● Attaching the data element to a domain with values (in domain or a value table)
● Creating a foreign key with another table
Look also at standard SAP documentation like [Attaching to a Table Field or Structure Field|http://help.sap.com/saphelp_nw70/helpdata/EN/63/1b70bfc32111d1950600a0c929b3c3/frameset.htm] in [Search Helps|http://help.sap.com/saphelp_nw70/helpdata/EN/8b/415d363640933fe10000009b38f839/frameset.htm]
NB: Remember that when you define a maintain view you may change the Data Element, so you may substitute a custom Data Element with a custom search help.
Regards
Similar Messages
-
Match code help and coding for save menu for PF STATUS and BDC programming
hi,
pl guide me step by step i'm new to abap.
1) i need search help for field V_TVAG-BEZEI..this is field is there in my table control to select the values from the line of list for reason to reject.
2) i need code for SAVE button which i've created in PF STATUS.
3) do i need to to BDC programming for save and update the table control in return order as well as in sales order?...if yes how can i do that?hi,
pl guide me step by step i'm new to abap.
1) i need search help for field V_TVAG-BEZEI..this is field is there in my table control to select the values from the line of list for reason to reject.
2) i need code for SAVE button which i've created in PF STATUS.
3) do i need to to BDC programming for save and update the table control in return order as well as in sales order?...if yes how can i do that? -
What is the difference between match code and search helps ?
Hi,
search help:
adding f4 functionality is search help(adding help for any topic)
http://help.sap.com/saphelp_erp2005/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
match code:
adding search help for the input field is called as mathcode object
http://help.sap.com/saphelp_40b/helpdata/en/cf/21ef1f446011d189700000e8322d00/content.htm
Regards,
Sravanthi -
How to implement search help instead of match code objects table in program
Hi,
We are now in upgrade process of code remediation ( From 4.6c to EC6.0).
We have created search helps instead of matchcode object table. This match code object table M_VMVLC has been deleted
in EC6.0. And search help VMVLC is available.
In the program, they have used <M_VMVLC > -<fieldname> i.e. <tablename> - <fieldname> in declaring parameters,
in the 'into' clause of select statement, in the 'from' clause of select statement, in the 'write' statement.
I want to know how to replace this matchcode object table with the search help in the program.
Thanks,
Abirami.Hi,
Check the link
http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee2b446011d189700000e8322d00/content.htm
Regards,
Amit -
Help in Match-code for field SEARK (Search Term)
Friends, in my aplication was necessary insert the match-code for SEARK field.
I use the function module RH_OBJID_REQUEST in the form OPEN_BOX2 at the event AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_requi-low.
When I use this match-code and select the 4 itens and clique the OK button, only the last item appears in the field.
Anyone else had this problem?
Can someone help me?
Thanks for listening.
Below is the code:
select-options:
so_requi for pm0d1-seark no intervals .
AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_requi-low.
PERFORM open_box2 CHANGING so_requi-low.
form OPEN_BOX2 changing p_so_requi_high.
Variáveis
DATA: h_plvar LIKE p1000-plvar,
h_otype LIKE p1000-otype,
h_objid LIKE objec-realo,
h_begda TYPE begda,
h_endda TYPE endda,
p_subty TYPE plog-subty.
tables
DATA: p_change_profq LIKE hrpe_profq OCCURS 0 WITH HEADER LINE.
preenche as variantes para os parâmetros da função
h_plvar = PCHPLVAR.
h_otype = 'Q'.
h_begda = sy-datum.
h_endda = '99991231'.
DATA: sel_objects LIKE objec OCCURS 0 WITH HEADER LINE.
popup with qualifications catalogue
CALL FUNCTION 'RH_OBJID_REQUEST'
EXPORTING
plvar = h_plvar
otype = 'Q'
seark = '*'
seark_begda = h_begda
seark_endda = h_endda
set_mode = 'X' "multiple choice
TABLES
sel_objects = sel_objects
EXCEPTIONS
cancelled = 1
wrong_condition = 2
nothing_found = 3
illegal_mode = 4
internal_error = 5
OTHERS = 6.
Captura os dados selecionados e passa para o select-options
free: so_requi.
if sy-subrc = 0 .
loop at sel_objects.
clear so_requi.
so_requi-sign = 'I'.
so_requi-option = 'EQ'.
so_requi-low = sel_objects-objid.
append so_requi.
endloop.
endif.
endform. " OPEN_BOX2Hi
I am sorry I thought that it is TPLNR field
for EQFNR there is no matchcode or search help
if you want you can create a matchcode/search help and add
It is a CHAR 30 field for which most of the times no values are entered
Reward points for useful Answers
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
Search help and Match code oject
How to create the search help in version 5.0 and 6.0 ? what is elementary search help,collective search help? what is the use of these search helps? where we use elementary and collective searsc helps? what is the difference between searc help and match code object? how to use in reports?where we use search help and F4IF_INT_TABLE_VALUE_REQUEST function module? what is the diffference between them?
Hi Rk,
1) Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
2) Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
3)An elementary search help defines the standard flow of an input help.
4) A collective search help combines several elementary search helps. The user can thus choose one of several alternative search paths with a collective search help.
5)A collective search help comprises several elementary search helps. It combines all the search paths that are meaningful for a field.
6)Both elementary search helps and other search helps can be included in a collective search help. If other collective search helps are contained in a collective search help, they are expanded to the level of the elementary search helps when the input help is called.
CREATION:
Go to SE11 Tcode
select search help
give the 'z' search help name and create
select the selection method ur table name eg : 'mara'
dialog module 'display value immediately'.
add the field whatever u want and lpos = 1 and spos = 1 and check import and export parameter.
where left position when displaying and spos = search position
and then save and activate ..
See the links:
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee38446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee45446011d189700000e8322d00/content.htm
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search help
Thanks,
Reward If Helpful. -
Diff between index , search help , match code
wht is Diff between index , search help , match code
Hi,
There is no difference between Search helps and match code objects.
Search helps are the Advanced concept of Match codes.
SAP Converted match codes to Search helps.
Index :
An Index is a copy of database table having few numbers of fields. This copy is always in sorted form. As we know, Sorted data would always have a speed access from a database table. Hence, we use an index for the table while reading the database records. Index also contains a pointer pointing towards actual database table so that it can access fields that are not contained in the Index
For More Information About Index :
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/09/19/indexinginSAP+Tables
Thanks.
Message was edited by:
Viji -
Window freezes when Product category selected via match-code (search help)
Hello Experts,
I am using SRM 7.0 Extended Classic Scenario.
I maintained a product category hierarchy in the SRM environment.
I maintained the GL Accounts related, the tax determination, the source system etc.
I did all this customizing in a Development environment where everything was working fine.
Now I just transported all this to a Quality environment.
And in the Quality I am facing the following issue :
If I select a product category via the match-code (search help), after the category is selected, the window freezes.
I have to shut it down manually using the Windows Close button.
However, when I type the category number, everything works fine.
Do you have any idea what could be causing this issue, and how to fix it ?
Thanks in advance,
SofianeHello,
We have the exact same issue in SRM 7.0 Extented Classic Scenario. This was working fine before we installed the latest support package 11. Which support package do you have?
The same problem occurs with every drop down menu (search help) in EBP. For example when creating a new shopping cart, if I try to add approver, the same thing happens. After clicking 'Approval Process: Display / Edit Agents' > 'Add Approver', the window freezes. Same thing happens with IE8 and Firefox 3.6.13. Could you also try the same?
Could it be a new bug in SP11?
Thanks and best regards,
Matti Hokkanen
Edited by: Matti Hokkanen on Nov 4, 2011 10:30 AM
Edited by: Matti Hokkanen on Nov 4, 2011 10:43 AM -
Differnces between Search Help & Match Codes
Hi,
what is the Differences between Search Help & Match Codes ? which is goof to use ?Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.
Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.
A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:
You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.
You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.
Search Help
Use
With this function you can search for objects, thereby defining and linking different selection conditions for the search help.
Prerequisites
You can call this function by:
· Selecting Object ® Search... () in the main menu bar of the Integration Builder
· Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)
In this case the software component version is defined as the search criteria.
Features
Defining the Object Type
You can select the object type in a dropdown list in field Object Type.
In the design (Integration Repository) you can
· Select an object type (for example Message Interface)
· Select a cross-object category (for example Interface Objects)
In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.
CHECK THIS LINK TO CREATE A SEARCH HELP.
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
CHECK THIS LINK TO CREATE A MATCHCODE OBJECT
http://searchsap.techtarget.com/tip/1,289483,sid21_gci553386,00.html
more details... -
Search helps & match codes - Urgent plz
Hi ,
1. Could any one give me the difference between search helps & match codes.
2. assume that you are giving input matnr from selection screen.and executed based on input matnr you have generated an interactive report with fields matnr,etc...
if i want to change that particular matnr realted fields how can i do that from this report.Shell i call mm02 tcode.How to do that.how to pass the selected parameter to the transaction.(screen matnr field.please give me an example.
Regards
SAISRIHi,
Check this example for interactive reporting..which will take you MM02
TYPE-POOLS: slis.
DATA: gt_fieldcat TYPE slis_t_fieldcat_alv.
DATA: BEGIN OF wa_material,
MATNR LIKE MARA-MATNR,
END OF wa_material.
DATA: v_repid TYPE syrepid.
v_repid = sy-repid.
DATA it_material LIKE STANDARD TABLE OF wa_material WITH HEADER LINE.
SELECT * UP TO 100 ROWS
FROM MARA
INTO CORRESPONDING FIELDS OF TABLE it_material.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = v_repid
i_internal_tabname = 'WA_MATERIAL'
i_inclname = v_repid
CHANGING
ct_fieldcat = gt_fieldcat.
* have hotspot for a PO.
DATA: s_fieldcat LIKE LINE OF gt_fieldcat.
s_fieldcat-hotspot = 'X'.
MODIFY gt_fieldcat FROM s_fieldcat TRANSPORTING hotspot
WHERE fieldname = 'MATNR'.
* Pass the program.
v_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = v_repid
it_fieldcat = gt_fieldcat
i_callback_user_command = 'USER_COMMAND'
TABLES
t_outtab = it_material.
* FORM display_detail *
* --> UCOMM *
* --> SELFIELD *
FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
IF ucomm = '&IC1' AND selfield-fieldname = 'MATNR'.
READ TABLE it_material INDEX selfield-tabindex.
IF sy-subrc = 0.
SET PARAMETER ID 'MAT' FIELD it_material-matnr.
CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.
ENDIF.
ENDIF.
ENDFORM.
Thanks
Naren -
Steps to replace match code objects with search helps in ECC6 upgrade
Hi,
Upgrade 4.7 to ECC6, match code objects need to be replaced with search hellps.
SAP note provided by client but not understanding clearly. Can any one explain me the stelps to migrate the match code objects into search hepls.
Thanks,
Jwala DeepaHi,
Migration must be done by a developer who knows both matchcodes and search helps. It's not just like a procedure that you can follow without knowledge/without thinking.
It's probably a little bit like forms (but far more simple), they often need to be "migrated from scratch"
The first important point is where to find the matchcode object/IDs -> SE11 -> Utility -> Other DDic objects. Then you'll see that are the update type, base table, etc.
There's a little scheme here to show the differences: http://help.sap.com/saphelp_46c/helpdata/en/3e/f3fc37eeb70143e10000009b38f8cf/frameset.htm (plus the general matchcode documentation : http://help.sap.com/saphelp_46c/helpdata/en/cf/21ef1f446011d189700000e8322d00/frameset.htm )
If you need a procedure, let's wait, and see if someone has one, but it doesn't look promising as matchcodes are not used since a long time now.
BR
Sandra -
Diff b/n search help and match code
hi all,
can i know the differece between search help and match code object in terms of functionality?
is there possibility to provide matchcode object for select-options?if yes how can we provide?<b>same thread again.</b>
hi,
Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.
Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.
A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:
You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.
You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.
Search Help
Use
With this function you can search for objects, thereby defining and linking different selection conditions for the search help.
Prerequisites
You can call this function by:
· Selecting Object ® Search... () in the main menu bar of the Integration Builder
· Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)
In this case the software component version is defined as the search criteria.
Features
Defining the Object Type
You can select the object type in a dropdown list in field Object Type.
In the design (Integration Repository) you can
· Select an object type (for example Message Interface)
· Select a cross-object category (for example Interface Objects)
In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.
CHECK THIS LINK TO CREATE A SEARCH HELP.
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
CHECK THIS LINK TO CREATE A MATCHCODE OBJECT
http://searchsap.techtarget.com/tip/1,289483,sid21_gci553386,00.html
more details...
Here is the code to attach a search help to a select-options
SELECT-OPTIONS S_MATNR FOR MARA-MATNR MATCHCODE OBJECT MAT1_A.
Rgds
Anver -
Difference between Search Helps and Match Codes?
Difference between Search Helps and Match Codes?
Serch help
Search Helps
The input help (F4 help) is a standard function of the R/3 System. The user can display the list of all possible input values for a screen field with the input help. The possible input values can be enhanced with further information. This is meaningful especially when the field requires the input of a formal key.
Standard Input Help Process
A user calls an input help with the following steps (some steps can be omitted, depending on the definition of the input help):
The user starts the input help to display the possible input values for a field (search field) in a screen template.
The system offers the user a number of possible search paths. The user selects one of these search paths. Each search path offers a number of restrictions to limit the number of possible input values. These values are offered in a Dialog box for value restriction when the search path is selected.
The user enters restrictions if required and then starts the search.
The system determines the values that satisfy the entered restrictions (hits) and displays them as a list (hit list).
The user selects the most suitable line from the hit list by double-clicking.
The value of the search field is returned to the screen template (possibly together with other values).
Steps 2 and 3 are omitted if there is only a single search path available. In this case the dialog box for the value selection is offered immediately. You can also output the hit list directly after starting the input help. Steps 2 to 4 are omitted in this case.
Function of a Search Help
This standard process can be completely defined by creating a search help in the ABAP Dictionary. This search help only has to be assigned to the screen fields in which they should be available (see Attaching Search Helps to Screen Fields).
There are two types of search help:
Elementary search helps describe a search path. The elementary search help must define where the data of the hit list should be read from (selection method), how the exchange of values between the screen template and selection method is implemented (interface of the search help) and how the online input help should be defined (online behavior of the search help).
Collective search helps combine several elementary search helps. A collective search help thus can offer several alternative search paths.
See also:
Example for Search Helps
Creating Elementary Search Helps
Creating Collective Search Helps
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_46c/helpdata/en/cf/21ee2b446011d189700000e8322d00/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
Match code
Match code is nothing but the Search help in Higher versions
It is same way from SE11 you have to create.
so from SE11 create it and use it.
Matchcode objects are being replaced by search helps. This is good as search helps are easy to create. However, it has caused some confusion on how best to add search helps to a selection field.
The trick that I found is to keep your newly created search helps to a 4-character name. The Matchcode object name has this old 4-character limit. This trick is not documented anywhere in the system but it has been a great time saver for me. You can expand this concept by finding existing SAP search helps that are more than 4-characters, copy them to a 4-character name and presto, you have a new matchcode object available for use
Check this thread to get detailed info
Match Code Objects
Match code
match code
match code
Match code
http://help.sap.com/saphelp_40b/helpdata/en/cf/21ef46446011d189700000e8322d00/content.htm
Rewards if useful.................
Minal
http://web.mit.edu/sapr3/docs/webdocs/dontindex/pdf/mcqc.pdf -
FBL5N : problem with Match-code
Hi,
In Tcode FBL5N i click on match-code of Customer Account's field to choose a Customer, in the first table (Customers by company code) when Ii click on one customer the list of customers is closed but i get nothing in Customer Account's field (it is empty)
Please how to resolve this problem ?
Regards.
Edited by: jehade el aoumari on Jan 20, 2010 9:28 AMHi ,
I had the same issue with FBL1N and I managed to solve it.
1. Open SE11
2. Select radio button search Help
3. Enter DEBI
4. Click on change
5. Choose Maint. in logon lang.
6. Go to tab Included search help
7. Select line DEBID
8. Click on Param. assignment
9. On the 1st line enter KUNNR C KUNNR
10. On the 2nd line enter BUKRS C BUKRS
11. Save
This should solve your issue.
Regards,
Ben -
How to add the Match code object for the requisitioner field in TCODE ME51N
Hi,
How to add the search help (Match code object) for the requisitioner field in transaction ME51N.
Please do the needful to me.
Regards
Rajeshdon't you think that posting your question to a microsoft developer site would be more efficient?
regards,
anton
Maybe you are looking for
-
Help with exporting forms based data to Excel 2007
I have a user who is attempting to export forms based data to Microsoft Excel 2007 and when he attempts this he receives a message stating that Windows does not recognise this file type (tsv). I am not too familiar with Office 2007 so I am unable to
-
Problem with Nokia 5700's audio adapter
I have recently updated my Nokia 5700's firmware with the newest version. But now I can't use my audio adapter(this thing: http://img114.imageshack.us/img114/7485/adapteryb4.jpg ) which is connected with the headphones. While I listened to music, I t
-
E 63 GPRS setting problem & problem in importing c...
recently bought E63. tried to set up email but the gprs service fialed to activate. downloaded the relevant software from network service provider. but no avail. can you vetrens of this board help me??? another problem i have is that i'm not able to
-
Accessing Business rules from BPEL, OESB and OSB
How to aceess Business rules from BPEL, OESB and OSB ?
-
Hello, everyone. I think it's impossible, but still maybe there would be some thoughts. Well, the question is: I have a sentence. Is it possible to replace particular words with the others? E.g. sentence 'I want milk' What I want is: to replace 'I' w