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 on field exit

Former Member
0 Likes
1,267

Hi

What are the possible ways to add a matchcode to a standard SAP program if the field doesnt have a matchcode associated and there is no ON VALUE-REQUEST event defined in the dynpro?

Is it possible to create a matchcode using a field exit?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,025

Hi

No! It's not possible.

You should do:

- Or to change the dynpro and assign your serch help to that field;

- Or if the field belong to a dictionary structure, assign your search help to that field in dictionary

Anyway you have to change a std object.

Max

8 REPLIES 8
Read only

Former Member
0 Likes
1,025

Using a field exit ... its not possible to create match code.

regards,

Sandeep Josyula

*Reward for useful answers

Read only

Former Member
0 Likes
1,025

You can create a Search help and assign it to the particular field in your program.

      • Reward if helpful ***

Read only

Former Member
0 Likes
1,026

Hi

No! It's not possible.

You should do:

- Or to change the dynpro and assign your serch help to that field;

- Or if the field belong to a dictionary structure, assign your search help to that field in dictionary

Anyway you have to change a std object.

Max

Read only

0 Likes
1,025

In same cases there is BADI to add your search help to certain fields in standard SAP transactions. If there is no such BADI, you can try GuiXT...

Read only

0 Likes
1,025

What about calling F4IF_INT_TABLE_VALUE_REQUEST or HELP_VALUES_GET_WITH_TABLE from the field exit? Would this work? I'm going to try it and return.

Read only

0 Likes
1,025

Hi

U can use that fms only un the POV process or AT SELECTION-SCREEN ON VALUE-REQUEST event, so can't use them in field-exit.

U have to change the program if you want to use them, because it means you want to manage the matchcode programmatically.

Max

Read only

0 Likes
1,025

Hi Max,

What about the previous comment from Tomasz?

I still haven't looked for such a BADI, but it sounds logic/reasonable.

Thanks in advance.

José Gabriel.

Edited by: José Gabriel on Jun 1, 2009 11:39 AM

Read only

josgabriel_martnez
Participant
0 Likes
1,025

Hi Fernando,

Could you solve your problem? (adding custom Matchcode to standard field in standard transaction) without modify standard SAP?

I got same problem as you.

Thanks in advance.

Regards,

José Gabriel.