SMARTFORMS - Calling one second window

Staff,
somebody knows as I make to include one second page in smartform, this second page will have different information of the first one, is trying informs to move it of income, in the first page the data go and in the other page it leaves images to protect the information when folding the letter. I copied the standard form and created a Z, the page with the data SAP already I disponibilizou, then I tried to include a page, but she only appears the first one.
Translated from the Portuguese and moved to the correct forum
Please remember that English is the language of the forums
Edited by: Rob Burbank on Feb 16, 2012 4:29 PM

Boa tarde,
Not everyone speaks Portuguese so you might want to resubmit your question in English.

Similar Messages

  • Simple Soap Test, VERY SLOW with XP, only 5 calls per second !

    Hello,
    I'm just starting developing a web service. My first test shows a very slow performance of only about 5 calls per second:
    Windows XP client localhost -> Windows XP server: 2000 calls per second
    Windows XP client in VM on server maschine -> Windows XP server: 4,5 calls per second
    Windows XP client over 100 MBit LAN -> Windows XP server: 2000 calls per second: 4,5 calls per second
    Windows XP client over 1000 MBit LAN -> Windows XP server: 2000 calls per second: 4,5 calls per second
    So you might think, that is it, but - using identical jars:
    Mac OS X, 10.6 client -> Windows XP server: 880 calls per second
    Windows XP client -> Mac OS X 10.6 server: 4,5 calls per second
    So the problem seems to be the client setup on an Windows XP system.
    This is the service code:
    package net.metasafe.soapbenchmark.server;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    @WebService
    public class TestLib {
         private int count = 0;
         public TestLib() {
              // nothing to do
         @WebMethod
         public int div(int a, int b) {
              this.count++;
              if (b == 0)
                   throw new IllegalArgumentException("b must not be 0!");
              return a / b;
         @WebMethod
         public int getNumberOfCalls() {
              return this.count;
         @WebMethod
         public void resetCount() {
              this.count = 0;
    }This is the sevice publisher:
    package net.metasafe.soapbenchmark.server;
    import javax.xml.ws.Endpoint;
    class ServicesPublisher {
         public static void main(String[] args) {
              if (args.length != 2) {
                   System.out.println("2 Arguments required: <servername/IP> <port>");
                   return;
              String url = "http://" + args[0] + ":" + args[1] + "/services";
              System.out.println("Publishing TestLib service at url '" + url + "'.");
              Endpoint.publish(url, new TestLib());
    }This is the client code:
         public static void main(String[] args) throws MalformedURLException {
              if (args.length != 3) {
                   System.out
                             .println("3 Arguments required: <servername/IP> <port> <number of calls>");
                   return;
              int num = Integer.parseInt(args[2]);
              URL url = new URL("http://" + args[0] + ":" + args[1]
                        + "/services?wsdl");
              System.out.println("Conneting to service '" + url + "' .... ");
              QName qname = new QName("http://some_uri/",
                        "TestLibService");
              TestLibService service = new TestLibService(url, qname);
              TestLib tl = service.getTestLibPort();
              System.out.println("Connected !");
              // reset count
              tl.resetCount();
              System.out.println("\nPerforming " + num + " calls ...");
              long starttime = System.currentTimeMillis();
              int i;
              for (i = 1; i <= num; i++) {
                   tl.div(i, 2);
                   if (i % 100 == 0)
                        System.out.println(i);
              long t = System.currentTimeMillis() - starttime;
              System.out.println("Performed " + tl.getNumberOfCalls() + " calls in "
                        + (t / 1000.0f) + " seconds.");
              System.out.println("Calls per second: " + (num * 1000.0f / t));
              System.out.println("Done");
         }Any idea, why this is so slow, if the client runs on an Windwos XP (Pro) system ?
    Is there anything I have to be aware of when choosing the QName ?
    Best regards
    Marc

    Hello,
    no one any idea on for this ?
    How many calls do you get normally on Windows XP machines ?
    Regards
    Markus

  • How to close a window that is called from main window?

    hi....
    I have a main window that calls a second window, but when I close the second window all my application end. I just want the second window returns to main window. how do I do it?

    Set the onClose behaviour: ... something like setDefaultCloseOperation
    dont exist, instead dispose.
    In addition you could attach a listener to the windowClosing event

  • Calling two smartforms in one Abap program

    Hi ABAPers,
    Can anybody know how to call 2 smartforms in 1 abap program?actually i used the FM SSF_FUNCTION_MODULE_NAME...and two smart forms are called...but my main problem is...the first smartforms is called and the print dialog box appeared...once i click the button back ...the second smartforms is called and print dialog box appeared again..
    I want to correct this...i want this  to be happen once i click the print button...the two smart forms will be combined in a one printing...meaning the first page is the first smartforms and the next page will be the second smart forms...no matter how many pages will be the first smartforms...the second smartforms will concatenate or will append to the last page of the first smartforms..how can i do this?
    Please help...this is my sample code..kindly correct the error.
    Will reward points...
    suppressing the dialog box****************************
        outop-tddest = 'LP01'.
        cparam-no_dialog = 'X'.
        cparam-preview = space.
        cparam-getotf = 'X'.
    Call the First Smartforms *******************
       CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname           = 'ZSF_CHEQUE'
          IMPORTING
            fm_name            = ly_formname
          EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.
        CALL FUNCTION ly_formname
          EXPORTING
            prepared_by      = p_prepb
            approved_by      = p_apprb
          TABLES
            it_cheque        = it_final
          EXCEPTIONS
            formatting_error = 1
            internal_error   = 2
            send_error       = 3
            user_canceled    = 4
            OTHERS           = 5.
    Call the Second Smartforms *******************
          CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
          EXPORTING
            formname           = 'ZSF_TSHEET'
          IMPORTING
            fm_name            = ly_formname
          EXCEPTIONS
            no_form            = 1
            no_function_module = 2
            OTHERS             = 3.
        CALL FUNCTION ly_formname
          EXPORTING
            prepared_by      = p_prepb
            approved_by      = p_apprb
          TABLES
            it_cheque        = it_final
          EXCEPTIONS
            formatting_error = 1
            internal_error   = 2
            send_error       = 3
            user_canceled    = 4
            OTHERS           = 5.
    Thanks in advance
    aVaDuDz

    hi,
    i never used these function but i've found this link.
    [http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450]
    [http://help.sap.com/saphelp_nw2004s/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/content.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/frameset.htm]
    [SMartform printing;
    hope that is useful.
    bye
    Marco
    Edited by: nicolai marco on Jan 14, 2008 12:36 AM

  • When I open up Firefox I get 2 windows one with my tabs and the other is ad on manager how do I stop the second window if I try to close it both windows clos

    This problem just started when I start up Mozilla fire fox it opens 2 sessions or something the first one has my tabs form the previous session the other one is blank except for the 2nd window only has add on information, but when I try to close the second window it automatically closes the whole thing and I have to start all over again, what can I do

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created

  • Open a second window from the first one

    Hi,
    The problem of my application is loosing control when I open the second window, so I know that the problem is the run of the sub VI but I don't find an other possibility to open a second window from the first one knowing that the first sends its vales to the second one. In an other way I want to open two windows simutaneously.
    NB: I attached  a simple verssion of my application.
    Can someone help me please.
    Attachments:
    The main VI.vi ‏21 KB
    The su b VI.vi ‏28 KB

    Hi Basile,
    why do you open a new thread again? Didn't the older one provide a solution?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Unable to download iTunes on my second windows computer (64 bit). I got it fine on my first one. After downloading the program and installing it, I keep getting an error message:Apple Mobile Device Failed to Start. This happens wven when my IPhone 5c is t

    I am unable to download iTunes on my second Windows 8 computer (64 bit). I got it fine on my first one and have used it quite a bit. After downloading the program and installing it on the second computer, I keep getting this error message: "Apple Mobile Device Failed to Start." This happens when when my IPhone 5c is connected via Wi-Fi and I have clicked on "Trust This Computer." (I have tried to install several times-- It gets hung up when it reaches"Starting Services.")

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • Second window blank opens with Firefox startup - Only want saved one

    This problem has been going on for about two years and I'm surprised it isn't fixed yet in my latest update. My Firefox is automatically started up, but an unwanted second window opens that blank and I have to close it. Previously it was a Java problem, but is it possible to create a Firefox version that can get a long with Java and just open one window?
    Thanks.

    I started in safe Mode. I have the default theme. Starting in safe mode still gave me the same problem. I went back to the normal Firefox and still had the same problem. Yesterday I restarted my computer for 11 Windows updates. I am not going to spend all day starting and restarting my computer and removing my History and whatever else. Firefox should have a direct contact to it's users, to assist them instead of having their users work for them as forum responders and trouble shooters. This has already taken up way too much of my time.
    I will say in normal Firefox the additional NEW TAB had no URL in it, but it did have the 12 icons on the page. In Safe Mode it had a URL that began with Chrome and it had a blank page, it didn't have the 12 icons as in normal mode. I don't have anything Chrome on my computer.

  • How to keep first form window state maximize when you called the second for

    HI,
    how to keep first form window state maximize when you called the second form ?
    Thanks

    Here is sample of doing this.
    Chris

  • Smartforms - how to call 2nd secondary window page

    Hi
    How to call 2nd secondary window page from Ist Main window. The scenario is i have one main page. I have already called 2nd page thru command line and now want to call another page (i mean third page) from same main window. How do I do?
    Thanx and regards,
    Rajesh Vasudeva

    Hi Rajesh,
    Go for the below link>>>>>
    [http://help.sap.com/search/highlightContent.jsp]
    thnks.

  • Closing one window (x in top right corner) will try to close the second window as well.

    If I have two different windows open with tabs, and I try to close 1 window (no tabs), it will also try to close down the second window and ALL the tabs it contains as well. This has never happened in previous versions.
    But when I use the shortcut control w, the window closes fine.

    See "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]

  • Page break for Smartform with multiple main window on pages

    Hi Experts,
    I have a requirement for printing 3 pages. The difference among the 3 pages is the main window part.
    The main window contains not only internal table, also complicated texts like payment instructions etc.
    The requirement is in each page, the data in internal table should be changed, also payment instruction should be changed accordingly.
    e.g:
    Main Window of Page 1
    Part 1 for Internal table
    VAT on ITEM ------- 4O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 1
    Main Window of Page 2
    Part 1 for Internal table
    VAT on ITEM ------- 5O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 2
    Main Window of Page 3
    Part 1 for Internal table
    VAT on ITEM ------- 6O-------60,00------0.00%-------EUR
    Part 2 for Payment Instructions
    Texts for Page 3
    At first, I was using only one page 'Page1' with a variable page_no = 1 as default value, and use program line page_no = page_no + 1 as counter. when page_no = 2, use command for force page break to 'Page1', then under the command, change the internal table and payment instruction texts. when page_no = 3, ...
    But I encountered an error saying:
    Runtime Errors         GEN_BRANCHOFFSET_LIMIT_REACHED
    Short text
         Jump distance is too large and cannot be generated.
    So I created 3 pages, with different main window M_window1, M_window2, M_window3 for each page. In page1, after printing the M_window1, page_no = 2, use command to go to page2, but page2 is never printed. I think this is because only one main window can exist in a smartform? but why smartform allows creating individual main window for different pages? what's the use of such main window?
    By the way, what's the use of command for force page break? only work for one main window in a smartform?
    Getting back to my requirement, I think I should still use one page and command for page break. I am trying to solve this.
    Thanks.
    Li Jun Da.

    Now I am using 3 pages: Page 1, Page 2, Page 3.
    Page 2, Page 3 are copies of Page 1 with main window renamed as second window: mw 2, mw 3.
    I also created 2 command nodes in main window of page 1: cmd 2, cmd 3.
    cmd 2 is for page break to Page 2, cmd 3 is for page break to Page 3.
    The second window mw 2, mw 3 in Page 2, Page 3 can be displayed.
    Even though, I still can't understand how main window of pages (not 1st page) can work.

  • Need to dynamically include an image file when calling a popup window

    I am working on a web dynpro Java app which uses a button to call a popup window/view. Within the popup, I want to dynamically choose an image to show (from mime types) based on a criteria...there will be multiple buttons on the initial view that all call the same popup, but the popup will have content specific to which button called it (specifically the image embedded in the view).
    My question is, what is the proper/best way to do this?
    Here are some possible ways I can think of...
    1. Pass a parameter from each button during the call of the event, but how does that get sent to the implementation of the second view for use in determining which image? And, how do I modify the source property of the image element based on that parameter?
    2. Create multiple pages and views for each button to call...but this seems decidedly un-DRY.
    3. Saw one posting on how to dynamically create a cached image...I could use different event handlers in the initial view, then load individual images from the mime library at that point...cache it into a hard-coded image name...then just call the identical view every time. Not sure this is even possible...input?
    I don't know specifically how to implement any of these options, or know if there are other/better ways. Any help would be appreciated.

    Just create a context attribute "imageFileName" in the component controller or a custom controller, map this attribute from both views (the one that contains the buttons and the one in the popup window that displays the image).
    Now you can have an separate action for each button or one common action. In the first case just set the "imageFileName" inside the action handler for the specific button. In the second case use an action parameter "buttonId" and a parameter mapping
    button.mappingOfOnAction().setParameter("buttonId", button.getId());
    to determine which button triggered the action. After having checked which button was pressed, set the "imageFileName" accordingly.
    Armin

  • Calling one WD Application fron URL

    Hi Experts,
    I have to call one WD Application in a report.For that i use one FM which gives me URL after passing application name to that.
    The URL which i am getting from the FM is working fine.
    Further the requirement is to pass a value from the report to the WD Application.
    Is it possible by modify the URL with parameter?
    I need that value at the view level as well,how i can do this.
    Please help.
    Thanks
    Mahesh

    this is method to pass value to pass from one wda to another wda through modifying the url.   ( not from report to wda )
    Data w_url type string,
    w_value type string.
    get the url of calling aplication
    call method cl_Wd_utilities->construct_wd_url
    exporting application name = name of second application( to which u want to pass parameter )
    importing out_absolute_url = w_url.
    ***Make the value type compatible that has to passed with url.
    w_string = lv_pernr
    ***Now attach the parameter and its value with url that have to passed to 2nd application
    call method cl_http_Server=>append_field_url
    exporting name = 'pernr'
    value = ' w_value'
    changing url = w_url.
    then popup window for 2nd application with above url
    lo_window = lo_window_manager->create_external_application ( url = w_url ).
    lo_window -> open( ).
    ***now in wddoinit of 2nd application
    data lv_param type string
    lv_param = wdr_task=>client_window->get_parameter( ' pernr ').
    Now you can use lv_param in 2nd application.
    Regards
    srinivas

  • 2 smartforms in one program

    is it possible to call 2 smartforms in one program wherein the 2nd smartform will always be printed as last page?
    how do i do this in the program?

    HI,
    End of the first smartfrom call place the call for the second smartfrom and save the both forms in same spool request which is generated in first smartform call.
    You need to pass the control parameters to the smartfrom..check the below code
    control_parameters-no_close = 'X'.
      control_parameters-no_open = space.
      " Calll First smart Fom
      control_parameters-no_open = 'X'.
      control_parameters-no_close = space.
      " Calll second smart Fom

Maybe you are looking for

  • Can't connect to wireless network in vista via parallels

    I have sucessfully installed vista on my macBook, but I can't reach the wireless internet connection in my building. No matter what i do i can't get it to work. Am I missing some drivers or what is happening. I can't find my airport... Kind regards N

  • Download app world: error 905

    hey you all! i recently got my new blackberry bold 9790 and i used to be quite happy about it until i realized that i can't get any apps... it all started when i noticed that i couldn't open the installed app world icon on my blackberry. i then unins

  • Photoshop 12 setup issues

    Hi I have loaded Photoshop 12 from the cloud and it says it's loaded correctly . When I log in vuyer the shortcut I get the start page but cannot get organiser to open . The Operationing platform is Vista Home What have I not Done Thanks

  • Exporting report to Excel, image doesn't want to show

    I have a report that has the client's company logo located in a narrative inside a report. The image is placed in the correct location as per the other posts on the forums. When I run the report and download to Excel, the image shows up as an x in Ex

  • Fusion Absence Status stuck 'In Progress'

    Hi ! I'm trying to complete a full cycle of recording an absence. I've  created the accrual plan, the absence type  and enrolled employees in accrual plan. At  employee level I added an absence ( of the type created before ) and is stuck in status 'I