Skip to Content
author's profile photo Former Member
Former Member

drop down using lvc_merge_fieldcatalog

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 07, 2012 at 03:17 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.