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.

Similar Messages

  • 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?

  • 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.

  • 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

  • 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 read more than 132 char using Read_Text Fn. Module

    Hi,
    I am using Fn. Module <b>Read_Text</b> in my program, but the fn. module is only retrieving 132char data and remaining data is getting truncated. In my case Text size is more than 132char...pls, let me Know, how can i get entire text or i have to use any other Fn. Module

    Hi,
    In READ_TEXT function module, TLINE structure has the component TDLINE with 132 characters. So, u can't read more than 132 characters. If u want to read more than that, u have to write FM of ur own which can read more than 132 characters.

  • On some pages the text from more than one paragraph stack up on top of each other, like writing something then writing something else on top of it.

    On some pages the text from more than one paragraph stack up on top of each other, like writing something then writing something else over the top of it. Some pages will run text and pictures together, like a car rear-ending another or a train pile up. Other pages will cut an image or text short, i.e. it will display a portion of the top of the image or text but not the rest. This happens on Amazon for example, the section where it says "Customers who looked at this also looked at" will allow only a certain amount of the upper portion of the description immediately below the picture of the product but below that section everything is fine until I get to another section displaying more products and their descriptions and then it cuts the bottom portions off again. I've noticed this behavior mostly in the sections with product photos, the text sections seem okay. YouTube also displays this behavior. It's even doing it on this page right now. Below this box I can read "The more information you can provide the better chance your question will be answered " , but directly below that in the next sentence I can see the start of it with "Troublshootin" and the "Automatically Add" in a green field covering the "g". The next clear text is "A window will open in the top corner. Click Allow, and then click Install. If the automated way doesn't work, try these manual steps." I tried turning of pre-fetching, clearing history, cookies, and cache, scanning for malware with Avast and Windows Defender all to no avail. It began when I upgraded from dial up to DSL via AT&T Uverse. I have a Motorola NVG510 modem. The modem was replaced an hour ago along with new dedicated lines and DSL/Phone splitter from the box by an AT&T technician to make sure my incoming lines were up to par. He ran a connection test and verified everything is up to standards. IE does not display this behavior. I am running Firefox20.0.1 and all previous versions have acted the same way since I upgraded to DSL about 3 months ago.

    If you have increased the minimum font size then try the default setting "none" in case the current setting is causing problems.
    *Tools > Options > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    Make sure that you allow websites to choose their fonts.
    *Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"
    It is better not to increase the minimum font size, but use an extension to set the default page zoom to prevent issues with text not being displayed properly.
    You can use an extension to set a default font size and page zoom on web pages.
    *Default FullZoom Level: https://addons.mozilla.org/firefox/addon/default-fullzoom-level/
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • When texting with more than one person at a time the incoming text scrolls to top of the conversation. anyone out there with the same issue?

    while texting with more than one person at a time the incoming texts scrolls to top of conversation. anyone having this issue?

    I've heard claims it can be done, claims some have done it, and claims that it didn't work for them. This thread is interesting, some indications it should be possible, complaints that it didn't, and also an interesting work-around:
    "How do I text message multiple people at once?"
    http://discussions.apple.com/click.jspa?searchID=-1&messageID=4822260
    You can ask Apple for iPhone changes via this link:
    http://www.apple.com/feedback/iphone.html
    Though if you're requesting hardware changes for iPhone v2 you may want to wait a week (or a month?)...they're probably going to be inundated right now by requests for software changes to the current iPhone.
    (If this has answered your question, please mark your original post as answered)

  • Is it possible to Create a Long Text Field (more than 255 Char Long)?

    Is it possible to Create a Long Text Field (more than 255 Char Long) as like Description field in Service Request Object??
    Thanks!

    Hi
    User can only create custom Long text field (255 Charcter) . Currently system does not support custom note creation

  • How to send a text to more than 10 contacts using AT

    I'm using an iPhone 5S, IOS 7.0 on the AT&T network. I have unlimited texting, but when I attempt to send a group text to more than 10 users the phone will not allow me to enter any more contacts into the text. Is there a way around this? Current messaging settings are: iMessage-On, Send Read Receipts-Off, Send SMS-Off, Send & Received-only my cell phone number, MMS-On, Group Messaging-On

    This is a restriction built into the iPhone. No way to change that. You can look at a group texting app in the App store, but from what I have heard, they have had the restriction put on them in iOS 7 as well.

  • Find texts with more than one Character Style applied

    Hi,
    If you need to find - and replace/restyle - texts where more than one Character Style is applied - here is tool for you - for ID CS3 and ID CS4:
    http://www.adobescripts.com/search.php?query=multi+findreplace+grep&action=results
    You can define options for up to 8 characters - by using GREP expressions.
    Script is only for PC platform.
    robin
    www.adobescripts.com

    Never tried with bullets but nested styles might work... I think you can chain two or more nested style, and then you can define first nested style to effect only first character, second nested style to next character and so on....

  • How to enter more than 132 characters in a Parameters Field

    Hi Everyone,
    I have a field of type file_table-filename as Parameters in my Selection-screen. The size of the filename is 1024 characters as declared in the structure file_table. But when i am trying to enter the path into this field, its allowing not more than 132 characters....how is it possible to enter more characters? Even in debugging mode the maximum value we can scroll is upto 128/132 characters..if we want more then we should use the Offset option...but how to enter more than 132 chars into this field?
    Best regards,
    rama

    Hai,
    I did the same in my program...i get the filename along with the path into this field...but then there is a chance that the User wants to say edit the filename..here comes the problem.
    Best regards,
    rama

  • TS2755 I have a new iPhone 5 from T-Mobile. I can send simple texts just fine. However, I have to turn off wi-if and enabler cellular to send texts to more than one person or to attach a picture. Is there a way around this?

    I have a new iPhone 5 from T-Mobile. I can send simple texts just fine. However, I have to turn off wi-if and enabler cellular to send texts to more than one person or to attach a picture. Is there a way around this?

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • Texting to more than one person

    Is there a way to send 1 text to more than 1 person?
    At present I cannot find a way to send the same message to more than 1 person.
    Also the you cannot forward a text you receive.
    These are 2 huge oversights, apart from these issues I love my iPhone.

    In addition to what 'roaminggnome' said, here is a list that will help you.....
    Alltel [email protected]
    AT&T/Cingular (MMS) [email protected]
    AT&T/Cingular (SMS) [email protected]
    Cingular [email protected]
    Boost Mobile [email protected]
    Nextel [email protected]
    Sprint PCS [email protected]
    Sprint PCS - Short Mail (Whatever short mail means?) [email protected]
    T-Mobile USA [email protected]
    T-Mobile UK [email protected]
    T-Mobile Germany [email protected]
    US Cellular [email protected]
    Verizon Wireless (MMS) [email protected]
    Verizon Wireless (SMS) [email protected]
    Virgin Mobile [email protected]
    **In place of the x's, you would enter the persons 10 digit mobile #

Maybe you are looking for