Script : Line feed and extended line

Hi,
I have an issue in printing address in description column. What happens is the address line is too long and it goes into next column. The description column is second column. How can i split the line? and the splitted line should start from 2nd column.
Ezhil.

Hi
Please check this link
http://www.thespot4sap.com/Articles/SAPscript_layout_set_commands.asp
http://www.scribd.com/doc/6739833/Sap-Scripts
Hope you will find u r answer
Regards
Ruturaj

Similar Messages

  • FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT

    Dear Expert
    FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT

    Hi,
    It seems from the screen shot you are seeing different documents as in the first screen shot it clearly shows you have booked the multiple expenses under one see the below screen shot we have circled it
    whereas FB03 screen shows different.
    You can do one thing click on circle item and check the expenses involved in it and accordingly go to FBL3N and display documents for that G/L for the date 05.04.2014.
    Hope your issue has been resolved else revert.
    Regards,
    Tejas.

  • Datasource with PO#,PO line,Line desc and PO line amount

    Hi Everybody,
    I am looking for datasoure that can provide PO #,PO line, Line Desc and PO line amount from r/3. Please provide me with necessary information.
    Warm Regards,
    Virinchi.

    Try http://help.sap.com/saphelp_nw70/helpdata/en/58/f6383fdb800804e10000000a114084/content.htm

  • Carriage Returns, Line Feeds, and Tabs in Text Area

    I am having users copy and paste data from an Excel spreadsheet into a textarea on a BSP page.  When they submit this, since there are tabs and line feeds in the data, the BSP does not recognize the data.  The value in the field comes through as blank. When I manually type something into this field, with out any carriage returns, tabs, etc., the value does not come through as blank?  Does anybody know how to get around this?

    HI
    Iam uploading the data from application server(AL11) to other server.
    In the GLPCA-SGTXT(Table) iam having some text like 'This is good ##'.i was downloded some other data with this text('This is good ##') by using report program in to aplicationserver(AL11) and from there iam uploading that data into other server.
    But here the problem is in the UNIX, it was showing some problem.
    That is actually it need to show the format like:
    001 256 786 This is good## 459786
    But here it was showing like:
    001 256 786 This is good^M
    459786
    So here '459786' is coming to next line. But i need this '459786' also in the same line.
    I am not sure if it is possible to remove CR and LF's using the code the program is written in, but that is what we need to do.   In Unix  ^M is the CR (Carriage return), but I am not sure what LF is?

  • Dyanamic table is SAP Script with horizontal and vertical lines

    Hi,
    I need to display the data of the table in the SAP script which is having both horiziontal and vertival lines.
    the out put needs to looks as it in Excel...where there are multiple records with 5 fixed coulmns each seprated from one another by horizonalt and vertical lines..
    I thinking about useing the Box with XPOS and YPOS who value changes dynamicaaly..
    But again as the number of pages might be more than one..i think there will issues,
    Can you  let me know how to proceed in SCRIPT ,,,, where the number of records might vary ..and also ..it might continue to second page..
    Regards
    Senthil

    well it is possible but quite tricky.
    All you got in SAP-SCRIPT to achieve this is the BOX-Statement.
    The BOX statement works with variables for XPOS, YPOS, WIDTH and HEIGHT. what you need to do is:
    - calculate those variables during runtime
    - add box-statements with those variables.
    to calculate those variables you need to count used lines and so on. i hope i showed you a way, rest is a lil brainwork then.
    regards

  • Find the LINE FEED and replace it.

    Hi
    I am using ORACLE 11g R2. I am having some text data in a variable as below :-
    Variable = V_TEXT
    V_TEXT :=
    '/u01/oracle/data/file1.txt
    /u01/oracle/data/file2.txt
    /u01/oracle/data/file3.txt'I want to place an '|' (pipe symbol) at the end of each line. So the expected output is as below :-
    '/u01/oracle/data/file1.txt|
    /u01/oracle/data/file2.txt|
    /u01/oracle/data/file3.txt|' I tried with replace() function and replaced return character i.e. CHR(10) with '|' but it gives me an wrong output and also at the end of last line we dont have an return character.
    after searching a lot on internet I found that i can do this with the help of regular expression.
    As far as i have studied : -
    The line feed character is the last character in the line or we can say it is end of line. This character is noted in oracle as 'x0a'
    I want to replace this character in every line and place an '|' symbol.
    can anyone guide me how to do it ??
    Thanks in advance.

    Aha... Now that is a different expected output as in your original post ;-)
    One way of doing it could be something like this:
    declare
      v_text varchar2(32767) := '/u01/oracle/data/file1.txt
    /u01/oracle/data/file2.txt
    /u01/oracle/data/file3.txt';
    begin
      v_text := regexp_replace(
                   regexp_replace(v_text,chr(10)||'\s*'||chr(10),chr(10))
                 ,'$','|',1,0,'m'
      dbms_output.put_line(v_text);
    end;
    /Inner regexp replaces "linefeed followed by zero or more whitespace followed by linefeed" with a single linefeed. So this removes the blank lines.
    Then the outer regexp takes care of the | characters.
    (It might be possible to wrap it up in a single regexp, though I can't think of a way just off hand ;-) )

  • What is the direct link between Schedule Line item and Delivery line item?

    Hi SAP SD Gurus,
    The question is simple.  I would like to calculate the Open order quantity for a particular month based on the Schedule Line Date.
    I am taking all the Schedule lines falling below the running date of the month and sum up that and look for the deliveries happened for that Schedule lines.
    I am unable to link that Schedule line with that Delivery line item.
    The only link is Schedule Line Number in VBEP table which is not available in LIPS.  I would like sum up the Schdule line Quantities and Subtract the sum of the Delivery quantities which will give me the Open orders for the particular day of the month.
    Can anyone help me to link this VBEP table to LIPS table to connect the Schedule line number with the Delivery line item?
    Thanks in advance for your help..
    Augustine

    Anuj,
    I am aware of the Functional Modules. 
    I wanted to know for this Schedule Line, this is Delivery document created.
    Where in SAP through Tables it is linked?  Because, I need to source the Tables to calulate the open orders by way of external report through Business Object.
    The table link from VBEP to LIPS is not directly linked.  It is linked from Sales order line item level.  Because we are capturing all the Sales order Line tiems through the Delivery Status which is not equalled to C. But if there are partial deliveries against the Scheuld Line item level, we need to identify.  The only common joint should be Scheldule line number which is not available in LIPS.
    If we are developing report inside SAP, we can use the said Functional Modules to capture through Structures VBEPD.  Since it is a external reporting , we need to give correct tables and the joints.  Hence I am looking for any other way to solve this.
    Thanks
    Augustine Ponraj

  • SCC question - how can I get a list of all line items and minor line items associated with a single contract?

    Current;y have to expand each major line item and check all the minor line items, I just want a list of SNs associated with the contract.  Any way to get this mailed to me every month?

    Hi
    I am sorry to see you are having problems
    I suggest you contact the forum mods they should be able to get this problem sorted for you this is a link to them http://bt.custhelp.com/app/contact_email/c/4951
    They normally reply by email or phone directly to you within 3 working days they will take personal ownership of your problem until resolved and will keep you informed of progress
    They are a UK based BT specialist team who have a good record at getting problems solved
    This is a customer to customer self help forum the only BT presence here are the forum moderators
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Relation between Invoice Line items and Accounting Line item

    Dear All,
    My requirement is to print all the invoice documents and it's tax values like cenvat, Ecess, BED and VAT.
    I have to fetch these tax details from BSEG table .
    I' am getting Invoice number ( RBKP-BELNR ) from BKPF-AWTKEY .
    Can any one please tell me how to relate the Invoice line items and Accounting document line items..
    Any BAPI or FM is there to retrieve these data.
    Please do needful in this regard.

    Hi,
    from table bseg - field Koart
    K = Vendor
    D = Customer
    S = G/L account here tax lines identify with buzid = T
    or take table bset for taxes
    Andreas

  • Enter Text in Multi Line TextBox and New Lines

    Hi Guys,
    I have a form that takes a users input and saves to an access
    database.
    The data is in turn drawn by a recordset and displayed on an
    ASP page using VBS.
    The form that takes the info has 1 textbox thats multi line
    and I want it to be a simple input box except when the user adds a
    line break by hitting return I want this to be reflected when the
    record is drawn to the detais page..
    Just now no matter how many times I hit return key when
    typing in the multi line text box and add paragraphs or simple
    sentances they all come out with no line breaks on the page when
    shown???
    Do I have to make my own rich text box editor? or is there
    something Im missing?
    Thanks in advance for any thoughts.
    Tag

    Tag2007 wrote:
    > Thanks Im on the site now and dont see the lite
    version?? Do you have a link to it please..
    InterAKT was acquired by Adobe in September and most of its
    products
    were discontinued. The full version of KTML is now part of
    the
    Kollection suite.
    The solution to your problem is very simple, though. I'm
    sorry I can't
    give you the exact coding, because I haven't used ASP for
    many years.
    However, all that you need to do is to create a function that
    searches a
    string for new line characters and replaces them with
    <br> (or <br />
    for XHTML).
    PHP has a built-in function (nl2br()) to do this, but in ASP
    you need to
    search for the new line character code.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Line saver and Monthly line bill

    Hi
    Just had a bill for a months line rental and charges because no one at BT thought to notify me that last years line saver contract was about to expire. A little note on the last bill or a simple e-mail would have been enough, but nothing.
    So now after renewing the line saver contract they are going to take the months rental as well as the line rental I have paid for in the renewed contract, I have been told they will credit my account next month. What a cheek, so BT get a cheap loan at my expense, what I want to know is how can I get that amount paid back into MY account where it belongs?

    NigelS wrote:
    Hi
    Just had a bill for a months line rental and charges because no one at BT thought to notify me that last years line saver contract was about to expire. A little note on the last bill or a simple e-mail would have been enough, but nothing.
    So now after renewing the line saver contract they are going to take the months rental as well as the line rental I have paid for in the renewed contract, I have been told they will credit my account next month. What a cheek, so BT get a cheap loan at my expense, what I want to know is how can I get that amount paid back into MY account where it belongs?
    I have to say that my experience was exactly opposite to yours and exactly what it should have been. I was both reminded on my bill and sent a reminder email.
    Here is an extract from the reminder email:
    "Your Line Rental Saver is ending on 19-10-2011
    Stick with line rental saver, and you'll carry on saving £46.80 a year. Just pay £120 for your annual line rental upfront - which is the equivalent of £10 a month.
    You'll need to visit www.bt.com/rentalsaver after 19-10-2011 to renew."
    and from the bill:

  • Line chart and vertical line repeats according period

    Hej,
    I have line chart and horizontal axis displays many months, thus is possible to vertical line from horizontal axis be displayed after years period and be color diferent?? My example, start displays January 2007,......finish December2007->DISPLAY VERTICAL LINE as LONG TICK, start January2008....and so on... is possible to set such repeater for line chart...thank for response.

    Hi 1234alex,
    According to your description, you want to create a non-vertical target line in top of bar chart to show different target.
    In Reporting Services, it’s impossible to create a non-vertical target line in top of bar chart. Because StripLines can only return a vertical target line even we put expression to make it dynamically . In this scenario, we can show the target line as values
    and use switch() function to specify different values based on different category. Then we just need to change the chart type for that series only. However, it only support horizontal line chart type in Reporting Services, so we suggest you use column chart
    instead of bar chart. Please refer to detail steps below:
    1. On Chart Data region, set an expression looks like:
         =switch(Fields!month.value=”A”,”4”,
         Fields!month.value=”B”,”8”, 
         Fields!month.value=”C”,”2”,
         Fields!month.value=”D”,”5”)
    2. Right click expression in Chart Data region, choose Change Chart type, select a line chart.
    3. Click Preview, the results look like:
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu

  • JeditorPane text selection problem due to line feeds and carriage returns

    Hi folks,
    I have a jEditorPane (text/plain) that contains a document in which the user has highlighted some text. I want to pull the selected text from the pane, do some processing on it, and then put the altered text back in the same position.
    First I get the starting and ending position of the highlighted text
    int mySelStart = myJEditorPane.getSelectionStart();
    int mySelEnd = myJEditorPane.getSelectionEnd();Then I get all the text from the pane and (in theory) strip out the portion the user highlighted
    String myPaneText = myJEditorPane.getText();
    String mySelectedText = myPaneText.substring(mySelStart,mySelEnd);But the text string in mySelectedText never matches what the user originally highlighted. The starting and ending positions are off by the number of carriage returns that proceed the highlighted text in the document. It appears that while in the jEditorPane Java treats the carriage return as one characters, but once the info is in the myPaneText field Java treats the carriage return as two characters.
    Has anyone encountered this before? Am I doing something wrong? To fix the problem I'm looping through the entire document to find out how many carriage returns proceed the highlighted text, but there has to be an easier way.
    Thanks

    It appears that while in the jEditorPane Java treats the carriage return as one
    characters, but once the info is in the myPaneText field Java treats the carriage
    return as two characters.Correct on a Windows platform. Check out my posting here for a one line solution:
    http://forum.java.sun.com/thread.jspa?forumID=31&messageID=1464594

  • Email Button - To: line blank and Cc: line with names listed

    I created an email button and I don't want the To: line filled with name(s) only the Cc: line this is what I have so far. What am I doing wrong?
    var sub
    sub = CTitle.rawValue;
    var ebody
    ebody = "The attached file is the filled-out form. Please open it to review the data."
    event.target.submitForm({cURL
    :"mailto: "";?&[email protected],[email protected];;&subject="+sub+"&body="+ebody,cSubmitAs:"PDF",cCharset:"utf-8"});

    I receive an error message:
    Microsoft Outlook does not recognize " "
    This is what have I have in the "on click" event:
    event.target.submitForm({cURL
    :"mailto:
    [email protected],[email protected];&subject=+sub+"&body="+ebody,cSubmitAs:"PDF",cCharset:"utf-8"});

  • How to find a carriage return and Line feed?

    I need to detect if a crriage retunr and line feed present on each row in my text file before allowing user to upload the text file
    I know how to remove them from each line but what I need is to detect them no removing them from file.
    Our concern is when the a row does not have carriage return and line feed.
    Is there a way to find this using CF? Please help
    thanks

    That is exactly the problem Dave, if some rows do not have line feed, they're not being inserted into DB, it skips other steps and go right to finish. It looks
    like the file is done processing.
    So I need to do early rejection to this kind of file.
    I used cfloop to catch anything else that do not follow the formatting rules.
    Here is what I already done:
    Right after the file got uploaded, I have these codes:   
    <cfloop  index="x" file="#MyFile#" >
      <CFSETMyLine = Replace(x,chr(9),"|", "ALL")>
      I'm using a few functions, such as, Left(), Mid(), Right(), etc to make sure certain rules are followed.
      Up till here, it's done and tested, everything is working.
      The only problem is when 1 or more rows don't end up with line feed and or carriage return.
      I plan to add some codes to check the end of each row for chr(10) since it is looping for every row anyway.
      If detected, process file normally otherwise stop processing.
    </cfloop>
    So this can't be done in CF?

Maybe you are looking for

  • Problem with again and again returned retired application to distribution process

    Hi, I have strange problem. In my SCCM enviroment, I have retired application (Flash Player). For time to time, this application is appear on some Distribution Points with status "In process". Application is not deployed.  Why it is still returning t

  • Installation stalls/stops at extracting....help??

    I have a mac osx  v10.6.8.....with 2 GB memory..... when I try to download CS5 I get an error saying "the following disk images cannot be opened: Iamge: Photoshop_12_1_LS1.exe    Reason:  illegal seek." only this is a free trial from the Adobe websit

  • Threatened by Verizon

    Incredulous. After an hour long call in which the customer service rep was unable to explain a discrepancy with the Friends and Family plan, a 'supervisor' by the name of Samantha took over the call. Samantha was immediately defensive and spoke over

  • Release of spare part directly

    Hello every one, In my project i m getting requirement related to spare part release for maintainance orders. The requirement whenever some spare part is required on some order used want that we shouldnt do any work in maintenance order. spare part s

  • Shifting of data from forms to word (arabic)

    In one of our ongoing project we need to pass some data from forms to word document , in some cases the Shifting of data takes Place mostprobably when we used / character . The Format of data in Arabic and English . example:- T C 3/5 get shifted into