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: 

ADD MATCHCODE TO CUSTOM TCODE CREATED BY SQ01

stefano94
Explorer
0 Kudos
1,068

Hi, I've created a query that reads a custom table.

With SE93 I've created a custom Tcode but in the selection fields I saw that the field EKGRP doesn't have the matchcode button. Can I add it?

thanks and regards,

6 REPLIES 6

Sandra_Rossi
Active Contributor
0 Kudos
902

If your field EKGRP is based on EKKO-EKGRP, then a search help should be automatically proposed.

NB: I don't see the relationship between creating a T.Code and the selection criteria from the SAPQuery, or maybe I didn't get what you meant.

stefano94
Explorer
0 Kudos
902

thanks Sandra,

my EKGRP field is based on table knvv because i need bp customer data.

Maybe i need to do something on the sap query (sq01) to show the matchcode on my custom tcode.

Can you help me?

Sandra_Rossi
Active Contributor
0 Kudos
902

Sorry, the field KNVV-EKGRP doesn't exist. Could you clarify?

I don't understand what means "show the matchcode on my custom tcode". I don't understand if it's a query selection field, or a field in the selection screen of your custom program.

stefano94
Explorer
0 Kudos
902

Sorry I made a mistake.

The field is KNVV - VKGRP.

It's a selection field on a tcode made by se93 with a program generated in sq01

i need to show this button on my selection field.

Now i don't have any "help" or "matchcode" when i select this field.

Sandra_Rossi
Active Contributor
0 Kudos
902

OK. I just created an example from scratch in 2 minutes and I obtain a search help with all possible values for KNVV-VKGRP. Probably you didn't build correctly the infoset. Please provide more information about what you exactly did.

NB: it's no more needed to talk about the transaction code then. Your SAPQuery selection screen has the problem as you can see by running it from SQ01. Am I right?

stefano94
Explorer
0 Kudos
902

I solved it by removing the VKGRP field from the custom table.

After that I join the custom table with KNVV table in sq02