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

Match code problem

Former Member
0 Likes
2,268

hello experts,

I have added two fields for my ZREG match code. Also ticked the import parameters. Added the fields in selection method too.

But when I am testing ....I entered the values in those fields and in the view these values were not imported.

I will give you the scenario here If we will go with XD03 tcode... in the initial screen will find the fields company code, distribution channel, division and customer fields. I gave the values to the 3 fields and in the customer field i go with f4 help, there is one tab in that v added these 3 fields.

so when i go with f4 help in the customer field i am not getting the values in those fields which i have given in the initial screen....

can anyone guide me how to do this.........

Please let me know...if i have missed anything.

SRI

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,898

please do the below steps so that F4 help will work where ever you use this matchcode object.

Step1: Execute transaction SE11

Step2: Create new search help called 'ZSH' (must be less than 5 chars long to be used as matchcode)

<b>

Step3: Enter the following details:

see the link for for screen shot of the field placed .</b>

http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm

Step4: Save and activate

Step5: Add following line into your program:

<b>PARAMETER p_prog LIKE trdir-name MATCHCODE OBJECT zsh.</b>

reward points if it is usefull....

Girish

7 REPLIES 7
Read only

Former Member
0 Likes
1,898

Hi

What is the link between these 5 fields

company code(bukrs)

Sales orgn (vkorg)

Distr.Channel(VTWEG)

Division (SPARt)

Customer(KUNNR)

though these all fields are in the same Transaction these values are not stored in a single table

So data has to come from the tables on to Popup when you press match code

Since they are all in different tables you can't get a match code id for these 4/5 fields

try to get the Match code based On Sales data except company code for customer by using the table KNVV. and create the Match code Id and see

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

0 Likes
1,898

Hi Anji Reddy,

Can you explain bit clearly i am unable to fallow what you said.

Actually i added all the data elements in the match code created. I am able to see all these 3 fields in the one of the tabs of f4 help but what ever the data entered in the initial screen its not showing directly in the f4 tab screen...

how to get it... can u explain me bit clearly... its bit urgent.

SRI

Read only

Former Member
0 Likes
1,898

any further suggestions plzzzzzzzzzzzzzz

Read only

Former Member
0 Likes
1,899

please do the below steps so that F4 help will work where ever you use this matchcode object.

Step1: Execute transaction SE11

Step2: Create new search help called 'ZSH' (must be less than 5 chars long to be used as matchcode)

<b>

Step3: Enter the following details:

see the link for for screen shot of the field placed .</b>

http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm

Step4: Save and activate

Step5: Add following line into your program:

<b>PARAMETER p_prog LIKE trdir-name MATCHCODE OBJECT zsh.</b>

reward points if it is usefull....

Girish

Read only

0 Likes
1,898

Girish,

This is I am creating for the tcode XD03, So how can i add those program lines into the std.program.

Not only that i am added all the fields as i mentioned above.... but the values are not coming into it what ever i entered in the initial screen of XD03.

can anyone help me how to solve it....

SRI

Read only

Former Member
0 Likes
1,898

hello guys,

can anyone give some idea plzzzzzzz?

its bit urgent .....

SRI

Read only

Former Member
0 Likes
1,898

I AM STILL GETTING THE PROBLEM CAN ANYONE GUIDE ME HOW TO DO IT?