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: 

drop down using lvc_merge_fieldcatalog

Former Member
0 Kudos

dear all.

my requirement is i want to build a drop down list for tax code,which iam picking from t007a table,it has totally 300 entries.

using ls_fcat-drdn_hndl iam able to get drop down for tax codes but my problem is i should display description also in the drop down list,so now i should display this two tax code and description in two columns . i have searched for this but iam unable to found it.and also for 200 tax codes i have to display.

please helpme out.

Thanks in Advance.

Regards

Shiv

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

I suppose your taxcodes will be in a table...say T007S

So when buildinhg fieldcatalog do

  
lv_fldcat-edit = 'X'.
*To avail the existing F4 help these are to
*be given in the field catalogue
lv_fldcat-f4availabl = 'X'.
lv_fldcat-ref_table = 'T007S'.
lv_fldcat-ref_field = 'MWSKZ'.
APPEND lv_fldcat TO it_fcat.

Edited by: Ncvajja on Feb 7, 2012 4:17 PM

2 REPLIES 2

Former Member
0 Kudos

Hi,

I suppose your taxcodes will be in a table...say T007S

So when buildinhg fieldcatalog do

  
lv_fldcat-edit = 'X'.
*To avail the existing F4 help these are to
*be given in the field catalogue
lv_fldcat-f4availabl = 'X'.
lv_fldcat-ref_table = 'T007S'.
lv_fldcat-ref_field = 'MWSKZ'.
APPEND lv_fldcat TO it_fcat.

Edited by: Ncvajja on Feb 7, 2012 4:17 PM

0 Kudos

I tried that it is showing information as no input help is available.should i call any method for f4 help.