XMLP-PROBLEM IN DISPLAYING TOTALS WHEN LINES HAVE MULTILINE DESCRIPTION.

The Report Totals on documents does not appear at the bottom of the page when we have lines that have multi-line description.
Actually we had restricted the length of each XML page to display 40 lines only. In case if we are not having details of 40 lines then we are filling the remaining space with the empty lines using "FILLER CHECK" concept. The report is working fine if the invoice description is of only a single line.But when the invoice description is of multiple lines(having new line characters or exceedes the maxmimul length) then the invoice's total information is going to the next page.
Can any one of you resolve this issue.
Thanks in Advance.
Vishnu.

Hi Tim,
Thanks for your quick response.
Here we cant truncate the invoice description, we have to get the whole in that column itself even it may be single or multiple line description. If we are not going to restrict the length of XML page to 40 lines, we are getting the output correctly. Only the problem arises when we are going to restrict the number of lines per page, i,e if you have fixed that length to 10 lines also we are getting the totals in the next page.
Vishnu.

Similar Messages

  • Problem in displaying total text in total line

    Hi...I am facing problem in displaying total text in first column of total line. Width of first column is sufficient to display text "TOTAL". But somehow its not getting displayed....Please Help...?
    code is as follows:
    ls_layout TYPE  slis_layout_alv .
    ls_layout-totals_text       = 'TOTAL'.
      ls_layout-colwidth_optimize = 'X'.
      ls_layout-no_vline          = 'X'.
      ls_layout-no_hline          = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program     = gv_repid            " Report ID
          i_callback_top_of_page = 'TOP_OF_PAGE'
          is_layout              = ls_layout
          it_fieldcat            = gt_fieldcat         " Field Catlog
        TABLES
          t_outtab               = gt_cost_output      " Output Table

    hi me to i have the same problem
       FORM create_layout .
      data: text(20) TYPE c.
      it_layout-window_titlebar   = text.
      it_layout-colwidth_optimize = 'X'.
      it_layout-totals_text       = text-013."'Totals'(013).
      it_layout-cell_merge        = 'X'.
      it_layout-zebra             = 'X'.
    ENDFORM.         
    but no output total in alv
    also i had another broplem i had unit i wanna show it in total line and calc value in header

  • Problem in displaying total no of pages in Smartform

    Hello experts,
    I have a problem while displaying total no of pages in Smartform.
    When no of pages are more than 10 then in total no of pages , a * is shown till current page is 9, then after it is displaying correct no of pages.
    I am using &sfsy-formpages& to get total no of pages.
    Ex: Like if I have 12 pages to print then i am getting 1/, 2/, 3/* .......... 9/* then 10/12 , 11/12, 12/12.
    Do i have to write some code for that ?? Please give your inputs to get the total no of pages.
    Thanks !

    Hi,
    Try this.
    Page &SFSY-PAGE& of &SFSY-FORMPAGES(4ZC)&
    Thanks,
    Anitha A

  • Problem in displaying total quantity

    For VA02 Transaction:
    When order contains 1 line item it is displaying fine. If order contains more line items total quantity of line items is not displaying, previously itu2019s working fine. I written perform at Item_line element to display line items and I written perform at Item_sum element to display the total quantity. (in debugging for one item 2 elements are triggering ,  when more line items item_sum element is not triggering).
    Please can u help me to display total quantity. And why item_sum element is not triggering.
    Thanks & Regards,
    Raj

    Hi,
    you meant, its not displaying the correct value or it is not at all printing any value in total when u have multiple line items.
    could you paste the code for this part...
    Rgds,
    Pavan

  • Problem in displaying totals based on the Unit of measurement.

    Hi,
    I have Problem in displaying totals based on the Unit of measurement.
    I want to display the total in the output of the alv based on the unit of measurement. for example i have three fields in the output namely
    Matnr           Quantity      UOM
    51                10              EA
    61                10              KG
    71                10              KG
    In the total i should get
                    10         EA
                    20         KG
    Can anyone tell me how to do this?
    The basic req is the exclude the qty with unit EA(each) in the totals.
    Thanks,
    Amit

    H i,
    you can use the collect statement
    to get the proper result
    loop at itab.  ( all the records)
    move all the fields from itab to another
    collect itab1.
    write: itab1-fields, itab1-fields.
    endloop.
    this will solve your problem
    reward points if helpful,
    thanks & regards,
    venkatesh

  • Graphic card problem maybe? Since when I have changed the hard drive to my macbook pro and I installed all the new softwares, my mac is very slow and the screen gives crazy pictures,could maybe be the graphic card, does anybody have experienced this?

    Graphic card problem maybe? Since when I have changed the hard drive to my macbook pro and I installed all the new softwares, my mac is very slow and the screen gives crazy pictures,could maybe be the graphic card, does anybody have experienced this?

    after a restart it works for a time, but always slow. I went to the Applestore this afternoon and the made a check and said it would be the logicboard and they would have to change it for CHF 600 and it would be ready in 10 - 15 days

  • Problem in displaying Total No.of Lines in ALV report header.

    Hi guys,
    my field symbol internal table is having records in which "Compliance" field is having YES or NO values. now requirement is to display
    Total No. of Compliances which are having YES.
    lets say, internal table is having 10 lines. in which compliance field is having 6 YES and 4 No respective values .
    now i want to display header as No. of Compliances :  6
    following is my code to display Total no.of lines in internal tables.
    * total no. of records selected
       DESCRIBE TABLE <table> LINES ld_lines.
       ld_linesc = ld_lines.
       CONCATENATE text-004 ld_linesc
                         INTO t_line SEPARATED BY space.
       wa_header-typ  = 'A'.
       wa_header-info = t_line.
       APPEND wa_header TO t_header.
       CLEAR: wa_header, t_line,ld_lines, ld_linesc .
    My data is there in Field-Symbol table.
    Now i want to display No.of compliances . could anybody please help me out in this.
    Thanks in Advance.
    Regards
    satish

    HI,
    You can use another option like below,
    <Table>[] = <Table1>[]
    delete table1 where compliance = 'NO'.
    DESCRIBE TABLE <Table1> LINES ld_lines. .. follow your logic as above.
    Hope this will helps you,
    Thanks & Regards,
    Suresh M

  • Why does flash site display incorrectly when i have Flash Professional installed?

    It appears that if I have Flash Professional installed or even Flash Professional CC, my Flash web site displays incorrectly in IE 10/9/8 and various versions of Firefox. This replicates on multiple computers, Windows 7, Windows 8 and has been an issue for 2+ years. On those same computers I can create virtual PCs, install FF and IE and view my site w/o problems and on many other computers it displays correctly. Design elements that should only be visible in the application are displayed in the browser when I have the apps installd. The first image is WIndows 7 running in virtual computer with IE9, the 2nd one is from the host computer using IE9. Any help will be appreciated.

    Hello and thanks.
    www.jimlanders.com
    It’s an embedded swf file:
                                                                <!>>
                                                                <!<![endif]>
                                                                               http://www.adobe.com/go/getflash
                                                                               </a>
                                                                <!>>
                                                                </object>
                                                                <!<![endif]>
                                                 </object>
      </div>
    </div>
    </body>
    </html

  • Problem in displaying image when running a jad file

    I have written a midlet which displays an image in the welcome screen and then shows the main menu for the application. WHen I try to run the code directly from the console by using the command "midp -classpath . teledoc", the code runs fine and also displays the image which is stored in the same directory as the class files. Now i made a jad file so that i can install it on the mobile phone directly but while running the jad file it gives an error that "unable to locate and read the png file". Can anyone tell me why it is happening. I am attaching the code for the midlet below. Also the jad and manifest.txt files are attached.
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import java.io.*;
    public class teledoc extends MIDlet implements CommandListener{
    private Display display;
    private List list;
    private frmreg frmsub;
    private frmconsult frmsub1;
    private frmread frmsub2;
    private frmread_con frmsub3;
    private Command cmdexit;
    private Command cmdexit1;
    private Command cmdreg;
    private Command cmdconsult;
    private Command cmdread;
    private Alert altest;
    public teledoc(){
    display=Display.getDisplay(this);
    frmsub = new frmreg("New Registration", this);
    frmsub1 = new frmconsult("New Consultation", this);
    frmsub2 = new frmread("Select User", this);
    frmsub3 = new frmread_con("Select User", this);
    try{
         Image imgmain=Image.createImage("/teledoc.png");
         Image im1[] = {Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png"),Image.createImage("/teledoc1.png")};
         String options[] = {"New Registration", "Edit User Info", "New Consultation", "Edit Consultation", "Doctor's Reply", "Exit"};
         list = new List("Main Menu", List.IMPLICIT, options, null);
    cmdreg=new Command("New Registration", Command.SCREEN,3);
    cmdconsult=new Command("New Consultation", Command.SCREEN,4);
         cmdread=new Command("Edit User Info", Command.SCREEN,5);
         cmdexit1=new Command("Exit", Command.SCREEN,6);
    cmdexit=new Command("Exit", Command.SCREEN,2);                    list.addCommand(cmdexit1);
    list.setCommandListener(this);
    catch(java.io.IOException e)
    System.err.println("unable to locate");
    public void startApp(){
    try{
    Image im=Image.createImage("/teledoc.png");
    altest = new Alert("Welcome to TeleDoc", "", im, AlertType.INFO);
    altest.setTimeout(2000);
    catch(Exception e){
    System.out.println("Unable to Read PNG Image :");
    displayteledoc1();
    public void displayteledoc()
    display.setCurrent(list);
         public void displayteledoc1()
    display.setCurrent(altest, list);
    public void commandAction(Command c, Displayable s){
    //if(s==list){
    if(c==list.SELECT_COMMAND){
              switch (list.getSelectedIndex())
              case 0:
    display.setCurrent(frmsub);
              break;
              case 1:
    display.setCurrent(frmsub2);
              break;
              case 2:
    display.setCurrent(frmsub1);
              break;
              case 3:
    display.setCurrent(frmsub3);
              break;
              case 4:
              break;
              case 5:
    destroyApp(false);
              notifyDestroyed();
              break;
    if(c==cmdexit1){
    destroyApp(false);
    notifyDestroyed();
    //manifest.txt file
    MIDlet-Name: teledoc
    MIDlet-Version: 1.0
    MIDlet-Vendor: Jiva Research Institute.
    MIDlet-1: teledoc, /teledoc.png , teledoc
    MicroEdition-Profile: MIDP-1.0
    MicroEdition-Configuration: CLDC-1.0
    ////teledoc.jad file
    MIDlet-Name: teledoc
    MIDlet-Version: 1.0
    MIDlet-Vendor: Jiva Research Institute.
    MIDlet-Jar-URL: teledoc.jar
    MIDlet-Jar-Size: 18546
    MIDlet-1: teledoc, /teledoc.png , teledoc

    The problem probably isn't in you code, nor manifest nor jad file, but in the package process. Your image have to be in the root dir of the .jar file, but it isn't there. Try to see what is in you .jar with your favourite compress tool or with this command:
    %JAVA_HOME%\bin\jar -tfv <yoursuite.jar>

  • Problem in displaying data when data is huge

    Hi All,
              I am getting 1 strange problem in Adobe forms.In my form i have few subforms.For those i have set Auto fit property as true,Expand to fit property is true ,Allow multiple lines property is true ,Allow Page breaks within content property is true & the layout is flow content.
    If the complete data for 1 subform is shown in same page,it shows the complete data but if the data is split into more than 1 pages,its showing the data in both pages but it truncates some data.Can anybody tell what can be the problem?
    regards
    Sumit

    Hi Sumit,
    Just recheck if all are in Flow content, top to bottom flow,  Expands to fit.
    If it does not solve the problem, put some margins in the layout pallette.
    How many lines are gettinig truncated???
    Put the Body page with in  the content area..
    - Hope these helps,
    Regards,
    Anto.

  • Problem in displaying loginpage when user press logout

    Hi everyone, I am new to Swing and facing an issue which might appear simple to you people.
    I have a Login Screen. When user supply credentials and press the login button, the next page is displayed which has a logout button. If user clicks this logout button, ideally the login screen should come. I am struck up in implementing this functionallity. I'm attached SAMPLE Code for the same.
    // MainFrame.java
    import java.awt.Color;
    import java.awt.Container;
    import java.awt.Font;
    import java.awt.event.WindowEvent;
    import java.awt.event.WindowListener;
    import java.io.PrintStream;
    import java.text.SimpleDateFormat;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    public class MainFrame extends JFrame implements WindowListener{
        private static final long serialVersionUID = 1L;
         public static  String server_url = "t3://localhost:7001";
         public static  String JNDI_NAME = "com.qwest.bpm.designerserver.DesignerServerRemoteHome";
         static final String title_base = "MY App";
         PrintStream log;
         SimpleDateFormat df;
         public static JPanel current_page;
        String errmsg;
        public Color background;
        public Color color_tablehead;
        public Color color_canvas;
        Font font_textfield;
        String database;
        MainFrame(String title){
             super(title);
            System.setSecurityManager(null);
            setSize(900, 720);
              addWindowListener(this);
              rootPane.setDoubleBuffered(false);
              background = new Color(0.9f,0.9f,0.7f);
              color_tablehead = new Color(0.8f,0.8f,0.6f);
              color_canvas = new Color(0.97f,1.0f,0.97f);
              font_textfield = new Font("courier", Font.PLAIN, 12);
              setBackground(background);
              getContentPane().setBackground(null);
              log = System.out;
              df = new SimpleDateFormat("HH:mm:ss");
              setDefaultLookAndFeelDecorated(true);
            errmsg = null;
            database = "Oracle";
         public void setPage(JPanel page) {
              if (current_page!=null) current_page.setVisible(false);
              Container content_pane = getContentPane();
              if (!content_pane.isAncestorOf(page)) {
                   // System.out.println("Add page " + page.getClass().getName());
                   content_pane.add(page);
              page.setVisible(true);
              current_page = page;
            if (errmsg!=null) {
                JOptionPane.showMessageDialog(this, errmsg);
                errmsg = null;
         public void logout() {
              //Code to be changed here
           System.exit(0);
         public static void main(String[] args){
              MainFrame frame = new MainFrame("My App");
              frame.setPage(LoginPage.getPage(frame));
              frame.setVisible(true);
         public void windowActivated(WindowEvent e) {
              // TODO Auto-generated method stub
         public void windowClosed(WindowEvent e) {
              // TODO Auto-generated method stub
         public void windowClosing(WindowEvent e) {
              // TODO Auto-generated method stub
         public void windowDeactivated(WindowEvent e) {
              // TODO Auto-generated method stub
         public void windowDeiconified(WindowEvent e) {
              // TODO Auto-generated method stub
         public void windowIconified(WindowEvent e) {
              // TODO Auto-generated method stub
         public void windowOpened(WindowEvent e) {
              // TODO Auto-generated method stub
    //MainPanel.java
    import java.awt.BorderLayout;
    import java.awt.Color;
    import javax.swing.JPanel;
    public class MainPanel extends JPanel{
         public MainFrame frame;
         protected Color background;
         public MainPanel(MainFrame frame) {
              super();
              this.frame = frame;
              setLayout(new BorderLayout());
              setBackground(null);
    //LoginPage.java
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.AbstractButton;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JPasswordField;
    import javax.swing.JTextField;
    public class LoginPage extends MainPanel implements ActionListener {
         private static final long serialVersionUID = 1L;
         JTextField username, serverurl, servername;
         JPasswordField password;
         static LoginPage singleton = null;
         LoginPage(MainFrame frame) {
              super(frame);
              setLayout(null);
              JLabel label;
              JPanel panel = new JPanel(new GridLayout(2,2));
            panel.setLayout(null);
            panel.setBounds(100,100,200,200);
            panel.setBorder(BorderFactory.createTitledBorder("Credentials "));
            panel.setSize(600,350);
            panel.setOpaque(false);
              label = new JLabel("User Name");
              label.setBounds(60, 60, 120, 20);
              panel.add(label);
              username = new JTextField();
              username.setBounds(200, 60, 120, 20);
            //username.setActionCommand(C.ACTION_LOGIN);
              panel.add(username);
              label = new JLabel("Password");
              label.setBounds(60, 90, 120, 20);
              panel.add(label);
              password = new JPasswordField();
              password.setBounds(200, 90, 120, 20);
            password.setActionCommand("login");
            password.addActionListener(this);
              panel.add(password);
              JButton button_login = new JButton("Log In");
              button_login.setBounds(150, 240, 120, 25);
              button_login.setBackground(background);
              button_login.setActionCommand("login");
              button_login.addActionListener(this);
              panel.add(button_login);
            add(panel);
         static LoginPage getPage(MainFrame frame) {
              if (singleton==null)
                   singleton = new LoginPage(frame);
              return singleton;
         public void actionPerformed(ActionEvent e) {
             Object source = e.getSource();
             String cmd;
              if (source instanceof AbstractButton)
                   cmd = ((AbstractButton)source).getActionCommand();
            else if (source instanceof JPasswordField)
                cmd = "login";  
              else return;
              if(cmd.equalsIgnoreCase("login")) {
                   frame.setPage(NextPage.getPage(frame));
    //NextPage.java
    import java.awt.GridLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.AbstractButton;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JPasswordField;
    import javax.swing.JTextField;
    public class NextPage extends MainPanel implements ActionListener{
         private static final long serialVersionUID = 1L;
         JTextField username, serverurl, servername;
         JPasswordField password;
         static NextPage singleton = null;
         NextPage(MainFrame frame) {
              super(frame);
              setLayout(null);
              JLabel label;
              JPanel panel = new JPanel(new GridLayout(2,2));
            panel.setLayout(null);
            panel.setBounds(100,100,200,200);
            panel.setBorder(BorderFactory.createTitledBorder("Credentials "));
            panel.setSize(600,350);
            panel.setOpaque(false);
              label = new JLabel(" Hurray Login Successfull ");
              label.setBounds(60, 60, 120, 20);
              panel.add(label);
              username = new JTextField();
              username.setBounds(200, 60, 120, 20);
            //username.setActionCommand(C.ACTION_LOGIN);
              panel.add(username);
              label = new JLabel("Now try Logout ");
              label.setBounds(60, 90, 120, 20);
              panel.add(label);
              JButton button_login = new JButton("Log Out");
              button_login.setBounds(150, 240, 120, 25);
              button_login.setBackground(background);
              button_login.setActionCommand("logout");
              button_login.addActionListener(this);
              panel.add(button_login);
            add(panel);
         static NextPage getPage(MainFrame frame) {
              if (singleton==null)
                   singleton = new NextPage(frame);
              return singleton;
         public void actionPerformed(ActionEvent e) {
             Object source = e.getSource();
             String cmd ="";
              if (source instanceof AbstractButton)
                   cmd = ((AbstractButton)source).getActionCommand();
              if(cmd.equalsIgnoreCase("logout")) {
                   frame.logout();
    }

    solved it :)

  • Hi,problems with display screen when using cs5

    Just bought new mac comp for daughter with cs5 extended s
    tudent and teacher edition.
    Disc didn't run straight away and we had to go into files to run the install.
    Installed ok when we did this.
    However we have all the toolbars around the outside of screen and despite changing background settings to black or grey it is still our screensaver there. If we click on toolbar it disappears and we have to go back to file to re-open.
    Can anyone advise why we don't have the grey background as per previous versions to work on with photos?
    If we try to open a pic to work on it still doesn't open as a full page

    Welcome to the Mac!  
    kfcfsy wrote:
    …Disc didn't run straight away and we had to go into files to run the install.
    Installed ok when we did this.…
    That is expected, normal behavior. 
    kfcfsy wrote:
    …Can anyone advise why we don't have the grey background as per previous versions to work on with photos?
    If we try to open a pic to work on it still doesn't open as a full page…
    That is expected, normal behavior.  All Mac applications work like this. 
    As an accommodation to Windows users switching to the Mac, Adobe provides the Application Frame, as indicated by the previous poster.  Hope that workaround helps you.
    Wo Tai Lao Le
    我太老了

  • There's a problem with my when i have sent a report it said that firefox stopped the plugin

    there's a problem with my skype, when i have sent a report it said that firefox stopped the plugin

    5th item on the Blocklist. <br />
    http://www.mozilla.com/en-US/blocklist/
    Blocked due to causing a high number of Firefox crashes. <br />
    http://blog.mozilla.com/addons/2011/01/20/blocking-the-skype-toolbar-in-firefox/
    Mozilla blocking that extension in Firefox shouldn't stop Skype from working.

  • Grey out profit center when line item is entered in VA01

    hi all,
    i have to set profit center in display mode when line item is entered in sales order processing, please tell me the exist where i can put my code.
    please reply
    with regards,
    bala

    hi bala,
    Please check this,
    u can create enhance point in that routine.
    first click on enhancement button (shift+F4) then
    use menu path edit->enhancement operation->show implicit enhancement operation
    after that it start showing line like that in USEREXIT_PRICING_PREPARE_TKOMP
    -> """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
    right click on the line and enhancement implimentation and create, it will create enhancement point at that particular place.
    use this coding in ur enhancement spot
    IF  (   SCREEN-GROUP2  = 'LOO'
       AND SCREEN-NAME    = 'VBAP-PRCTR' ).
      SCREEN-INPUT = 0.
    ENDIF.
    it will solve ur problem.
    let me know, if solved
    Yogesh

  • Display Total Row In Matrix

    Hi all!
    In my addon application I have Matrix with 10 columns (2 columns with column type Edit Text, 8 columns with column type checkbox) now In 8 columns with type checkbox I want to display Footer as form Id = 60207(Menu service/service Report/Response Time by assignee Report). How To do it?
    please give me the solution to display Footer(Total) of Matrix when the column have column type is checkbox.
    Thanks & Help Me

    Hi !
    Thanks for your reply! when using 2 matrixs have problem as follow:
    My Matrix has 10 columns so will appear horizonal scrollbar so it doesn't solved this problem. My Idea I will add row after the last row and display total but i have problem: 8 columns that i want to add total have column type is checkbox so I can't. HOw to convert column type only the my row? Or give me the other solution. THanks
    Edited by: Tao lao on Apr 8, 2008 12:02 PM

Maybe you are looking for

  • How to refresh components of one jsf from another jsf (partialTriggers)

    This thread begins here: How to refresh components of one jsf from another jsf (partialTriggers) My apologies for post in other forum and thanks Frank for reply. I found a solution before read your post. I'm newbie and I ignore the use of colons. So,

  • Tuning needed for sql:EXPLAIN PLAN attached

    DB Version:10gR2 The below sql was running slow, so i took an explain plan SQL> explain plan for   2  SELECT COUNT(1) FROM SHIP_DTL WHERE   3  SHIP_DTL.PLT_ID = 'AM834'   4  AND SHIP_DTL.WHSE = '34' AND   5  SHIP_DTL.STAT_CODE != '845'   6  ORDER BY

  • In MIRO the cost center is filled at Balance Sheet

    Hi, Iu2019m using ECC 6.0 and my problem is during MIRO posting the cost center is filled at Balance Sheet. How can I avoid this? Best regards, SS

  • Blue dot in navigation pane

    What does the little blue dot in the leftmost area of the navigation pane indicate? It is next to one of my blogs. iMac G5   Mac OS X (10.4.6)  

  • Create object reference by name

    I wish to disable and enable a bunch of controls on the front panel. Instead of creating hard-wired property nodes, I wish to cycle through an array of string names of controls and set the corresponding control's property. Is it possible to create a