Application Development 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: 

Matchcode for field P0006-STATE

Former Member
0 Kudos

How can I reproduce this matchcode according to the matchcode in Infotipe 6 ? The matchcode in this field only prints the possibilities of spain, not for all countries. That`s what I want to do in my own dynpro? Do you know how to do it?

7 REPLIES 7

Former Member
0 Kudos

What matchcode is being used by Infotype 6 ?

-Kiran

Former Member
0 Kudos

One that shows only codes for Spain not for all countries

0 Kudos

Hi maria,

1. the country code - ISO code for spain is ES

(table t005)

2. This is automatically picked up.

3.

The country keys are determined at system installation in the global settings.

4. So when we do F4 on STATE field in P0006,

it checks the installation global settings,

and picks the country key from there.

5. In mycase , it automatically comes IN (India)

regards,

amit m.

former_member181962
Active Contributor
0 Kudos

When you press F4 for that field, IN the restrictionsgive the country key as ES.

Regards,

Ravi

0 Kudos

Do you know the function to do it? I should change it to print only spain codes but I am not sure about the function and its parameters to program it the way it should be

Former Member
0 Kudos

Hi Marìa Luisa,

you have two possibility?

One create a new search help

or try to use the control table as it is in the infotype 6.

If you have a simple field you have to create a search help and you can use a default value for the land.

Ask me if you have problem creating the help search

bye

enzo

0 Kudos

to create the help:

Go to trx se11

create a search help

-> elementary search help

put the description

- Selection Method: T005S

put the parameter

in this way

Name Imp Exp Lpos Spos Data element Default value

LAND1 1 1 LAND1 'ES'

BLAND x x 2 2 REGIO

BEZEI x x 3 3 BEZEI20

that's all

i hope it's can help you