ALV report -  fields do not print on same line

I am working on an ALV report now. And I was trying to download the report using the buttons.
When I download the file (Local File Button)  and then try to view it, all the fields are not on the same line.
Say for example, if i have 75 fields, half appear on the first line and the other half appear on the second line.
But when I try to view the file in excel format using ctrlshiftF7, it looks perfectly fine (All the 75 fields lie on the same line).
And also when I right click on the report and save as .mhtml, it looks good (All the 75 fields lie on the same line).
How can this issue be fixed? Is it something to do with the code?
Please let me know, if anybody else had a similar issue and as to how it was resolved.
I would greatly appreciate your help. Thank You.

I am not very clear about your problem.
What i understood is that you are downloading the file (I beleive as unconverted) and than opening it in NOTEPAD and you are getting one record in 2 lines. If yes than try to uncheck the Format-> word wrap in the menu in Notepad.

Similar Messages

  • ALV Report - Field Overflow message in status Bar

    Hi
    I am trying to display ALV report , ALV report is displaying fine but on execution of report , an message in status bar is coming as "Field copy Number can not be totalled because of field overflow."
    Can anyone tell why such messgae is comming?
    Thanks,
    Debadatta

    Just a wild guess, treat the below as an example.
    Eg:
    assuming one field in the output is of length 2 type i.
    values: 20, 30, 60, 45.
    Totalling the values result as 155. but due to the length of the field as 2. We can encounter the overflow message.
      Considering the above example, manually total the values of your numerical columns and see if any of the column is execeeding the specified length.
    Regards
    Eswar
    Note: Reward if you find the info useful.

  • In ALV Report output heading is printing twice.

    Hi Experts,
    Im working on ALV Reports.
    Im printing header text by using listheader and commentary write function module.
    the problem is when i sort any column in ALV ouput the heading is printing twice.
    Again if i sort the column the heading is printed is 4 times.
    so if anybody knows the solution how we can avoid repetition of heading ,
    Please reply me as soon as possible.
    regards
    Imrangs.

    Hi Noorie,
    Thanks a lot.
    Your answer is perfect.
    Bye.
    Regards,
    Imran

  • Error in alv report (fieldcatlog is not found)

    Hai Genious
    i am a new of the sap-abap, i have a one problem in my alv report, now i am using the reuse_alv_ fieldcatlog_merge,
    i declared with my internal table with type,
    my error is :- fieldcatlog not found
    for example
    types: begin of ty_mara,
    matnr type matnr,
    meins type meins,
    ersda type ersda,
    ernam type ernam,
    end of ty_mara.
    data: wa_mara type ty_mara,
    it_mara like table of wa_mara.
    select matnr meins ersda ernam from mara into table it_mara.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'IT_MARA'
    I_STRUCTURE_NAME =
    I_CLIENT_NEVER_DISPLAY = 'X'
    I_INCLNAME = SY-REPID
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    call function 'reuse_alv_list_display'

    Hi,
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    I_PROGRAM_NAME = SY-REPID
    I_INTERNAL_TABNAME = 'IT_MARA'
    I_STRUCTURE_NAME = 'TY_MARA'-->give it
    I_CLIENT_NEVER_DISPLAY = 'X'
    I_INCLNAME = SY-REPID
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    also use...
    CHANGING
          ct_fieldcat                  = i_fieldtab
    data :i_fieldtab TYPE slis_t_fieldcat_alv,
    s_fieldtab_body TYPE slis_fieldcat_alv.
    fill i_fieldtab like this...
    CASE s_fieldtab_body-fieldname.
          WHEN 'OA_NO'.
            s_fieldtab_body-seltext_l = 'Order Accep. No.'.
            MODIFY i_fieldtab FROM s_fieldtab_body INDEX sy-tabix.
            CLEAR s_fieldtab_body.
          WHEN 'KTEXT'.
            s_fieldtab_body-seltext_l = 'Ramco Order No.'.
            MODIFY i_fieldtab FROM s_fieldtab_body INDEX sy-tabix.
            CLEAR s_fieldtab_body.
    and so on

  • ALV report value is not coming in output

    Hi all,
    I have developed one ALV report using ABAP OOPS. i have used Custom Container to display my all values.
    below are the methods i am calling to dispaly and all values is coming in T_DATASET[] ans fcat, But after Executing my report it is not displaying any value.
    my container is blank in output only fcat-coltext is coming and fieldname value is not coming.
    wa_fcat-fieldname = 'T_DATASET-KAVS'.
                 wa_fcat-coltext = ' '.
    CALL METHOD grid1->set_table_for_first_display
        CHANGING
          it_outtab       = T_DATASET[]
          it_fieldcatalog = fcat.
    please guide me.
    Thanks in Advance.

    Check below code. And make sure you code below steps before calling set table for first display.
    IF G_CUSTOM_CONTAINER1 IS INITIAL.
    *     create container for ALV grid1
          CREATE OBJECT G_CUSTOM_CONTAINER1
             EXPORTING
               CONTAINER_NAME = 'CUST_CONT'.
    else.
        ENDIF.
        IF GRID1 IS INITIAL.
    *     create ALV grid
          CREATE OBJECT GRID1
             EXPORTING
               I_APPL_EVENTS = SELECTED    "application event
               I_PARENT = G_CUSTOM_CONTAINER1.
          G_LAYOUT1-EDIT       = 'X'.
          G_LAYOUT1-sel_mode   = '3'.
          G_LAYOUT1-NO_TOOLBAR = 'X'.
          G_LAYOUT1-ZEBRA      = 'X'.
          G_LAYOUT1-info_fname = 'ROWCOLOR'.
          G_LAYOUT1-GRID_TITLE = TEXT-006.
          G_LAYOUT1-STYLEFNAME = 'CELLTAB'.
          CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
               EXPORTING IS_LAYOUT        = G_LAYOUT1
                         IT_TOOLBAR_EXCLUDING = GT_TOOLBAR_EXCLUDING
               CHANGING  IT_FIELDCATALOG  = GT_FIELDCAT_LVC[]
                         IT_OUTTAB        = CONP[].

  • New field is not printed in Purchase Order (PO)

    I have added a new field in PO's Print Layout Designer (PLD). For example, I add a field called "Part Number" between "#" and "Description" fields. But when I print the PO, only "#" and "Description" fields are printed. The new "Part Number" field is ignored. I think there must be some sort of link between the new "Part Number" field in PLD and the "Item No." in the PO. This is the thing I missed. Can anybody give me a clue?

    hi..
    i think u missed to check the propery of perticular field which u have inserted. You please check the relate to and link to property of that field if there is any link, pl remove it. cause the linked field does not get value from db. so the field is not displayed. or check it the check box of visible is checked.
    I think it may help u.
    Regards,
    Chintesh Soni

  • Crystal Reports Field Explorer not showing

    Hi,
         I am using Visual Studio 2003 with the bundled version of Crystal Reports.  It has always worked fine until recently the Field Explorer tool bar does not show up anymore when I open a Crystal Report for development.  I have uninstalled the entire Visual Studio and reinstalled the Visual Studio but it still will not show the Crystal Reports Field Explorer.  However, if I install the Visual Studio on a completely different computer it works fine.  Anyone have any idea what could be causing this problem on my main computer?  Could it be a setting somewhere in the Visual Studio?  I cannot find any information on this problem.
    Thanks,
    Razzle

    Ok, I figured out what the problem was.  It was something wrong in my Windows profile.  So I deleted my Windows profile and created a new one and it is working now.
    Razzle

  • Printing an ALV Report: Header to be printed on first page only

    Hi All,
    I was just wondering if there's a way such that the header of an ALV report appears on the first page only when the report is printed out?
    Thanks for your replies.
    Edited by: Chris Estanislao on Sep 21, 2010 4:22 AM

    Hi Chris,
    Which ALV technique will you use to print out?? (LIST, GRID or something else...).
    Please give us more information.
    Thanks,

  • Can any ALV report be converted to PDF with same look and fill

    Dear All,
    I have a requirement of converting one ALV report to PDF/HTML format and then send it via mail without disturbing the look and fill of the report. Can anyone please help me out?
    Thanks and regards,
    Atanu

    Hi ,
    You can dsave it in  HTML format .  
    when you are in ALV  output . just press control +P.  then the output will send to spool request. note down that spool request number  and go to SP01 transaction there give the spool  request number and you will get the screen with small icon of your output. Just click on the icon  then you will see the output . then select the menu path as below.
    Spoolrequest-> Forward-> Save to local
    here you will see the options to save..  (HTML, Spread sheet,clip board and Rich text formats)
    Reward if useful..
    Thanks.
    Nageswar

  • ALV Report out put not down loading in XLS sheet

    Hi Guis,
    I am trying to down load ALV report output in XLS sheet . I am selecting  LIST ->SPREADSHEET->TABLE
    I am getting the fallowing message . Even though I have 18 columns .
    An XXL list object is exported with
    8 lines and 1 columns.
    But no data has been exported in the XLS sheet.
    Will you please any body solve my problem.
    Thanks,
    Santhosh .V

    Doesn't It work if you try to export to all extensions?
    Case yes, the problem really would be with the composition of the field catalog. You can search for another one where the exportation works and compare to know.
    Try to open your ALV using the office integration to test (button that opens your output inside excel).
    Regards,
    Alysson Dias

  • Exception when executing a report: Field I_REPORT_ID not a member of INPUT

    Hello,
    I created a simple Report with the Report Designer. When I try to execute it in the portal hitting the "Execute"-button i get the following BI Runtime Exception:
    Exception in BI runtime
    [code]Initial cause
    Message:
    Field I_REPORT_ID not a member of INPUT
    Stack trace:
    com.sap.mw.jco.JCO$Exception: (127) JCO_ERROR_FIELD_NOT_FOUND: Field I_REPORT_ID not a member of INPUT[/code]
    I omitted the rest of the stack trace. It was too long to fit into this post (probably there is a restriction on the maximum number of characters in a forum post )
    We are on SP 08 at the backend BI-System and the front-end tools are on patch level 8, hotfix 2.
    Any ideas what's the reason behind that error?
    Thanks to any answers in advance and best regards,
    Philipp

    Hi Karol,
    thanks for your answer.
    I also had this SP synchronization issue regarding other problems with the execution of web templates. See my post <a href="https://forums.sdn.sap.com/thread.jspa?threadID=209587">https://forums.sdn.sap.com/thread.jspa?threadID=209587</a>.
    I will once again ask the basis team, if the two SP-levels are identical.
    Regards,
    Philipp

  • In the script date field value not printing in address window

    Hi Abaper's
    We are working for the upgradation project,my issue is:
    we are upgrading from 4.6 to ecc 6.0,the problem is *one from in 4.6 working fine but after upgradation to 6.o in that from in the address window date field value is not printing.in debugging mode i have checked value is coming properly but in the sppol..the date value is not displying.*can you please suggest on this.is required any changes or need to somting?
    Thanks and regards
    durga.K

    Hi,
    Kindly check if the window size is proper.
    Check if the tab settings are fine.
    Regards,
    Ankur Parab

  • ALV Report In Background.. Generating same out put using ABAP Extracts

    Hi
        We are running ALV reports and generating out put in background using Extracts. We are having a discussion that SAP doesn’t recommend to execute ALV reports using batch and generate report output , as it heavily load for spool ... we are coming across some problem when I analyze Sm37 ... I found an error " ABAP framework unable to initialize " .
    I want an input/suggestion what you guys think about it?
    Thanks in Advanced...
    Bye

    Nope... We’re using some batch id which use to run background job, as I am also in SAP Security, I just verify it has all the security to run the report . As this report is running fine if we ran it other then batch id ... as before it was running fine .
    Thanks
    Message was edited by: Saquib Khan

  • Grid Layout - Getting two or more fields to display on the same line/row.

    I am using version 4.2.
    I have a form with a number of items.
    I wish to control the display of the items so that some fields are beside each other (on the same line or row).
    I have set the grid layout as follows:
    :PX_ITEM1
    Start New Row: Yes     
    Column: Automatic               
    Column Span: Automatic     
    :PX_ITEM2
    Start New Row: No     
    Column: Automatic     
    New Column: Yes          
    Column Span: Automatic     
    When I do this the items are not displayed on the same row.
    I can see when you change the "Start New Row" from No to Yes, the item fields ARE moved into the same <Div> that controls the row, but they just aren't displaying how I would like them.
    Has anyone got this working?
    Amanda.

    Hi Amanda,
    I believe I have discovered the cause of the issue you are facing.
    The problem is with the "Alert Region" region template and that it does not have any display points specified so indicate the number of grids that can fit in its region body. Without having any display points, the grid layout system attempts to use all columns available to its container. However, because the Alert Region has additional padding within, the columns will not fit and wrap to the next line.
    To fix this issue, you will have to modify the "Alert Region" region template, go to "Display Points" and click Add Row. You will need to enter the following fields:
    Name: Region Body
    Template Substitution: BODY
    Grid Support: Checked
    Maximum Fixed Grid Columns: -1
    This will fix the issue for you. I've logged a bug within our bug system to track this so we can fix it in a future release of APEX.
    Best,
    Shakeeb

  • Not printing every other line

    I have a HO OfficeJet Pro 8500.
    All catridges are HP.
    The printer is printing every other line (leaving every other line blank).
    Please help.
    Thanks,
    George [Personal Information Removed]

    Sorry that you are having a problem with the print quality. 
    See if you can print a self-test page or status report. Let me know if the same things happens. 
    Have you cleaned the print heads?
    Make a copy of a document, and see if you still get every other line printing. 
    **Click the KUDOS star on the left to say 'Thanks'**
    Please mark a reply "ACCEPTED AS SOLUTION" if it solved your problem, so others can find it.

Maybe you are looking for

  • Viewing Photos in Album Order

    How do I view photos in Album Order I have created in Photoshop Elements album in Revel mobile album ??

  • Syntax error on INCLUDE STRUCTURE.

    Hi Experts, It is abit hard to explain what I need here. But I try to explain as much as I can. I am writing this code in order to update the customer material numbers into internal table tvbdpa. As you can see in my code, getting the customer materi

  • Premiere CC Blocking audio track when editing again after close

    Dear fellows, I was working with premiere cc fine. But at certain point I cant add the audio track of a video file as the audio track is blocked, so I end up with a video in the timeline but with no audio. I copiepasted over a new sequence and worked

  • Has anyone successfully implemented a drop shipping eCommerce solution with MULTIPLE suppliers?

    Hi there I have read a few BC forum articles on this subject, but none seem to have clarified whether a drop shipping eCommerce solution with MULTIPLE suppliers can truly be implemented successfully in BC. In particluar, my concern is with splitting

  • IWeb not properly uploading a movie

    Hmm. Dunno about this one. Created a new page (as I've done 100s of times before) that contains a movie. (QuickTime .mov using h264 for compression. Plays perfectly on my machine) Publishing the site and then after 30 second's I'm told all is done. I