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

Data Element long field label

Hi All

I am using one data element having domain char(1).In the field label Text is defiend by four different lengths,Program defaultly taking Char(1) text.I want to didplay text of higher length.Please help on this.

Thanks

Vamsi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 31, 2013 at 06:30 AM

    gs_fieldcat-ddictxt = 'L'.


    use this option in the field cat 'S' for small ' L' for long 'M' for medium field labels while passing structure in ALV


    regards

    SIva

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 31, 2013 at 05:59 AM

    How are you displaying the text in ALV...? If yes are you passing the structure name to GRID...?

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 31, 2013 at 08:44 AM

    try using class cl_salv_wd_column_header method SET_PROP_DDIC_BINDING_FIELD

    u can pass IF_SALV_WD_C_DDIC_BINDING=>DDIC_BIND_LONG to Method parameter "VALUE"

    PS: Few similar question on SDN


    http://scn.sap.com/thread/1427845

    http://scn.sap.com/thread/2088985

    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.