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

Search help is populating the input field with wrong data

manoj_goyal2
Participant
0 Likes
1,209

Hi Guys,

I have created a ZCITY table for which has below 2 field

ZZCITY (Code ) (5 Char) u2013 Key field

ZZNAME (City Name ) (40 Character)

I have added a custom field ZZCITY & ZZNAME in CI_CATSDB. Funtional guy has configured to make ZZNAME as VISIBLE and ZZCITY is HIDDEN on CAT2 screen in Data Entry area.

I created search help on table ZCITY with export parameters as ZZCITY and ZZNAME.

In SE11, I have mapped the export parameters with CI_CATSDB

Now in tcode CAT2, when I press F4 on City Name field, the list is displayed with City code and City names. And when I select any city code, the ZZNAME is populated by City code instead of City name.

I want that City Name should be populated in ZZNAME and City Code should be populated in hidden field ZZCITY.

Please tell me how I can fix this problem.

Thanks in advance.

mini

Hi Guys,

I have created a ZCITY table for which has below 2 field

ZZCITY (Code ) (5 Char) u2013 Key field

ZZNAME (City Name ) (40 Character)

I have added a custom field ZZCITY & ZZNAME in CI_CATSDB. Funtional guy has configured to make ZZNAME as VISIBLE and ZZCITY is HIDDEN on CAT2 screen in Data Entry area.

I created search help on table ZCITY with export parameters as ZZCITY and ZZNAME.

In SE11, I have mapped the export parameters with CI_CATSDB

Now in tcode CAT2, when I press F4 on City Name field, the list is displayed with City code and City names. And when I select any city code, the ZZNAME is populated by City code instead of City name.

I want that City Name should be populated in ZZNAME and City Code should be populated in hidden field ZZCITY.

Please tell me how I can fix this problem.

Thanks in advance.

mini

3 REPLIES 3
Read only

Former Member
0 Likes
772

Hi

Try selecting the Improting Check box aswell. if a screen field is hidden or display mode we can not use F4 help for that field.

you can also take the help of DYNP_READ_VALUES to get the selected value before PAI

Check whats happening in Debug.

Cheers

Ram

Read only

0 Likes
772

Hi Ramchander,

Thanks for your reply. Acctually I am doing Screen enhancement in one the SAP transaction, so I cannot use any function module in PAI.

Thanks.

Read only

Former Member
0 Likes
772

Hi,

I think you only need to have ZZNAME as export parameter in place of both as you dont have the first one on the screen and that might be causing the issue.

Regards,

Himanshu