Out put length more than 6423,7 chars

TYPES : BEGIN OF ty_final,
         line(600)  TYPE c,
        END OF ty_final.
DATA : gt_final TYPE TABLE OF ty_final.
I have some the records are that are appending to the  internal table gt_final is of length 6423,7.
How can I achieve this ?
Finally I have to send this internal table data into file to third party.

Hi Sam kumar,
The ABAP Predefined type C (Chacter type) can accomdate characters upto 65535. Your required length is less than this limit so change the length of line to required length(64237).
TYPES : BEGIN OF ty_final,
<b>line(64237) TYPE c,</b>
END OF ty_final.
Check this link for Predined ABAP Types with valid lenghts.
http://help.sap.com/saphelp_47x200/helpdata/en/fc/eb3000358411d1829f0000e829fbfe/frameset.htm
Thanks,
Vinay

Similar Messages

  • Send an attachment in email with length more than 255 char per line

    Hi All,
    I have to send an attachment in email with length more than 255 char per line. I dont want to break the line after 255 char and add it in another line.
    Please suggest me any function module which can perform this.
    Thank you all.

    I looked at all threads in the forum, there was about 5 or 6 identical questions, but surprise, nobody knows! It seems that SO_NEW_DOCUMENT_ATT_SEND_API1 function module does not allow more than 255 characters by line.
    It would surprise me a lot if there is no workaround !
    As it is very easy to add any binary attachment which is like a very long line, PDF for example (several kilobytes), via the function module above (lots of examples in the forum), I would advise you to try to use the same way, i.e. use the contents_bin parameter instead of the contents_txt parameter (convert the text into binary) and add the line feeds yourself (okay I know, it's not very smart).
    Last thing, this function module is deprecated, and we should use BCS classes, maybe they work better.

  • How can i see the URL which has  length more than 255 chars in fucnction

    Hello Every body....
      I am facing one problem....I have a function module which returns URL in one table
      but in the function module display i am able to see only 255 characters,but the URL is more than 255 Characters..How can i see the URL which has the length more than 255 characters..
    In the Table the fields url length is 4000 chars.....
    but display it is showing only 255 chars.....
    Please Help me...??????????

    Hello,
    Have you tried breaking your structure into 255 chunks? I don't know what the structure you are moving from looks like, but you should be able break it back up into the SOLI structure. The end of a line in SOLI doesn't create a Carriage Return/Line Break. You have to insert these yourself like in the following:
    * Create document
          clear mail_line.
          move 'This is a test E-Mail'(d01) to mail_line.
          concatenate mail_line
                      cl_abap_char_utilities=>newline
                      into mail_line.
          append mail_line to l_mailtext.
    What kind of attachment are you wanting to create - a text tab delimited file for reading in a spreadsheet application such as excel? You might try reassembling your data table into a single string with newlines where you need them. Then use function module SCMS_STRING_TO_FTEXT to turn it back into SOLI. This is what I have done in the past. I'm afraid without knowing more about your source structure and attachment type, this is about all I can tell you.
    Vasanth

  • How to perform Text length more than 4000 bytes

    I want to read each row from txt file
    and used utl_file pacage to concat contents into a variable,
    the variable datatype is varchar2(4000), so text length can't more than 4000 bytes,
    but I wish get full text from txt file, How can I do?

    Thans! Detlev.
    I have a code :
    PROCEDURE read_file( path in varchar2, filename in varchar2, msg in out varchar2) AS
    data_line varchar2(4000);
    ifile utl_file.file_type;
    BEGIN
    ifile := utl_file.fopen(path,filename,'R');
    LOOP
    utl_file.get_line( ifile, data_line);
    msg := msg | | rtrim(data_line);
    END LOOP;
    utl_file.fclose(ifile);
    EXCEPTION
    WHEN no_data_found THEN
    utl_file.fclose(ifile);
    END;
    My question is
    1. The msg length can't more than 4000
    2. I use utl_raw.cast_to_raw function, that can't cast varchar2 to raw if varchar2 length more than 2048
    3. If I want to change the data type varchar2 to raw,
    the utl_raw.concat function can't use Loop ....end loop clause,
    So that only use utl_raw.concat(ra1, ra2,ra3,ra4,ra5, ... ra12)
    I want to concat all line to a raw datatype from text file , How can I do?

  • How to use left outer join on more than one table (source)

    Hi all,
    In our project we are converting the Unix shell & SQL scripts into OWB mappings. We are facing problem converting left outer join in OWB. here is one of the example. i have just pasted the FROM and where condition.
    FROM ym_scr t1, branch_finmonth t3
    LEFT OUTER JOIN item_image t2
    ON (t1.branch_no = t2.branch_no
    AND t1.item_no = t2.item_no
    AND t3.to_date between t2.tran_dt and t2.to_dt
    AND t2.to_dt >= '$start_images' ) <<<========= '$start_images' THIS COMES FROM THE UNIX VARAIBLE ,
    We converts the same when we are putting it in OWB join Operator
    INGRP1.branch_no = INGRP2.branch_no(+)
    AND INGRP1.item_no = INGRP2.item_no(+)
    AND INGRP3.to_date between t2.tran_dt and t2.to_dt
    AND INGRP2.to_dt >= INGRP2.start_images
    But as you see in the OWB opreator we can put left join with INGRP1 with INGRP2.
    We can not make same join with INGRP3 & INGRP4 , becoz it failed saying "you cannot left outer join on more than one table/source".
    so overall this OWB code makes incomplete left outer join as per the above ANSI SQL join in Oracle.
    Bcoz of the problem we are getting less number of rows...........
    SO please please help me on this
    Regards
    Ashok

    Hi.
    I know this topic is here for a while now, but I had the same problem today, searched for help and didn´t find anything.
    Later I figured out how to do this.
    You just have to put the (+) one time, and the OWB converts in an LEFT OUTER JOIN statement.
    For this case, all you have to do is:
    ( INGRP1.branch_no = INGRP2.branch_no(+) AND INGRP1.item_no = INGRP2.item_no AND INGRP2.to_dt >= INGRP2.start_images )
    Regards,
    Godoy

  • Char length more than 60

    Hi~
    Is it possible at all to display char length greater than 60 using bex in excel other than workbook marcos or web reports?
    Thanks,
    Ani.

    Check :
    /people/sap.user72/blog/2006/06/05/long-texts-in-sap-bw-displaying-in-bex-analyzer-introduction-to-excel-workbooks-formatting-part-i
    /people/sap.user72/blog/2006/06/05/long-texts-in-sap-bw-displaying-in-bex-analyzer-introduction-to-excel-workbooks-formatting-part-ii
    incoming data with more than 60 chars
    BeX Variable:Strange problem with InfoObject CHAR 60

  • To display text more length more than 1000

    Hi,
    I have Ztable which has a LCHAR field of length 1000. through a program i am populating records in to this table. But i am unable to see the complete text in Se11 or se16 not even in debugger (not showing more than 132 char). Is there a way to see that text. I wrote a program to read that text & display it is not fetching the required data means the 1000 Lchar text. Can you pl tell me how can this be done.
    Below is the code used to read & display the text.
    DATA : BEGIN OF zerr OCCURS 0,
             buildid LIKE zmm-buildid,
             message LIKE zmm-message,
            END OF zerr.
    SELECT buildid message
           FROM zmm
           INTO TABLE zerr.
    LOOP AT zerr.
      WRITE :/5 zerr-buildid.
      WRITE :/5 zerr-message.
    ENDLOOP.

    Hi
    U can try to use NEW-PAGE statament, here you can indicate line having a length longer than 255 char:  the maximum line length is 1023:
    DATA : BEGIN OF zerr OCCURS 0,
                   buildid LIKE zmm-buildid,
                   message LIKE zmm-message,
                END OF zerr.
    START-OF-SELECTION.
    SELECT buildid message FROM zmm
    INTO TABLE zerr.
    NEW-PAGE LINE-SIZE 1000.
    LOOP AT zerr.
      WRITE :/5 zerr-buildid.
      WRITE :/5 zerr-message.
    ENDLOOP.
    Anyway this doesn't mean you'll be able to print this layout, because you need to create a right format by SPAD transaction.
    Max

  • Oracle OUTER JOIN on more than one table

    Hi!
    Friends, please help with this urgent problem: How can an outer join be written on more than one table?
    An SQL Server query:
    SELECT * from a INNER JOIN b on a.id = b.id LEFT OUTER JOIN c ON c.id = a.id AND c.id = b.id
    works fine with SQL SERVER
    But Oracle query:
    SELECT * from a,b,c WHERE a.id = b.id AND a.id = c.id (+) AND b.id = c.id (+)
    gives an error: OUTER JOIN cannot be used on more than one table? Why?
    I use OracleDriver from classes12.zip to connect to Oracle8i database.
    Please, help!

    The Oracle 8i and later SQL reference reads that the following "join_types" are supported and under this syntax it does not limit the LEFT OUTER JOIN (syntax the same as SQLServer example in original note) to two tables as implied in these notes:
    The join_type indicates the kind of join being performed:
    Specify INNER to indicate explicitly that an inner join is being performed. This is the default.
    Specify RIGHT to indicate a right outer join.
    Specify LEFT to indicate a left outer join.
    Specify FULL to indicate a full or two-sided outer join. In addition to the inner join, rows from both tables that have not been returned in the result of the inner join will be preserved and extended with nulls.
    You can specify the optional OUTER keyword following RIGHT, LEFT, or FULL to explicitly clarify that an outer join is being performed.

  • PO Header Text --- Length more than 132.

    Dear Experts,
    I hv to read header text (me23n) of po where terms and conditions are defined. I hv used READ_TEXt FM which return the internal table L_LINES. Because I hv to display label also i.e.
    Header Note  (label)
    for example , the pr qty is 1000 , but we are doing sub contracting po for only 500 and for other 500 we want to do std po but system allows us to do only subcontracting po...for that we are doing manually prs for the remaing qty... Moving ahead, management wants us to Purchase     ( This is entered text).
    Payment Terms (label)
    1) 100% advance.
    2) 100% advance.
    3) 100% advance.
    so i hv used my own internal table of type TLINE.
    Problem is , the length of TLINE-TDLINE is 132, but the length of entered text is more than 132 (Header Note above).
    when i copy the tdline from L_LINES to w_line, it does copy only 132 characters.
    Can anyone guide me in this.
    And one more thing is , as above in terms and conditions, after first point enter is pressed. how to capture if enter is pressed.
    Regards,
    Jaspal Kumar

    Hi
    See the below logic
    DATA: lv_string(2000).
          LOOP AT it_tline1 INTO wa_tline1.
            CONCATENATE lv_string wa_tline1-tdline INTO lv_string SEPARATED BY space.
            CLEAR wa_tline.
          ENDLOOP.
    let me know if there are any issues.

  • SOLAR01/02 - Transaction Tab - Transaction length more than 20 characters.

    We have SCM transactions with more than 20 characters.
    There are any way to use in SOLAR01/02?
    Thanks
    Federico

    Hello,
    The Domain TCODE in se11 is defined with length 20, therefore there is no
    possibility to enter longer values.
    Regards,
    Jared Singh

  • Uploading excel file into internal table with field length more than 255

    I am trying to upload the data from an excel file through function module 'TEXT_CONVERT_XLS_TO_SAP'.
    I have tested by changing the field type from string, and char2000.
    But it is accepting only 255 chars from the cell content.
    How to get the total content of the field if it is more than 255 char.

    hi,
      you can use any of the following procedures:
    For uploading data from excel to internal table refer standard report  RC1TCG3Z  in se38 :
                                               or
    You can use the FM 'ALSM_EXCEL_TO_INTERNAL_TABLE' itself. Please check if you have done it this way . But,  this FM can be a little time consuming if the excel has large data, so you can use the FM u2018GUI_UPLOADu2019.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
            EXPORTING
              filename                = p_file1
              i_begin_col          = l_b1
              i_begin_row        = l_c1
             i_end_col               = l_b2
             i_end_row             = l_c2
           TABLES
              intern                  = lt_data
            EXCEPTIONS
             inconsistent_parameters = 1
            upload_ole              = 2
              OTHERS                  = 3.
          IF sy-subrc <> 0.
            MESSAGE e018 DISPLAY LIKE 'i'.
         ENDIF.
    *---Removing the first heading fields from the file.
          IF NOT lt_data[] IS INITIAL.
            LOOP AT lt_data INTO lwa_data WHERE row = '0001'.
              DELETE lt_data.
              CLEAR lwa_data.
            ENDLOOP.
    *---Inserting the data from file the internal table
            LOOP AT lt_data INTO lwa_data.
              CASE lwa_data-col.
                WHEN 1.
                  wa_file_wicopa-serial = lwa_data-value.
                WHEN 2.
                  wa_file_wicopa-blart = lwa_data-value.
                WHEN 3.
                  wa_file_wicopa-bldat = lwa_data-value.
                WHEN 4.
                  wa_file_wicopa-budat = lwa_data-value.
              ENDCASE.
              AT END OF row.
                APPEND wa_file_wicopa TO gt_file_wicopa.
                CLEAR wa_file_wicopa.
              ENDAT.
              CLEAR lwa_data.
            ENDLOOP.
          ENDIF.
        ENDIF.
                                                or
    DATA: it_test TYPE STANDARD TABLE OF alsmex_tabline WITH HEADER LINE.
    DATA :v_start_col TYPE i VALUE '1',
          v_start_row TYPE i VALUE '1',
          v_end_col TYPE i VALUE '256',
          v_end_row TYPE i VALUE '65536',
          v_text TYPE repti.
    * Funtion Module to upload values from excel to the Internal table
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_file
          i_begin_col             = v_start_col
          i_begin_row             = v_start_row
          i_end_col               = v_end_col
          i_end_row               = v_end_row
        TABLES
          intern                  = it_test
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 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.
                             Or
    You can use FM u201CTEXT_CONVERT_XLS_TO_SAPu201D.
    DATA : i_raw TYPE truxs_t_text_data.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_field_seperator          = 'X'
          i_tab_raw_data             = i_raw
          i_filename                 = p_path
        TABLES
          i_tab_converted_data       = itab
    EXCEPTIONS
       conversion_failed          = 1
       OTHERS                     = 2
    hope it will help u
    regards
    rahul

  • Parameter selection text length more than 30.

    Hi,
    I declared the one parameter in selection-screen.
    i declared selection texts for the parameter.
    but selection-text not taking more than 30 chars.
    how can i provide selection texts more than 30 chars.
    Regards,
    Suresh.

    Here's another example that makes use of the POSITION verb and can allow you to be more precise with the placement of screen items.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(20)   text-613.
    SELECTION-SCREEN POSITION 22.                        " Standard
    PARAMETER: pst04sl RADIOBUTTON GROUP x041 DEFAULT 'X' MODIF ID cus.
    SELECTION-SCREEN POSITION 27.                        " Standard
    PARAMETER: pst04bu RADIOBUTTON GROUP x041 MODIF ID cus.
    SELECTION-SCREEN END   OF LINE.

  • How to display - Message Length more than 100 characters

    Hi,
    I am displaying a message string which gets generated dynamically. Which means I donno theolength of that. It may go upto 200 characters also.
    However, In message display, the number of characters have some limit.
    Could you please let me know, How can I achieve this?
    MESSAGE E000 with lv_string.
    Thanks,
    Sandeep

    Hi Srini,
    I have already 4 place holders. And one of the place holder will be populated dynamically which I mentioned above. And more than 4 place holders, it is not accepting.
    Could you please help me.
    Thanks,
    Sandeep

  • Outer join on more than 2 tables

    I have difficulties joining more than 2 tables with Oracle 8.1.7. How can I solve this problem?
    SQL> select
    2 G.NOM_GARE, F.VOIE
    3 FROM FIN_POSTE F, TYPE_GARE G,
    4 ( SELECT MATRICULE, RED_CPT1 FROM REDDITION,
    5 ( SELECT SUM( PRIX_TOTAL ) CR, MATRICULE FROM TRANSACTION
    6 GROUP BY MATRICULE
    7 ) CASH_REV
    8 WHERE
    9 R.MATRICULE = CASH_REV.MATRICULE(+)
    10 ) R
    11 WHERE
    12 F.ID_GARE = G.ID_GARE(+)
    13 AND
    14 TRUNC( F.DATE_DEBUT_POSTE, 'MI' ) >= TO_DATE( '20030623 05:00', 'YYYYMMDD HH24:MI' )
    15 AND
    16 TRUNC( F.DATE_DEBUT_POSTE, 'MI' ) <= TO_DATE( '20030624 08:00', 'YYYYMMDD HH24:MI' )
    17 ORDER BY G.NOM_GARE,
    18 F.VOIE,
    19 F.MATRICULE,
    20 F.DATE_DEBUT_POSTE;
    R.MATRICULE = CASH_REV.MATRICULE(+)
    Hiba a(z) 9. sorban:
    ORA-00904: nem megengedett oszlopn�v

    It appears that you are using R as a alias for one of the in-line views when it should probably be aliasing the reddition table ?
    R is currently being referenced inside the in-line view for which it is an alias, which doesn't look right.

  • Field type String (long length more than 1500)

    Hi All,
    we have requirement like one custom table with field string type(1500 length) should update through the report.
    problem is, it is not updating that many characters through the report.
    (till 255 chars only updating in the table)
    i have to update full string in the custom table.
    the code is below, please help me any one come accross the situation.
    thanks in advance.
    data: lv_test type string,
          lv_test1 type string,
          lv_num type i,
          it_test type table of ZFEILD_TEST,
          wa_test type zfeild_test.
    do 10 times.
    lv_test = 'thptjpojtgpeojygpeojhpoewjhpojwhjwpohjopsjhoptrjhopjwhopjwpojhpowjhopwjojwpojhpowjhpowjkahglfdglkaglkahklrhlfhslhkalklklhkalhalkhlahlkajljhlajhlajlajlkajlhjaljlajlhjaljhlajhlahpojwpohjwopjhojhwjhojopjwopjhwojhotjhwojwhojwpojhpwojhpowjophjwpojh'
    lv_test1 = lv_test.
    concatenate lv_test lv_test1 into lv_test1.
    clear: lv_test.
    enddo.
    lv_num = strlen( lv_test1 ).
    wa_test-STRIN = lv_test1.
    wa_test-znumber = '001'.
    append wa_test to it_test.
    loop at it_test into wa_test.
    write: / wa_TEST-strin.
    modify zfeild_test from wa_test.
    endloop.

    Hi,
    I assume you have chunks of the string and you need to concatenate it and put it to the table.
    You can try this.
    data : begin of w_string occurs 0,
             string type string,
             end of w_string.
    data  : w_char1(255) type c value 'BLAUGBUSSUSSF',
              w_char2(255) type c value 'GSIUHFSHF',
    w_string-string+0(255) = w_char1.
    w_string-straing+255(255) = w_char2.
    so on....
    append w_string.
    Regards,
    Pramod

Maybe you are looking for

  • Why can't I boot from external HD?

    I made a bootable clone with Carbon Copy Cloner onto an external FW HD. I went into System prefs and changed the startup disk, and when I restart, I get a flashing "?" and then the Mac boots into the internal HD... I've cloned internal disks a millio

  • Backend PO not getting created after EHP6 upgrade

    Hi Friends,   Recently there was an SAP patch upgrade in ECC 6.0 and after that while creating the shopping cart the PO is created, but it is not transferring to ECC. We are using the extended classic scenario SAP SRM 7.0. I had checked almost everyt

  • Named Anchor in JEditorPane HTML

    I am loading an HTML string into a JEditorPane. The string has some named anchors (<A NAME="blah">) that reference other locations in the HTML string. Because I am loading the HTML string by using JEditorPane.setText, the named anchors do not work. T

  • Flex 1.5 and Hibernate 3

    Hi everyone, I am trying to make a sample application for the evaluation purpose. I have created some java beans and their corresponding actionscript classes. When I call any java method which returns an object say Student, it works fine. Flashgatewa

  • Querry regarding maint projects

    hi what is the process flow for assigning orders to maintenance projects and how budget control is performed in orders ? regards pushpa