‎2007 Jul 28 7:11 PM
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
‎2007 Jul 30 5:18 PM
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.
‎2007 Jul 30 5:45 PM
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
‎2007 Jul 30 5:48 PM
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
‎2007 Jul 31 11:16 AM
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
‎2007 Jul 31 11:23 AM
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
‎2007 Jul 31 5:58 PM
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.
‎2007 Jul 30 5:19 PM
check....
report ztest.
TABLES: <b>ZSTUDENT_MASTER</b>.
PARAMETERS: STUID LIKE <b>ZSTUDENT_MASTER</b>-STUDENTID MATCHCODE OBJECT ZAN1.