Need to draw line after the 2nd line item(Smart Forms)

Dear Friends,
I need to draw horizontal line after the 2nd line item  and 3rd line item in smart forms.How can i achive this.
Plz help.
Edited by: farook shaik on May 19, 2009 8:19 AM

This is what you need to do:
1> In the tables->details section define two line types LT1 and LT2.
2> Come back to tables section pressing the table painter button.
3> Select a line type for which you want to have an underline(say LT2).
     a] If the anchor cursor does not come click the draw lines and columns button( the pencil icon nutton)
     b] select the line type ( it will become black after selection. Press and hold down ctrl to select
         multiple cells.
     c] after selection click the lower 'frame button' ( which is right at the top of box and shading).
4> Now goto data section where you have given your internal table name and work area.
     a] in the sort criteria put your field POSNR and check the Event on Sort end chk box.
     b] you will see an extra node under the main area of the table.
     c] Create a table line with the line type LT2 in the node.
     d]Also in the Main area add another table line with LT1 as the line type.
5> If POSNR remains unchnged LT1 will be triggered.
6> if Posnr changes then LT2 will be triggered with the underline.
This will suffice your requirement.

Similar Messages

  • How to indent the 2nd line of a long string?

    Hi all,
    I would like to achieve something like below where the 2nd line will be indented automatically. How to do format this in Oracle Report? The "<--indent-->" below is to illustrate the indentation, which I can't show in this posting as the formatting is not supported.
    Okuda, M., & Okuda, D. (1993). Star Trek chronology: The history of the
    <--indent--->future. New York: Pocket Books.
    Please advise.
    Thank you.

    Yes, chr(10) can make the string break to next line, but that cannot fulfill my requirement.
    What I need is a single long string that will automatically get indented for the 2nd line onwards when display in report.
    I can't use chr(10) because I won't know when to break to next line because it does not have fixed rule that after which part should I break it to next line. I'm referring to bibliographic citation that normally display as indented for the 2nd line.
    Hope you got what I mean.

  • Retaining the old schedule lines after the ATP check in the sales order....

    Hi Experts,
    I would like to retain the old schedule lines after the ATP/GATP check in the sales order for certain conditions.
    I don't want to change XVBEP,IVBEP,VBEP contents in the user-exit..
    Is there any standard sub-routine or function module to reatain old schedule lines in the sales order so that the schedule lines will not update with the new values after the ATP check ?
    Thanks
    Rayudu

    In Include LV03VFMM, you have:
    * Userexit availability
          PERFORM USEREXIT_AVAILABILITY_IN USING DA_ATPPR.
    There may be an option to implement some logic in here. However, I tried changing the value of MVERF_POS-EINTEIL[1]-VFPKZ to initial. This will ensure that when FM AVAILABILITY_CHECK_CONTROLLER is called that the following IF statement is untrue:
    CHECK NOT P_ATPCSX[] IS INITIAL.
    as P_ATPCSX[]                     Table[0x648].....
    However, this will just mean that the 2nd confirmed schedule line (assuming we have > 1 schedule lines) will have a confirmed quantity to zero.
    EXIT_SAPLATPC_001 could also be used. However, when I removed the "X" from CHKFLG, I get the same result; the 2nd schedule line will revert to zero.
    They were the only tests I tried; I cannot think of any other ways around this....

  • How to load the boot menu using the command line , after the configuration change ?

    how to load the boot menu using the command line , after the configuration change ?

    Hi @Bask-48 
    Welcome to the HP Forums!
    It is a terrific place to find answers.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp you are trying to change the boot order.  Here is a link to Configuring the Boot Order in the System BIOS
    that will assist you.
    Good Luck and Happy Holidays!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Hyperlink cut after the first line

    Hello,
    we use adobe acrobat pro with adobe pdf printer. when we print a word document with hyperlinks over several lines with the pdf printer and open it after printing then the hyperlink will show's in the pdf document but the hyperlink will cut after the first line...
    can anybody tell my how i can fix this problem?
    thank you
    regards
    christopher

    The links you see in Acrobat or Reader after you print to the Adobe PDF printer are just the best guesses of these packages when it sees something like a link. To get the links embedded you either have to do it in Acrobat directly or use the Convert button as Bernd mentioned.

  • How to read from file just the 2nd line onwards?

    hi guys can anyone help me?
    how to read from the file if the file was like this
    2 2
    2 1
    1 3
    and i want to get the 2 1 ,just the 2nd line and the 3rd line?
    i tried using the string tokenizer but it kept saying
    no such element
    i tried this code:
    StringTokenizer cols = new StringTokenizer(s," ");
         temp =  (String) (cols.nextElement());
         num_rows = Integer.parseInt(temp);
         temp = (String) (cols.nextElement());
         num_cols = Integer.parseInt(temp);
         matrix = new int [num_rows][num_cols];
         // to add all the values in the data file into an array                         
         while ( s!= null ) {
         StringTokenizer st1 = new StringTokenizer (s);
               while (st1.hasMoreTokens()){
                     for (i=0; i<num_rows; i++){
                          for (j=0; j<num_cols; j++)
                             matrix[i][j] = Integer.parseInt
                                ( st1.nextToken());
                } // whilecan anyone please help me?
    thanks

    This will read the file witout the first line:
    import java.io.*;
    import java.util.*;
    public class Read2
    public static void main (String[] args)
         try
              FileReader     file = new FileReader("f.txt");
              BufferedReader buff = new BufferedReader(file);
              String         line  = buff.readLine();
              while (line != null)
                   line = buff.readLine();
                   System.out.println(line);
              buff.close();
         catch(IOException e)
              System.out.println("IO Error");
    }       Noah

  • Only about 2/3 of the column show. Also, paragraphs on sidebars, such as the Youtube subtitle sentences are cut so after the first line I only see the top of the second line.

    Only about 2/3 of the column show. Also, paragraphs on sidebars, such as the Youtube subtitle sentences are cut so after the first line I only see the top of the second line.

    If you have increased the minimum font size then try the default setting "none" as a high value can cause issues like you described.
    * Firefox > Preferences > Content : Fonts & Colors > Advanced > Minimum Font Size (none)
    * Firefox > Preferences > Content : Fonts & Colors > Advanced > [X] "Allow pages to choose their own fonts, instead of my selections above"
    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    * http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Red line above the time line

    How do I get it so after initially importing my video the line above the time line will be green instead of red.  It stays red until after I render the whole clip.  I am importing my video clips from my camcorder.  How do you determine the correct project settings if that is the issue?
    Thanks

    freedog69
    How do I get it so after initially importing my video the line above  the
    time line will be green instead of red.
    Not possible as worded. If you have the correct project preset, there  will
    be no colored line over this Timeline content.
    If you do not have the correct project preset, there will be a red line 
    over this Timeline content.
    What version of Premiere Elements are you using and on what computer 
    operating system is it running? APE 8  Windows XP 3GB  of ram Pentium Dual core
    Proc 2.41 Ghz
    If you are talking "red" line, then you must be working with a version of 
    Premiere Elements earlier than 11. Assuming that....
    If your project preset matches the properties of your source media, then, 
    when you bring one of those files to the Timeline, you will get no colored
    line  over the Timeline. But, after that, after you edit that content, a red
    line will  appear. That is when you render the Timeline content to turn the
    line  green.Thereafter, that original content will never revert to the no
    colored line  status as you work through editing that project. It will just go
    through the red  green color indicator system.
    No colored line and green = the program telling you that you now have the 
    best possible preview of the Timeline content when viewing it in the Edit
    Mode  monitor playback. Red line = the program telling you that you do not
    have the  best possible preview of the Timeline content and, if you want that,
    then you  can press the Enter key of the computer main keyboard to make that
    happen.
    What are the properites of your source media... Canon HF  10 camera and
    Panasonic HV-720
    video and audio compression
    frame size
    frame size
    interlaced or progressive
    file extension
    pixel aspect ratio
    General Panasonic  HV-720
    ID                                : 1 (0x1)
    Complete  name                     : K:\Busters_Tap\New 
    Matches-CamB\f0069412.m2ts
    Format                            :  BDAV
    Format/Info                       : Blu-ray Video
    File  size                         : 2.00  GiB
    Duration                          : 58mn 59s
    Overall bit  rate                  : 4 854 Kbps
    Maximum Overall bit  rate         : 18.0 Mbps
    Video
    ID                                : 4113 (0x1011)
    Menu  ID                           : 1  (0x1)
    Format                            :  AVC
    Format/Info                       : Advanced Video Codec
    Format  profile                    : [email protected] (mailto:[email protected])
    Format  settings, CABAC           :  Yes
    Format settings, ReFrames        : 2  frames
    Format settings,  GOP             :  M=1, N=30
    Codec  ID                          :  27
    Duration                          : 58mn 59s
    Bit rate  mode                     : Variable
    Bit  rate                          : 4 267 Kbps
    Maximum bit  rate                  : 16.8  Mbps
    Width                             : 1 920  pixels
    Height                            : 1 080 pixels
    Display aspect  ratio             :  16:9
    Frame  rate                        : 29.970 fps
    Color  space                       : YUV
    Chroma  subsampling                : 4:2:0
    Bit  depth                         : 8 bits
    Scan  type                         : Interlaced
    Scan  order                        : Top Field  First
    Bits/(Pixel*Frame)                : 0.069
    Stream  size                       : 1.76 GiB (88%)
    Audio
    ID                                : 4352 (0x1100)
    Menu  ID                           : 1  (0x1)
    Format                            :  AC-3
    Format/Info                       : Audio Coding 3
    Mode  extension                    : CM (complete main)
    Codec  ID                          :  129
    Duration                          : 58mn 59s
    Bit rate  mode                     : Constant
    Bit  rate                          : 384  Kbps
    Channel(s)                        : 2 channels
    Channel  positions                 : Front: L R
    Sampling  rate                     : 48.0 KHz
    Bit  depth                         : 16 bits
    Compression  mode                  : Lossy
    Delay relative to  video          : -558ms
    Stream  size                       : 162 MiB (8%)
    Text
    ID                                : 4608 (0x1200)
    Menu  ID                           : 1  (0x1)
    Format                            : PGS
    Codec  ID                          :  144
    Duration                          : 58mn 58s
    Delay relative to  video          : 34ms
    General- Canon HF  10
    ID                                : 0 (0x0)
    Complete  name                     : K:\Busters_Tap\New Matches 
    CAM-A\00001.MTS
    Format                            :  BDAV
    Format/Info                       : Blu-ray Video
    File  size                         : 1.90  GiB
    Duration                          : 49mn 5s
    Overall bit  rate                  : 5 551 Kbps
    Maximum Overall bit  rate         : 13.7 Mbps
    Video
    ID                                : 4113 (0x1011)
    Menu  ID                           : 1  (0x1)
    Format                            :  AVC
    Format/Info                       : Advanced Video Codec
    Format  profile                    : [email protected] (mailto:[email protected])
    Format  settings, CABAC           :  Yes
    Format settings, ReFrames        : 2  frames
    Codec  ID                          :  27
    Duration                          : 49mn 5s
    Bit rate  mode                     : Variable
    Bit  rate                          : 5 066 Kbps
    Maximum bit  rate                  : 12.0  Mbps
    Width                             : 1 440  pixels
    Height                            : 1 080 pixels
    Display aspect  ratio             :  16:9
    Frame  rate                        : 29.970 fps
    Color  space                       : YUV
    Chroma  subsampling                : 4:2:0
    Bit  depth                         : 8 bits
    Scan  type                         : Interlaced
    Scan  order                        : Top Field  First
    Bits/(Pixel*Frame)                : 0.109
    Stream  size                       : 1.74 GiB (91%)
    Audio
    ID                                : 4352 (0x1100)
    Menu  ID                           : 1  (0x1)
    Format                            :  AC-3
    Format/Info                       : Audio Coding 3
    Mode  extension                    : CM (complete main)
    Codec  ID                          :  129
    Duration                          : 49mn 5s
    Bit rate  mode                     : Constant
    Bit  rate                          : 256  Kbps
    Channel(s)                        : 2 channels
    Channel  positions                 : Front: L R
    Sampling  rate                     : 48.0 KHz
    Bit  depth                         : 16 bits
    Compression  mode                  : Lossy
    Delay relative to  video          : -66ms
    Stream  size                       : 89.9 MiB (5%)
    What brand/model/settings camera provided you will the source media for the
    Premiere Elements 10 project.  Canon HF 10 and  Panasonic HV-720
    In a message dated 1/9/2014 5:00:15 P.M. Eastern Standard Time, 
    [email protected] writes:
    Re:  Red line above the time line
    created by A.T. Romano (http://forums.adobe.com/people/A.T.+Romano)  in 
    Premiere Elements - View the full  discussion
    (http://forums.adobe.com/message/5998225#5998225)

  • How do we write the sub routines in smart forms?

    1) How do we write the sub routines in smart forms?
    2) What is the’ form interface’ in smart forms?
    3) Write down the path for writing for select queries in smart forms?
    4) How do we put dynamic page break in smart forms?
    5) in which system field contain the total page number of all forms in the currently processed print request in smart forms?
    6) What is the name of function module used to calling smart forms?
    1)     What is the functionality of function module ‘controal_form’?
    2)     How do we print the system date in this format ’15th Jan 2008’ on scripts?
    3)     What r the various print modes available in scripts?
    4)     What is the tcode for text element?
    5)     How do we draw horizontal line in scripts?
    6)     How can we suppress the leading zeros for a field in scripts?
    7)     In which system field is used to print current no page in scripts?
    Which f.m is used to reads text in sap scripts

    1) How do we write the sub routines in smart forms?
    after opening form see global definitions
    click on that there one tab called form routines inthat you can write subroutines logic.
    You can call in program lines .
    2) What is the’ form interface’ in smart forms?
    It is an interface between program and form .
    like function module we provide import,export,tables,exceptions
    Based on import and export parameters form will display for us.
    3) Write down the path for writing for select queries in smart forms?
    On window give right click in that command->programlines
    you can write all select  statements.
    4) How do we put dynamic page break in smart forms?
    you can define break point using break-point<>. syntax.
    5) in which system field contain the total page number of all forms in the currently processed print request in smart forms?
    SFSY-PAGE
    SFSY-JOBPAGES
    6) What is the name of function module used to calling smart forms?
    SSF_FUNCTION_MODULE_NAME
    =================
    1) What is the functionality of function module ‘control_form’?
    This function module is used to insert SAPScript control commands like NEW-PAGE etc from whithin the ABAP program.
    CALL FUNCTION 'CONTROL_FORM'
    EXPORTING
      COMMAND    =
    EXCEPTIONS
      UNOPENED   = 1
      OTHERS        = 3
    IF SY-SUBRC NE 0.
    MESSAGE ...
    ENDIF.
    2) How do we print the system date in this format ’15th Jan 2008’ on scripts?
    Use SET DATE MASK to change format of date display.
    3) What r the various print modes available in scripts?
    4) What is the tcode for text element?
    se91
    5) How do we draw horizontal line in scripts?
    &ULINE&
    6) How can we suppress the leading zeros for a field in scripts?
    &it_vbak-vbeln(Z)&
    7) In which system field is used to print current no page in scripts?
    &SYST-PAGE& of &SYST-FORMPAGES&
    Which f.m is used to reads text in sap scripts
    READ_TEXT functiomodule.
    Reward points

  • Remove 1st & 2nd lines in 1st file, and 1st line in 2nd file. I want the headers to be the first line after the script runs!

    I have two files that look like this (Notepad++):
    In the first file, which has a date as a name and always ends in 'COV', I want to remove the 1st & 2nd lines.  All lines end in LF (LineFeed).  In the 2nd file, which has a date as a name and always ends in 'RSK', I want to remove the 1st line. 
    Basically I want only the headers.  I'm working with the code below.  I've tried several different iterations of
    reader.ReadLine().Skip(1);
    reader.ReadLine().Skip(2);
    reader.ReadLine().Skip(3);
    It never really gives me what I want, so I can't tell what's going on here.  I guess I'm missing something simple, but I don't know what.  Any ideas, anyone?
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.IO;
    using System.Diagnostics;
    namespace ConsoleApplication1
    class Program
    static void Main(string[] args)
    string sourceDirectory = @"C:\Users\rshuell\Desktop\Downloads\Files";
    try
    var txtFiles = Directory.EnumerateFiles(sourceDirectory);
    foreach (string currentFile in txtFiles)
    if (currentFile.Contains("COV"))
    var items1 = new LinkedList<string>();
    using (var reader = new StreamReader(currentFile))
    reader.ReadLine().Skip(2); // skip 2lines
    string line;
    while ((line = reader.ReadLine()) != null)
    items1.AddLast(line.Replace("\"", ""));
    File.WriteAllLines(currentFile, items1);
    else
    var items2 = new LinkedList<string>();
    using (var reader = new StreamReader(currentFile))
    reader.ReadLine().Skip(1); // skip one line
    string line;
    while ((line = reader.ReadLine()) != null)
    items2.AddLast(line.Replace("\"", ""));
    File.WriteAllLines(currentFile, items2);
    catch (Exception ex)
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    Call the ReadLine() twice if you want to skip the first two lines. Each call results in a single line being read:
    static void Main(string[] args)
    string sourceDirectory = @"C:\Users\rshuell\Desktop\Downloads\Files";
    try
    var txtFiles = Directory.EnumerateFiles(sourceDirectory);
    foreach (string currentFile in txtFiles)
    if (currentFile.Contains("COV"))
    var items1 = new LinkedList<string>();
    using (var reader = new StreamReader(currentFile))
    reader.ReadLine(); //read line 1
    reader.ReadLine(); //read line 2
    string line;
    while ((line = reader.ReadLine()) != null)
    items1.AddLast(line.Replace("\"", ""));
    File.WriteAllLines(currentFile, items1);
    else
    var items2 = new LinkedList<string>();
    using (var reader = new StreamReader(currentFile))
    reader.ReadLine(); // skip one line
    string line;
    while ((line = reader.ReadLine()) != null)
    items2.AddLast(line.Replace("\"", ""));
    File.WriteAllLines(currentFile, items2);
    catch (Exception ex)
    Calling the Skip method on the already read string returned by the ReadLine() method won't help you at all here. By the time you call the Skip method the line has already been read from the file. You must call the ReadLine() method for a new line being read.
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

  • How do you get rid of the blank row/line after the header?

    My report needs to use the "Different first Page" and "Odd and even page" layout options. However, after the header is printed, it also print out a blank line and then print out the data table. How can I get rid of the blank line. Also, after the table is printed. A blank line is printed and then it the footer gets print. How can I get rid of the blank line as well? Thanks for your help!

    No idea what you're talking about. i don't see anything like that.

  • I need to put a line like the blue line in the file below. somebody tell me how to do that please.

    it is the blue line from the header to the footer which separates the two dividers on the sides

    You asked this same question before and I replied to your previous post.  No need to double post.
    Use a repeating background image.
    http://forums.adobe.com/message/2480426#2480426
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Creating the Order Line after the Invoice interface

    We have license items which has created as miscellaneous item which sends the fullfilment as soon as we book the order and creates an invoice, but we want to stop this line to be invoice prior to the other line gets into the ship confirmation. We are trying to create a custom node to create the license item after the invoice interface using workflow, but it looks tedious. Is there any other thoughts?
    Thanks,
    Srini C

    Hello,
    When you confirm shipping sales order goes to interface. You have to run auto-invoice to create invoice in AR. You have to create custom form base on this interface and auto-invoice. This form should give ability to select lines and run auto invoice for those lines . I do not know that is ok from your process point of view.
    Regards,
    Luko

  • How can I get the size of all lines or the last line number in a DB?

    I want to display a certain number of lines from a DB.
    But before I fetch them out, I must know how many lines of this DB has.
    I donnot know if there is some methods have this function. I know the last() method can move the cursor to the last line, but some DB cannot support this function.
    Could someone know the answer or some examples about displaying data in a jsp?
    Thanks a lot.

    To get the number of rows in a ResultSet, loop over the result set with while(res.next()). Read each row into an object. Add each object into a, say, LinkedList. At the end, you will have the rows nicely converted to objects (which you probably should do anyway), and list.size() will give the number of objects.
    There are other ways to get the number of objects, but list.size() is the easy and reliable way. If you don't need the rows converted to objects ...why did you select them in the first place?
    Tricks with last() and whatnot sort of work. They read the entire result set into memory. But you'll need to write the while(res.next()) loop anyway. No point in having the computer do the same thing twice.

  • How to edit s.o. line after booking in Line Flow - Generic, Bill Only workflow?

    Hi!
    We are using Line Flow - Generic, Bill Only line workflow. Is it possible to edit s.o. lines after it has been booked? Is there any workaround for this?
    Thanks.

    Actually my question also applies to the other workflow, Line Flow - Generic-Bill Only with Inventory Interface... I am asking this for the possibility of manipulating the s.o. line's data like quantity or applying discount/surcharge to a already booked s.o. to be able to avoid creating rma for over-quantitied line, etc.
    I am looking at creating a custom line workflow and somehow altering Close - Line subprocess that it is only performed once a certain condition is met. I believe that subprocess is the one that is closing the line. If that is kept not closed, maybe we can find a workaround for this requirement...
    Thanks.

Maybe you are looking for

  • MAX settings do not stick

    Hi - I'm trying to use FTDI drivers to simulate a COM port from an USB connection. Most WinXP SP2 or 3 machines have no problem, but I have one machine where having run MAX to ensure correct port operation, on quit and relaunch MAX shows a port confl

  • Lightroom 4 contact sheet print crashes with over 12 images - Please help.

    Lightroom 4 consistently crashes every time I attempt to print a contact sheet containing over 12 images. Any less and the task is completed without error, any more and it inevitably crashes. Any thoughts? My workaround has been to export the images

  • /JOB/ DC - Java , J2EE **  Weblogic**, Sybase/oracle, Swing, Solaris/Unix, NT.

    All, Let me know if you're interested, I'll supply contact details ============================================= A major financial services company in the D.C. area that is looking for Java developers with 5 + years experience in web dev/ internet te

  • Program Favor

    Will someone do me a huge favor and build a .exe for me using their app builder? I have the student edition and it let me build applications for a while, but the license expired and I was one version shy of the finished product! I'll attach the .vi a

  • Availabilty check against product allocation

    Hi guys, We are planing to implement availabilty check against product allocation for reserving stock for a particular customer then are able to select which sales orders to allocate that stock to at later date.Any suggestions or ideas on how to do t