Why the ALV download Excel can't show all field title?

Dear All
         I have a problem for ALV download to Excel
Example: the field  title description has 11 len bits when I download Excel then the field title is u2018descriptiou2019 only 10 len bits. I found when the field value is more then 11 then can show all,if the field value less than 11 then download Excel only show 10.
The description has 40 bits.if itu2019s value less 40 then ALV CONDENSE the space .
I removed this code: GT_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.but problem is also exits.
How can I do ?
Thanks

Make sure you populate below, it may help you to solve your problem. 
t_fieldcatalog-col_pos     = col_pos.
t_fieldcatalog-outputlen   = out_len.
Rgds,
SaiRam

Similar Messages

  • Why the lens profile list can't show ALL lens profiles items from "LensProfiles 1.0" folder?

    When I add a new lens profile - Samyang 14mm f2.8 - .lcp file into the "LensProfiles > 1.0" folder, I appear there are many lens profile items can't show in the Lightroom lens profiles list.
    Please tell me how can I add these items into the LR lens profiles list........... thanks!!!

    Sorry my bad, should have put.
    Your custom Camera Raw & Lens Profiles should be installed to the User folders…
    Lightroom 5 no longer uses the shared ProgramData (Windows) / Application Support (Mac) folders for Camera or Lens Profiles. Instead, it stores the built-in profiles with its program files.
    When you create camera or lens profiles, they must be stored in the user locations listed below. If you previously stored custom profiles in other locations, you’ll need to move them to these user folders, otherwise Lightroom won’t be able to find them.
    Windows—C: \ Users \ [your username] \ AppData \ Roaming \ Adobe \ CameraRaw \ CameraProfiles \
    Mac—Macintosh HD / Users / [your username] / Library / Application Support / Adobe / CameraRaw / CameraProfiles /
    For the lens profiles, substitute the LensProfiles folder for the CameraProfiles folder.
    The camera and lens profile file extensions are:
    .dcpr—camera profile recipe file used for creating/editing a profile in the DNG Profile Editor
    .dcp—camera profile
    .lcp—lens profile

  • The application microsoft excel can't be opened  -1712,  how to solve this problem to my mac book pro

    hi, 
    Recently i am facing a problem is some Exel files are not opening  and the error is -   THE APPLICATION MIRCROSOFT EXCEL CAN'T BE OPENED -1712.
    Why this is happend?
    Can any one support me to solve this prob.

    It should be right under the Help menu:
    Check and see...
    Clinton

  • My old computer crashed and I am trying to download Adobe X Pro on my computer. I have tried to download and the only download I can find is the Adobe XI Pro. Any help would be appreciated. I have the product key but it's not deactivated on my old compute

    My old computer crashed and I am trying to download Adobe X Pro on my computer. I have tried to download and the only download I can find is the Adobe XI Pro. Any help would be appreciated. I have the product key but it's not deactivated on my old computer.

    if you need to deactivate, contact adobe support
    https://helpx.adobe.com/contact.html
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.6| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.

  • How can I show all of my keywords in iPhoto.  there seems to be a limit on the number that can be used.

    How can I show all of the keywords used in iPhoto.  There seems to be alimit on how many can be displayed.

    When I click the "Edit Keywords" button, I get a list of all keywords. I just added several hundred random keywords, and they are all visible, when I scroll the list in "Edit Keywords" view.
    Have you the scroll bars hidden? You can enable the scroll bars in the System Preferences > General tab:   enable "Show Scroll bars - always".

  • HT1766 I purchased an iPad air and chose a backup from my iPhone 5s.  The only issue is only 30 of my photos downloaded to my iPad and none of the music.  How can I get all items on the iPad?

    I purchased an iPad air and chose a backup from my iPhone 5s.  The only issue is only 30 of my photos downloaded to my iPad and none of the music.  How can I get all items on the iPad?

    you are using I tunes as the middle man for this back up, right?
    When you plug in the pad to i tunes, give it a unique name, like my pad.  I tune may be thinking it is talking to your phone.  It will keep track of what you what on each device.  Then plug your phone back in, and make sure your photos are uploaded to the computer - in i photo if you are using a mac, or in whatever photo program you are using on a windows device.  You also want to make sure you have uploaded to the computer all of your music.
    Once you get all that stuff there, plug the pad back in, and go through each of the tabs - selecting the music, photos etal that you want on the pad, then resync.

  • ALV GRID Report is not showing all records which is in internal table

    hi all,
    have one doubt. please clarify me. ALV Report is working fine since long tiem. But suddenly this report is showing few records only for the given input.   Example:   it_main table have 50 records, but output is showing only 10 records only. (we have not made any modifications in this report).
    temporarily i have given excel output file from it_main table. excel file is showing all records.
    here it_main have all the records. but output is showing few records only. it is not showing any error. i have tested with REUSE_ALV_LIST_DISPLAY function also. but it also showing same results(few records only.)
    please give me some idea.
    FORM display_alv_report.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_buffer_active          = 'X'
          i_callback_program       = sy-repid
          is_layout                = wa_layout
          it_fieldcat              = it_fcat
          it_events                = it_events
          i_save                   = 'A'
          is_variant               = wa_variant
        TABLES
          t_outtab                 = it_main
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE text-204 " 'Error in Display the list'
        TYPE 'I'.
        LEAVE TO LIST-PROCESSING.
      ENDIF.
    ENDFORM.            .                    "DISPLAY_ALV_REPORT
    Best Regards,
    Srinivas

    hi
    Please study this program and give me suggestions.
    ALV Declaration
    DATA : it_events TYPE slis_t_event,               "ALV event
               it_fcat   TYPE slis_t_fieldcat_alv,        "Field catalog
               it_list_top_of_page TYPE slis_t_listheader,
               c_tabname  TYPE slis_tabname   VALUE 'IT_MAIN'.
    DATA : wa_layout  TYPE slis_layout_alv,
                wa_event   TYPE slis_alv_event,
               wa_fcat    TYPE slis_fieldcat_alv,
               wa_variant TYPE disvariant.
    START-OF-SELECTION.
      PERFORM material_pass.
      PERFORM data_retrieval.
    END-OF-SELECTION.
      PERFORM sub_display_report.
    FORM sub_display_report .
      DATA status(1).
      IF r1 = 'X'.
        PERFORM build_fieldcatalog USING :
          '1'  'ERDAT'     'S.O DATE'             '' '10'  'X',
          '2'  'VBELN'     'SALE ORDER'           '' '10'  'X',
          '3'  'POSNR'     'SALE ITEM'            '' '6'   '',
          '4'  'BSTKD'     'CUSTOMER PO'          '' '35'  '',
          '5'  'BEZEI'     'REASON FOR REJECTION' '' '40'  '',
          '6'  'PLNUM'     'PLANNED ORDER'        '' '10'  '',
          '7'  'AUFNR'     'PROD.ORDER.'          '' '12'  '',
          '8'  'MATNR'     'MATERIAL NUMBER'      '' '18'  '',
          '9'  'MAKTX'     'MATERIAL DESCRIPTION' '' '40'  '',
          '10' 'WERKS'     'PLANT'                '' '4'   '',
          '11' 'KWMENG'    'SALE ORDER QTY'       '' '15'  '',
          '12' 'VRKME'     'UNIT'                 '' '4'   '',
          '13' 'GAMNG'     'PROD.ORDER QTY'       '' '13'  '',
          '14' 'IGMNG'     'CONFIRMED ORDER QTY'  '' '13'  '',
          '15' 'GMEIN'     'UNIT'                 '' '4'   '',
          '16' 'MENGE'     'G.R QUANTITY'         '' '13'  '',
          '17' 'SOBAL'     'S.O BALANCE'          '' '13'  '',
          '18' 'PRDBAL'    'PROD.BALANCE'         '' '13'  '',
          '19' 'GSM'       'GSM'                  '' '4'   '',
          '20' 'SIZE1'     'SIZE1'                '' '10'  '',
          '21' 'SIZE2'     'SIZE2'                '' '10'  ''.
        CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
            filename              = pathname
            filetype              = ftype
            append                = 'X'
            write_field_separator = 'X'
          TABLES
            data_tab              = it_mains
          EXCEPTIONS
            file_write_error      = 1.
        IF sy-subrc = 0.
          status = 'S'.
        ELSE.
          status = 'E'.
        ENDIF.
      ELSEIF r2 = 'X' OR r3 = 'X'.
        PERFORM build_fieldcatalog USING :
          '1'  'ERDAT'     'S.O DATE'             '' '10'  'X',
          '2'  'VBELN'     'SALE ORDER'           '' '10'  'X',
          '3'  'POSNR'     'SALE ITEM'            '' '6'   '',
          '4'  'BSTKD'     'CUSTOMER PO'          '' '35'  '',
          '5'  'BEZEI'     'REASON FOR REJECTION' '' '40'  '',
          '6'  'PLNUM'     'PLANNED ORDER'        '' '10'  '',
          '7'  'AUFNR'     'PROD.ORDER.'          '' '12'  '',
          '8'  'MATNR'     'MATERIAL NUMBER'      '' '18'  '',
          '9'  'MAKTX'     'MATERIAL DESCRIPTION' '' '40'  '',
          '10' 'WERKS'     'PLANT'                '' '4'   '',
          '11' 'KWMENG'    'SALE ORDER QTY'       '' '15'  '',
          '12' 'VRKME'     'UNIT'                 '' '4'   '',
          '13' 'GAMNG'     'PROD.ORDER QTY'       '' '13'  '',
          '14' 'IGMNG'     'CONFIRMED ORDER QTY'  '' '13'  '',
          '15' 'GMEIN'     'UNIT'                 '' '4'   '',
          '16' 'MENGE'     'G.R QUANTITY'         '' '13'  '',
          '17' 'SOBAL'     'S.O BALANCE'          '' '13'  '',
          '18' 'PRDBAL'    'PROD.BALANCE'         '' '13'  '',
          '19' 'GSM'       'GSM'                  '' '4'   '',
          '20' 'SIZE1'     'SIZE1'                '' '10'  '',
          '21' 'CUT1'      'CUT1'                 '' '11'  '',
          '22' 'SIZE2'     'SIZE2'                '' '10'  '',
          '23' 'CUT2'      'CUT2'                 '' '11'  '',
          '24' 'SIZE3'     'SIZE3'                '' '10'  '',
          '25' 'CUT3'      'CUT3'                 '' '11'  '',
          '26' 'SIZE4'     'SIZE4'                '' '10'  '',
          '27' 'CUT4'      'CUT4'                 '' '11'  '',
          '28' 'SIZE5'     'SIZE5'                '' '10'  '',
          '29' 'CUT5'      'CUT5'                 '' '11'  '',
          '30' 'SIZE6'     'SIZE6'                '' '10'  '',
          '31' 'CUT6'      'CUT6'                 '' '11'  ''.
        CALL FUNCTION 'GUI_DOWNLOAD'
          EXPORTING
            filename              = pathname
            filetype              = ftype
            append                = 'X'
            write_field_separator = 'X'
          TABLES
            data_tab              = it_mainall
          EXCEPTIONS
            file_write_error      = 1.
        IF sy-subrc = 0.
          status = 'S'.
        ELSE.
          status = 'E'.
        ENDIF.
      ENDIF.
      PERFORM build_layout.
      PERFORM build_events.
      PERFORM sub_comment_build USING it_list_top_of_page.
      PERFORM sub_set_variant.
      PERFORM display_alv_report.
      IF status = 'S'.
        MESSAGE 'Excel Output file Downloaded to Given Path' TYPE 'I'.
      ELSE.
        MESSAGE 'Download Not Possible' TYPE 'I'.
      ENDIF.
    ENDFORM.                    " SUB_DISPLAY_REPORT
    FORM BUILD_FIELDCATALOG
    FORM build_fieldcatalog USING  p_col_pos
                                   p_fieldname
                                   p_text
                                   p_datatype
                                   p_outputlen
                                   p_col_freez.
      wa_fcat-row_pos        = '1'.
      wa_fcat-col_pos        = p_col_pos.
      wa_fcat-fieldname      = p_fieldname.
      wa_fcat-tabname        = c_tabname.
      wa_fcat-reptext_ddic   = p_text.
      wa_fcat-datatype       = p_datatype.
      wa_fcat-ddic_outputlen = p_outputlen.
      wa_fcat-key            = p_col_freez.
      APPEND wa_fcat TO it_fcat.
      CLEAR wa_fcat.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
    FORM build_layout.
      CLEAR: wa_layout.
      wa_layout-window_titlebar   = 'LIST OF GSM WISE OPEN SALE ORDERS'.
      wa_layout-colwidth_optimize = 'X'.
      wa_layout-totals_text       = 'CUMULATIVE'.
    ENDFORM.                    "BUILD_LAYOUT
    *&      Form  BUILD_EVENTS
    FORM build_events.
      CLEAR wa_event.
      REFRESH it_events.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = it_events
        EXCEPTIONS
          list_type_wrong = 1
          OTHERS          = 2.
      IF sy-subrc = 0.
        READ TABLE it_events INTO wa_event
             WITH KEY name = 'TOP_OF_PAGE'.
        IF sy-subrc EQ 0.
          wa_event-form = 'TOP_OF_PAGE'.
          APPEND wa_event TO it_events.
          CLEAR wa_event.
        ENDIF.
      ENDIF.
    ENDFORM.                    "BUILD_EVENTS
         -->P_IT_LIST_TOP_OF_PAGE  text
    FORM sub_comment_build  USING it_top_of_page TYPE slis_t_listheader.
      DATA ls_line TYPE slis_listheader.
      CLEAR ls_line.
      ls_line-typ = 'H'.
      ls_line-info = str1.
      APPEND ls_line TO it_top_of_page.
      CLEAR ls_line.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
         it_list_commentary = t_header[].
    ENDFORM.                    " SUB_COMMENT_BUILD
    *&      Form  SUB_SET_VARIANT
          text
    -->  p1        text
    <--  p2        text
    FORM sub_set_variant .
      CLEAR wa_variant.
      wa_variant-report = sy-repid.
      wa_variant-username = sy-uname.
    wa_variant-variant = c_variant.
    wa_variant-variant = p_layout.
    ENDFORM.                    " SUB_SET_VARIANT
    *&      Form  DISPLAY_ALV_REPORT
    *Display Report Using ALV GRID
    FORM display_alv_report.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_buffer_active          = 'X'
          i_callback_program       = sy-repid
         i_callback_pf_status_set = c_pf_status
         i_callback_user_command  = c_user_command
          is_layout                = wa_layout
          it_fieldcat              = it_fcat
         it_sort                  = it_sort[]
          it_events                = it_events
          i_save                   = 'A'
          is_variant               = wa_variant
        TABLES
          t_outtab                 = it_main
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE text-204 " 'Error in Display the list'
        TYPE 'I'.
        LEAVE TO LIST-PROCESSING.
      ENDIF.
    ENDFORM.            .                    "DISPLAY_ALV_REPORT
    *ALV Report Header
    FORM top_of_page.
      DATA : t_header TYPE slis_t_listheader WITH HEADER LINE,
             wa_header TYPE slis_listheader,
             t_line LIKE wa_header-info,
             ld_lines TYPE i,
             ld_linesc(10) TYPE c.
      wa_header-typ  = 'H'.
    T_HEADER-INFO = 'LIST OF GSM WISE OPEN SALE ORDERS'.
      wa_header-info = str1.
      APPEND wa_header TO t_header.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = t_header[].
    ENDFORM.                    "TOP_OF_PAGE
    here it_main internal table having all data. but output is showing few records only.
    pl. give some idea.
    Thanks & Regards
    Srinivas.

  • The purchased items it is not showing all applications

    I HAVE IPHONE  4S 16GB
    WHEN I GO TO APP STORE FROM THE IPHONE TO THE PURCHASED ITEMS IT IS NOT SHOWING ALL APPLICATION WHICH ONE I DOWNLOADING
    PLEASE I WANT A SOLUTION.

    Hi, rsvip7.
    I would recommend closing any open applications in multitasking and restarting the device.  If unfamiliar with multitasking, I have included a screenshot on how to process an application close.  Test the results after processing these steps by attempting to access your previous purchases.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    If the issue persists, I would verify which Apple ID was used to make the purchases you are unable to locate.  If the application is located on your computer, you can either Right-Click and Get Info on the selected media for Windows or Control-Click and Get Info for Mac.  The Apple ID that was used to purchase the media will be on the Summary tab. You can also verify what Apple ID it was purchased with by accessing your purchase history by following the steps below. 
    iTunes Store & Mac App Store: Seeing your purchase history and order numbers
    http://support.apple.com/kb/HT2727
    If the account used to purchase the missing content is different, you will need to login with that Apple ID in order to access prior purchases. 
    iOS: Changing the signed-in iTunes Store Apple ID account
    http://support.apple.com/kb/ht1311
    Hope that helps,
    Jason H. 

  • How can I show all missing content in iTunes library?

    How can I show all missing content (ie. show the exclamation mark against each track)? I can restore the missing content but need to know what is missing without running each track.

    One way to identify the broken links in your library is to create this set of playlists:
    Lost & Found playlists
    Create a playlist called Found, select everything in Music and drag it into the Found playlist. Create a smart playlist called Lost matching All the rules Playlist is Music and Playlist is not Found. Your lost tracks will be in this playlist.
    Or use iTunes Folder Watch and enable its option to check for dead tracks on startup.
    tt2

  • My i-tunes Wish List only shows the first page, it used to show all the pages- like the next page button is disconnected?

    My i-tunes Wish List only shows the first page- it used to show all the pages. Its a little like the next page button is disconnected?
    Any ideas?
    thanks
    Simon

    I would say all types. Any kind of document/ file that has multiple pages, I can't get to the next page.

  • When importing songs of a same album but different artist iTunes will separate the artists. How can I bring all together in the same album?

    When importing songs of a same album but different artist iTunes will separate the artists. How can I bring all together in the same album?

    Generally setting a common Album Artist will fix things. For deeper problems see Grouping tracks into albums.
    tt2

  • I had on my desk top pc (a vista os) a version of FireFox that the book marks where listed in the book tool bar tab and the "book tool" was able to show all my favs and there was a scrol bar on the right side of the top right side. I would like very much

    I had on my desk top PC (a vista OS) a version of FireFox that the book marks where listed in the book tool bar tab and the "book tool" was able to show all my favs and there was a scroll bar on the right side of the top right side. I would like very much to turn it on in the Laptop I just bought and am having a fit trying to figure out all the differences,.I very much like this function; however, I am now using win 7 which in and of itself is difficult to figure out troubles when they occur such as if the MSN Bing program opens a video window while I am playing, the media center will lock up, or if I am listening to BBradio.org and click on lestening to one of the pastors the laptop will show static on the screen and all you hear is static like you just went to the twilight zone.
    == This happened ==
    Not sure how often
    == unpredictable

    To attempt a new chat session...
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    http://helpx.adobe.com/x-productkb/global/service1.html

  • Why the network link LED always off for all B200 blade servers? is it normal or heathy?

    Hi Expert,
    Why the network link LED always off for all B200 blade servers? is it normal or heathy? refer to the installation document, it means no active network connection. However, all these servers are up and running with netwirk connection. anyone could explain this?

    Hi Tabish,
    How many times do you have to open this same topic?
    In my opinion, this is your THIRD thread for the same topic.

  • I forgot the answers I wrote that I opened the account and I can not do all sorts of things into account because it I can give you all the details about the accountant to believe me

    I forgot the answers I wrote that I opened the account and I can not do all sorts of things into account because it
    I can give you all the details of the account to believe me
    Please help me
    It's my account [email protected]

    Click here and request assistance.
    (75545)

  • After ios 5 the ipod that changed to music shows all my songs but they are greyed out and will not play

    after ios 5 the ipod that changed to music shows all my songs but they are greyed out and will not play

    did uncheck all music and resynced afterwards. Got all my music back on the phone. Next morning, the phone had greyed out 1/3 of the songs all by itself. Seems to have something to do with syncing over wifi. No solution yet other than resyncing all my playlists one by one,
    Combined with a battery that drained 5% every 5 minute before I reset the network settings, I am not impressed with Apple's premature launch of their new os. This is what beta testing is for, folks. The iPhone should be done with the growing pains. Shame.
    (iPhone4 upgraded to ios5)

Maybe you are looking for

  • How do I consolidate multiple itunes accounts?

    Over the years I have somehow ended up with music purchases associated with different email accounts. I think I might have multiple appleid's.?? I think one Id has me on 4 of 5 computers and the other on 2 of 5. I want to start over without losing al

  • HT4557 My MacBook Pro and iPad will not pick up the Air Play or the Home sharing on my AppleTV which was working yesterday

    I was previously able to use my AppleTV with airplay and iTunes home sharing to my 2 macbook pros and my iPad. However, it has suddenly stopped connecting to both airplay and home sharing, even though both are turned on and the correct itunes account

  • Substitution? or user exit?

    Hello folks We have defaulted a GL account(18XXXX) to a default profit center through transaction code 3keh. There is a WBS element whose costs gets settled to this GL Account. This GL Account is a balance sheet account. On settlement of this WBS, th

  • Headers and footers in accessible PDF

    I have a Microsoft Word 2007 document with headers and footers. When I use the PDFMaker icon to create a PDF for Acrobat 9, I need the headers and footers to be included in the Tags panel and to have a number in the Order panel. However, the header a

  • Sony .MTS final cut x

    I am thoroughly disappointed that Apple hasn't been speaking to Sony (if needed) to finally resolve this issue of .MTS video files created by many consumer camcorders so that we can finally import, edit and use these expensive video editing suits tha