Long Text tables

Hi all
I have a problem downloading the long text from the BW report to Excel when I export it.
I want the entire string(around 1000  chars) to be displayed in a single cell in excell sheet.
How can I do it?
regards
Paul

Hi,
How did you store 1000 characters in InfoObject? It has a restriction of 60 characteristics.
Thank you
AP

Similar Messages

  • BAPI_SERVNOT_ADD_DATA-update long text of activities in Change Notification

    Hi All,
    I am trying to use this "BAPI-BAPI_SERVNOT_ADD_DATA" call to change a Service Notification.
    The partners,activities get updated. I am unable to update the long text of each of the actvities item.
    I am using the following code to update the longtext.
    Defects/activities table
    data: activities like table of bapi2080_notactvi with header line.
    long text table
    data: longtext like table of bapi2080_notfulltxti with header line.
    *partnr table
    data:  notifpartnr  like table of bapi2080_notpartnri with header line,
            longtext-objtype = 'QMFE'.
            longtext-objkey = activities-act_sort_no.(item # of the activity)
            longtext-format_col = 'U1'.
            longtext-text_line = zwin-misc_text1.
            append longtext.
            longtext-format_col = 'U1'.
            longtext-text_line = zwin-misc_text2.
            append longtext.
            longtext-format_col = 'U1'.
            longtext-text_line = zwin-misc_text3.
            append longtext.
    call function 'BAPI_SERVNOT_ADD_DATA'
        exporting
          number                  = zwin-qmnum
      I_BAPI                  = ' '
    IMPORTING
      NOTIFHEADER             =
      NOTIFHDTEXT             =
       tables
       notfulltxt               = longtext
      NOTITEM                 =
      NOTIFCAUS               =
          notifactv             = activities
      NOTIFTASK               =
        notifpartnr             = notifpartnr
      KEY_RELATIONSHIPS       =
         return                 = lt_return
    Any help appreciated.
    Thanks
    Mala

    Hi Neil,
    Thanks for the update.  The issue has been resolved.
    The BAPI- 'BAPI_SERVNOT_ADD_DATA'   cannot be used to update the item long text. (activities long text ) . The length of the object key is only 8 characters.
    I used the following function module('IQS0_ADD_ACTIVITY_LONGTEXT')  to update the item>>activties>> long text after the  BAPI  call to  'BAPI_SERVNOT_ADD_DATA' .
    data:  v_line like table of  tline with header line.
    call function 'IQS0_ADD_ACTIVITY_LONGTEXT'
                 exporting
                   i_qmnum             = wa_qmnum
                   i_manum             = wa_item_no
                   i_post              = 'X'
                    I_RESET             =
                 tables
                   t_inlines           = v_line
                  EXCEPTIONS
                    SHOW_MESSAGES       = 1
                    OTHERS              = 2
    The call to 'BAPI_SERVNOT_ADD_DATA'  took care of all changes to the Notification except the update of the item>> long text. After committing this transaction, I did a BAP  call to 'IQS0_ADD_ACTIVITY_LONGTEXT' to update the item>>actvities>>long text.. This has been working fine and is currently in productin.
    Appreciate all your feedback .
    Thanks
    Mala

  • BOM Text table

    Hi,
    In what table is the  BOM Item long text stored?
    Thanks
    Ramakanth

    Dear Ramakanth,
    check these threads and it will help you,
    Re: Long Text in BOM
    Re: Long Text tables
    Regards
    Mangalraj.S

  • Universe on long text

    I need to display very long text on Webi reports. However, the technical limitation of a BW infoobject is 60 characters. So Bex query from which the OLAP universe is created can only display partial text.  A possible workaround is to write the long text to a transparent table during ETL and build a relational universe on the long text table.
    (1) Is it possible to join an OLAP universe and a relational universe?
    (2) Is it possible to write a WEBI report on relational universe?
    Thank you for your input.

    here you go,
    build a relational universe on the long text table.
    >> It will take 254/255 Characters Are you fine.
    (1) Is it possible to join an OLAP universe and a relational universe?
    YEP
    But not in Universe level(Linked Universes may help) , you can work on both by combining @ Report.
    (2) Is it possible to write a WEBI report on relational universe?
    YEP
    Gracias...!!

  • Database Table where modifications to message long text are stored (log)

    Hi,
    As per manual correction mentioned in SAP note 1144291,
    we have changed the long text for message XC092 by modification of the long text.
    This note 1144291 is a pre-requisite for SAP Note 1310808.
    After the notes were implemented, it is noticed that message CURTO1055 has incorrect information in its long text. This is because, the variable in the long text are not correctly defined in the long text.
    Both the messages XC-092 and CURTO1-055 are SAP standard.
    The error for CURTO1-055 can be rectified by modification of the long text and maintenance of the correct variables.
    However, my question is:
    Where do we check the log for document modifcation for a message long text.
    I have found the logs relevant to my modification in table DOKHL and DOKIL.
    But in which table do we get all of the foll. data:
    - Message class
    - Message number
    - Modification name
    - Modification created by
    - Modification done on
    - Last changed by
    - Last changed on
    Kindly help. A <removed by moderator> solution would be really helpful.
    Best Regards,
    Smruthi
    Edited by: Thomas Zloch on May 5, 2011 12:07 PM - urgency reduced

    Hi Smruthi,
    The modification changes would be in the SMODILOG table. Please note this is a core basis table and should not be changed, however to best find your changes search under the TRKORR field with the relevant tp request.
    Best regards,
    Derrick Hurley
    Development Workench

  • From which table i can get the long text

    Hi All
    I have created some long text through function module CREATE_TEXT And i am able to see the text in the transaction .
    My requirement is from which table i can get these stored long text???
    Any suggestions please.
    Thanks

    Appreciate your answers.
    I have checked the both the fields stxh as well as stxl but i am not able to find any text fields out there.
    My actual requirement is some third party software needs to b mapped the table fields in order to import it.
    So if i know the table fields that would be easier.
    Can you tell me y we can not read it from the tables?
    Thanks,
    @run.

  • How to store long text in Rich Text Format in custom table

    Hi
    I have a requirement to store long text in the RTF in custom table.. Is this possible..
    I am aware of a way to store them as Standard texts (SO10).. But not sure on if we can store them in tables..
    Plz advise
    Thanks
    Geetha

    Not that familiar with RTF, but you could try and create a field of type (x)string in your table and store the data there.

  • How to show the content of a table (long text) in a scrollable textbox?

    Hi,
    I have to say first, many thanks to the ones who answers to threads in this forum, it's very helpfull when we're learning web dynpro!
    I have a RFC function that return a table containing a long text (node "it_text", with elements "Tdformat" and "Tdline").
    1) I want first to copy all the Tdlines in a new node "text_box" (that I made specially for the screen, it contains only the element "Tdline" [the text itself]);
    2) Then I want to show the content of the node "text_box" in a scrollable textbox on the screen (to show 8 lines of text, for example).
    How to do that easily?  What is the UI Element needed to show that?
    Thanks!

    If you want to display as it is then you can use Table UI element. You can change the design property to 'transparent' and set column header visibility property to none. Then you need not to write any code simple you can map the node to table field.
    Even with TextEdit you can achieve what you want. Try this code...
         StringBuffer tmpBuffer = new StringBuffer();
         for(int index=0;index<wdContext.nodeLines().size();index++)
              wdContext.nodeLines().setLeadSelection(index);
              tmpBuffer.append(wdContext.currentLinesElement().getLine()+"n");
         wdContext.currentContextElement().setData(tmpBuffer.toString());
    Regards
    Abhilash

  • Reading long text from excel file to an internal table

    Hi
    Can any body tell me how to read long text from excel file to an internal table.
    When i am using this FM KCD_EXCEL_OLE_TO_INT_CONVERT then it is reading only 32 characters from each cell.
    But in my excel sheet in one of the cell has very long text which i need to upload into a internal table.
    may i know which FM or what logic i need to use for this problem.
    Regards

    Hi,
    Here is an example program.  It will upload an Excel file with two columns.  You could also assign the Excel structure dynamically, but I wanted to keep the example simple.  The main point is that the internal table (it_excel in this example) must match the Excel structure that you want to convert.
    Remember, this is just an example to help you figure out how to properly use the technique.  It will certainly need to be modified to fit your requirements, and as always there may be a better way to get the Excel converted... this is just one possibility that has worked for me in the past.
    *& Report  zexcel_upload_test                            *
    REPORT  zexcel_upload_test.
    TYPE-POOLS: truxs.
    TYPES: BEGIN OF ty_excel,
             col_a(10) TYPE n,
             col_b(35) TYPE c,
           END OF ty_excel.
    DATA: l_data_tab         TYPE TABLE OF string,
          l_text_data        TYPE truxs_t_text_data,
          l_gui_filename     TYPE string,
          it_excel           TYPE TABLE OF ty_excel.
    FIELD-SYMBOLS: <wa_excel>  TYPE ty_excel.
    PARAMETERS: p_file TYPE rlgrap-filename.
    * Pass the file name in the correct format
    l_gui_filename = p_file.
    * Upload data from PC
    CALL METHOD cl_gui_frontend_services=>gui_upload
      EXPORTING
        filename                = l_gui_filename
        filetype                = 'ASC'
        has_field_separator     = 'X'
      CHANGING
        data_tab                = l_data_tab
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        OTHERS                  = 17.
    IF sy-subrc <> 0.
    *   MESSAGE ...
      EXIT.
    ENDIF.
    * Convert from Excel into the appropriate itab
    l_text_data[] = l_data_tab[].
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
        i_field_seperator    = 'X'
        i_tab_raw_data       = l_text_data
        i_filename           = p_file
      TABLES
        i_tab_converted_data = it_excel
      EXCEPTIONS
        conversion_failed    = 1
        OTHERS               = 2.
    IF sy-subrc <> 0.
    *   MESSAGE ...
      EXIT.
    ENDIF.
    LOOP AT it_excel ASSIGNING <wa_excel>.
    *  Do something here...
    ENDLOOP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      PERFORM filename_get CHANGING p_file.
    *       FORM filename_get                                             *
    FORM filename_get CHANGING p_in_file TYPE rlgrap-filename.
      DATA: l_in_file  TYPE string,
            l_filetab  TYPE filetable,
            wa_filetab TYPE LINE OF filetable,
            l_rc       TYPE i,
            l_action   TYPE i,
            l_init_dir TYPE string.
    * Set the initial directory to whatever you want it to be
      l_init_dir = 'C:\'.
    * Call the file open dialog without multiselect
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title            = 'Load file'
          default_extension       = '.XLS'
          default_filename        = l_in_file
          initial_directory       = l_init_dir
          multiselection          = 'X'
        CHANGING
          file_table              = l_filetab
          rc                      = l_rc
          user_action             = l_action
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          error_no_gui            = 3
          OTHERS                  = 4.
      IF sy-subrc <> 0.
        REFRESH l_filetab.
      ENDIF.
    * Read the selected filename
      READ TABLE l_filetab INTO wa_filetab INDEX 1.
      IF sy-subrc = 0.
        p_in_file = wa_filetab-filename.
      ENDIF.
    ENDFORM.                    " filename_get
    Regards,
    Jamie

  • Upload long text from excel file into internal table

    I need to upload service master(T-code : AC02) data alongwith long text.Now i have data in excel as: Service no(ASMD-ASNUM) and corresponding long text for it.
    I am facing problem in getting entire lontext from excel into my internal table.It only takes till 255 characters i think.Any help in this regard woulg be highly appreciable.

    hi,
    what is the maximum length of your long text.
    and you can try with more than 255 chars. in the internal table it will take , if you want check it.
    i'm in 4.7 ,5.0 version, what about you ..
    please check , you can upload even more than 255.
    try
    regards
    vijay

  • Table for Long Texts of MICs in Tasklist

    Dear All
    Can any body tell me from which SAP table i can get the LONG TEXT maintained for MICs in any tasklist.
    Table PLMK only shows wether long text maintained or not, but i want the value in LONG TEXT.
    thanks
    Zeeshan

    This may be helpful.
    SAP stores comments (text fields) in a separate table. STXH is the text
    "header" table (STXD SAPscript text file header). STXH-TDOBJECT =
    'KNA1' will bring back all the customer comment headers. STXH-
    TDNAME='0000010744' is the header record for the comment for customer
    10744.
    It is not always so simple to figure out what the TDOBJECT (object needed by function below - sometimes it is a table name, other times...), TDNAME (name needed by function below - sometimes it is a document number & line item or customer number, other times... ) & TDID (id needed by function below - it is always the long text id). There are several methods that can be used. You can create the long text that you are researching and using, SE16 for table STXH search TDLUSER = to your kerberos principal and TDLDATE = to today's date. This is modify date & user. Alternatively, you can find an existing item with the long text and figure out the date and user who last modified it and use this information in your search. Once you have STXH row for text of interest, use ZCAFTXT to test your research. Project Titles and WBS Titles are a bit more complex.
    Changes to sales contract long text between 3.0F and 4.5B.
    The following code is a function that will return a customer comment.
    form get_comment using cur_kunnr.
      call function 'READ_TEXT'
           exporting
                id                      = '0002'
                language                = sy-langu
                object                  = 'KNA1'
                name                    = cur_kunnr
           importing
                header                  = thead
           tables
                lines                   = tlinetab
           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.
        loop at tlinetab.
          write / tlinetab-tdline.
          add 1 to line_cnt.
        endloop.
      endif.
    endform.
    The above subroutine is called with the following code:
    if p_cmnt = 'X'.
       tdname = cur_cust-kunnr.
       perform get_comment using tdname.
    endif.
    These data elements are defined as:
    data: begin of tlinetab occurs 100.    "table to process comments
            include structure tline.
    data: end of tlinetab.
    data: tdname           like thead-tdname.
    Vishal Jonnalwar

  • Need to find table/field behind "Item long text" field in Notes tab in FB70

    Hello,
    To print a custom FI invoice, I need to access the data entered in the "Item long text" field of the Notes tab in FB70. To test, I used 5000 characters in that field to make sure it stood out from the rest of the data. F1 help does nothing on that field, and even running an SQL trace (ST05) doesn't show the text in that field being entered into any table. I tried F1 on a nearby field and got a structure instead of a table, so I investigated the structure through SE11 but found no character field with such a large capacity. How else can I find where that field is stored?

    Thanks! It took a while, but with your help and a few other pages I managed to piece together an answer.
    Vinod helpfully explained that the text name is a concatenation of various fields, but didn't specify how to find the line item ID. If you go to table STXH (as hinted by Brad and confirmed [here|http://fuller.mit.edu/SAPWebDocs/LongComment.html]) and search for texts created today (or whenever you were testing), you'll see the text name ends in '001' after GJAHR, so the line item ID is '001' regardless of how many line items you enter in the invoice.
    Armed with that info, you can call READ_TEXT and loop through the results to concatenate the contents of each TDLINE field. (FB70 automatically breaks the user-entered text into different lines even if the user didn't press Enter, and each line gets its own record in the results.)
    Thanks again,
    Pedro

  • FI document Line item Long text store in which table .

    Respected Members,
    During posting of the FI document through Tcode F-02 i m giving the some text in the long text not in the text field.
    Please anybody can be help me out where exactly this long text is going to be stored or in which table.
    Through F1 it is saying Field is TXLINE and Structure is RSTXT.
    But  i want the table name.
    Please give me the answer as soon as possible .
    Thanks a lot.

    Hi Lee,
    I am also facing problem in getting the long text information into my on e of the custom report, i need onformtion in longtext field of the accounting document number which is against item posted to vendor.here i am sending you the screenshot of the document number and long text filed and READ_TEXT function module parameters, i  tried with lot of options,but no luck, it would be great if you could provide me some hint on this..

  • Long text in table control lines

    If i put long text  buttons on the  table control coulum, when the line  is deleted  from the table, the text for tha line  are permenantly deleted before the screen is saved in the user command. how do i correct the problem ?
    regards
    Rendani

    Use the FM for text delete when u press save button and not at table control delete command.
    physically delete the line from table control and put it in internal table which can be used for deletion purpose at time of actual deletion...

  • Text table for long text of product catalog area and product description

    Hi experts,
    I'm a new comer in CRM, what my current job is to do the translation for CRM system and its portal, e.g. webshop.  Now I met some questions as below, Could you please give me some advices?
    1. Long text for product catalog area (t-code: COMM_PCAT_ADM; Product Catalog: PCSHOP)
    I found a  table named STXL(STXD SAPscript text file lines), maybe, it is related to the long text(product catalog area), but I can not get anything from the field CLUSTD of the table STXL as  its data type is RAW. Maybe, there is a text table in CRM to store these long text information, but I dont know, Could you please give me some ideas?
    2. Long text for product description (t-code: COMM_PCAT_ADM; Product Catalog: PCSHOP)
    I found a table named COMM_CFGLNGTXT(Long Texts for Different Objects),  I can find some long texts(product description) in this table, but some others, I can not find them. I dont know why? Maybe it is not a correct text table. Could you please give me some advices?
    Thank you very much.
    Quanyin

    Hi Uwe,
    Implement the BADI DOC_PERSONALIZE_BCS and use method PERSONALIZE_DOCUMENT. In this method therz an parameter FLT_VAL, this can be used to derive the description.
    Award points if its useful....
    Regards,
    B Raju

Maybe you are looking for

  • Can't delete anything in Mail

    When I delete a message from the Drafts, it comes right back. When I delete a message in my inbox, it gets "grayed out" but then when I restart mail, it's right there in the inbox again. no longer grayed out. I do not have this problem with my Gmail

  • Document won't open in workspace

    Am using a PC, with Windows 8, Photoshop CS5.  When open a document, the document tab appears, but not the document in the workspace.  If drag on the tab, the document appears, but disappears once the drag is released. Had this problem once before, b

  • HT4059 Is there a way to also download the book description/summary from the iBookstore?

    Unlike on the Kindle ....I cannot find an option on the iPad to access the description for a downloaded book. Is it possible?

  • Sender FTP server : CWD Error

    Hello Guys, I have FTP to FTP scenario where it seems like the source FTP server doesn't supports CWD command. Our client has provided with a log which contains "NoFolder" ERR:CWD\home\aufes\UFA\purchase\ Which means that the source folder is not fou

  • Opportunity save times out ...Large entries in PPFTTRIGG for this opportuni

    Hello, We are working on CRM Opportunities.. Editing the opportunity is possible, but when this opportunity is saved, it times out.. There are a set of these opportunities for whom it is timing out... For these opportunities, there are a lot of entri