Apex Report to Excel Problem in long text data in one cell

Hi
Using apex 3.1, I have created one sql Report based on UNION.
Report has 10 rows & 2 columns only. first column contain title & second Column display values.
9 rows contain numeric value (converted to char) one last row display Remarks (lot of text).
When stored in excel last line display data in single line.
ex
col1 col2
A1 456.12
A2 789.165
B1 784.126
B2 456.1
C1 0
C2 1
D1 0
D2 2
E1 34.23
E2 This is row containing long text. This is row containing long text . This is row containing long text.........
Due to this Report does not fit on one A4 size Paper for printout . Any Solution.

Hi,
There's a solution in Excel... Select the cell, select Format, Cells from the menu and select the Alignment tab - tick the "Wrap text" option.
Obviously, that would require a manual action by the user and would be after the export has taken place.
Andy

Similar Messages

  • AC02 - Problem in uploading Long text data

    Hi All,
    I record a BDC for AC02 tcode and i am able to upload all the data in AC02 tcode except long text. How can I upload this, kindly suggest.
    Thanks and Regards,
    Rajesh Vasudeva

    Hi,
    Check the below threads.It could be helpful to you.
    LONGTEXT: MATERIAL - PRUE
    problem with long text
    Cheers,
    Hakim

  • Crystal Report for Enterprise not displaying Long Text from BEx

    Hello,
    I am creating a report using SAP Crystal Report for Enterprise 4.0 (Version 14.0.2) and the source of data is BEx query via OLAP connection created using IDT. I am using SAP BusinessObjects BI platform 4.0.
    The Characteristic (which is hierarchy) in the Rows section of the BEx Query is set to display long text and as such, it displays long text when the query is executed in the BEx Analyzer. However, when it comes to Crystal Report, the short text is displayed in the report. Can I display long text in the Crystal Report? How?
    Thanks,
    KP

    Venkat,
    Thanks for your response. Please note, however, the transaction RAD1 does not exist. Let me provide more details about the current settings of the InfoObject.
    The Characteristic is 'Item' (0CS_ITEM) and upon going to RSA1 >  Modeling > InfoObjects > Item (0CS_ITEM) > Right Click > Display > Business Explorer (tab) > Text Type is set to 'Long Text' and BEx description is set to 'Long description' already.
    When I run/execute the query with this Item characteristic, the results in BEx Analyzer is showing appropriate long text, however, Crystal Report for Enterprise shows short text only
    K
    Edited by: Kumar Pathak on Feb 3, 2012 6:18 PM

  • Locking / grey out long text data in transaction IW32

    Hi, I read in Locking/grey out long text data (From Coding point of view ) that there is a way to block the long text description via configuration.
    Well. Could you tell me how to do this, please???
    Thanks a lot!

    I set a breakpoint there and the program never stop there.
    I'll try to describe my problem.
    I go to IW32 transaction, at the components tab I click on the Long Text button of each component of the order and I can modify it. Well, the client doesn't want that.For a type of order, the user cannot modify that text.
    The more strange thing is that I tried to get the text with READ_TEXT function with the same parameters as the standard and it tells me that the text doesn't exists.
    I'm starting to hate this module....

  • Writing an excel into message long text of se91

    does somebody know where i can write via abap fm into message long text? and where those texts are stored?

    got problems with parameters:
    My Message class  in se91 is called "Z_MAL"
    Message Number "999"
    Name of short text: "TMP Long TEXT for MAL"
    Self explanaty not marked.
    The fm wants to have more informations?
    REPORT  z_tmp_write.
    DATA: ls_line TYPE tline.
    DATA: lt_line LIKE TABLE OF ls_line.
    BREAK-POINT.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
    *     CLIENT                        = SY-MANDT
          id                                 = '999'
          language                      = 'EN'
          name                           = 'Z_MAL'
          object                           = 'Z_MAL'
    *     ARCHIVE_HANDLE      = 0
    *     LOCAL_CAT                 = ' '
    *   IMPORTING
    *     HEADER                        =
        TABLES
          lines                         = lt_line
    *   EXCEPTIONS
    *     ID                            = 1
    *     LANGUAGE                      = 2
    *     NAME                          = 3
    *     NOT_FOUND                     = 4
    *     OBJECT                        = 5
    *     REFERENCE_CHECK               = 6
    *     WRONG_ACCESS_TO_ARCHIVE       = 7
    *     OTHERS                        = 8
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      BREAK-POINT.
    Code Formatted by: Alvaro Tejada Galindo on Jan 31, 2008 11:58 AM

  • Problem with long text

    Hi folks,
    iam uploading longtext in transaction KP06 in bdc programing using create_text.
    now my problem is if i pass selection criteria
    case 1:
    Vertion : N0
    fiscal year : 2007
    planner profile: CCPLAN4
    then the budeget plan data uploading successfully along with long text.
    case2: Vertion : N1
    in this case also everthing wrking fine
    case3: Vertion : 001
    in this case budgetplan data uploading sucessfully but longtext is not uploading,
    i debbug the proragm , create_text also returning sy-subrc = 0. but if i check in KP06  the long text is not there.
    data declaration
    vertion : VERSN type C(3)
    can u tell me the problem is in logic or with FM ?
    note : i checked with save_text also.
    regards
    neeru

    HI Naimesh,
    the FM Create_text internally contains both FMs save_text and commit_text,
    even i debug the FM in case of vertion N1, N0 and 001,
    all the cases sy-subrc = 0.
    code:
    CLEAR G_OBJNR.
    LOOP AT RECORD.
    COST = RECORD-BDC01.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = COST
        IMPORTING
          output = COST.
        CONCATENATE 'KS' p_kokrs record-bdc00 INTO g_objnr.
            SELECT SINGLE * FROM COSP WHERE OBJNR = g_objnr
                              AND GJAHR = P_GJAHR
                              AND VERSN = p_ver
                              AND KSTAR = COST.
      IF SY-SUBRC = 0.
          LEDNR = COSP-LEDNR.
          OBJNR = COSP-OBJNR.
          GJAHR = COSP-GJAHR.
          WRTTP = COSP-WRTTP.
          VERSN = COSP-VERSN.
          KSTAR = COSP-KSTAR.
          HRKFT = COSP-HRKFT.
          VRGNG = COSP-VRGNG.
          VBUND = COSP-VBUND.
          PARGB = COSP-PARGB.
          BEKNZ = COSP-BEKNZ.
          TWAER = COSP-TWAER.
    CONCATENATE LEDNR OBJNR INTO OBJNR.
    CONCATENATE OBJNR GJAHR INTO TNAME1 separated BY SPACE10.
    CONCATENATE TNAME1 WRTTP VERSN INTO TNAME2.
    CONCATENATE TNAME2 KSTAR INTO TNAME3 separated BY SPACE.
    CONCATENATE TNAME3 VRGNG INTO TNAME4 separated BY SPACE4.
    CONCATENATE TNAME4 BEKNZ INTO TNAME5 separated BY SPACE10.
    CONCATENATE TNAME5 TWAER INTO TNAME.
    I_THEAD-TDOBJECT = 'CCSS'.
    I_THEAD-TDID = 'COSP'.
    I_THEAD-TDNAME = TNAME.
    I_THEAD-TDSPRAS = 'E'.
    APPEND I_THEAD.
    i_tline-tdformat = '*'.
    I_TLINE-TDLINE = RECORD-LONGTEXT.
    APPEND I_TLINE.
    loop at i_thead.
    CALL FUNCTION 'CREATE_TEXT'
      EXPORTING
        FID               = I_THEAD-TDID
        FLANGUAGE         = I_THEAD-TDSPRAS
        FNAME             = I_THEAD-TDNAME
        FOBJECT           = I_THEAD-TDOBJECT
      SAVE_DIRECT       = 'X'
      FFORMAT           = '*'
      TABLES
        FLINES            = i_tline
    EXCEPTIONS
      NO_INIT           = 1
      NO_SAVE           = 2
      OTHERS            = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.
    CLEAR I_TLINE.
    REFRESH I_TLINE.
    CLEAR I_THEAD.
    REFRESH I_THEAD.
      SELECT SINGLE * from cokp into itab WHERE OBJNR = g_objnr
                              AND GJAHR = P_GJAHR
                              AND VERSN = p_ver
                              AND KSTAR = COST.
    if sy-subrc = 0.
       itab-TXFLG = 'X'.
       append itab.
       write:/ 'Text saved for', record-bdc00 , record-bdc01.
       else.
          write:/ 'Text saved for', record-bdc00 , record-bdc01.
          ENDIF.
    ENDIF.
    my program wrking fine but the long text is not visible for vertion 001.
    regards
    niru

  • Problem in Long text save in CO02

    Hi All,
    I am posting long text for a production order using 'CREATE_TEXT' and its updating in the tables succesfully.
    The same old probelm is it is not appearing in the CO02 or CO03 tcodes.
    I did a direct AUFK-LTEXT update as suggested in many of the threads I searched, but of no use.
    Pls suggest some solutin in this regard.
    thanks in advance.

    I know this is old post but I got few updates like updating Long Text of Production Order using BAPI "BAPI_ALM_ORDER_MAINTAIN".
    First check if Order is having long text maintained by checking AUFK-LTEXT. If blank -> no text.
    For Existing Order(00XXXXXXXXXX) having no text maintained : -
    METHODS TABLE
    REFNUMBER
    OBJECTTYPE
    METHOD
    OBJECTKEY
    1
    TEXT
    CREATE
    00XXXXXXXXXX
    SAVE
    IT_TEXT TABLE
    If you want to add 2 rows, TEXTEND = 2.
    ORDERID
    LANGU
    TEXTSTART
    TEXTEND
    003000036669
    EN
    1
    2
    IT_TEXT_LINES
    TDFORMAT
    TDLINE
    LINE 1
    LINE 2
    Execute BAPI and call BAPI_TRANSACTION_COMMIT after this BAPI
    For Existing Order having text maintained : - only one change in above process, populate other areas similarly
    Methods table
    REFNUMBER
    OBJECTTYPE
    METHOD
    OBJECTKEY
    1
    TEXT
    CHANGE
    00XXXXXXXXXX
    SAVE

  • Problem in long text in SAP script editor

    Hi ,
    i am maintaining long text in SAP script editor , when i am trying to change the long text in SAP script that changes are not reflected in print preview ,for example when i am giving tabs in the script then in print preview of the PO these tabs are displayed as , , ( comma) , and underlines are not appearing in print preview.please help me on this.
    Thanks and regards.
    Rajeshwar.

    hi
    you have to install the correct printer which supports the displaying the drawings and objects/

  • Web ADI Report set, excel is not showing the data for any of the three repo

    We are currently working on 11.5.10.2 and moving from Desktop ADI to Web ADI. At the time of publishing report in Web ADI the excel is empty.
    AFter successfully running the WEB Adi reportset for Consolidate Balncesheet ( for a period ex: APR-2012), there were 3 reports that were publlished as a set. Then I went to Repository Management and went to the folder and subfolder where I saved all the above 3 reports. When I click on view on one of the reports, the excel spreadsheet opens and try to load something for a while but finally ends up loading nothing.
    I am unable to figure out what went wrong. Do you have any idea.
    If someone can help me, I really appreciate.
    Thanks
    Uday

    Hi ,
    In u r query what I observed was unit cost*gross profit is Amount Sold. Can u make this calculation with Physical calculation rather than and logical calculation.
    See if u have kept logical joins for both the tables with the fact and set the content level at detail level in the content level of fact.
    Then it will work
    Thanks
    S

  • How to read Production Order Long Text data in ABAP program

    Hi friends,
      I have the issue in reading the ' Long Text '  tab view data of production order
    in CO03 transaction.Please can some body help me out to get this in ABAP program.
    Regards,
    Rajesh Akarte

    ok goto the long text, double click it, or use the small pencil, so that you proceed to the text editor.
    Once you are there, use the menu: goto->head
    a small popup will come up, stating the information you need.
    what you need is OBJECT, ID, Language and NAME.
    with those information you can feed the FM READ_TEXT.
    and woooohooo there you go

  • How to retrieve long text data

    Dear all,
    How can i retrieve the long text for document line item
    Gone thru this in forum..but unable to get the correct one
    some say to use READ_TEXT FM
    Pls advise steps
    Rgds
    Naresh

    Hi,
    Please find here with link for bringing the long text.
    http://scn.sap.com/thread/497205
    Regards,
    Ramana

  • How to insert long text data in oracle for LONG column type??

    Anybody who can tell me what is best way to store long text (more than 8k) in Oralce table.
    I am using Long datatype for column but it still doenst let me insert longer strings.
    Also I am using ODP.Net.
    Anybody with a good suggestion???
    Thanks in advance

    Hi,
    Are you getting an error? If so, what?
    This works for me..
    Greg
    create table longtab(col1 varchar2(10), col2 long );
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    using System.Text;
    public class longwrite
    public static void Main()
    // make a long string
    StringBuilder sb = new StringBuilder();
    for (int i=0;i<55000;i++)
    sb.Append("a");
    sb.Append("Z");
    string indata = sb.ToString();
    Console.WriteLine("string length is {0}",indata .Length);
    // insert into database
    OracleConnection con = new OracleConnection("user id=scott;password=tiger;data source=orcl");
    con.Open();
    OracleCommand cmd = new OracleCommand();
    cmd.CommandText = "insert into longtab values(1,:longparam)";
    cmd.Connection = con;
    OracleParameter longparam = new OracleParameter("longparam",OracleDbType.Long,indata .Length);
    longparam.Direction = ParameterDirection.Input;
    longparam.Value = indata ;
    cmd.Parameters.Add(longparam);
    cmd.ExecuteNonQuery();
    Console.WriteLine("insert complete");
    //now retrieve it
    cmd.CommandText = "select rowid,col2 from longtab where col1 = 1";
    OracleDataReader reader = cmd.ExecuteReader();
    reader.Read();
    string outdata = (string)reader.GetOracleString(1);
    Console.WriteLine("string length is {0}",outdata.Length);
    //Console.WriteLine("string is {0}",outdata);
    reader.Close();     
    con.Close();
    con.Close();
    }

  • How to download data into one cell of excel in different lines

    Hi All,
    My Report downloads data from R/3 to excel. Now one particular field contains multiple lines, which i needs to download into different lines into that particular cell(of excel). how can i do this.
    I found one method for this and that is cl_abap_char_utilities=>newline.But this is in abap version 6.0.
    But i am working in version 4.6c. do we have any method or anything that meets my requirement in 4.6c.
    Please let me know.
    Thanx in Advance
    Subhani.

    why do you split them to the internal table ,then download it?
    Is you special field long text?
    If is ,you can use FM READ_TEXT to put it into an internal table ,then download it.

  • Changing Date in one cell based on text in another cell

    Is there a formula to change the date in a cell in one column to the date in another column on the same row based on the text in a third cell on the same row? For example, I want the date in G3 to change to the date in J3 when the text in H3 says Completed.

    Hi,
    My understanding is that if the value of H3 is "Completed", the G3 is changed the value of J3, is it correct? If yes, we can use If formula (=IF(H2="completed",J2)), please see the image below:
    If no, please share us a sample, we'd like to re-try it.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to migrate Text data from one application to other

    Hi All,
    We've a old planning ASO application and users entered text data in data forms (Text cell) and also entered comments for the same cell
    Is there any way that we can import the Text data & comments from the old application to new application (few Dimensions are different between the 2 applications)
    Thanks,
    PVR

    Have you looked into using LCM as that can extract the relational data.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Error targeting server for the EJB module while deploying the sample banking application

    I am currently having a very difficult time attempting to deploy the example banking application that I downloaded from the BEA website. I have followed all of the steps in the "Hands On: Deploying the Sample Banking Application" document, and I do f

  • 3.1.1 upgrade breaks OEM 12c Infrastructure Cloud

    Greetings, After upgrading from 3.0.3 to 3.1.1 (manager first then servers) all of the Oracle VM targets in OEM 12c Infrastructure Cloud have metric collection errors, specifically "ERROR - Failed to connect to OVM Manager1010", i.e. oracle.sysman.vt

  • Installing iMS 5.2 Patch 1 with Sun ONE Directory Server 5.1

    Hi, In the documentation of "Installation Guide for Windows NT iPlanet� Messaging Server - Release5.2" It is said that it is possible to install iMS 5.2 with Directory Server 5.1 SP2. I am currently using Dir Server 4.16 and I tried recently to insta

  • Starting New Project

    When I drag MLV_0802.MOV to iMovie 09's Drag and Drop it just bounces off. How do I get this video into iMovie 09 so I can edit it?

  • Install iWork09 from box and it still asks for serial number

    Hi all, I think I have previously installed iWork and used trial version.  Recently, I bought a family pack boxed version of iWork.  On my MBA, it installed fine and works beautifully.  On my iMac, it installs fine as well except when I open any of t