TEXT LINE IS CUTTING IN REPORT

Hi Gurus
In my report the Internal note and Header note is very length description and it is cutting in the text so how can i make it to another line
I can see if i make the linesize 132. please comments.

Hi
No , I am not using ALV Grid here is the code
*form header.
FORMAT RESET.
WRITE:/50(230) ' S A L E S - O R D E R - C H A N G E S' color 3,100 'Page', SY-PAGNO.
WRITE:/100 SY-DATUM COLOR 3, SY-UZEIT COLOR 3.
ULINE.
"CENTERED.
skip.
"FORMAT COLOR COL_HEADING.
ULINE.
WRITE:/1 sy-vline,2(12) 'SALES DOC'(006)  color 7,
       12 sy-vline,13(10)'CREATED ON'(007) color 7,
       24 sy-vline,25(10) 'SERV.REND'(008) color 7,
       35 sy-vline,36(10) 'DATE'(009) color 7,
       46 sy-vline,48(10) 'NET VALUE' LEFT-JUSTIFIED color 7,
       58 sy-vline,59(7) 'SOFFICE'(012) color 7,
       67 sy-vline,68(5) 'PARTY'(013) color 7,
       75 sy-vline,76(5) 'NAME'(014),
       105 sy-vline,106(5) 'USER'(015) color 7,
       112 sy-vline,113(10) 'REFERENCE'(016) color 7 ,
96 sy-vline,97(15)  PA_IT_MERGED-HDRNOTE, "'INT NOTE'(016),
112 sy-vline,113(20) PA_IT_MERGED-HDRNOTE, "'HEADER NOTE'(017),
125 sy-vline.
Uline.
    LOOP AT PA_IT_MERGED.
   ON CHANGE OF PA_IT_MERGED-VBELN.
      AT new vbeln.
      FORMAT INTENSIFIED ON.
        WRITE:/1 sy-vline intensified ON.
      endat.
      write:1 sy-vline,
      PA_IT_MERGED-VBELN UNDER 'SALES DOC' COLOR 2, " SALES DOCUMENT
      PA_IT_MERGED-ERDAT UNDER 'CREATED ON', "CREATED ON
      PA_IT_MERGED-FBUDA UNDER 'SERV.REND',  "SERV.REND
      PA_IT_MERGED-UDATE UNDER 'DATE',
      PA_IT_MERGED-NETWR UNDER 'NET VALUE' LEFT-JUSTIFIED , "NET VALUE
      PA_IT_MERGED-VKBUR UNDER 'SOFFICE',  "SALES OFFICE
      PA_IT_MERGED-KUNNR UNDER 'PARTY',"SOLD TO PARTY
      PA_IT_MERGED-NAME1 UNDER 'NAME',
      PA_IT_MERGED-USERNAME UNDER 'USER'," USER
      PA_IT_MERGED-XBLNR UNDER 'REFERENCE'. "REFERENCE
  ULINE.
  WRITE:/1(20) ' INTERNAL NOTE ' COLOR 4 .
  WRITE:/1(20) ' -
  WRITE:/1    PA_IT_MERGED-INTNOTE. "under 'INTERNAL NOTE' color 4,
  WRITE:/1(20) ' HEADER NOTE' COLOR 6.
  WRITE:/1(20) ' -
  WRITE:/1    PA_IT_MERGED-HDRNOTE.  "under 'HEADER NOTE' color 4.
  skip.
  ULINE.
ENDON.
    ENDLOOP.
  endloop.
endloop.
endform.                    " merge_data

Similar Messages

  • Report Text line width

    Is there a way to set the text line width on a report to 80 characters and then have it wrap to the next line. I'm getting very long cells that I have to scroll over with the arrow key to see the text past my screen size.

    Any one know the HTML command to set text line size?

  • Sales Order Text Lines in SAP Query

    I have a requirement to output several text lines into a SAP query based around sales orders.
    I have included some code to read the details into my query and get no syntax errors, however the report gives a blank output for each of the text fields included, despite there definitely being some text with the specified attribute ID and text object in the table STXL.
    Where am I going wrong?
    Please find the coding below for one of the text field I'm trying to extract:
    TABLES:STXL.
    DATA:
        VBELN LIKE VBAP-VBELN,
        POSNR LIKE VBAP-POSNR,
        TDNAME LIKE STXL-TDNAME,
        MYLINE LIKE TLINE-TDLINE,
        ZE18_LINE(1200) TYPE C.
    DATA:BEGIN OF LINES OCCURS 0.
            INCLUDE STRUCTURE TLINE.
    DATA:END OF LINES.
    DATA:BEGIN OF MYHEADER.
            INCLUDE STRUCTURE THEAD.
    DATA:END OF MYHEADER.
    CLEAR TDNAME.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      INPUT = VBAP-VBELN
    IMPORTING
      OUTPUT = VBELN.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
      INPUT = VBAP-POSNR
    IMPORTING
      OUTPUT = POSNR.
      CONCATENATE VBELN POSNR INTO TDNAME.
    CALL FUNCTION 'READ_TEXT'
        EXPORTING
            ID = 'ZAT2'
            LANGUAGE = SY-LANGU
            NAME = TDNAME
            OBJECT = 'VBBP'
         IMPORTING
            HEADER = MYHEADER
         TABLES
            LINES  = LINES
    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 LINES.
        MOVE LINES-TDLINE TO TEXT.
        ENDLOOP.
    ENDIF.

    Hi -
    Please check in debuging.
    check the value of TDNAME correctly populated with sales order no and sales order item.
    You can cross check with the table STXH with TDNAME and see if any entries is available for TDID 'ZAT2' as your case.
    Here are sample code.
    DATA :    lv_tdname TYPE tdobname,
                     lw_line TYPE tline,
                    li_line TYPE STANDARD TABLE OF tline.
    CLEAR : lv_tdname , li_line[],
    cocatenate w_vbak-vbeln w_vbap-posnr into lv_tdname.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        id                      = 'ZAT2'
        language                = 'E'
        name                    = lv_tdname
        object                  = 'VBBP'
      TABLES
        lines                   = li_line
      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.
      CLEAR lw_line.
      loop at li_line INTO lw_line .
    * Put your logic
      endloop.
    ENDIF.

  • Help needed in formating the text using HTML tags in reports 10g

    Hi all,
    I have a situation here. We have an application which prints out Reports with a few lines of text in it. This text is entered by the user through our forms application in a field. That particular text is stored in each row of a particular long column. Here I want to modify the text, while printing, on the report like underline, bold, italics etc,.
    As of now I am using the HTML tags, in the forms, to do so as most the times the text in the report is same.
    I want to know if this can be done by the user itself while he is entering the data in the field through the form.
    Thanks in advance . I will explain you more clearly if you need.

    Hi,
    The code did work. But I am not sucessfully able to display the values entered in 2nd page in the 3rd page.Please find the code below:
    <html>
    <head>
    <script language="LiveScript">
    function WinOpen() {
    if (document.form1.cap.value == "")
    alert("Enter value in text box");
    return;
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no, scrollbars=yes");
    msg.document.write("<HTML><HEAD><TITLE>Yo!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>This is really cool!</B></h1></CENTER>");
    msg.document.write('<BODY><form name="form2">');
    for(var i =0; i < document.form1.cap.value; i++)
    msg.document.write("<INPUT type=text name=tbAlphaNumeric>");
    msg.document.write("<br>");
    msg.document.write('<input type="button" name="Button2" value="Steal" onClick="javascript:window.opener.WinShow();">');
    msg.document.write('</form></BODY></HTML>');
    function WinShow() {
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no, scrollbars=yes");
    msg.document.write("<HTML><HEAD><TITLE>Great!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>Display of second page text elements!</B></h1></CENTER>");
    msg.document.write('<BODY><form name="form3">');
    for(var j =0; j < document.form1.cap.value; j++)
    msg.document.write(document.form2.tbAlphaNumeric[j].value);
    msg.document.write("<br>");
    msg.document.write('</form></BODY></HTML>');
    </script>
    </head>
    <body>
    <form name="form1">
    <INPUT type= "text" name=cap>
    <input type="button" name="Button1" value="Push me" onClick="WinOpen()">
    </form>
    </body>
    </html>

  • My group box is causing problems when searching for a text line in a text file.

    I am developing a booking system, so for this I need to ensure that no two clients can book the same appointment slot. So, on testing my code which prevents double booking, the system doesn't seem to find the text line being searched for in the text file
    when it (purposefully) should.
    I have tried isolating the problem using breakpoints, and I've found that when the 'SearchLine' (referring to my code below) does not include the 'TimeComboBox.text' piece and instead this value is written into the code, the system is able to find the SearchLine
    without any problems. But, when assigning the group box's value to a variable and using this in the SearchLine instead, or without even using a loop and just doing a simple line by line search, the program can't find this line of text in the file.
    I'm lost for ideas. I have tried everything I can think of. Could anyone make any suggestions as for what is the problem with my group box? (I'll explain the code beneath it).
    'Setting the value of the SearchLine (which is a String)
    SearchLine = String.Concat(DateTimePicker1.Value.Date & " " & TimeComboBox.text)
    Dim FoundApp As Boolean
    Dim objReader As New System.IO.StreamReader(basicfilepath & "Text Files\Client Booked Appointment DatesTimes.txt")
    FoundApp = False
    'Reading the file's contents and checking for the SearchLine
    Do While (objReader.Peek() <> -1) or (FoundApp = True)
    If (TextLine = SearchLine) Then
    'Line contains SearchLine. Appointment already exists.
    FoundApp = True
    Else
    'Line doesn't contain SearchLine. Carry on searching.
    Msgbox("Line not found.")
    End if
    Loop
    Explanation
    When the line is searched for, the 'FoundApp' value must be set to 'True' when it is found. If it is not found, it remains false.
    To isolate the problem, I've displayed the SearchLine in a message box in the past to make sure that the correct line of text is being searched for.
    In basic terms, my program is searching for the exact line of text which exists in the text file, but for some reason it is not coming up as 'Found'. The error occurs when the group box's value is used. The text file which is being read is
    definitely correct. Please help, any suggestions would be appreciated.
    Thank you

    Hi
    It would appear that your snippet doesn't actually read the file at all.
    Here is my test which works fine.
    Option Strict On
    Option Infer Off
    Option Explicit On
    Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
    Dim SearchLine As String = "18:09:38 : XTaskSettings.Load PARAMS: begin"
    Dim FoundApp As Boolean = False
    Dim TextLine As String = Nothing
    Dim objReader As New IO.StreamReader(Application.StartupPath & "\Data\Report Q1.txt")
    FoundApp = False
    Do While (objReader.Peek() <> -1) Or (FoundApp = True)
    ' this was missing
    TextLine = objReader.ReadLine
    If (TextLine = SearchLine) Then
    'Line contains SearchLine. Appointment already exists.
    FoundApp = True
    MsgBox("Line found.")
    Else
    'Line doesn't contain SearchLine. Carry on searching.
    MsgBox("Line not found.")
    End If
    Loop
    End Sub
    End Class
    Regards Les, Livingston, Scotland

  • Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?

    Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?
    I use the Tools > Annotate > Add Text feature, and when I click away after adding text, it automatically changes the text box size such that the last letter -- or last word -- gets bumped off into an invisible line below it, forcing me to manually adjust every single text box. It is highly annoying when trying to complete PDF forms (e.g. job applications).
    It appears to be a glitch, quite honestly, an error resulting from Apple's product design. Has it been fixed in the new operating system (for which they want $30)?
    I would very much appreciate any help you can provide! Thank you for your time.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • How do I center text in Final cut Pro?

    Hi, does anyone know how to directly center text with more than one line of text in Final Cut Pro?
    If I have more than one line it doesn't seem to center properly. I've tried wireframe (which is inaccurate), center values (which doesn't work) and Boris 3D (which does the job but the space between letters isn't accurate so I need to try an alternative method).
    Any ideas?

    In Title 3D you use the Position X/Y button to adjust the height. The spacing between the letters in Title 3D can be adjusted both in tracking and in kerning by placing the cursor between a letter pair. Title 3D is perhaps one of the most accurate and precise text positioning titlers available in any software.

  • CS5 Text still gets cut off when using filters

    In Flash CS4, I encountered a strange bug where text would get cut off if there were any filters applied to the text box. I was so excited for CS5, because I had heard that bug was fixed. Now I see that it is not.
    I'm using Classic Text in an Actionscript 2.0 file. Here's a screenshot to demonstrate what I mean. The top line is text with no filters applied. The middle line is text inside a movie clip, with filters applied to the movie clip. The bottom line is text with a drop shadow filter applied directly to the text box. Why does it cut off the end of the text???
    Has anyone else experienced this?

    Hi,
    You can set the Cangrow property of the textbox to true which allows to grow your textbox and is default for any text box unless you have changed it.
    Please mark this post as Answered if this post helps to solve your query.

  • Add/Remove Text Lines FCPX

    In FCPX, with the title design called "Winner's Circle" it is set at default to have 5 text lines. I only need 2 text lines for this title. The amount of text lines determines how many times "winner's circle" repeats the animation. It is repeating it's animation 3 times where there is no text content needed. How do I add or Remove a text line? Is this feature possible?
    I've attempted cutting and shortening the clip where I want it to stop animating; it'll persist for another 3 times no matter what the duration is. 
    Option F will not allow me to make a freeze frame of the motion title graphic called "Winner's Circle". Is there another way to make a freeze frame other than taking a screen shot? With this option, I would be able to add another video layer with the freeze frame of "winner's circle" above this same clip while the animation would repeat 3 more times unnecessarily--in order to disguise it...  
    I've attempted to troubleshoot with keyframes... I need "winner's circle" to cross dissolve with another clip, not gradually fade to black.  
    Thanks!  

    I'm the one that's sorry! You are a brave soul. Most come here too timid to try most things out - you're already slogging around in the guts of a fairly sophisticated template (difficulty points due to 3D orientation and behavior animation of material.) I guestimated your abilities based on such.
    My modified suggestions:
    1) you will not need to clone anything [save cloning for another day ]
    2) Find the Text Layers Group
    3) Delete the 2nd through 5th "INFORMATION" text layers (in order of appearance - top to bottom)
    4) Delete the 2nd through 5th Ramp behaviors (at the top of the "folder" -- in order of appearance... etc.)
    You should be left with one "INFORMATION" and when played, the wheel should spin and stop with the text in the correct location. 
    Select the Text "Information" layer and under the canvas in the timeline, click and drag the right edge out all the way to the right. This will keep the text "on" the rest of the length of the template.
    Play again and make sure the "Information" stays on screen for the entire length of the template.
    Click on the time clock icon under the canvas so that the clock hands read quarter past 12 then double click on the time and type "5." (number 5 plus a period) + enter (set the length of the template to 5 seconds.)
    With the Information text layer still selected, Command - D (duplicate the layer - you should now have an INFORMATION copy layer.) [both of these text layers will be independently editable in FCPX (that includes Fonts and size, etc...)
    For the duplicate layer:
    In the inspector > Properties, try these coordinates to start:
    X: 486
    Y: -1195
    Z: 23
    Rotation:
    X: 0
    Y: 0
    Z: 78
    Scale:
    X: 95
    Y: 170
    Z: 85
    Shear:
    X: -24
    Y: -9
    [You can play with any of these settings to get the "look" you prefer -- I was just trying to "match" the design somewhat -- and it's a bit of a guess...]
    Go to the Text > Format inspector. At the bottom of the column to the right of the word "Text" - when you pass the mouse over the region, a disclosure triangle will appear -- click it and select Publish from the dropdown.
    To publish colorizing elements:
    Select the Gradient > Gradient layer  (bottom of the list -- if it looks like two blue squares, open up that group and select the "generator" icon (ultra miniature monitor looking thing with a test pattern).  In the Generator inspector > Gradient, right click on the word Gradient (just over the color bar) and select publish from the dropdown.
    Right OVER the gradient folder, the bottom item of the Text Layers folder, select "Rectangle" (just under Replicator.)  In the Inspector: Shape > Style > Fill section, click on the word gradient just over the color bar (again) and select publish.
    One more thing:
    Drag the playhead to the 2 second mark under the canvas. Click anywhere in the layer's list that's NOT on any item (that is - deselect any and all items in that list.)  Type the tilde key (or accent grave key, however you look at it) -- that will add a marker. Immediately type Command-Option M , which calls up the Edit Marker dialog. In the Type section, select Build In Mandatory... then OK.
    Save the project.
    You now have a 1 Score (Winner/Loser/Tie) winner's circle template. Use a new instance for each score in the storyline.  You can trim the template or drag it out in time in FCPX -- the animation at the beginning will always play with exactly the same speed.
    PS - an oddity is occuring with my copy: the lower Information text is ending up under the upper text (like a drop shadow) and repositioning in Motion makes no difference -- if that happens to yours, just double click on the "under" text and "slide it out" to where it belongs (in FCPX).
    Anyway, it should look a little like this (at around the 2 second mark):
    For completeness: if you need "subtitle" lines, these can be accomplished in FCPX. Type a return at the end of the title and continue with a second line. Select only the second line in the text box (text tab of the inspector) and resize the font (restyle it any way you like actually...) You shouldn't need to add extra lines to what you already have (in the Motion template). Also, if you need to get rid of one or the other -- select the text of it, and type in a space character (why a space? So you have something to double click on in the canvas if you need to find it again.)
    HTH

  • When Using [OLE DB] driver some arabic text appear with cutting last character

    hi
    i have a problem in crystal report when bilding report using using [OLE DB] driver some arabic text appear with cutting the last one or tow characters
    note: i'm using VBasic 6.0 , RDC and crystal report viewer

    I thought I'd post an update to this since I've narrowed down the problem.
    It turns out this is NOT a bug in Apple's Java implementation, but in the AAT rendering engine. In any application, if a user changes the style of part of an Arabic string, it breaks the font connection. I have been informed though that this has already been fixed, and should be functional when Leopard is released. ALL applications that use AAT suffer from this problem, not just Java.

  • Text lines in the BW query variables screen

    Hi gurus.
    The bw users ask me to display some text lines in the BW query variables prompt.
    The text lines are saved in a custom table.
    The only idea that I've got is to use customer exit text variables and fill them in CMOD when I_step = 1.
    I don't like this solution (I should have more the 10 text lines and so I have to mantain more than 10 Text variables) but I can't find any other solution.
    Any new idea or solution?
    Is there in Bex enviroment a functionality (that I don't know) for doing somenthing like this ?
    Thanks fo any help.
    S.

    Hi,
    to resolve it you should create all the prompts in the BW query. You are using a query with 2 parameters and then a dynamic list of values. the dynamic list of values can only work after you entered the other values.
    Ingo

  • Text is not displying in report.

    Hi Experts,
    we have taken standard Material infoobject(0MATERIAL)for the report.But it is not showing the Text in the output.it showing only key values of the material.
    How can i show both Key and Text in the report output.
    I set the  disply option as  Text and Key in the report.Then also i am not getting the text. 
    Can any one help me on this?
    Regards,
    satish

    Hi,
    Have you checked the master data text has been maintained?
    goto tcode RSDMD to check the text.
    If no text has been maintained, no matter how you select the "display as" it will only show the code.
    hope it can help.
    regards,
    K

  • How to put text line just for a moment ?

    Hi,
    Do you know how to put a text line  just  for one photo? I mean I have more photos  in one portfolio but i need the text line to be seen just for one photo for the others no.
    Thank you in advance.

    You can use composition for this , where you can insert text frame for that specific photo where you want to add some description and for rest dont use text frame.
    Thanks,
    Sanjit

  • How to create a subtotal or text line in a service sales order ?

    Hi ,
    is there a way to add text line in sales order for service ? when we switch from item sales order to service sales order , the "type" column disappear , and we can not create line other than service line . we use B12007A SP01 PL07
    i've not seen this limitation in the B1 help . is it a setup problem ? or is it impossible to add those lines to service sales order ?
    thanks for help
    regards

    Hi,
    This is not setup problem this is limitation you cannot add line as text or subtotal using type option in service order like item type order. If you want to add text for your service line you can do this through linewise  udf.
    Thanks
    Sachin

  • How to set the Background Color of a Text Field in a Tabular Report.

    Hello,
    I tried to set the Background Color of a Text Field in a Tabular Report.
    But I was not able to change this colur.
    In the report attributes --> column attributes
    I tried already:
    1. Column Formating -- >CSS Style (bgcolor: red)
    2. Tabular Form Element --> Element Attributes (bgcolor: red)
    but nothing worked.
    Can anybody help me?
    I Use Oracle Apex 2.2.1 on 10gR2
    thank you in advance.
    Oliver

    in "Report Attributes" select the column to move to the "Column Attributes" page. In the "Element Attributes" field under the "Tabular Form Element" region enter
    style="background-color:red;"
    I will also check if there is a way to do this via the template and post here again
    edit:
    in your template definition, above the template, enter the following:
    < STYLE TYPE="text/css" >
    .class INPUT {background-color:red;}
    < /STYLE >
    (remove the spaces after the < and before the >)
    change "class" to the class that the template is calling
    (I'm using theme 9, the table has: class="t9GCCReportsStyle1" so I would enter t9GCCReportsStyle1)
    A side-effect of using this second version is that ALL input types will have a red background color--checkboxes, input boxes, etc.
    Message was edited by:
    TheJosh

Maybe you are looking for

  • Date enable and disable in tabular form

    Hi All, i have date column in tabular form. when date column contain null value then it is enable to insert date. if it is not null then disable to insert date. how to achieve it. Please give me suggestion. Thanks, Prashant

  • Short dump in custom report in production

    Hi Experts,   I have a custom report which is run through SM37 as a background job. it takes long time to run and then get canceled with       short dump in production but it runs fine in development. description of short dump. Runtime Errors        

  • First tab loading the same page as new tab

    i've been a heavy tab user since safari came out and now i have encountered something very annoying. i don't want to call it a bug for safari because so far it only happens on one particular site (a messageboard). http://mpc-forums.com/ when i'm in t

  • Reconnecting missing files?

    I have a new computer with Windows7 and PSE9.  Because of the difficulty I had on my old PC with trying to reconnect missing files, I decided to start afresh on my new PC.  So, I put all my images from Windows Explorer onto an External Hard Disk and

  • Does a photo Shared Stream I set up reside only in my iCloud?

    Or if someone accepts my share offer, does a copy of the stream appear and remain in her iCloud? Generally speaking, where do Shared Streams live?