Need to create a a line after each subtotal-Smartform

Hi I need to create a uline after each of the sub totals in my smartform.Like if theer are 7 items in the form and for each of the item there are 2-3 sub-items under it , I have calculated the sub totals for each of the item and to distingusih tjem separately i want to create a line after each of my sub totals for the items . How do i create the line after each of the items ?
Thanks
Aarav

Hi Aarav
Read this wiki.In the 8th step given there,GOTO the text element and give a ULINE there if needed.
I think since this example is of tabular display you might not need a ULINE there.
[https://wiki.sdn.sap.com/wiki/display/ABAP/SUBTOTALINSAP+SMARTFORMS]
This defnitly will solve your problem.
Regards
Hareesh

Similar Messages

  • Print a line after each constructor

    Would one of you java gods tell me how i can print a line after each constructor that tells me that the constructor has been constructed?
    * Employee.java
    * Created on April 28, 2007, 11:58 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    * @author Pete Berardi
    package edu.ctu.peteberardi.phase3db;
    import java.util.Scanner;
    public abstract class Employee extends Object
        protected String EmpName;
        protected String EmpAddress;
        protected String EmpSsn;
        protected String EmpEmployeeID;
        protected double EmpYearlySalary;
        protected double computePay;
        protected String Constructor;
        /** Creates a new instance of Employee */
        public Employee(String name, String address, String ssn,
                String id, double salary, double pay, String cvariable)
          name = EmpName;
          address = EmpAddress;
          ssn = EmpSsn;
          id = EmpEmployeeID;
          salary = EmpYearlySalary;
          pay = computePay;
        public void setEmpName(String name)
            EmpName = name;
        public String getEmpName()
            return EmpName;
        public void setEmpAdress(String address)
            EmpAddress = address;
        public String getEmpAddress()
            return EmpAddress;
        public void setEmpSsn(String ssn)
             EmpSsn = ssn; 
        public String getEmpSsn()
            return EmpSsn;
        public void setEmpID(String id)
            EmpEmployeeID = id;
        public String getEmployeeID()
            return EmpEmployeeID;
        public void setEmpYearlySalary(double salary)
            EmpYearlySalary = salary;
        public double getEmpYearlySalary()
            return EmpYearlySalary;
        public void setcomputePay(double pay)
            computePay = pay;
        public double computePay()
            return computePay;
          public void setContstructor(String cvariable)
             Constructor = cvariable;
        public String Constructor()
            return Constructor;
       public static void main( String args[])
          System.out.print("Constructor has been constructed");
     

    I do not know why you have declared the class as abstract. Abstract class must contain at least one abstract method.
    In your code, there is no abstract method.
    public Employee(String name, String address, String ssn,
                String id, double salary, double pay, String cvariable)
          name = EmpName;
          address = EmpAddress;
          ssn = EmpSsn;
          id = EmpEmployeeID;
          salary = EmpYearlySalary;
          pay = computePay;
          System.out.println("Constructor created");
         }The above code works only when you instantiate the object for the class. If it is abstract class, it will not work.
    Abstract class cannot be instantiated.

  • Inserting a new line after each tag of an xml

    Hi,
    I am having a requirement where i need to insert a newline after each tag<> of an xml. I am sending an xml to target system using JMS adapter and the target system has UNIX as OS.
    In unix system if we see the output xml, it will be in a single string as shown
    <?xml version="1.0" encoding="ISO-8859-1"?><messages><Field1\><Field2\>.........................</messages>
    But the desired output should be in the below format
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <messages>
    <Field1\>
    <Field2\>
    </messages>
    And there should not be any indentation for the xml. It should be in the above format it self.

    Hi,
    I believe this can be achieved through XSLT or JAVA Mapping.
    Please refer to the following link:
    XSLT Mapping:
    Inserting a new line after each tag of an xml
    JAVA Mapping:
    In Java Mapping ,all you have to do is to make a code that does a search and replace.
    Hope this helps,

  • Pages is sending my documents in docx format, but windows unable to open them. They arrive blank or can only be read as a single line at a time. When view prior to sending the document is divided with black lines after each sentence.

    Pages is sending my documents in docx format, but windows unable to open them. They arrive blank or can only be read as a single line at a time. When viewed prior to sending, the document is divided with black lines after each sentence.

    Windows will only be able to open these if you have Word 2007+. Older versions of Word, for example Word 2003 would require a compatibility pack.
    Perhaps you can try 'Saving As' a different file type instead?
    Regards,
    Steve

  • Add horizontal line after each record

    I have 10 records seperated by ID. I m using List in SSRS to show data on report. I need to add horizontal line after first record, then after second record till 10 th record. How do we add this line?
    Any help much appreciated.

    Hi SQL Insane,
    Per my understanding that you have add the tablix into the list and group on the "ID", now you want to add an horizontal line between each record which grouped by the ID like below, right?
    If so, please reference to the details information below:
    Select the entire rows and Right click to select the Insert row-Inside Group below to add an inside row group
    Select the new added inside row group and set properties as below to make sure there is only display the black solid line on the bottom just like to add an horizontal line:
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • Getting extra line after each record when opening a .txt file in excel

    Hi All,
    I have developed a program which downloads a file at application server.
    each record of file is 500 characters long & have CRLF at end.
    the file looks fine when opened in .txt format.
    however when i download it from application server to presentation server (using function "download to my computer"), & at presentation when i try to open it in excel format, it shows a blank line after every record.
    i don't want this blank line to appear if i download it & open it in excel.
    the file record is declared as char500 type.
    Please suggest how to deal with this.
    thanks in advance.
    Regards,
    Puja.

    Hi Puja,
    Check the file in the application server whether it has any gaps between the lines.
    Or else as you said if the file looks ok in .txt format, download the file in .txt and open the same file in excel (i.e. open with excel)
    Hope this sloves your problem.
    Regards,
    SB.

  • Do I need to power off my iPad after each use?

    I bought a new iPad. The problem is after each use I have to power off in Order to connect to internet. Is there something in settings I need to do in Order not to have to shut my iPAd off so often

    That shouldn't happen. I almost never turn my iPad off unless I do so for troubleshooting purposes. There is nothing in the settings that you should have to "fix" either as long as WiFi is always turned on.
    Try resetting your iPad and see if that helps.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Need to create a multi line form

    Hi All,
    I have to create a Multi line form for which I have used the following:
    1. Created an EO
    2. Created a VO based on EO.
    3. Created a Page that has two regions:
    a. Main Region
    b. Table Region
    This Table region is of style Table. But when I run the page it shows that No Data has found. Even its not a search page.
    Kindly suggest me that how can I make this page and this page should have 10 rows at a time available to insert.
    Thanks in Advance.
    Thanks,
    Sandy

    Hi Gaurav,
    I have done in the same way as suggested by you but not got success. I am not getting why it shows always 'No Search Conducted' even its not a search page. I have created this page for insert data.
    Following I have added in CO for processrequest:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OATableBean table =
    (OATableBean)webBean.findIndexedChildRecursive("SupTable");
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createSupEntry");
    String buttonLabel =
    pageContext.getMessage("AK", "FWK_TBX_T_ADD_ANOTHER_ITEM", null);
    OAAddTableRowBean addRow = (OAAddTableRowBean)table.getColumnFooter();
    addRow.setText("Add 10 Rows");
    I have added the following code in AM:
    public void createSupEntry()
    SuppVOImpl vo = getSuppVO1();
    System.out.println("AM Inside AM:: ");
    // We need to do this on a VO that has not been queried before we insert
    // our first row. We don't want to do it for subsequent inserts.
    if (!vo.isPreparedForExecution())
    // Complies with the view object initialization guidelines for a detail
    // view object in a master-detail relationship.
    vo.executeQuery();
    System.out.println("AM Not prepared for execution:: ");
    for(int j=0;j<10;j++)
    Row row = vo.createRow();
    System.out.println("AM Creating Row:: ");
    vo.insertRowAtRangeIndex(vo.getCurrentRowIndex()+1,row);
    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);
    } // end createSupEntry()
    Thanks,
    Sandy

  • 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

  • Line after  text in smartforms display

    Hi ,
    Issue 1:
    I want to display a line after a text.
    Ex: Name _______________________________________
    I am unable to display the line till the end of the page.
    When I save and activate, the line gets shortned itself as below.
         Name ___________________________
    Issue 2:
    I am unable to print the text that i want in bold inspite of using bold in character format.
    Any suggestions?

    i too faced the same previously i solved it as
    1).in your text element where you drag & drop your fields there itself for line what you ask
    write there itself upto it enters into next line when ever it enters into next line press back space so it takes the complete window width but dont click on the edit icon and write there.
    2). instead using charater format in your style create a paragraph format in bold format
    Both will works.
    Thanks,
    Phani.

  • FBL5N - quantity of lines in each subtotal.

    Hi friends
    can some one tell me , Is there an option in SAP to see the FBL5N balancess in subtoal customer wise with Quantity of lines in each sub total.
    Thanks in Advance
    P.Ravindrareddy.

    Ok so one more question.
    Actually my path is pointing to one Directory and like here I can just read from one file that the name of the file should be specified in the path is it possible to help me in that part?
    File f = new File("C:/User/Studies/Practices/src/Pract1/");
    FileReader fr = new FileReader(f);
          BufferedReader br = new BufferedReader(fr);
          String str = br.readLine();
              LineNumberReader ln = new LineNumberReader(br);
              int count = 0;
              while (ln.readLine()!=null)
                  count++;
              System.out.println("no. of lines in the file = " + count);

  • Inserting Blank Line after subtotal in ALV

    Hi,
    I am using REUSE_ALV_GRID_DISPLAY for my report output and I am displaying the following fields :
    Company Code Comp Name  Bank Name Amount Data
    I am sorting my output based on the company code and displaying the subtotal for each company code.
    My requirement is that I need to insert a Blank line after every subtotaled value in the report output. like after the subtotaled value of company code say XXX a blank line should be inserted and then I should start displaying data for company code YYY.
    Please let me know if this is possible and if yes how to do that.
    In case I am not clear with my question please let me know.
    Regards,
    Lalit Kabra

    Hi,
    Following is my code ::
      wa_sort-fieldname = 'BUKRS'.
      wa_sort-tabname = 'WT_OUTPUT'.
      wa_sort-spos = '1'.
      wa_sort-up = 'X'.
      wa_sort-subtot = 'X'.
      wa_sort-group = 'UL'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
      wa_sort-fieldname = 'WRBTR'.
      wa_sort-tabname = 'WT_OUTPUT'.
      wa_sort-spos = '4'.
      wa_sort-up = 'X'.
      wa_sort-group = 'UL'.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
    I have put the wa_sort-Group = 'UL' but could not get the desired results.
    What my need is that say for one company code there are five line items, and I need to sort the output by company code then after displaying the 5 line items, I need to display the subtotal of amount for that company code , then a blank line and then the data for the next company code should start.
    Please suggest how this can be achieved.
    regards,
    Lalit

  • How to create a stroked line that randomize each stroke color?

    Hi all, I am strating out designing in illustrator and I need help on how to created a stroked line, -----------, with each stroke (  -  )  a different colour, like, each stroke having a different randomized color which differs from the next one.
    Also, I need help on how to mask out parts of a template given to me by my school so i dont infringe that boundary when I add my lines to it. All helps appreciated, thank you.

    Ok thank you for your responses, Monika, I followed your instruction but it isnt working, is there any steps that I might have done wrongly? Here are some screenshots that depicts my problem:
    Here it is after I outline the stroke,
    And here it is when I apply the script:
    However, after I clicked okay, nothing changed and the strokes are still in their original color(yellow) as seen in the first picture. Did I do any steps wrong that result in this outcome? Also I've tried to put 99 instead of 99s and still, it didnt work.

  • Spooling a file adding spaces after each line

    Hi
    I am spooling a result of an sql in a csv file in linux os. But the file generates lot of blank lines after each row. How this can be eliminated while spooling
    Thanks in advance
    Sas

    Thanks a lot for your reply. Is there any way to supress the display of query result. I dont want to see the result. I want just the output file.
    Thanks
    Sas
    Edited by: SasDutta on Mar 24, 2010 4:20 PM

  • How to create a new line item automatically in CRMD_ORDER

    Hi,
    While creating a sales order in CRMD_ORDER, after user enters a line item say 'xxxx' and press 'Enter', we need to create a new line item say 'yyyy' dynamically.  Any ways of how to achieve this functionality?
    thanks in advance,
    amar.s

    Hi Amar
    You can use structured products:
    Step1:COMM_PR01
    Open Product xxxx > Relationships > Tab Component > Select Relationship type = STRSET Set > Assing product yyyy
    Step2: IMG > CRM > Transactions > Define Item Categories
    Open you item category and in Structure scope field select option A Single-Level Explosion of structured products
    Step3: IMG >  CRM > Transactions > Define Item Category Determination
    create new entry
    Transaction type =
    Item   category group = Category group of xxxx product
    main item cat = item cat of xxxx product
    item cat =  item cat of yyyy product
    now when you enter product xxxx , product yyyy will be automatically added
    Hope it helps
    Rupesh

Maybe you are looking for

  • I cannot print on my Canon MF-4350d after upgrading to Mountain Lion.

    I previously had Snow Leopard and printed on my Canon MF-4350d with no issues.  After Mountain Lion was installed, I get an error message "Failed to read module.  Re-install.: 20600"  I went to the Canon website and downloaded the most current driver

  • I have a lot of tracks that i cant locate

    recently moved my itunes to an external drive... but a lot of tracks are missing..  and not sure why as they are all parts of albums etc. cant locate and cant download help?

  • Which user actually makes the deployment from J2EE engine?

    What's up ? I keep getting this error when I try to deploy an ear file: Settings SDM host : vm2003server SDM port : 50018 URL to deploy : file:/C:/DOCUME1/JOS1/CONFIG~1/Temp/temp17955JSP_teste_EAR.ear Result => deployment aborted : file:/C:/DOCUME1/J

  • How to reinstall drivers for internal Microphone (Leopard)

    My Internal microphone stopped working about the same time I installed Wirecast and Screenflow. Any ideas how I can check that the core audio drivers are installed, or just reinstall them altogether? I am extremely technical, but not a UNIX guy, so a

  • STK 2540 critical error message

    While first configuring my storage array this critical error has flagged: "Channel path 2 is degraded, related drives Channel: 2 Related Drives: N/A" "Aggregated Events 1) 2008-04-28 11:40:22 [Critical, System, 70.66.1076] Channel path 2 is degraded,