Looping issue in Smartform

Hi All..
I am working on a smartform.
While activating the form, i came across a error called "A line of I_ITEMS and WA_ITEMS is not mutually convertible. In Unicode program, I_ITEMS must have  same structure layout".
But in program, i have defined both objects as follows..
Data: i_items TYPE STANDARD TABLE of ty_items.
Data: wa_items TYPE ty_items.
What to do now..???
How to resolve this issue..????
Please Help me out....
Regards
Pavan

Thanks to everyone here...
Special Thanks to Jayanthi...
I have changed the I_ITEMS's structure in Form Interfaces of the form.
Now its working fine...
Regards
Pavan

Similar Messages

  • Login "Loop" issue after upgrading to Leopard from Tiger-iBook G4

    Hi Guys,
    I've the same login "loop" issue as described in *Apple KB article #306965* only on an iBook G4, unfortunately the solution offered in the KB article does not help.
    There is one slight variant being that the user desktop appears for a second or two after the blue screen following login before it returns (loops) to the login window. It happens on all (2) user accounts.
    The interesting thing is it doesn't occur on either account when booting in 'safe mode'.
    Apart from deleting these accounts and saving/transferring the data are there any other ideas, suggestions or solutions?
    Regards,
    BB

    Did a clean install, cloned the HD with SuperDuper and then used Mig. Asst. to restore data back to the original HD. All now OK.
    A & I was done in the initial upgrade from Tiger.
    Cheers,
    BB

  • Hyperlink issue in Smartform PDF

    Hi  All,
               I am facing below issue with Smartform after it converted to PDF. The PDF file has below link
    (http://www.vocakiri.co.uk/_assets/media/StandardTC3_(including_REG_31_Requirements).pdf) in footer window.
    But when i am selecting the hyperlink it is getting truncated as "http://www.vocakiri.co.uk/_assets/media/StandardTC3_" .it opens window with truncated
    web address which leads to error.
    could you please let me know what is the problem or is there any note need to be applied.
    Thanks and Regards,
    Prasanna B

    Hi Prasanna B,
    See thread http://scn.sap.com/thread/1819587.
    You can try using the callback method described in the following Notes:
    622718 - SF Web Forms: Callback for the URL format
    707931 - Web Forms: Incorrect URL address with the HTML output
    You can get a different title of the link by using a kind of user exit for the URL processing, which is described in Note 622718.
    You must create your own function module with the following interface:
    *"  CHANGING
    *"     REFERENCE(DATA) TYPE  TTXCTOKEN
    Data: i_data type STXCTOKEN,
    (see note 622718; TTXCTOKEN is an internal table of type STXCTOKEN)
    Now when you call the function module of the Smart Form, you should fill the parameter OUTPUT_OPTIONS-URLCALL with the name of the new function module. As a result your function module is called, when the URL is processed by the Smart Forms composer.
    This method allows you to use a shorter alias for a longer URL link.
    Regards,
    Aidan

  • Use of loop node  in smartforms

    Hi ,
    Can anyone explain me in detail what is the  use of the loop node in smartforms.
    I want to repeat the two successor nodes alone until the loop ends .after the loop ends then only the third successor node should be executed.can we do this by using loop node. If yes please explain me how we can do this.
    Thanks,
    Rose.

    Hi,
        Yes, this is possible. Include the two nodes in the loop of the internal table. The third node should be outside the loop
    Regards.

  • Total pages printed issue in Smartforms

    Hi,
    I have small issues in Smartforms,
    I wm working for Check Printing in Smartforms. Here after printed the various checks i am printing the summary report, here i printede the details of total transactions and total printed pages.
    If  i have more than once page in single check (like overflow pages) that also need to be calculted in the count.
    In the forms i declared &SFSY-FORMPAGES& but its not calculating overflow pages.
    Please guide me about this issue.
    Thanks.
    VJ.

    Hi Florian,
    Thanks for your response and O/P management info.
    My req is after printing the cheque pages, i am printing seperate page for summary report, here i am displaying total no of transactions, amount and total pages printed.
    Code Ref:
       CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lf_formname_s
        IMPORTING
          fm_name            = lf_fm_name_s
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
    * Implement suitable error handling here
      ENDIF.
      CALL FUNCTION lf_fm_name_s
        EXPORTING
          control_parameters = ls_control_param
          output_options     = ls_composer_param
          user_settings      = ' '
          v_file_name        = v_smart_name
         t_t_processed      = t_t_processed                             " for total processed
          t_check_amount     = t_check_amount_t
          t_tot_rec          =               v_tot_rec          "    REQUIRED FIELD..?????
    IMPORTING
          job_output_options = v_output_options
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Here i am getting total transactions is printed properly.. also i want to print total no of pages. (if single transaction more that one page).
    Thanks in advance,..

  • Issue in Smartform  "need to display dynamic column or cell"

    HI,
    I need some issue with smart form " ITEM Details"
    matnr maktx menge uom
    i have defined all in the inside table so that i have selected frame ?
    now my issue is i should display only matnr maktx uom
    i don't want display Menge column  if it doesn't have vaule ( in clude cell and box also ).
    i need to display  Menge column  if it  has value .
    how to resolve the issue in smartform?
    replas ASAP.
    Thanks

    Hi,
    Kindly check the below links.. hope this will help you.
    Hide table columns in smart form?
    Hiding column in table in smartform
    Regards,
    Booma Ganesan
    Edited by: booma ganesan on Apr 28, 2010 4:05 PM

  • Issue in smartform with Chinese logon

    Hello all,
    I'm facing a strange issue in smartform with chinese logon in Quality server.
    In quality server mail generates JUNK values in place of chinese texts in SOST.
    In development server its working fine.
    I checked through debugging in OTFDATA structure its taking Courier font by default.
    While in my development server in ZH logon its taking CNSONG font.
                                                                                    1     //        |XSAPWIN      046C 00000000001                                <
        2     IN        |041 form_name<
        3     IN        |05HDR_PAGE                                                     <
        4     OP        |DINA4   P 144  240 1683811906000010000100000                   <
        5     IN        |06%WINDOW9                                                     <
        6     MT        |0447102791                                                     <
        7     CP        |840000001                                                      <
        8     FC        |COURIER 095X 00114 SF001SF0118400001141 X                      <
        9     UL        | +0000000000000                                                <
       10     CT        |00000000                                                       <
    Can some please help me to solve this issue.
    Thanks in advance.
    regards,
    Lokesh

    Hello,
    Please follow the rules to output PDF correctly for ZF/ZH language:
    (1) workprocess need run under
           ZF/ZH language   (logon with ZF/ZH or switch by set locale)
           codepage 8300/8400 (or compatible codepages)
    (2) SAPScript need include ZF/ZH version. Please verify by:
           Go SE71->input SAPScript name, language key ZF/ZH -> display
    (3) SAPScript need assign Chinese font for paragraph used to output
         Chinese character
    (4) SAPScript need open with ZF/ZH language(OPEN_FORM with ZF/ZH language)
    Regards,
    David

  • Mac Mini late 2012 upgrade to Maverick loop issue

    Hi there,
    I'm a Mac Mini noob.
    Last night I downloaded Maverick and this morning I clicked install.
    The Mac rebooted and then loaded then showed some error messages and then goes to password screen. I enter it and it says there was a problem and the MAC will be restarted.
    It now just loads, shows the error message and automatically goes to password enter screen and then says theres an error and will be rebooted after I enter the correct password.
    Can some one tell me whats wrong and how to fix or even to cancel this upgrade? I just want my Mac Mini to work again.
    Thanks
    L

    Thanks BDAqua, I didn't try your method but...
    Hmm I attempted the following and it was resolved and I managed to get back to my desktop and out of the restart loop (phew). I then pulled up my guts and double clicked the Maverick install again and this time it was successful. I followed this article which I found shortly after I posted the problem on here:
    http://www.gottabemobile.com/2013/11/04/os-x-mavericks-upgrade-boot-loop-fix/
    OS X Mavericks Upgrade BootLoop Fix
    If you are upgrading to OS X Mavericks and get stuck in a boot loop that will not complete the installation, you may need to hit a special key combo to force the computer to complete the installation and upgrade process.
    Gotta Be Mobile reader Steve Small reached out to let us know about the OS X Mavericks Upgrade bootloop problem, which forced his MacBook Pro to get stuck showing the odd text on a screen below, which looks like a OS X crash and an error message that says, “Your computer restarted because of a problem. Press a key or wait a few seconds to continue startup.”
    Read: How to Upgrade to OS X Mavericks
    Ultimately this error prevented Small from upgrading to OS X Mavericks, as it did many other users. Thankfully if you get stuck in this OS X Mavericks boot loop you can press four keys at startup to reset the NVRAM and get past the boot loop.
    OS X Mavericks upgrade boot loop and kernel panic can prevent an easy upgrade.
    When you restart the Mac, press Option-Command-P-R until you hear the startup sound a second time. This will reset the NVRAM, which is where your Mac stores the following information.
    Speaker volume
    Screen resolution
    Startup disk selection
    Recent kernel panic information, if any.
    In this case, resetting the NVRAM should clear up the boot loop issue which was possibly related to the startup disk selection stored here or to a kernel panic. The error screen shown at the top of this guide looks very similar to a kernel panic.
    With this out of the way you should be able to continue the upgrade to OS X Mavericks. If the computer does not pickup where it left off you may need to go to LaunchPad and select Install OS X Mavericksagain. If you need to install it from scratch, here is our guide to a clean OS X Mavericks install.
    Read: OS X Mavericks Best Features
    http://www.gottabemobile.com/2013/10/24/20-best-os-x-mavericks-features/Apple released OS X Mavericks as a free upgrade to all Mac users with a compatible Mac in October. The software update is available for many Macs as old as mid-2007 are compatible with the free update. Users can download the 5GB installation file from the Mac App Store on any of these compatible devices.

  • Aperture 3.1 loop issues possible bug with CMYK/RGB numbers in loop?

    I'm looking to find out if I'm not the only one with this problem:
    After upgrading to 3.1, I've noticed that when I do my color correction of skin, by the numbers using CMYK in the loop, that on a number of images, I can no longer get the loop to read the numbers in the top third of the image. No differences in the camera used, import process, asset management, nothing about my process has changed.
    Thoughts?
    Thanks in advance!

    Kevin Wick wrote:
    I'm curious too if anyone else is having an issue with the loupe in Aperture 3.1.
    I noticed I was getting false reading when checking color as well. The numbers were way off as you have expressed or did not read at all in a vertical images. Where as the number under the histogram seem to be correct when checking numbers. From what I've seen here it must be a issue with other or they must be using their loupe.
    K-
    Hey there Kevin, I'm sure we will talk on the phone again before you read this!
    I'm using this as a work around for now but, what a bummer! I've tried to see if the issue is present on my other machines and using other cameras and - it still is. Since no one else has chimed in here to share if they are experiencing these loop issues, I'm wondering if it is just you and me. Maybe no one really uses the loop with color values to color correct their images.

  • Smartform - Loop issue not printing correctly

    Hi,
    In smartforms -Main Window - I created like this
    1.Loop Statement   - This will loop - ITAB1
    TEXT statement - ITAB1-ADRNR - (prints the address)
    within the loop
      ITEM_DATA (item data) table.  - This will Loop ITAB2 - where ADRNR = ITAB1-ADRNR
    This supposed to put line items which are having ADRNR from ITAB1
    But my program is printing in wrong way..
    it is printing
    ADDRESS1 - ITAB1-ADRNR - correct
    ITEM DATA -  from ITAB2- related to ADRNR  (if it has only 1 record) - correct
    ADDRESS2-ITAB1-ADRNR - correct
    ITEM DATA - from ITAB2 - where ADRNR = ITAB1ADRNR - if this condition satisfies more than 1 record
    supposed to print all the records - but instead it is printing  always the first record   - wrong
    Ex- if 3 records has the same ADRNR of ITAB1 in ITAB2 - it is actually printing 3 times the first satisfying record - Wrong
    Can anyone please tell me what is the issue?
    Thanks for your time.
    Kevin

    Hi,
    I created like this..
    ITAB1 - complete data
    ITAB2 - unique records based on ADRNR
    1. LOOP ITAB2
    Print Address - ITAB2-ADRNR
    ITEM DATA(header and line items)
    I have given table name in DATA loop section
    - loop ITAB1 - where ADRNR = ITAB2-ADRNR
    But in item data it is printing the same line item repetedly .
    Any comments?
    Thanks for ur time.

  • Issueing Multiple Smartforms in sequence

    Hi Friends,
    I have a requirement to issue the Smartfrom for each material in the delivery(I will display some characterstics of each material as a form). This would be called from VL02N through configuration. I have written a driver program and i am calling Smartform's function module as many times as many Number of materials i have inside the loop. But i am not getting all smartforms. I am only getting First material smartform.
    Please suggest me proper method.
    Thanks,
    Sekhar.J

    Hai,
    Call the smartform in a loop.
    For example:
    collect all materials for the selected delivery into gt_material_info.
    Now Call a new smartform for each materilal by loop thru the materials.
    Loop at gt_material_info.
    Here call new smartform for each material.
    endloop.

  • For loop issue and error exception

    I am finishing up a program and having a few issues....I can send my instructions so it may seem easier to what I want...the first issue deals with the for loop for the 2nd for loop in the actionperformed when i click on go it does not change any of the boxes to yellow
    Also when I check for errors it does not check with the code I have...I know it says on the instructions to use try\catch but I am just going to use if statements because I am not very familar with the try\catch and will accept some points takin off...any help with this by tonight id really appreciate it as long as noone is too busy...Thanks
    instructions:
    This will incorporate arrays, for loops, and Frames all in one.
    Create a panel containing an array of 16 TextArea components that change color to correspond with the start, stop, and step values entered by the user. Perform the following tasks to create the Checkerboard Array application shown below. When the user enters the start, stop, and step fields and then clicks the Go button, the results are also shown below.
    1.     Call your application Checkerboard.java
    2.     You will need the following variables� declare them as private:
    a.     16 component TextArea array
    b.     a Panel to hold the array
    c.     3 TextField components with length of 10
    d.     3 int variables to receive the start, stop, and step values
    e.     3 Labels to display the words Start, Stop, and Step
    f.     a Go button
    g.     a Clear button
    h.     a Panel to hold the 3 TextFields, 3 Labels, and the 2 Buttons
    3.     Create a constructor method to:
    a.     construct each of the components declared above and initializes the start, stop, and step variables to zero (when constructing the TextArea components, use the following parameters: null, 3, 5, 3)
    b.     set the Frame layout to BorderLayout
    c.     write a for loop to loop the array and set each of the 16 TextArea components in that array so they cannot be edited. In the same loop, set each of the TextArea components text to be 1 more than the index number. Also in this same loop, set the background of each of the TextArea components to white.
    d.     set the Panel for the TextArea components to GridLayout with 4 rows, 4 columns, and both gaps set to 10
    e.     set the Panel for the TextFields, Labels, and button to GridLayout with 3 rows, 3 columns, and both gaps set to 5
    f.     add the components to their respective Panels
    g.     make the buttons clickable
    h.     place the Panels in the Frame� put one in the NORTH and one in the CENTER
    i.     Enter the addWindowListener() method described in the chapter� this is the method that overrides the click of the X so it terminates the application
    4.     In your actionPerformed() method:
    a.     convert the data in your TextFields to int and store them in the variables declared above
    b.     write a loop that goes through the array setting every background color to blue
    c.     write another loop that�s based on the user inputs. Each time the loop is executed, change the background color to yellow (so� start your loop at the user�s specified starting condition. You�ll stop at the user�s specified stopping value. You�ll change the fields to yellow every time you increment your loop based on the step value. REMEMBER: Your displayed values are 1 off from your index numbers!!)
    5.     Write a main() method that creates an instance of the Checkerboard Frame.
    a.     set the bounds for the frame to 50, 100, 300, 400
    b.     set the title bar caption to Checkerboard Array
    c.     use the setVisible() method to display the application Frame during execution
    6.     After you get all of this complete, include error handling to make sure:
    a.     the values entered in the TextFields are valid integers
    b.     the start value is greater than or equal to 1 and less than or equal to 16
    c.     the stop value is greater than or equal to 1 and less than or equal to 16
    d.     the step value is greater than or equal to 1 and less than or equal to 16
    e.     the start condition is less than the stop condition
    f.     when an error occurs, give an error message in a dialog box that is specific to their error, remove the text from the invalid field, and put the cursor in that field so the user has a chance to re-enter� this can be accomplished by using multiple try/catch statements
    g.     only change the colors if the numbers are valid
    7.     Create a clear button as seen in the example below. This button should:
    a.     clear out all 3 TextFields
    b.     change the background color of all TextArea array elements to white
    c.     put the cursor in the start field
    8.     Document!!
    my code is:
    //packages to import
    import javax.swing.JOptionPane;
    import java.awt.*;
    import java.awt.event.*;
    public class Checkerboard extends Frame implements ActionListener
         private Panel topPanel;
         private TextArea topDisplay[];
         private Panel bottomPanel;
         private TextField startField = new TextField(10);
         private TextField stopField = new TextField(10);
         private TextField stepField = new TextField(10);
         private Label startLabel = new Label ("Start");
         private Label stopLabel = new Label ("Stop");
         private Label stepLabel = new Label ("Step");
         private Button goButton;
         private Button clearButton;
         private boolean clearText;
         private boolean first;
         private int start;
         private int stop;
         private int step;
         //constructor methods
         public Checkerboard()
              //construct components and initialize beginning values
              topPanel = new Panel();
              topDisplay = new TextArea[16];
              goButton = new Button("Go");
              clearButton = new Button("Clear");
              first = true;
              bottomPanel = new Panel();
              int start = 0;
              int stop = 0;
              int step = 0;
              bottomPanel.add(startField);
              bottomPanel.add(stopField);
              bottomPanel.add(stepField);
              bottomPanel.add(startLabel);
              bottomPanel.add(stopLabel);
              bottomPanel.add(stepLabel);
              bottomPanel.add(goButton);
              goButton.addActionListener(this);
              bottomPanel.add(clearButton);
              clearButton.addActionListener(this);
              clearText = true;
              //set layouts for the Frame and Panels
              setLayout(new BorderLayout());
              topPanel.setLayout(new GridLayout(4, 4, 10, 10));
              bottomPanel.setLayout(new GridLayout(3, 3, 5, 5));
              //construct the Display
              for(int i = 0; i <= 15; i++)
                        topDisplay[i] = new TextArea(null, 3, 5, 3);
                        topDisplay.setText(String.valueOf(i+1));
                        topDisplay[i].setEditable(false);
                        topPanel.add(topDisplay[i]);
              //add components to frame
              add(topPanel, BorderLayout.NORTH);
              add(bottomPanel, BorderLayout.CENTER);
              //allow the x to close the application
              addWindowListener(new WindowAdapter()
                        public void windowClosing(WindowEvent e)
                                  System.exit(0);
                   } //end window adapter
         public static void main(String args[])
              Checkerboard f = new Checkerboard();
              f.setTitle("Checkerboard Array");
              f.setBounds(50, 100, 300, 400);
              f.setLocationRelativeTo(null);
              f.setVisible(true);
         } //end main
         public void actionPerformed(ActionEvent e)
              //test go
              String arg = e.getActionCommand();
              //go button was clicked
              if(arg.equals("Go"))
                   //convert data in TextField to int
                   int start = Integer.parseInt(startField.getText());
                   int stop = Integer.parseInt(stopField.getText());
                   int step = Integer.parseInt(stepField.getText());
                   if((start <= 1) && (start > 16))
                        JOptionPane.showMessageDialog(null, "You must enter start between 1 and 16", "Error", JOptionPane.ERROR_MESSAGE);
                        startField.setText(" ");
                        startField.requestFocus();
                   if ((stop < 1) && (stop > 16))
                        JOptionPane.showMessageDialog(null, "You must enter stop between 1 and 16", "Error", JOptionPane.ERROR_MESSAGE);
                        stopField.setText(" ");
                        stopField.requestFocus();
                   if ((step < 1) && (step > 16))
                        JOptionPane.showMessageDialog(null, "You must enter step between 1 and 16", "Error", JOptionPane.ERROR_MESSAGE);
                        stepField.setText(" ");
                        stepField.requestFocus();
                   if (start < stop)
                        JOptionPane.showMessageDialog(null, "Stop cannot be larger than start", "Error", JOptionPane.ERROR_MESSAGE);
                        startField.setText(" ");
                        stopField.setText(" ");
                        stepField.setText(" ");
                        startField.requestFocus();
                   for(int i = 0; i <=16; i++)
                   topDisplay[i].setBackground(Color.blue);
                   for(int i = start; i <= stop; step++)
                   topDisplay[i].setBackground(Color.yellow);
              } //end the if go
              //clear button was clicked
              if(arg.equals("Clear"))
                   clearText = true;
                   startField.setText("");
                   stopField.setText("");
                   stepField.setText("");
                   first = true;
                   setBackground(Color.white);
                   startField.requestFocus();
              } //end the if clear
         }//end action listener
    }//end class

    got the yellow boxes to come up but just one box.....so is there something wrong with my yellow set background because I am not seeing any more errors
    //packages to import
    import javax.swing.JOptionPane;
    import java.awt.*;
    import java.awt.event.*;
    public class Checkerboard extends Frame implements ActionListener
         private Panel topPanel;
         private TextArea topDisplay[];
         private Panel bottomPanel;
         private TextField startField = new TextField(10);
         private TextField stopField = new TextField(10);
         private TextField stepField = new TextField(10);
         private Label startLabel = new Label ("Start");
         private Label stopLabel = new Label ("Stop");
         private Label stepLabel = new Label ("Step");
         private Button goButton;
         private Button clearButton;
         private boolean clearText;
         private boolean first;
         private int start;
         private int stop;
         private int step;
         //constructor methods
         public Checkerboard()
              //construct components and initialize beginning values
              topPanel = new Panel();
              topDisplay = new TextArea[16];
              goButton = new Button("Go");
              clearButton = new Button("Clear");
              first = true;
              bottomPanel = new Panel();
              int start = 0;
              int stop = 0;
              int step = 0;
              bottomPanel.add(startField);
              bottomPanel.add(stopField);
              bottomPanel.add(stepField);
              bottomPanel.add(startLabel);
              bottomPanel.add(stopLabel);
              bottomPanel.add(stepLabel);
              bottomPanel.add(goButton);
              goButton.addActionListener(this);
              bottomPanel.add(clearButton);
              clearButton.addActionListener(this);
              clearText = true;
              //set layouts for the Frame and Panels
              setLayout(new BorderLayout());
              topPanel.setLayout(new GridLayout(4, 4, 10, 10));
              bottomPanel.setLayout(new GridLayout(3, 3, 5, 5));
              //construct the Display
              for(int i = 0; i <= 15; i++)
                        topDisplay[i] = new TextArea(null, 3, 5, 3);
                        topDisplay.setText(String.valueOf(i+1));
                        topDisplay[i].setEditable(false);
                        topPanel.add(topDisplay[i]);
              //add components to frame
              add(topPanel, BorderLayout.NORTH);
              add(bottomPanel, BorderLayout.CENTER);
              //allow the x to close the application
              addWindowListener(new WindowAdapter()
                        public void windowClosing(WindowEvent e)
                                  System.exit(0);
                   } //end window adapter
              public static void main(String args[])
                        Checkerboard f = new Checkerboard();
                        f.setTitle("Checkerboard Array");
                        f.setBounds(50, 100, 300, 400);
                        f.setLocationRelativeTo(null);
                        f.setVisible(true);
                   } //end main
                   public void actionPerformed(ActionEvent e)
                        boolean done = false;
                        //test go
                        String arg = e.getActionCommand();
                        //go button was clicked
                        if(arg.equals("Go"))
                   //convert data in TextField to int
                   int start = Integer.parseInt(startField.getText());
                   int stop = Integer.parseInt(stopField.getText());
                   int step = Integer.parseInt(stepField.getText());
                   while(!done)
                        try
                             if((start <= 1) && (start > 16)) throw new NumberFormatException();
                             else done = true;
                        } //end try
                        catch (NumberFormatException f)
                             JOptionPane.showMessageDialog(null, "You must enter start between 1 and 16", "Error", JOptionPane.ERROR_MESSAGE);
                             startField.setText(" ");
                             startField.requestFocus();
                        } //end catch
                        try
                             if ((stop < 1) && (stop > 16)) throw new NumberFormatException();
                             else done = true;
                        } //end try
                        catch (NumberFormatException f)
                             JOptionPane.showMessageDialog(null, "You must enter stop between 1 and 16", "Error", JOptionPane.ERROR_MESSAGE);
                             stopField.setText(" ");
                             stopField.requestFocus();
                        } //end catch
                        try
                             if ((step < 1) && (step > 16)) throw new NumberFormatException();
                             else done = true;
                        } //end try
                        catch (NumberFormatException f)
                             JOptionPane.showMessageDialog(null, "You must enter step between 1 and 16", "Error", JOptionPane.ERROR_MESSAGE);
                             stepField.setText(" ");
                             stepField.requestFocus();
                        } //end catch
                        try
                             if (start > stop) throw new NumberFormatException();
                             else done = true;
                        } //end try
                        catch (NumberFormatException f)
                             JOptionPane.showMessageDialog(null, "Stop cannot be larger than start", "Error", JOptionPane.ERROR_MESSAGE);
                             startField.setText(" ");
                             stopField.setText(" ");
                             stepField.setText(" ");
                             startField.requestFocus();
                        } //end catch
              } //end while
                        for(int i = 0; i <=15; i++)
                        topDisplay[i].setBackground(Color.blue);
                        for(int i = start; i <= stop; step++)
                        topDisplay[i].setBackground(Color.yellow);
                   } //end the if go
                   //clear button was clicked
                   if(arg.equals("Clear"))
                        clearText = true;
                        startField.setText("");
                        stopField.setText("");
                        stepField.setText("");
                        first = true;
                        setBackground(Color.white);
                        startField.requestFocus();
                   } //end the if clear
         }//end action listener
    }//end class

  • VL02N Error: Output could not be issued with smartforms

    Hi All,
    Currently I am doing some customization on existing delivery note smartforms LE_SHP_DELNOTE on ECC 6.0.
    I have copied it from the above smartforms and name it as ZLE_SHP_DELNOTE. Did most of the modification according to the user's format requirement.
    Manage to do the necessary settings in NACE to point to the new smartforms and also were able to print preview the report either in the standard LE_SHP_DELNOTE or the customize ZLE_SHP_DELNOTE.
    But as I add more coding into ZLE_SHP_DELNOTE, the print preview starts to give me the "Output could not be issued" error.
    If I were to revert back to the original LE_SHP_DELNOTE in NACE, it still works fine.
    I have checked most of the issue in the forum regarding the table size or include text, but I have make sure that the table size does not exceed the window size and also i have check the checkbox that prevent any error if include text does not exist.
    Hope to get help.
    Thanks
    David

    Hi Murali,
    Thanks a lot. It is due to the address that is not populating.
    Currently I am reading the address from VBAK by using the following statements:
    SELECT  SINGLE bukrs_vf
    FROM    vbak
    INTO    lf_bukrs
    WHERE   vkorg = is_dlv_delnote-hd_org-salesorg
    AND     vbeln = is_dlv_delnote-hd_ref-order_numb.
    SELECT  SINGLE adrnr
    FROM    t001
    INTO    gf_bukrs_adrnr
    WHERE   bukrs = lf_bukrs.
    gf_bukrs_adrnr is the address value.
    Currently I have 2 versions of my customised smartforms. One that works and one that does not work. Both has the address node.
    One funny thing is that the value from is_dlv_delnote-hd_ref-order_numb is not populating for the one that does not work.
    But I thought is_dlv_delnote is an interface passed on to the smartforms regardless of any changes that you made in the smartforms.
    Do you have any idea why is this so?
    Thanks
    David

  • Anyone else having reset loop issues with ipad or ipad mini after IOS 7.02 update ? Based on my research it looks like this release is a total disaster for a lot of users. Locking up phones and ipads. Hopefully 7.03 will fix this mess.

    My Ipad mini is in a constant reset loop since 7.02 upgrade. Did a full recover twice to Factory setting thru Itunes. That did not work. Any thoughts on this release and it's implications. Looks like many people are having the same issues.

    Hi gruhland,
    Thanks for your reply.  It sounds like your device is actually in a restart loop, which is different from the process of a soft reset.  Specifically, what I wanted you to try is this:
    Resetting your device
    If your device stops responding, you can reset it by pressing and holding both the Sleep/Wake and Home buttons for at least ten seconds, until the Apple logo appears.
    If resetting does not break the restart loop, it sounds like a different direction may be warranted here. Due to the nature of your issue you may find more assistance by using another one of Apple's support resources:
    http://www.apple.com/support/contact/
    Take care,
    - Ari

  • Page printing issue with smartform PO

    Hi Super-Techies,
    I have created a z print program for my purchase order smartform. But the issue I am facing now is that when i try to view the purchase order from transaction me23n -> print preview ( with 15 items). I am getting output as a single page with 10 items on it. The rest 5 items are not being displayed. I mean the page is not getting printed from 2nd page onwards.
    What could be the issue??? Can anyone suggest me.
    Thanks & Regards,
    Vinit

    Hi,
    As said above, I have used table instead of template and the data is flowinf to next pages.
    BUt now the issue is that in the last page suppose if there are only 5 items, than the window border prints after 5 items. It is not good while print preview as there is a blank space created in form (for the rest 5 items which are not being used).
    I want to fix the main window border irrespective of the line items.
    Whats advice on this issue.
    Regards,
    Vinit

Maybe you are looking for

  • ITunes on an external HDD and Airport Extreme BS

    Ok, sorry to be boring, but I can't get this to work as I think it should. I want to have a central iTunes library based on the USB-connected 1TB HDD, so that I can train all my Macs to reach for the files from the same place. So that I can access th

  • Sun Java System Application Server 9.1  errors

    Hi Please asiste me ,I am getting this errors from : |WARNING|sun-appserver9.1|javax.enterprise.resource.resourceadapter|_ThreadID=29;_ThreadName=Timer-31;orcale_sage_live;Connection could not be allocated because: Io exception: Socket is not connect

  • Changing Mac Address/Static ip

    I recently bought an New iMac and Migrated everything over from my old mac. However I mistakingly migrated the Static IP address or MAC address from the old machine too! This is now giving me problems when trying to connect both machines to my networ

  • Problem while emailing after exporting as PDF.

    I have this strange problem. Basically, we have this VB6/SQL2005 application that exports crystal report into pdf attaches it to email and then send it in email...now most of the time and i would say about 95% of time, the email goes fine and they re

  • IPod mini does not restore - Any advice?

    My iPod mini is frozen, after switch on, on the Apple logo. Doing many resets do not change anything. Battery is OK. I have tried restores, but the iPod is not recognized, when connected either through firewire, or USB, on 2 different MAC iBooks. All