How to display the blank lines in between the message using SO_NEW_DOCUMENT

Hi,
I want to display the blank lines in between the paragarph of message using the function module  SO_NEW_DOCUMENT_ATT_SEND_API1.
Regards
Nagendra

Hi Rajesh,
Try using this code:
CLASS: cl_abap_char_utilities DEFINITION LOAD.
data: lf TYPE C VALUE cl_abap_char_utilities=>CR_LF.
move lf to wa_lines.
append wa_lines to li_lines.
Hope this helps!
Regards,
Saumya

Similar Messages

  • How to set a dropdown to the blank line value

    Hi all,
    maybe a very easy question.
    How can I set a dropdownbyindex value to the blank line?
    If I use e.g.
    wdContext.currentActionsElement().setDescription(null);
    it adds another blank line among the values and if I try with:
    wdContext.nodeActions().setLeadSelection(0);
    it doesn't work.
    Any suggestion?
    Thanks in advance.
    Angelo

    wdContext.nodeActions().setLeadSelection(IWDNode.NO_SELECTION);
    Check that node selection is not mandatory (i.e. selection cardinality is 0..1, not 1..1).
    If this does not help set initializeLeadSelection to false for this node.
    VS

  • How to remove the blank lines at the end of the JTextArea .

    Hi,
    I need to remove the blank lines in the JTextArea at the end. Suppose i am giving 'A' in the first line and press the enter key two times, after i am giving the 'B' in the third line and press enter key for two times. I need to remove, the last two lines of JTextAreae, . How i can remove these lines?

    String#trim() removes all whitespace from both ends of the String.
    The requirement was to remove line breaks from the end of the String only.
    String#replaceAll with a suitable regex would do the trick. Untested regex for this:text.replaceAll("[\\n\\r]+$", "")db

  • Unwanted blank lines inserted into the page bean

    For some reason after using the visual editor and then switching to the java view, I notice that there are extra blank lines inserted between lines in the file. The extra lines can accumulate making the file very large and unusable. This has only started happening after installing the latest hot fix. Is there a fix for this?
    Thanks,

    Hi mitsu,
    We did send out some updates via UpdateCenter just two days back. One of the fixes in there would fix the extra empty lines issue.
    Please get this update downloaded and installed on your Creator Installation.
    It should fix your issue.
    Could you please confirm if this fixes your issue?
    Regards,
    Sakthi

  • How to display as blank instead of zero (0) if result is zero

    Hello :
    How to display as blank instead of zero (0) if result is zero.*
    *any properties can do this. BI 7.0.
    Regards,
    Manthana

    Hi,
    If you are using BI 7.0 ,goto Query designer and click the properties under the 'Query'. Then select 'Value Display' from the properties and there is a drop-down  'Display Zeroes' . You can choose 'Zero as Space' from that drop-down for the query.
    Hope it will solve your issue.
    Thanks.

  • Reporting Toolkit: How to insert a blank line into an MS Word Report?

    Hello,
    I have created an MS Word report, but I haven't been able to find out how to "write" a blank line to the report.  I've tried every combination of \n, \\n, "\n", '\n', \\n etc., but I haven't had any good luck.
    Thanks,
    Chris

    Hello,
    If you're using "append report".vi it's has one input for "new line".
    Message Edited by Jorge Amaral on 05-02-2008 03:28 PM
    Software developer
    www.mcm-electronics.com
    PS: Don't forget to rate a good anwser ; )
    Currently using Labview 2011
    PORTUGAL
    Attachments:
    append.PNG ‏3 KB

  • Html tags - how to add a blank line

    Hi there,
    can anyone tell me how to add a blank line into a page using one of the html tags ?
    thanks,
    Malcolm.

    You can use the <br> tag for a line break. Also   for space.
    Regards,
    Arun

  • How to display smartforms table lines useing different background colour

    Hi all:
    How to display smartforms table lines useing different background colour .
    for example:
    line1:green
    line2:red
    line3:green
    line4:red
    line5:green
    line6:red
    line7:green
    line8:red
    Any help is highly appreciated!!
    启明星

    Hi,
    Create a two lines one for header and second for data in the table.
    1)In table painter we can find the pencil mark.
    2)select the pencil mark
    3)now select the line which you need to shade
    4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
    5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
    reward points if useful
    Thanks and Regards,
    Nishant

  • Unable to remove the "blank" line at the end of the file

    Hi Experts,
    My requirement is to send data in 'Binary' form as an attachement to a mail address. I have followed as below.
    Converted data into Binary form using the FM 'SCMS_TEXT_TO_BINARY'
    Call FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail.
    Until this point, all works fine and I receive a text file as well. Howvever, a blank line gets appended at the end (after last line) of the file. Please let me know, how I would get rid-off this empty line. Please refer attachment.
    Thanks in advance !

    Thanks Manish.
    I have resoved the issue, following steps have been incorporated.
    1. Find the output length of the file from the exporting parameter(output_length) of the Function module 'SCMS_TEXT_TO_BINARY'
    2. Pass the output length to DOC_SIZE component to the second line of the itab packing_list of function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
    3. Pass the output length to DOC_SIZE component to document_data of function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
    So there it is, the blank line is gone....
    Regards,
    Umar Ali

  • Preview - displays a blank window instead of the jpg???

    Installed SL yesterday, and now Preview displays a blank window instead of the jpg??? The jpg opens in iPhoto.
    Anyone one else? Any suggestions?
    Thanks.
    Ron...

    Hi Ron,
    Try deleting this file.
    com.apple.Preview.plist
    /Users/YourName/Library/Preferences.
    Drag that file from the Preferences folder to the Trash, emtpy the Trash and restart your Mac.
    If that doesn't help, right or control click that image, then click Get Info.
    In the Get Info window click Open with. You may have to click the discovery triangle.
    Click the pop menu and select the application you want to open that image with... you may have to navigate to your Applications folder to make a selection.
    Carolyn

  • How user can get a Sales Text for the any Line Item in the Billing?

    Salute Masters ! !
    How user can get a Sales Text for the any Line Item in the Billing?
    It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
    Where I can configure in system for all.
    Rgds
    Srivastav
    09973504950

    Hi,
    Sales text can be copied from customer to order , order to delivery and delivery to billing .
    Check the T-code : VOTXN , do the customization as per your requirement.
    check the below link :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm

  • Acrobat X: Option to hide the dotted line in between pages when viewing in 2 page view?

    Acrobat X: Anyone know if there is an option to hide the dotted line in between pages when viewing in 2 page view?  So that the 2 pages can look seemlessly joined, with no gap and no dotted line?  This would be useful when viewing PDF magazines or books in which 2 pages join for a larger picture.

    Create a Page 0 item which will be available on all pages.OMG yes I can use items in page 0 ! I should have think of that :/ Shame on me.
    Application item values can be set from JavaScript using AJAX and an On-Demand Process.Yes I already tried ajax with ODP, my getappitem() function works but my setappitem() function won't assign value to application item, but it's not a problem now, I removed the ajax part and I will use page items :D
    Thank you fac586.
    Yann.

  • How to handle the multiple line items in the Inbound idoc FM

    Hi ,
    Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem....
    Thanks in Advance,,,,
    Regards,
    Bharani

    Hi ,
    Can any body give me how to handle the multiple line item in the idoc when we reprocessing it from workitem....
    Thanks in Advance,,,,
    Regards,
    Bharani

  • Calendar app. How do i insert a line break in the title of an appointment?

    How do i insert a line break in the title of an appointment?

    Jonny Marshall wrote:
    Hi, I've had this problem for a while now but just can't find the answer anywhere. I keep seeing that 'shift+return' or 'ctrl+return' will create a new line in a cell in numbers but it just doesn't! I can't seem to find a way of doing it. Please help!
    Difficult to guess what is wrong in your system or what you made wrongly.
    Here it work.
    Maybe a problem of corrupted preferences.
    Try to run Numbers from an other User Account.
    If it behaves flawlessly it will be time to try to disable the Preferences files:
    <startupVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Numbers. plist
    <startupVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Numbers. LSSharedFileList.plist
    (Also, not numbers related, but if you happen to know how I find out what version of OSX I'm using please let me know.)
    menu :  (Apple)
    menu item : About this mac
    Yvan KOENIG (VALLAURIS, France) jeudi 3 juin 2010 14:41:07

  • Can I block the blank lines in delivery note?

    Hi Experts,
    I want to block the blank lines when creating or changing delivery note because  I don't want user to add new items manually.
    Can I realize such a requirement?
    Hope anyone can give me some solution.
    Thanks.
    Best regards,
    Chris Gu

    Go to OVLK,  select the delivery type and execute.  There maintain routine 201 against the field ItemRequirement.  Similarly, for new item category, go to zero184  and donu2019t maintain any item category under the tab MItC
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • My solution for No Audio -- Conexant drivers and Windows 7 x64

    My son and I have the L2000 laptop that came with 32 bit XP and used the Conexant chipset for Audio. I had been using an SB Audigy PCMCIA card so I am not sure when Audio was really lost; however, he noticed it when I upgraded his PC. I scoured vario

  • Check VAT Registration number

    Hi, Where is configured rules to checking the VAT registration number for country specific edit format (9)? Regards, Ionel

  • How to create CMPCTRL attribute of the type internal table (as global list)

    Hi, I want to create global internal table to be able to access it across all my webdynpro views. Ideally I will create this global internal table in CMPCTRL and will add different values from diffent methods of one view and use in another view as ta

  • Can we execution  sql script through java ?

    Hi All, Can we execute sql script ("name.sql") through java programe. I am not talking about reading sql script one by one and excute. I just want to send this sql script to oracle console. Or any body can give other alternative I have to lot of db o

  • Instantiate Oracle BPM Process Webservice from the OSB.

    Hi, In our project we have one requirement i.e Instantiate Oracle BPM Process Webservice from the OSB.After register BPM service in to OSB I am creating one Message flow to instantiate BPM Process. first call to startSession Operation, then use respo