Dynamic Multiple Branching in GP

Is it possible to dynamically branch out to multiple segment of process.
Thanks,
Samir

Hi Samir,
Yes you can dynamically create branching of GP process - if you use Alternate Block then your process may have two alternate paths one of which will be executed at runtime based on certain conditions. Otherwise if you want to use parallel branching then you have to use Parallel Dynamic Block (where you can assign users dynamically). You can control the number of branching at runtime by certain parameter mapping. You can refer this document for PDB:<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fe43ced1-0c01-0010-10ae-bc49598b18f6">Using Parallel Dynamic Block and Dynamic User Assignment (GP)</a>
Thanks,
Dipankar

Similar Messages

  • Advise on using DBMS_XA with multiple branches under one global transaction

    Dear all
    I need some advise on using DBMS_XA from PL/SQL with tightly coupled multiple branches under one global transaction. Basically, I've successfully written some PL/SQL code that in 3 different sessions attaches to 3 different branches of one global transaction and before ending each branch they can see each others uncommitted data. So far so good.
    However, I'm not sure I completely understand how each branch must call xa_end, xa_prepare and xa_commit correctly using two phase commit and my calls result in errors like:
    ORA-24767: transaction branch prepare returns read-only (XA error code 3 = Transaction was read-only and has been committed)
    ORA-24756: transaction does not exist (XA error code -4 = XID is not valid)
    ORA-02051: another session or branch in same transaction failed or finalized
    This is the structure of my programs (3 SQL*Plus sessions):
    main: Uses xid 123|0 (branch 0 of global transaction 123). This should be the coordinator that commits using two phase commit across the 3 branches
    m1.xa_start tmnoflags
    m2.DML
    m3.Wait for thread A + B to manually be started and run xa_end
    m4.xa_end tmsuccess
    m5.xa_prepare
    m6.xa_commit false
    thread A: Uses xid 123|A (branch A of global transaction 123)
    a1.xa_start tmnoflags
    a2.DML -- thread A can see main and thread B's data
    a3.xa_end tmsuccess
    a4.xa_prepare -- required?
    a5.Should we also call xa_commit false?
    thread B: Uses xid 123|B (branch B of global transaction 123)
    b1.xa_start tmnoflags
    b2.DML -- thread B can see main and thread A's data
    b3.xa_end tmsuccess
    b4.xa_prepare -- required?
    b5.Should we also call xa_commit false?
    The failing steps are:
    m5
    m6
    a4
    a5
    b4
    b5
    Before starting calling xa_end I see 3 rows in V$GLOBAL_TRANSACTION, eg (hex 7B = decimal 123):
    FORMATID GLOBALID BRANCHID BRANCHES REFCOUNT PREPARECOUNT STATE FLAGS COUPLING
    203348753 0000007B 00000000000000000000000000000000 3 3 0 ACTIVE 0 TIGHTLY COUPLED
    203348753 0000007B 0000000000000000000000000000000A 3 3 0 ACTIVE 0 TIGHTLY COUPLED
    203348753 0000007B 0000000000000000000000000000000B 3 3 0 ACTIVE 0 TIGHTLY COUPLED
    Thanks a lot in advance.
    Cheers
    Finn

    OK, I've figured it out. This is poorly documented as it's not well explained how to handle the various return codes. Turns out that all but the last xa_prepare calls return dbms_xa.xa_rdonly (tightly coupled branches are combined -- "read only" optimization), the last one returns dbms_xa.xa_ok and this is when you should call xa_commit.
    Now my next problem is that DBMS_XA doesn't work from within jobs (DBMS_JOB and DBMS_SCHEDULER), which makes it very difficult to use DBMS_XA. My purpose of using DBMS_XA is to coordinate work across multiple sessions in one transaction but if I can't easily create the multiple sessions, I'm stuck.
    When called from a job, xa_start throws:
    ORA-24789: start not allowed in recursive call
    on Oracle 11.2. In Oracle 11.1 it works, but xa_end fails with
    ORA-25352: no current transaction
    so I guess in fact the xa_start call didn't really work either, even though it returned tm_ok.
    I'm now trying to find a workaround on how to use DBMS_XA from within jobs, please comment if you have any suggestions. Or if you have any suggestions on other means of establishing the concurrent sessions (I wouldn't like to resort to external programs that need username/password to connect as password management would be a security issue).
    Thanks in advance.
    Cheers
    Finn

  • Expand multiple branches in a tree

    i want to know if its possible to expand more than one branch at a time using the URL construct. i understand that the following URL will expand the branch with the id of 7 but I want to expand multiple branches at the same time
    f?p=168:3::EXPAND,7

    Hello,
    You can do EXPAND_ALL that would expand all nodes. I never tried to expand 2 different nodes through the url, but had a look through it and didn't see an immediate request for that.
    A workaround would be to use javascript to doSubmit more than once? Or use another tree (ajax tree or dhtmlx tree for ex)
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/

  • How to Create multiple Branches

    Hi
    I want to create multiple Branches 5no's. How to do it.
    Then whether it is possible to create seperate bp's , employee's for Branches..in one Company Database Itself..
    Finally i want to track all my Profit/Loss and Balance Sheets by  branches levels.
    Thanks in Advance.

    Hi,
    You can configure B1 with multiple branches.  Use ware house to each branch.
    Use segmentation account and define the COA as user COA instead standard COA template.
    You will able to see the P&L segmentation wise branchwise, and consolidated.
    Hope this will help you.
    Pl. revert back for further clarifications.
    Regards,
    Venkatesan G.

  • Multiple Branches SAP 9.1

    Buenas
    Alguien ha utilizado en la version 9.1 el tema de Multiple Branches?
    Necesito ayuda para ver si se puede aplicar a la empresa
    Saludos

    Hi
    Check this Link it may helps you
    http://www.livingsap.com/wp-content/uploads/2014/06/What-New-9.1.pdf
    With Regards
    Balaji Sampath

  • Select_step problem in a dynamic Multiple RoadMap Step

    Hi everybody,
    I am working with a roadmap that dynamically assigns the number of steps from a data source assign to the multiple roadmap step. When I selected a step I am not being able to change the focus and yellow color to it. I already know which step the user selected by reading the context element assign to the multiple roadmap step, but what do I need to do in order to change the focus and color of it?.
    I read other post that describe the same issue, and the answer was to change the lead selection of the roadmap, but when I tried to do it I receive a dump saying that I cannot change the lead selection.
    This answered post [Re: Multipleroadmapstep Problem|] describes perfectly my problem and I already post the same question on it, but I think nobody reads it because the status of the post is answered..
    Regards,
    Eric
    Edited by: Eric Hernandez Pardo on Aug 14, 2009 6:41 PM
    Edited by: Eric Hernandez Pardo on Aug 17, 2009 12:36 PM

    Hi Arpan,
    I'm getting the dump exactly at this point " lo_nd_roadmap->set_lead_selection_index( vl_index )". I maded a few test based on your comment, with and without the '-index value' and also changing the context node bind to the selected_step, when I use the context_node "mrs" (this context is bound to the multiple roadmap step) like the code above I get no errors at all, but the step is not getting mark, neither changes its color. In this case I get the dump if I added the '-2'.
    If I bind another context to the selected_step of the roadmap and do the same procedure (replacing the wdctx_mrs for the new context) I get a dump at " lo_nd_roadmap->set_lead_selection_index( vl_index )" with the '2' or '-2' values.
    Any sugestions?
    DATA: lo_nd_roadmap     TYPE REF TO if_wd_context_node,
            lo_el_roadmap     TYPE REF TO if_wd_context_element.
    * navigate from <CONTEXT> to <MAIN> via lead selection
      lo_nd_roadmap = wd_context->get_child_node( name = wd_this->wdctx_mrs ).
    * get element via lead selection
      lo_el_roadmap = lo_nd_roadmap->get_element( ).
    data: vl_element Type Ref To  IF_WD_CONTEXT_ELEMENT,
          vl_index type sy-tabix.
    CALL METHOD lo_nd_roadmap->get_lead_selection_index
      receiving
        index  = vl_index.
    vl_index = sl_roadmap-step_id.
      lo_nd_roadmap->set_lead_selection_index( vl_index ).
    Regards,
    Eric

  • Create Multiple Branching options

    Hello All,
    I am a new user. I am not able to determine how I would
    record a session where there are multiple correct actions. I am
    creating a demo on a PeopleSoft application. I want users to know
    that they can access different pages from the main headings, the
    side headings or the drop down and each option is correct. Can I
    achieve this by taking particular action while recording?
    Thanks in advance

    Hello CBE,
    If you want to show multiple ways to navigate correctly, you
    would need to record it one way, then in editing go back to that
    screen and add the other 2 correct possibilities (clickboxes).
    There really isn't a way to add multiple correct actions on the fly
    while recording.
    But that is not really branching
    Lets say you get to that fork in the road, where a user
    could use multiple ways to move on to the correct item maybe by
    different paths which would require different screens (all roads
    leading to rome).
    Record all three into the same file (or multiple files if you
    like) then use your fork in the road to point to the slide where
    the path would be different, and by your description all come back
    to one. That is simple branching.
    Hope that helps,
    TM

  • Multiple branches to the same page

    A few questions about branches...
    1. Having a branch back to the same page with a 'when button pressed=Submit', another branch back to the same page with some other button-press condition, etc are all redundant, right?
    It is sufficient to have just one unconditional branch back to the same page, right?
    2. What is the difference between branch type 'branch to page or url' and simply 'branch to page'? Does the former cover the latter, so why do we need two types?
    3. Anyway, when I choose the latter, there is a checkbox below the page number for 'branch to page using redirect'. What does this mean?
    4. I have always seen the 'On submit: after processing' branch point being used. When would the other branch points be used?
    Thanks

    Vikas,
    1. No, they are not "all redundant" nor is any
    individual one. What if your page is submitted in
    some way other than by one of the buttons evaluated
    in the branch definitions?
    Right, thats why I said "It is sufficient to have just one unconditional branch back to the same page, right?". Why is it not sufficient to have just 1 unconditional branch? That would cover all the cases. Each page process can then check for whatever conditions it needs?Ummm, you say "Right" to my rebuttal and then you restate your original premise -- that logic eludes me. Let me offer this: Ponder my question, exactly as I wrote it, and consider self-submitting items, tabs, javascript, fields that submit the page when you hit Enter, etc., then it might make more sense. I don't think I can help you with that last part "Each page process..." even if it were an actual question.
    2. A Branch to Page (aka direct branch) calls the
    target page directly from accept processing without
    using a URL redirect. The other type redirects.
    Maybe this has nothing to do with HTMLDB, but whats the difference between "directly from accept processing" and "redirect"?Fair question. When you submit a page, wwv_flow.accept processes it. When it finishes, it evaluates the branching logic to determine what page you see next and then either redirects to that page (to f?p=...) or calls wwv_flow.show in the same database session (direct branch).
    3. That's a way of creating most branches as URL
    redirect branches when the developer isn't paying
    attention. Uncheck the box to "really" create a
    direct branch.
    You seem to be implying that a "direct branch" is not really desirable in most cases? Why? (I guess your answer to my question above will clear this up for me)Well, they're usually not the best choice. You end up with "wwv_flow.accept" in the browser location window after the branch and using the browser's back button to go back to those requests gives you that annoying "page contains POSTDATA" message. Those branches can be useful if you want to stay in the same database session for page processing (after submit) and the subsequent page view, such as in the case of inline validation errors where package state is maintained. The checkbox (default checked) technique is to require developers to really think about a choice that may have been reflexive.
    4. Please read the User's Guide.
    I did. Lets take them 1 by one
    a. On submit, before computation: The docs say this is to be used for a Cancel button. But wouldnt a javascript:document.form.reset() do the same thing?A Cancel button that submits the page does just that, it submits the page, allowing session state to be saved and any logic on the page to be performed before the correct branch is taken. You ask whether that javascript would do the same thing. The same thing as what, the Cancel button? No!
    b. on load before header: "...displays another page instead of the current page...". But then why wouldnt I just create a branch of some other branch point with that "another page number" in the first place?Because sometimes it's better for page X to decide to go to page Y before doing much of anything than for N callers of page X to make the same determination.
    I guess I am having difficulty understanding the concept of a "branch point". As you said elsewhere, a branch doesnt contain any logic, it doesnt call anything, it just branches to some page/url.Where did I say that?
    So, why have all these different branch points? What advantage does having this fine degree of control provide us? (as opposed to always 'on submit: after processing'?)Your proposal about reviewing various branch points was "Lets take them 1 by one", but then you skipped three of them. Please read the entire section on branching, create pages with all possible types of branches and a variety of buttons and conditions, experiment extensively with them and let us know if it's still unclear. I think you'll find, over time, that all features
    in HTML DB are there for a good reason. The developers found a need for them developing real applications. Where capabilities were missing, features were invented and added,
    where features seemed useless, they were dropped/deprecated. The tool you see today has been evolving for years. I think it's unreasonable to expect to be able to
    appreciate the value of every single feature until you've been using HTML DB for a couple of years.
    Scott

  • Print order confirmation at multiple branches

    I need to be able to print an order confirmation ( sapscript ) to all of the sourcing plant specified in the items.  We are using the standard print program, RVADOR01.  The copies need to print to the default BA00 printers set for the branches.
    How can I do this? 
    Thanks,
      Andrew Davidson

    HI,
      In Txn. NACE... Select your "Application V1".. then choose the button "condition Record" then choose your output type then maintain the condtion..
    Doc Type: <Value>
    Function: SP
    Medium 1
    Date/Time: 4
    Language:EN...
    then choose the line and click on "Communication" button here maintain the "output Device, flag print immedieately/release After output.
    and then try again.
    If your using Smartform/Scriptform then you need to define like this:
    Medium: 1 Print output
    Program: R2RRVADOR01
    Form routine: ENTRY
    Form: R2RBL_SDORC_L
    *PDF/SmartForm Form: *******Blank
    *Type: ******Blank
    Regards
    GK.
    Edited by: Gnana Kumar on Nov 17, 2010 5:24 AM

  • Correlation and multiple branches with flowN

    Hi All,
    I would like to ask a question about correlation.I am trying to spawn "n" processes (Process B) from a master process(Process A), and than collect the responses from these instances.I have an array as an input to Process A, and have a flowN activity.In this activity,I simply perform an assign(to assign the varible in the array by an index, to the input variable of invoke), an invoke and a receive activities.
    I have added correlation to the invoke as initiate correlation, and I added the same set to the receive activity.When I run the sample, unfortunately I get "Cannot initiate a correlation set more than once." error and the process is cancelled.In fact, the values for each array iteration is different, so I would expect to initiate n correlations for my waiting receive activities.
    Am I doing something wrong or isn't that the way it has to be done?

    No, I have inserted a scope into flowN sequence and defined a scope variable to use.From the audit trail, I can see I have successfully assigned the array variable to the scope variable.For an input of 2 list elements,the first flowN branch is successfully completed but the second branch has a faulted invoke with the message:
    "Cannot initiate a correlation set more than once."
    If I remove the correlation sets from the invoke and receive and leave the correlation to BPEL Engine, I get the following message:
    Conflicting receive.
    Another receive activity or equivalent (currently, onMessage branch in a pick activity) has already been enabled with the partnerLink "CalleeProcess", operation name "onResult" and correlation set "" (or conversation id). Appendix A - Standard Faults in the BPEL 1.1 specification specifies a fault should be thrown under these conditions.
    Message was edited by:
    Caglar Kara

  • Dynamic multiple alv

    hi all,
    I am able to display dynamic alv, but i have 2 lists to display.
    Since both lists are field symbols rather than internal tables, am unable to use reuse_block_list_append.
    Thanks,
    Srikar

    Hi Srikar,
    You can use dockingcontainer and split into ToP and Bottom and display the two lists.
    Refer sample code:
    *-- ALV Grid data declaration
    DATA : o_splitter          TYPE REF TO cl_gui_splitter_container,
           <b>o_alvgrid1</b>          TYPE REF TO cl_gui_alv_grid,
           <b>o_alvgrid2</b>          TYPE REF TO cl_gui_alv_grid,
           o_dockingcontainer  TYPE REF TO cl_gui_docking_container,
          o_container         TYPE REF TO cl_gui_custom_container,
          cont_on_100         TYPE scrfname VALUE 'SCREEN', " SCREEN
           o_container1        TYPE REF TO cl_gui_container,
           o_container2        TYPE REF TO cl_gui_container,
           i_fieldcat          TYPE slis_t_fieldcat_alv,
           <b>i_fldcatalog1</b>       TYPE lvc_t_fcat,
           <b>i_fldcatalog2</b>       TYPE lvc_t_fcat,
           v_ratio             TYPE i,
           w_layout1           TYPE lvc_s_layo,
           w_layout2           TYPE lvc_s_layo,
           w_fldcatalog        TYPE lvc_s_fcat,
           ok_code             LIKE sy-ucomm.
    *&      Form  f0420_create_objects
          Create ALV Objects
    FORM f0420_create_objects.
      v_ratio = 95.
      PERFORM objects_create USING:
                  'o_dockingcontainer' '' v_ratio '' '',
                  'o_splitter' o_dockingcontainer '' '2' '1'.
      IF cl_gui_alv_grid=>offline( ) IS INITIAL.
        CALL METHOD o_splitter->get_container EXPORTING row      = 1
                                                        column   = 1
                                 RECEIVING container = o_container1.
        CALL METHOD o_splitter->get_container EXPORTING row      = 2
                                                        column   = 1
                                 RECEIVING container = o_container2.
    Set where the splits on the screen comes
        CALL METHOD o_splitter->set_row_height
          EXPORTING
            id                = 1
            height            = 65
          EXCEPTIONS
            cntl_error        = 1
            cntl_system_error = 2
            OTHERS            = 3.
        IF NOT sy-subrc IS INITIAL.
          PERFORM error_handle USING text-024.
        ENDIF.
      ENDIF.
    Create the alv grids
      PERFORM objects_create
              USING: <b>'o_alvgrid1' o_container1</b> '' '' '',
                     <b>'o_alvgrid2' o_container2</b> '' '' ''.
    ENDFORM.                    " f0420_create_objects
    *&      Form  objects_create
          Create Objects
    FORM objects_create USING    value(pobject)
                                 pparent
                                 value(pratio)
                                 value(prows)
                                 value(pcolumns).
      CASE pobject.
        WHEN  'o_dockingcontainer'.
          IF cl_gui_alv_grid=>offline( ) IS INITIAL.
            IF o_dockingcontainer IS INITIAL.
              CREATE OBJECT o_dockingcontainer
                EXPORTING
                  ratio                       = pratio  "amount of screen
                EXCEPTIONS
                  cntl_error                  = 1
                  cntl_system_error           = 2
                  create_error                = 3
                  lifetime_error              = 4
                  lifetime_dynpro_dynpro_link = 5
                  others                      = 6.
              CHECK NOT sy-subrc EQ 0.
              PERFORM error_handle USING text-022.
            ENDIF.
          ENDIF.
        WHEN 'o_splitter'.
          IF cl_gui_alv_grid=>offline( ) IS INITIAL.
            IF  o_splitter IS INITIAL.
              CREATE OBJECT o_splitter
                EXPORTING
                parent            = pparent
                rows              = prows
                columns           = pcolumns
                EXCEPTIONS
                  cntl_error        = 1
                  cntl_system_error = 2
                  others            = 3.
              CHECK NOT sy-subrc EQ 0.
              PERFORM error_handle USING text-023.
            ENDIF.
          ENDIF.
        WHEN 'o_alvgrid1'.
          IF <b>o_alvgrid1</b> IS INITIAL.
            CREATE OBJECT o_alvgrid1
             EXPORTING
                 i_parent = pparent.
            CHECK NOT sy-subrc EQ 0.
            PERFORM error_handle USING text-024.
          ENDIF.
        WHEN <b>'o_alvgrid2'.</b>
          IF o_alvgrid2 IS INITIAL.
            CREATE OBJECT o_alvgrid2
              EXPORTING
               i_parent = pparent.
            CHECK NOT sy-subrc EQ 0.
            PERFORM error_handle USING text-024.
          ENDIF.
        WHEN OTHERS.
       do nothing
      ENDCASE.
    ENDFORM.                    " objects_create
    *&      Form  f0430_set_layout
          Set Grid Layout
    FORM f0430_set_layout.
      w_layout1-grid_title = sy-title.
      w_layout1-zebra      = c_x.
      w_layout1-sel_mode   = 'A'.
      w_layout1-cwidth_opt = c_x.
      w_layout2-grid_title = 'Error Records'.
      w_layout2-zebra      = c_x.
      w_layout2-sel_mode   = 'A'.
      w_layout2-cwidth_opt = c_x.
      w_layout2-no_toolbar = c_x.
      w_variant-report    = sy-repid.
    ENDFORM.                    " f0430_set_layout
    *&      Form  f0440_alv_output
          Display output in ALV Grid
    FORM f0440_alv_output.
      PERFORM <b>display_data_grid1</b> TABLES  <i_table>
                                         i_fldcatalog1
                                  USING  w_layout1.
      DELETE ADJACENT DUPLICATES FROM i_error COMPARING ALL FIELDS.
      PERFORM <b>display_data_grid2</b> TABLES  i_error
                                         i_fldcatalog2
                                 USING   w_layout2.
    ENDFORM.                    " f0440_alv_output
    *&      Form  display_data
          ALV Grid Display
    FORM display_data_grid1 TABLES p_output
                             p_fieldcat
                       USING value(p_layout).
      CALL METHOD o_alvgrid1->set_table_for_first_display
         EXPORTING
           is_variant                    = w_variant
           i_save                        = c_a
           is_layout                     = p_layout
        CHANGING
           it_outtab                     = p_output[]
           it_fieldcatalog               = p_fieldcat[]
        EXCEPTIONS
           invalid_parameter_combination = 1
           program_error                 = 2
           too_many_lines                = 3
           OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE i004 WITH text-026.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " display_data_grid1
    *&      Form  display_data
          ALV Grid Display
    FORM display_data_grid2 TABLES p_output
                                   p_fieldcat
                       USING value(p_layout).
      CALL METHOD o_alvgrid2->set_table_for_first_display
         EXPORTING
           i_save                        = c_a
           is_layout                     = p_layout
        CHANGING
           it_outtab                     = p_output[]
           it_fieldcatalog               = p_fieldcat[]
        EXCEPTIONS
           invalid_parameter_combination = 1
           program_error                 = 2
           too_many_lines                = 3
           OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE i004 WITH text-026.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " display_data_grid1
    *&      Module  USER_COMMAND_9000  INPUT
          PAI
    MODULE user_command_9000 INPUT.
      CASE ok_code.
        WHEN 'EXIT' OR  'CANC'.
          PERFORM free_objects:
                   USING o_alvgrid1 'ALV' text-027,
                   USING o_alvgrid2 'ALV' text-027,
                   USING o_dockingcontainer 'DOCKING' text-028.
          LEAVE.
        WHEN 'BACK'.
          PERFORM  free_objects:
                   USING o_alvgrid1 'ALV' text-027,
                   USING o_alvgrid2 'ALV' text-027,
                   USING o_dockingcontainer 'DOCKING' text-028.
          SET SCREEN '0'.
          LEAVE SCREEN.
        WHEN OTHERS.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9000  INPUT
    *&      Form  free_objects
          Free Objects
    FORM free_objects USING    pobject
                      value(ptype)
                      value(ptext).
      DATA: l_objectalv TYPE REF TO cl_gui_alv_grid.
      CASE ptype.
        WHEN 'ALV'.
          l_objectalv = pobject.
          IF NOT ( l_objectalv IS INITIAL ).
            CALL METHOD l_objectalv->free
              EXCEPTIONS
                cntl_error        = 1
                cntl_system_error = 2
                OTHERS            = 3.
            CALL METHOD cl_gui_cfw=>flush.
            CLEAR: pobject, l_objectalv.
            CHECK NOT sy-subrc EQ 0.
            PERFORM error_handle USING ptext.
          ENDIF.
        WHEN 'DOCKING'.
          DATA: lobjectdock TYPE REF TO cl_gui_docking_container.
          lobjectdock = pobject.
          IF NOT ( lobjectdock IS INITIAL ).
            CALL METHOD lobjectdock->free
              EXCEPTIONS
                cntl_error        = 1
               cntl_system_error  = 2
                OTHERS            = 3.
            CLEAR: pobject, lobjectdock.
            CHECK NOT sy-subrc EQ 0.
            PERFORM error_handle USING ptext.
          ENDIF.
        WHEN OTHERS.
          sy-subrc = 1.
          PERFORM error_handle
                      USING text-025.
      ENDCASE.
    ENDFORM.                    " free_objects
    *&      Form  error_handle
          Error Message
    FORM error_handle USING    value(ptext).
      CALL FUNCTION 'POPUP_TO_INFORM'
           EXPORTING
                titel = text-021
                txt2  = sy-subrc
                txt1  = ptext.
    ENDFORM.                    " error_handle
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • Apex Multiple Branches

    Using apex 4.2
    I am having trouble coming up with solutions to branch back n forth between pages. Here's the scenario:
    I have two types of pages. An organization page(6) and a Person page(12). Both an organization and a person can have an address, so upon clicking a link on either page 6 or 12, it will take you to the address page(3) and pass the corresponding information over to that page. On page 3 I have an item that captures and displays which page I came from (either 6 or 12). I know thats part of the solution. I'm just confused as to if I click the 'create' button or 'cancel' button, I want to navigate back to the correct page. How can I handle this using branches?? Hope this makes sense.

    Hi,
    indeed it looks like that the multi select popup somehow corrupts the jQuery Mobile call stack and when you click "Save Selection" it will try to restore the current URL after it has performed the AJAX call to submit the page.
    As an immediate workaround you can enter
    $("#wwvFlowForm", apex.gPageContext$).attr("data-ajax", false);into the Execute when Page Loads of page 4 to not use an AJAX call for the "Save Selection". Avoiding the AJAX call will trigger a full page refresh which will also cleanup the jQuery Mobile call stack.
    Will investigate further an let you know when I find out more.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Dynamic multiple waveform display

    Hi,
    I'm a labview beginner. Here I got a quick question. I want to use one waveform graph to display two waveforms (acquired&nbsp;from two channels). As shown in help files, it seems I need use "build array" to bundle the two data streams to one array and output to waveform graph. However, I got an error (error message: ''You have connected an array to its element type?) when I was doing this. Attached is a picture showing my simplified test case. Instead of use data acquired from hardware, in this test file, I use simulated sine waveform.
    I knew this could be a very small trick. However, I couldn'd find a way to fix it.
    Any help is appreciated.
    Attachments:
    post1.JPG ‏35 KB

    You do not lose a waveform when you use the merge signal function. It is the correct function to use when you work with a dynamic data type. If you converted the dynamic data from the simulate signal to a waveform data type or to a 1D array, then you would use the Build Array function like the help says. To see both signals, just replace the Build Array with the Merge Signals and look at your graph. You don't have to 'guess', you just have to do it and see

  • Multiple WLC redundancy using flexconnect across multiple branches.

    Hi
    I'm wondering if someone could give me a hint please.
    I have two WLC 5508s in two different branches/countries. 
    They have APs configured as Flexconnect with local routing.
    However all the APs are only on the first controller as the controller IP was manually entered before deployment.
    (I'm guessing this will need to be changed to DNS resolution?)
    1. I would like to load balance  APs that are in more contries/branches across Europe between the two WLCs
    2. and/or if one of the controllers go down, the APs would automatically move onto the other one.
    I'm just not sure if both can be done if the APs are on flexconnect.
    Thanks in advance for any replies.

    Hi,
    1. I would like to load balance  APs that are in more contries/branches across Europe between the two WLCs
    It can work, If you have configured the both WLC with excatly same way(same wlan id, same wlan name.....etc)
    2. and/or if one of the controllers go down, the APs would automatically move onto the other one.
    If the configuration for both wlc is same then primary fails then secondary will take place. Make sure WLAN ID order has to be consistent.
    Regards

  • Dynamic multiple form

    <TR>
    <html:form method="get" action="/DispatchActionTest">
    Name: <html:text property="name"/>
    <input type="hidden" name="methodToCall">
    <script>
    function set(target) {
    document.forms[0].methodToCall.value=target;
    </script>
    <p>
    <TD>
    <html:submit onclick="set('create');">New</html:submit>
    <TD>
    <TD>
    <html:submit onclick="set('update');">Edit</html:submit>
    </TD>
    </p>
    </html:form>
    </TR>HERE I have only one form. there is no problem. but i may get lots of TR's dynamically.
    so, there may be lots of <html:form> . How does my Action class know, which <html:form> the user has pressed ?

    Add a hidden field to the form with a unique number.

Maybe you are looking for

  • Please help !! stopAllSounds();

    Hi all, i'll come straight to the point ! you have 5 buttons.swf and 1 HTML page. If you put these all 5 buttons into a HTML page and click on any button.swf it plays some audio. but if you hit any other button the first one doesn't stop eventhough a

  • Optimizer not using indexes

    DBAs, I have a select query which is using index scan when quired in prod. database and is executing in 20secs.and is using full table scan in non prod. db and is taking 48 secs.I rebuilded indexes & took stats in non-prod db but even it is taking 47

  • Returning SAP standard error

    Hello, I have created an RFC to replicate the functionality of VLMOVE (movement type 313) for creating a delivery.For this I have used some standard performs and I able to create the delivery by passing the required inputs(plant,storage location,HU).

  • Gnome 3: Classic systray extension not working

    Hi. I am unable to get the gnome-shell-gnome2-notifications (gnome-shell-classic-systray) -extension working. No notifications appear in the top panel at the top-right corner of the screen. I have tried with both Remove bottom bar -extension enabled

  • Parallel in MBA or MBP?

    My wife is an accountant..some days ago she went in an Apple Store to buy a MBA 13" with 8GB RAM and 256SSD. She has to install parallel over it because she has to run some applications which require windows....actually the sales man suggested her to