Match code custom in dympro
Good morning,
i have to develop a matchcode custom in a dynpro of a module pool, because i have some custom data fields in different format (YYMM) (DDMMYY) and i haven't declared the fields DATS but CHAR.
I wanto to call the function F4_DATE on matchcode input and transalte via ABAP the correct format.
How i set the match-code in a field of a dynpro? I tryed with "FIELD ZTBMODOMO-ZDTRICHIESTA MODULE DTRICHIESTA_0200 ON REQUEST." but it doesn't work for my proposal.
thanks a lot.
Marco
thanks i resolved myself with the code:
PROCESS ON VALUE-REQUEST.
FIELD ZTBMODOMO-ZDTRICHIESTA MODULE DTRICHIESTA_0200.
this is called when i pressed f4.
bye
Similar Messages
-
Match-code to field custom (to portal)
Hi all!
I must put a match-code to a field custom.
I see the match-code to SAP R-3, but not to portal.
I must customizing the match-code to "customizing"?
Thanks to all.
VanessaHi
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 -
CUP - custom field and match code
Hi,
is it possible to have a custom field in CUP with a match code to help searching ?
the only two way that i found are dropdown lists for a table from a backend system and free field ( varchar, date, numeric)
thanks
Regards
AurelienHi Aurelien,
You can create custom fields in CUP for the following types.
1 Text type
2 Numeric type
3 Date type
4 Drop down
a) drop down data define in CUP
b) Drop down data coming from backend table.
If you want a request to be associated with a match code that helps you seaching the request later.
Than create an text type custom field and use in a workflow.
While a creating the request define the value of custom field.
Now you can serch request on the basis of the value define in the custom field.
Kind Regards,
Srinivasan -
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 -
Dear All,
Please suggest me the steps and necessary settings to Created a Match Code.
I have to create a Match Code for the field Tax Number 1 in the Vendor Master.
Thanks in Advance,
Archana.Hi ARCHANA,
IF YOU WANT SEARCH HELP BASED ON MULTIPLE THING THEN YOU HAVE TO GO FOR COLLECTIVE SEARCH HELP WHERE YOU LIST ALL YOUR ELEMENTARY SEARCH HELPS
LIKE IN HERE
VENDOR BY COMANY,VENDOR BYCUSTOMER ETC ARE ELEMENTARY SEARCH HELPS
Vendor if you see the Search Help, it gives you the option for Vendor by Customer, Vendors by COmpany Code etc etc.
THEN YOU CREATE A COLLECTIVE SEARCH HELP WHERE YOU GIVE ALL YOUR ELEMTARY SEARCH HELP.
SI IF YOU WANT TO ADD TO THIS LIKE
Vendor by Customer, Vendors by COmpany Code ,VENDOR BY TAX NUMBER1
GO TO SELL CREATA ASEARCH HELP ZTEST
GIVE SOME SHORT DESC
THEN IN SELECTION METHOD GIVE THE TABLE I.E LFA1
THEN UNDER SEARCH HELP PARAMETER
GIVE
LIFNR SELECT IMPORT EXPORT LPOS 1 SPOS 1 AND PRESS ENTER
BELOW THAT
STCD1 LPOS2 SPOS 2 AND THEN PRESS ENTER
SAVE IT.
tHEN FIND THE COLLECTIVE SEARCH FOR VENDOR FIELD AND JUST THIS TO IT.
THANKS
VENKI -
Possibility of giving match code for Manufacturer in Equipment Master
Hi -
We can have a field exit on fieler HERST of Equipment Master.
Is there any possibility of giving a match code on this filed? so that we can maintain a table for manufacturer and user can select any one entry from this table.
We do have activated filed exit for manufacturer check, but need to further restrict the entry so that there is uniformity of entry maintained in this field.
Kindly advice.hi narendar,
some information :
In addition to the above mentioned exit we have also created a custom match code for this field in one of our project ... the exit gets triggerred whenver user hits enter and the value entered here is used in selection criteria that displays the custom popup window ... the data is picked from vendor master table the selection createria we used was vendor name and description and vendor acount group MNFR - for manufacturers would be defaulted and displayed.So you can go with creating a custom match code which is invoked whenever user selects F4...
regards
pushpa -
How to modify an existing Match code selection for Vehicles
Hello,
In vehicle master Change or Display (T-code: O4V2 or O4V3) we eneter TD vehicle no. (OIGV-
VEHICLE). Here when we take a drop down - F4 (Match Code selection) and various options are available like
1). Vehicle Number and Description
2). General Data
3). Vehicle weights
4). Vehicle type etc
In Vehicle master under 'Communication Data' we have one field called 'Call Sign' (OIGV-VHCLSIGN). We would like to have this field in drop down selection / Match code selection for Vehicle on any of the above mentioned tab page in Match code selection (e.g. Say under 'General Data'). How do we add the same or how do I do this modification of existing matcode selection?
For Customer master we can maintain Match code selection in SPRO (Maintain Matchcodes for Customers) which I am aware of. I am looking for something similar for Vehicles or may be some direct development.
Can anyone please guide me in this?
Thanks & Regards,
Aniruddha.Hi Anirudhdha,
Unlike customer match code there is no customising option for vehicles. But conceptually the same thing can be done. Create a single search help with the criteria you need. Add it to the collective search help OIGV (like we do for DEBI in customer master).
Regards,
Ashutosh -
Match code result not copied in the transaction
Hi there,
I had a request to check the following problem : in transaction VF02 (billing doc change), when finding a document through custom match code using the reference field, double clicking on the document in the result box does not copy the document number to the VF02 field. This is frustrating for the users...It seems that this behaviour is new.
I understood this is controlled through a database view (in this case M_VMCFX). When I compare with a standard matchcode that doesn't give problem, I notice that there is no generated view info when I do F1+technical details with this match code, I have M_VMCFA for the standard match code...
Any idea ?hi Philippe,
Goto SE11, enter the custom match code in search help field, choosing search help radio button.
Check the <b>EXP</b> check box is selected for the field under consideration.
Hope this helps,
Sajan Joseph. -
Hi,
I am trying to use a single select option in the report
s_acct FOR bsid-kunnr DEFAULT 9999990000 TO 9999999999.
Also,I have two radio buttons
p_ap RADIOBUTTON GROUP r1,
p_ar RADIOBUTTON GROUP r1,
I AM TRYING TO ACHIEVE:(F4 functionality depending on the radio buttons selected)
If p_ap is selected i am trying to get match codes(F4)
of Vendors(bsik-lifnr) and if p_ar is selected get the match code of Customer(bsid-kunnr).
Please let me know if there is any easy workaround.
Thank You,
RaoEven if you use one select option you will have to do some processing to differentiate in your database selections in report . Why dont you use two select options like this ( Only one will be displayed on screen at a time depending on radibutton and you don't need to code for F4 )
<b>TABLES : LFA1, KNA1.
PARAMETERS : p_ap RADIOBUTTON GROUP r1 USER-COMMAND VEN default 'X',
p_ar RADIOBUTTON GROUP r1.
SELECT-OPTIONS S_VEN FOR LFA1-LIFNR MODIF ID LIF.
SELECT-OPTIONS S_CUS FOR KNA1-KUNNR MODIF ID KUN.
AT SELECTION-SCREEN OUTPUT .
IF P_AP EQ 'X'.
LOOP AT SCREEN.
CHECK SCREEN-GROUP1 EQ 'KUN'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
CHECK SCREEN-GROUP1 EQ 'LIF'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDLOOP.
ENDIF.</b>
Later in the program you can always copy both selction options to another ranges variable which you can use if required.
Cheers.
Sanjay -
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 -
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 -
Dear all,
Is there a way to restrict values in standar match codes? I want some users to be not allowed to see some values.
Any help on this topic will be really appreciated and rewarded
Thanks in advanceHi Federico,
The AUTHORITY-CHECK checks whether a user has the appropriate authorization to execute a particular activity.
AUTHORITY CHECK OBJECT <object name>
ID <name1> FIELD <f1>
ID <name2> FIELD <f2>
IF SY-SUBRC NE 0.
For Matchcode (which is now called Search help) go to the link
http://help.sap.com/saphelp_nw04s/helpdata/en/c9/83eb02be4c11d1950200a0c929b3c3/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee93446011d189700000e8322d00/content.htm
If it is in a custom program you can do this check in the event AT SELECTION-SCREEN ON VALUE-REQUEST.
Reward points if this helps.
Lijo Joseph -
Can anybody suggest me how to creat match code id and object
hi Gurus,
can any body suggest me how to create match code object and match code id..
in my program i need specific values in search help..
to avoid confusion in selecting the values.
i need only selcted values..
thanks in advance.
vijay chavanHi
In Older SAP versions Match codes are used, now they are replaced by SEARCH HELPs
there 2 types of search helps
Elementary and Collective
see the doc and create accordingly
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
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search help
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
Collective search help Combine several elementary search helps. A collective search help thus can offer several alternative search paths.
A Collective search help provides alternative search
Paths by combining elementary search helps.
Only one search help can be attached to a field, table or data element. Several search paths are therefore attached with a collective search help.
A collective search help also has interface parameters like
an elementary search help.
Like an elementary search help, a collective search help has an interface of IMPORT and EXPORT parameters with which the search help exchanges data. Using this interface, the collective search help can be attached to fields, tables and data elements exactly like an elementary search help.
Parameter assignment needs to be done for each of the
Included search helps.
When you define a collective search help, there are no components for describing the dialog behavior and data selection; instead the included search helps are listed here. You must assign the parameters of the collective search help to the interface parameters of the included search help for each inclusion.
User may choose the tab and thus the elementary
search maethod.
When we execute the search help SCUSTOM, we are confronted with a dialog which gives us an option of either restricting
By 1)Search for customer according to booking
2)Search for customer according to name.
These are effectively the elementary search helps (SCUSTOM_BOOK and SCUSTOM_NAME) which have been included in the collective search help SCUSTOM.
HOT KEY
The hot key is used to select the elementary search help from the collective search help and to enter the restrictions in the dialog box for restricting values directly from the entry field. If the user often searches for values using the same search help, this procedure can save time.
Steps to create a Collective Search Help
1)Enter the search help name and click on create.
2)Choose Collective search help radio button option as the search help type.
3)Enter the search help parameters.
4)Instead of the selection method, we enter the included
search helps for the collective search help.
5)We need to assign parameters for each of the included
search helps.
6)Complete the parameter assignment by clicking on the push button
7)Collective search help offers the user to obtain F4 help
using any of the included search helps.
Regards
Anji -
How to create match code object?
Hi To all..
1.......I created a match code object
i.e select-options : s_mara for mara-matnr matchcode object mobj.
when i execute the report the lower limit will assign to matchcode object.
but when i click on search help it shows that no values found for object mobj.
on what reason it will cause?how to fill that object mobj with records?
thanks and regards,
k.swaminath reddyHi
In which version of SAP are you working?
Matchcodes are replaced by SEARCH HELPs in latest versions
see the doc
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
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=2176485
https://forums.sdn.sap.com/click.jspa?searchID=3173469&messageID=3601619
pls go through this for search help creation
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm
Search Help Exits:
Re: dynamic values for search help
Re: Dynamic search help
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
https://forums.sdn.sap.com/click.jspa?searchID=4390517&messageID=1712818
Collective search help Combine several elementary search helps. A collective search help thus can offer several alternative search paths.
A Collective search help provides alternative search
Paths by combining elementary search helps.
Only one search help can be attached to a field, table or data element. Several search paths are therefore attached with a collective search help.
A collective search help also has interface parameters like
an elementary search help.
Like an elementary search help, a collective search help has an interface of IMPORT and EXPORT parameters with which the search help exchanges data. Using this interface, the collective search help can be attached to fields, tables and data elements exactly like an elementary search help.
Parameter assignment needs to be done for each of the
Included search helps.
When you define a collective search help, there are no components for describing the dialog behavior and data selection; instead the included search helps are listed here. You must assign the parameters of the collective search help to the interface parameters of the included search help for each inclusion.
User may choose the tab and thus the elementary
search maethod.
When we execute the search help SCUSTOM, we are confronted with a dialog which gives us an option of either restricting
By 1)Search for customer according to booking
2)Search for customer according to name.
These are effectively the elementary search helps (SCUSTOM_BOOK and SCUSTOM_NAME) which have been included in the collective search help SCUSTOM.
HOT KEY
The hot key is used to select the elementary search help from the collective search help and to enter the restrictions in the dialog box for restricting values directly from the entry field. If the user often searches for values using the same search help, this procedure can save time.
Steps to create a Collective Search Help
1)Enter the search help name and click on create.
2)Choose Collective search help radio button option as the search help type.
3)Enter the search help parameters.
4)Instead of the selection method, we enter the included
search helps for the collective search help.
5)We need to assign parameters for each of the included
search helps.
6)Complete the parameter assignment by clicking on the push button
7)Collective search help offers the user to obtain F4 help
using any of the included search helps.
Regards
Anji -
Possibility of having match code on HERST of Equipment Master
Hi -
We can have a field exit on field HERST of Equipment Master.
Is there any possibility of giving a match code on this filed? so that we can maintain a table for manufacturer and user can select any one entry from this table.
We do have activated user exit for manufacturer check, but need to further restrict the entry so that there is uniformity of entry maintained in this field.
Kindly advice.hi narendar,
some information :
In addition to the above mentioned exit we have also created a custom match code for this field in one of our project ... the exit gets triggerred whenver user hits enter and the value entered here is used in selection criteria that displays the custom popup window ... the data is picked from vendor master table the selection createria we used was vendor name and description and vendor acount group MNFR - for manufacturers would be defaulted and displayed.So you can go with creating a custom match code which is invoked whenever user selects F4...
regards
pushpa
Maybe you are looking for
-
Setting up a full contextual search from within folders,document libraries or lists.
Hi Everybody I have been loooking through all the availdable answers but so far have not seen anything that is wholly relevant to my problem. I have set up a search on sharepoint 2013 that seems to be working 100% and does a full contextual search fr
-
While it's been possible to place flash files in iWeb with workarounds in the past it's now easy with the new version. The HTML snippet feature has saved the day, Thanks Apple! I can hardly imagine the net without Flash. To see an example go here: ht
-
Itunes wont launch until log out/log in
Can anyone help with this error log, I have to log out and back in before itunes will work again after this crash.
-
SEARCH TERM 2 UPLOAD IN CUSTOMER MASTER
Hi, I have to upload SEARCH TERM 2 while uploading CUSTOMER MASTER DATA in XD01. Please let me know how to achieve this while creation of customer master. Points Gauranteed!!! Thank You, Suresh
-
Captivate version 4, adjusting the timeline
In the Captivate 4 Help, it says the following: "You can adjust the zoom level of the Timeline easily. Click in the Timeline ruler and spin the mouse wheel on your mouse to increase or decrease the zoom level. Alternatively, use keystrokes to chang