Dynpro call during processing -- Without PBO, Dynpro remains visible

Hello!
My problem is as follows:
During the build of a tree hierarchy, i check how long the work is going on since starting the process. If work lasts longer than an amount of time, i interrupt processing and call a function that calls a Dynpro. After leaving to screen 0, I continue processing but as no pbo is called, the before called Dynpro remains visible on screen until procession finished and a pbo is executed by system.
Is there any possibility to tell the Dynpro to disappear before PBO?
Many Thanks in advance,
Thomas

Hi Arnab!
Thanks for the fast reply!
But that's not the problem.
I'll try to show you what I've got:
In ABAP-Objects I've got a manager class that runs a method M.
In this Method M I'm extending a CL_GUI_ALV_TREE-Object by adding nodes recursively. In the recursive method I check if some conditions are false, and if so, call an ABAP-Function that calls a Dynpro. After leaving this Dynpro (by using leave to screen 0), the PBO of the parent Dynpro is not processed because process is still inside the recursive method. The update is done not before Method M and the recursive Method have been fully processed.
Method M.
loop at nodes.
call method build_nodes_recursively.
endloop.
endmethod M.
Method build_nodes_recursively.
if condition is false.
call function D. //Function call that calls Dynpro
if function_call_d is true.
   return.
endif.
endif.
call method build_nodes_recursively. //recursive call.
endmethod build_nodes_recursively.
Maybe you understand my problem now?
Because there's no PBO of  the parent Dynpro, recursive progress goes on after closing the child Dynpro but the child Dynpro is still visible until Method M is finished and PBO of the parent Dynpro is processed.
Thank you for helping,
Thomas
Edited by: Thomas Hostnik on Jul 15, 2009 2:14 PM

Similar Messages

  • Call agreement processing in WEB UI from ABAP WebDynpro

    Dear all,
    I have two problems:
    1) I create agreement (BUS200071, object type ZGAG) in web dynpro application. After successfull creation I want to call  agreement processing within web dynpro application or via new browser window.
    2) I managed to call Display method of BUS200071, but it didn't work good. Only the first screen of WEB UI was displayed with error message "Without access for action Display object type agreement GAG", however I tried to display agreement type ZGAG, which was created by my web dynpro application.
    Could You please help me, how to accomplish this task.
    Thank You in advance
    Martin

    Hello GopalY,
    In my experience its not possible to call OLE object in Webui. Maybe customer 3 party application will be supply some web service to handle credit card payments. I think this is the simple way to access 3party application.
    Regards,
    Zafer,

  • Without SPOOL Dynpro!

    Hi friends!
    We are trying to submit a SAP Standard program in FOREGROUND mode that gives the output in form of SAP SCRIPT but we are unable to generate a spool from it.
    Whenever a SUBMIT statement is triggered a BOX is popped up and spoils the show.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          no_dialog      = 'X'
        IMPORTING
          valid          = w_valid
          out_parameters = e_params.
    submit ZPROGRAM
    to SAP-SPOOL without spool dynpro
                spool parameters e_params
    AND RETURN
    USING SELECTION-SET '28951'.
    Any thoughts, how do we generate a SPOOL number from this. As later we need to take this spool and convert into PDF.
    Thanks.

    Hey Anderson,
    Check this program . It works.
    REPORT ztest_notepad.
    TABLES: tsp01.
    "Variables
    DATA:
       l_lay    TYPE pri_params-paart,
       l_lines  TYPE pri_params-linct,
       l_cols   TYPE pri_params-linsz,
       l_val    TYPE c.
    *Types
    TYPES:
       t_pripar TYPE pri_params,
       t_arcpar TYPE arc_params.
    "Work areas
    DATA:
       lw_pripar TYPE t_pripar,
       lw_arcpar TYPE t_arcpar.
    l_lay   = 'X_65_132'.
    l_lines = 65.
    l_cols  = 132.
    CONCATENATE sy-uname sy-datum sy-uzeit  INTO lw_pripar-plist."Give spool name.should be unique
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        in_archive_parameters  = lw_arcpar
        in_parameters          = lw_pripar
        layout                 = l_lay
        line_count             = l_lines
        line_size              = l_cols
        no_dialog              = 'X'
      IMPORTING
        out_archive_parameters = lw_arcpar
        out_parameters         = lw_pripar
        valid                  = l_val
      EXCEPTIONS
        archive_info_not_found = 1
        invalid_print_params   = 2
        invalid_archive_params = 3
        OTHERS                 = 4.
    lw_pripar-prrel = space.
    lw_pripar-primm = space.
    SUBMIT zprogram
    TO SAP-SPOOL SPOOL PARAMETERS lw_pripar
                      WITHOUT SPOOL DYNPRO
    USING SELECTION-SET '28951'
    AND RETURN.
    * To fetch the spool number from TSP01 table
    SELECT SINGLE *
           FROM tsp01
           WHERE rq2name = lw_pripar-plist."Give spool name.should be unique
    IF sy-subrc = 0.
      WRITE tsp01-rqident.
    ENDIF.
    Thanks
    Venkat.O

  • How to call PDF file in Web Dynpro Appl?

    How to call PDF file in Web Dynpro Appl?

    Hi Gobinath,
    1. Create a value attribute of type byte called pdfSource.
    2. Insert an UI element called Interactive Form in your layout
    3. Set the source property of this Interactive From UI element to the context pdfSource.
    4. Insert a button which would open your pdf file.
    public void onActionsubmit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionsubmit(ServerEvent)
       IPrivate<viewname>.IContextElement contextElement = wdContext.currentContextElement();
             byte[] bytes = contextElement.getPdfSource();
             try
                   File file = new File("C:
    temp
    example.pdf");
                   FileOutputStream os = new FileOutputStream(file);
                   os.write(bytes);
                   os.close();
                catch (IOException e)
                   // do something
                   e.printStackTrace();
        //@@end
    Warm Regards,
    Murtuza

  • How to call web services in WEB DYNPRO ABAP

    Hi ABAPER'S,
    Please let me know how to call web services in web dynpro.
    Thanks,
    Sandy.

    Hi Sandy,
    Please check this blog..
    /people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    also cehck this...
    call the webservices in webdynpro ABAP.
    calling webservice in webdynpro component
    Re: Web Services in WDA.
    Cheers,
    Kris.
    Edited by: kissnas on May 24, 2011 11:37 AM

  • Calling adobe form from Web Dynpro ABAP

    Hi Friends,
                        This is the following error, which i got when i tested my application. Calling adobe form from Web Dynpro ABAP.
      WebDynpro Exception: ADS: Request start time: Tue Nov 16 14:00:22 YEKT
      2010(200,101).
                        Can some one tell me how to solve this....
    Regards
    Sankar

    Hi,
    Please refer to this same link in forum
    WebDynpro Exception: ADS: Request start time, start Interactive Form
    WebDynpro Exception: ADS: Request start time
    Thanks
    Pradeep

  • Calling a Method in Web Dynpro ABAP

    Hi Experts,
    I have created a class in se24 and called its methods in web dynpro by simply creating its object. It is working fine. After that i came to know that method should be called through creating a service call in WD.
    What is the standard way and why?
    Thanks
    Ravindra.

    Hello Ravindra ,
                                  I think the better way is to create an assistance class ( Say A1)  and create an attribute (Say AC1) as object of your class ( Say  C1 ).
    In the costructor of you assistance class A1  you can instanciate the object of C1 .
    Now inside a method of assistance class you can call the method of C1 any time because AC1 is already instantiated .
    MVC architecture recommends you should have separate  method to aceess the data and you write your business logic in assitance class methods .
    Hope this will help you .
    Regards
    Vivek

  • Calling Batch input from Web Dynpro - any alternatives for table updates?

    Hi!
    I am asked to create a screen in Web Dynpro for the GJ30 transaction (JV Cutback mapping of WBS' elements). I created a remote enabled function module which call batch input for GJ30 . Testing the Function modules direclty goes fine, but not calling the function module from WD. then I get the same error message as when I once tried to call SAP GUI from Web Dynpro ( Call transaction /submit program).
    My next step is to try to create a batch input session (instead of call transaction) and run it using rsbdcsub, and then check the result of the run. But maybe this will fail of the same reason as well, and I suppose this will make the user waiting longer for the response .
    I read somewhere that Web Dynpro does not support batch Input. But what can you do when there are no standard BAPI's for the update you want to do in SAP ?  We are not supposed to do direct table updates.  
    Anyone who have struggled with the same issues and found a solution??
    regards, Tine

    Hi,
    as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
    Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
    Thanks,
    Chandra

  • Exiting a Runtime Process without calling destroy()

    I have a child process that I have started with Runtime.getRuntime.exec(). Is there any way to stop this process without allowing the child process to run to completion or calling Process.destroy()?

    I have a child process that I have started with
    Runtime.getRuntime.exec(). Is there any way to stop
    this process without allowing the child process to
    run to completion or calling Process.destroy()?Not portably.
    If on Unix/Linux, you can exec some script code to run "ps" to find your process (perhaps by examining the command line) and send it a SIGTERM via "kill".

  • How can we call methods of one web dynpro component in another one

    Hello Team,
    How do I call  one Web Dynpro component methods in another Web Dynpro component.
    How do we use public parts.
    thanks

    Hi,
    You want to use Comp2's getData() method in Comp1
    If both the WebDynpro components are in the same DC:
    1. Create a wrapper method (with the same signature) in the Comp2's Interface controller. And invoke the Component contorller's getData() method in this method using the below code.
    wdThis.wdGetComp2Controller.getData()
    2. Now Go to the Comp1 and right click on UsedWebDynproComps and add this Comp2 as a UsedWebDypro component.
    3. Now go to the Component Controller of Comp1 and in properties tab add the usage declaration of Interface controller of Comp2.
    4. Now using this below code you can access the method of InterfaceController of Comp2.
    wdThis.wdGetComp2Interface().getData();
    If both the WebDynpro components are in different DCs:
    1. Right click on Comp2 and select Add to public part on Comp2 in DC2.
    2. Now Add this public part in DC1 UsedDCs.
    Now repeat the above stpes 1...to..4. of  "If both the WebDynpro components are in the same DC" same.
    Regards,
    Charan

  • CE 7.1 - How to call CAF services from Web Dynpro

    Hi,
    whats the suggested way to call caf services from web dynpro?
    Of course I can use the Web Service model. But can I call caf directly?
    I read something about caf web dynpro model, but I cannot find it in nwds 7.1. On some older tutorial it was in context menu of caf project, but it seems to be removed.
    best regards
    tom

    Hi ,
    The standard way is to use the web service model.
    You have to expose the the services as web service and then you can use the wsdl url in the Adaptive web service model option.
    The above option will be available when you click the Model in the webdynpro application and the click create new model.
    Hope it helps you.
    Regards,
    Srinivasan Subbiah

  • Calling a Business process without using RMI nor WS.

    For efficience reasons we are interested in calling business processes from java classes deployed in the same server that WLI but without using RMI calls.
    In the documentation it's said that you are able to call Business Processes via WebServices, or via the JPD Proxy. This proxy could be used from a java class but it uses RMI.
    <b>There is an intermediate interface that we could use for executing processes without using RMI?.</b> Is this interface java accesible or we have to develop a Wrapper to adapt the call?
    Thank's, David.

    Hi,
    I experienced the same behaviour with my setup here - only he ws-addressing is used. I am using Oracle SOA Suite 10.1.3.1.0.
    After redeploying the process several times, i gave up ...
    I wonder if the correlation property is entirely ignored ?
    Thanks in advance,
    André

  • Error during calling BPEL Process Using Oracle BPEL Process Manager Client

    hi,
    I have the following error during Calling BPel process and I can not detect the reason :
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at portlet.BPELProcess.startProcess(BPELProcess.java:68)
         at portlet.BPELProcess.main(BPELProcess.java:89)
    My Code :
    locator = new Locator("default", "welcome1");
    deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
    String SchemaInputXML = "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n" +
    " <soap:Header/>\n" +
    " <soap:Body xmlns:ns1=\"http://www.globalcompany.com/ns/sales\">\n" +
    " <ns1:User>\n" +
    " <ns1:FirstName>787878</ns1:FirstName>\n" +
    " <ns1:LastName>ujfyytytry</ns1:LastName>\n" +
    " </ns1:User>\n" +
    " </soap:Body>\n" +
    "</soap:Envelope>\n";
    NormalizedMessage nm = new NormalizedMessage();
    nm.addPart("payload", SchemaInputXML);
    deliveryService.request("userBPEL", "initiate", nm); --> here exception appear
    userBPEL is my Process Name
    initiate is BPel method

    Message was edited by:
    Marc Kelderman

  • Cannot make http call during JCO thread

    The software makes a call as follows:
    1. EJB via JCO calls a remote enabled function on an R3 server.
    2. The function calls a class with some information that is posted as XML using if_http_client.
    3. A rest service on another server recieves this as an HTTP post.
    The same software is called from an SAP GUI process which calls the same class method that makes the http call.
    Errors only occur when the http call attempt is made during the RFC process through the JCO call from java.
    No error occurs when called during a users activity in an SAP GUI screen.
    Also, this error does not occur on our dev or test systems. The error only occurs in production.
    ERROR DETAILS:
    during http_client->send we get an http_communication_failure.
    Tracing shows that the actual error is: HTTPIO_PLG_ICM_CONNECT_FAILED which is deep in the code during the actual system call by the sap software.
    We have traced through logs, and checked all kinds of settings. Our test system is a photocopy of our production system, including user settings.
    Any Ideas?

    There doesn't seem to be anything in your question that relates to the usage of Web Dynpro ABAP.  Perhaps you would find a better response in another forum that more closely matches the technologies you are dealing with.

  • How to call a view without event handler onaction method.

    Hi Experts,
    I have develop a WD application. It has three views let view1, view2 and view3.
    In view1 one button is there (onaction) which navigates to view2 through outbound plug  wd_This->Fire_Out_Screen1_Plg(   ). where Out_Screen1 is outbound plug of view1.
    Now view2 appears , I want that after 10 seconds view2 automatically call view3, without action on view2.
    I have written like  wd_This->Fire_OUT_SCREEN2_Plg(  ). where OUT_SCREEN2 is outbound plug of view2, which navigates to inbound plug of view3.
    But its not working. Please suggest how to and where to write code to call a view without action .
    for ur ref.

    Hi Bhagat,
    Yes, you can attach media objects into a view
    Using IFRAME ui element and html mime object.
         Please refer the below link
    To insert video in webdynpro - Web Dynpro ABAP - SCN Wiki
    Using Flash Islands
              Here, you need to have your audio/video file as flash object
         Please refer the below tutorial on flash islands( a generic example )
         Adobe Flash Islands for Webdynpro ABAP
    Hope this helps you.
    Regards,
    Rama

Maybe you are looking for

  • Matrix Report in XML Publisher

    Hi, I have a requirement to develop a report through XML publisher.  Can anybody tell me the steps to do ? I don't know XML Publisher. Thanks in Advance, Pradeep

  • Problem with allowing HP to check

    Was asked to become a part of online program to improve your setups - printer stuff.  Well Let me tell you.  My printers, - both of them were working just fine until I said yes - I finally got this printer working but my Photo Printer is STILL off li

  • I ordered some RAM but it doesn't fit inside the slot.

    http://www.newegg.com/Product/Product.asp?Item=N82E16820146575 I discussed purchasing some RAM and was told that this product would work for my G5. However upon recieving the product I discovered that doesn't work and doesn't even fit inside the slot

  • Viewing SQL Audit Logs

    I am new at the SQL auditing feature. I have played around with it, and I have one problem that I hope someone can help me with. When I first turn on the SQL audit and the audit file is small I can view the log on my local machine with the log viewer

  • Internal Speakers

    So I've got an issue here where my headphones work fine in the line out jack at the back of my compy, but when I unplug them, my built in speakers refuse to cooperate. What I get when I try to mute or unmute them by pressing the button on the keyboar