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

Matchcode error

Former Member
0 Likes
1,352

Cud you tell me following match code error?

<b>Display not possible (inconsistency in input help)</b>

I did following steps.

SE11- OTHER DICTINARYOBJECTS

PRIMARYTABLE - ZSTUDENT_MASTER

SAVE

FIELDS

ZSTUDENT_MASTER-STUDENTID

SAVE

MATCHCODE ID --A

i have activated everysteps.

report ztest.

TABLES: ZSTU_MASTER.

PARAMETERS: STUID LIKE ZSTU_MASTER-STUDENTID MATCHCODE OBJECT ZAN1.

thanks in advance

7 REPLIES 7
Read only

Former Member
0 Likes
1,053

it may be because you have used a different table name in your program......

you created the matchcode object for zstudent_aster.

TABLES: <b>ZSTU_MASTER</b>.

PARAMETERS: STUID LIKE <b>ZSTU_MASTER</b>-STUDENTID MATCHCODE OBJECT ZAN1.

Read only

0 Likes
1,053

its still giving error.

I am using.

TABLES: ZSTU_MASTER.

PARAMETERS: P_FIELD LIKE ZSTU_MASTER-STUDENTID MATCHCODE OBJECT ZAN1.

Where as my student id is primary key. can you please tell me why showing above error.

Thanks

Anil

Read only

0 Likes
1,053

its still giving error.

I am using.

TABLES: ZSTU_MASTER.

PARAMETERS: P_FIELD LIKE ZSTU_MASTER-STUDENTID MATCHCODE OBJECT ZAN1.

Where as my student id is primary key. can you please tell me why showing above error.

Thanks

Anil

Read only

0 Likes
1,053

hi anil..........

instead of creating match code object in se11 under the category 'other objects', why dont you create a search help for the 'ZSTU_MASTER-STUDENTID' and give the search help name as the match code id.

--regards,

alex b justin

Read only

0 Likes
1,053

hi ,

I think what Alex suggested is a better way .

You use matchcode when you want a search help to be attached to the parameter . So for your purpose to be solved you can use this logic .

Here are the steps to create search help :

1. Now you need to provide the short text for your search help.

2. In the selection method provide the table or view name you want to use for data retrieval. Ex. ZMARA_01.

3. Select the dialog type according to your scope, ex. “ display values immediately’.

4. Then provide the search help parameters i.e. the interface parameters for the search help .

5. The ZMARA_01 table fields MATNR, ERSDA,MHDHB,MHDHT,MHDRZ are provided by selecting the table fields , by doing this the data elements for these fields are automatically copied to the interface from the selection method.

6. Now define the type of parameter ( import or export ) here for the selection and return of values in runtime.

7. Provide the positions to these parameters to specify how they will be arranged in the hit list display.

8. Now save the object in the respective development class and check the same for errors and then activate .Finally the creation of a ESH ( ex: ZSH004 ) is complete and can be used for providing the input help.

9. Provide the positions to these parameters to specify how they will be arranged in the hit list display.

10. Now save the object in the respective development class and check the same for errors and then activate .Finally the creation of a ESH ( ex: ZSH004 ) is complete and can be used for providing the input help.

Regards,

Ranjita

Read only

0 Likes
1,053

hi ranjita,

hi alex,

i know well using search help, program will work,

but why not using searchhelp we cannot use matchcode? that was my question.

I wanted matchcode, help user to find possible screen values. are their any other way out for match code. please do let me know.

Thanks for answering.

Read only

Former Member
0 Likes
1,053

check....

report ztest.

TABLES: <b>ZSTUDENT_MASTER</b>.

PARAMETERS: STUID LIKE <b>ZSTUDENT_MASTER</b>-STUDENTID MATCHCODE OBJECT ZAN1.