10-20-2009 7:34 PM
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
10-21-2009 5:26 AM
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
10-21-2009 1:48 PM
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.
10-21-2009 1:53 PM
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