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

how to create match code object?

Former Member
0 Likes
7,451

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 reddy

4 REPLIES 4
Read only

varma_narayana
Active Contributor
0 Likes
2,627

Hi Swaminath.

Check whether the Table has any records in the Table which is accessed by the Search help.

Fill the Records into that table first.

then it will appear in the Search help.

<b>reward if Helpful.</b>

Read only

former_member404244
Active Contributor
0 Likes
2,627

Hi,

chek the below links..

http://sapabap.iespana.es/sapabap/sap/info/matchcodes.htm

reward points if u find useful..

Regards,

Nagaraj

Read only

Former Member
0 Likes
2,627

Hi

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:

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

Read only

Former Member
0 Likes
2,627

hi,

i have tried to find this search help in SE11 but it saying

MOBJ does not exist.

so i think u have to create ur own search help,if u want some filter data.

Otherwise on standard field mara-matnr, search help is already exist.

Hope it will useful.

Reward if useful.