Two Main process and a common sub flow

Hi
I am having Two Process namely
Process 1 with Role 1
Process 2 with Role 2
and a sub Process 3 is common to above both Process.
My problem is
When i was trying to create a Process 3 in BPM studio by default it
it is creating in Default Automatic ROLE. But in my above two Process are in Role 1 and Role 2
Please let me know In which Role i should design This common 3rd Process?
Thanks

This Using procedure solution might be an Alternative, Bit How can a subflow activity can be used with sub process without role. Is it possible.
I have a common process which will be called in from two pther process so i want to keep this common process without any role please explain how to get this and best way to implement this.
Thanks

Similar Messages

  • How to show view tab Main Report and all of Sub Report in one action through Visual FoxPro

    How to show all view tab (Main Report and all of Sub Report) in one action.
    I already know how to show Main Report with this code sample:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=this.Parent.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Inside the 'MyReport.rpt' it has 2 subreports:
    1. MySubReport_1
    2. MySubReport_2
    I try to show MySubReport_1 and MySubReport_2 together with their own Main Report with this code sample:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=this.Parent.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptSub1=oRptOpen.OpenSubreport('MySubReport_1')
    oRptSub2=oRptOpen.OpenSubreport('MySubReport_2')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Did I miss something because there was only view tab 'Preview' (Main Report) shown without view tab MySubReport_1 and MySubReport_2.
    Thank you.

    Your right, there is only one tab to view the report.
    To open the subreports you will need to click on them in the main report. I don't know of a way to open them programmatically like you are doing here
    http://diamond.businessobjects.com/robhorne</a>

  • Getting Main Heading and Under that sub heading In ALV-Display

    Hi All,
          I have a requirement to get ALV display with Main Headings and Under each Main heading there are Sub headings.
    The Output is somewhat like shown below
          Costing view    |    MEQ1 View
         VER. ID | Desc.    VER. ID | Desc.
    If some one had already done such coding please help.
    Its Urgent.
    Thanks In Advance,
    Shyam

    You can use FM 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'.
    Have a look at below report.
    REPORT z_alv_hierseq_list.
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.    "#EC NEEDED
    PARAMETERS p_max(02) TYPE n DEFAULT '10' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    CONSTANTS :
      c_x VALUE 'X'.
    TYPES :
    1st Table
      BEGIN OF ty_vbak,
        vbeln TYPE vbak-vbeln,             " Sales document
        kunnr TYPE vbak-kunnr,             " Sold-to party
        netwr TYPE vbak-netwr,             " Net Value of the Sales Order
        waerk TYPE vbak-waerk,             " SD document currency
      END OF ty_vbak,
    2nd Table
      BEGIN OF ty_vbap,
        vbeln TYPE vbap-vbeln,             " Sales document
        posnr TYPE vbap-posnr,             " Sales document
        matnr TYPE vbap-matnr,             " Material number
        netwr TYPE vbap-netwr,             " Net Value of the Sales Order
        waerk TYPE vbap-waerk,             " SD document currency
      END OF ty_vbap.
    DATA :
    1st Table
      gt_vbak TYPE TABLE OF ty_vbak,
    2nd Table
      gt_vbap TYPE TABLE OF ty_vbap.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
    Read Sales Document: Header Data
      SELECT vbeln kunnr netwr waerk
        FROM vbak
          UP TO p_max ROWS
        INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
      IF NOT gt_vbak[] IS INITIAL.
      Read Sales Document: Item Data
        SELECT vbeln posnr matnr netwr waerk
          FROM vbap
          INTO CORRESPONDING FIELDS OF TABLE gt_vbap
           FOR ALL ENTRIES IN gt_vbak
         WHERE vbeln = gt_vbak-vbeln.
      ENDIF.
      PERFORM f_display.
          Form  F_DISPLAY
    FORM f_display.
      TYPE-POOLS: slis.                    " ALV Global types
    Macro definition
      DEFINE m_fieldcat.
        ls_fieldcat-tabname = &1.
        ls_fieldcat-fieldname = &2.
        ls_fieldcat-ref_tabname = &3.
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        ls_sort-tabname = &1.
        ls_sort-fieldname = &2.
        ls_sort-up        = c_x.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_layout   TYPE slis_layout_alv,
        ls_keyinfo  TYPE slis_keyinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        lt_sort     TYPE slis_t_sortinfo_alv," Sort table
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv." Field catalog
      ls_layout-group_change_edit = c_x.
      ls_layout-colwidth_optimize = c_x.
      ls_layout-zebra             = c_x.
      ls_layout-detail_popup      = c_x.
      ls_layout-get_selinfos      = c_x.
    Build field catalog and sort table
      m_fieldcat 'GT_VBAK' 'VBELN' 'VBAK'.
      m_fieldcat 'GT_VBAK' 'KUNNR' 'VBAK'.
      m_fieldcat 'GT_VBAK' 'NETWR' 'VBAK'.
      m_fieldcat 'GT_VBAK' 'ERDAT' 'VBAK'.
      m_fieldcat 'GT_VBAK' 'WAERK' 'VBAK'.
      m_fieldcat 'GT_VBAP' 'POSNR' 'VBAP'.
      m_fieldcat 'GT_VBAP' 'MATNR' 'VBAP'.
      m_fieldcat 'GT_VBAP' 'NETWR' 'VBAP'.
      m_fieldcat 'GT_VBAP' 'WAERK' 'VBAP'.
      m_sort 'GT_VBAK' 'KUNNR'.
      m_sort 'GT_VBAP' 'NETWR'.
      ls_keyinfo-header01 = 'VBELN'.
      ls_keyinfo-item01 = 'VBELN'.
      CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
           EXPORTING
                i_callback_program      = sy-cprog
                i_callback_user_command = 'USER_COMMAND'
                is_layout               = ls_layout
                it_fieldcat             = lt_fieldcat
                it_sort                 = lt_sort
                i_tabname_header        = 'GT_VBAK'
                i_tabname_item          = 'GT_VBAP'
                is_keyinfo              = ls_keyinfo
           TABLES
                t_outtab_header         = gt_vbak
                t_outtab_item           = gt_vbap
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                               " F_LIST_DISPLAY
          FORM USER_COMMAND                                             *
    FORM user_command USING i_ucomm     TYPE sy-ucomm
                            is_selfield TYPE slis_selfield.     "#EC CALLED
      DATA ls_vbak TYPE ty_vbak.
      CASE i_ucomm.
        WHEN '&IC1'.                       " Pick
          CASE is_selfield-tabname.
            WHEN 'GT_VBAP'.
            WHEN 'GT_VBAK'.
              READ TABLE gt_vbak INDEX is_selfield-tabindex INTO ls_vbak.
              IF sy-subrc EQ 0.
              Sales order number
                SET PARAMETER ID 'AUN' FIELD ls_vbak-vbeln.
              Display Sales Order
                CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
              ENDIF.
          ENDCASE.
      ENDCASE.
    ENDFORM.                               " USER_COMMAND
    END OF PROGRAM Z_ALV_HIERSEQ_LIST ***********************
    Best Regards,
    Vibha
    *Please mark all the helpful answers

  • Query to find the number of main meter and its corresponding sub meter

    Hi Expert,
    I need to build a query to derieve the main meter & it corresponding sub meter in SAP system
    Please could you let me the table which i should join

    Check out tables EQUI-EGERS-ETDZ
    Thanks,
    Murtuza

  • I am running 6.1 and want to upgrade to 7.1 then to 10.1.  I understand this is a two step process and can find where to upgrade from 7.1 to 10.1 but cannot find 6.1 to 7.1.   Can anyone head me in the right direction?

    Where can I find the pathway to upgrade my 6.1 iMac to the Lion 7.1 and then to the Montian Lion 10.1.   I think I have to update to Lion before I can update to montian Lion but cannot find the upgrade to take me from 6.1 to 7.1

    What are we talking about here? You've posted in a Windows forum, but seems you are referring to an iMac. But you are not referring to OS X version numbers. Maybe you should make clear what you want.

  • How to resume the flow back to the main process after Subprocees Completes

    I have a Work Flow process such that
    Main Process calls Sub process(S1), S1 calls Subprocess S2 , S2 calls Subprocees S3 and so on..
    Via Status monitor I could see that the instance had successfully completed the subprocess S1 , but then the flow is not resumed to the main process and the status of the main process and the subprocess is still active.
    Am I missing something here. Do I have to set some attributes to resume the flow back to the main Process

    Hi,
    If you are calling these as sub-processes, then there is nothing else that you need to do. When the sub-process completes, the engine will just follow the transition from the sub-process to the next activity.
    If you are calling these as detail processes, then you need to include to setup the relationship between master and detail flow when initiating the detail flow, plus use the standard co-ordination activities to communicate status changes between master and detail.
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://thoughts.workflowfaq.com ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Sub-Process Main Process Web-Service

    Hi,
    I have a main Process and a sub-process inside this main process.
    I have a Wait activity inside this sub-process, which waits for an external call from another system to call my Web-Service at this Wait activity. This Web-Service is built as Process As a Web-Service Call.
    But I fail to get any information back from this Wait Activity which keeps waiting for the call from the external system which calls my Web-Service at this Wait Activity.
    But the external system is calling my Web-Service and it gets a error notification from BPM..
    Why is that so?
    Is it because its a sub-process inside a main process or something else?

    Did you use PAPI code inside your web service or did u just use PAPI Web Services ( like did u just pressed the button Launch PAPI Web Services ) and it created the WSDL for you and u used it to create the client?
    I am using the latest version of OBPM..
    Oracle 10.3.10
    Can you let me know what do u mean by PAPI interface.. Is it the PAPI code of is the PAPI Web Service which is built by BPM automatically and could be used?
    Edited by: user8707382 on Sep 10, 2009 9:00 AM

  • Concept of Sub Process and Starter Process in BPEL

    Hi Forum -
    With my limited understanding of BPEL I have found that if a process has to interact with another process it has to be exposed as a service however that is not good in all cases.
    Is there a way in BPEL where once can create a process and do not expose it as service and still be able to call it from another BPEL process.
    For example there can be a process called sendNotification and all the other processes if they want to send a notification can call this process.
    In TIBCO there is a concept of Starter Process and Sub Process. A Starter Process is a process which will wait for an event to take place, like a web service request or a JMS message or a database adapter event and then this main process can call a sub process, just like the main program calling a function. This sub process need not be defined as a service in TIBCO and it can still accept an xml schema type as input.
    Is this possible in BPEL?
    Thanks!

    10g -> Every process is a service.
    11g -> Create a Composite, You could wire multiple BPEL Components and expose only the desired ones as a service through a mediator or directly the bpel. Mediator provide one more layer of virtualization and hides even the first master bpel component.
    But if the send notification have to be reused outside the composite, it has to be an exposed service. Although it is exposed as a web service, it uses only WSIF binding to interact between bpel processes and not a soap binding(unless specifically instructed).
    If you are looking for function kind of construct, you could create custom xpath functions (like logging etc.)
    -Sridhar

  • Duplication of Notes from Sub-Process to Main Process

    Hi all,
    I have sub-process and a main process.
    I create notes in the main process.
    Then put them in the sub-process by re-creating them in the sub-process.
    And then when I come out of the sub-process,I re-create the notes in the main process, so that the sub-process notes are added up with the main process notes.
    The problem is that the main process notes are duplicated.
    The reason being,
    I have already transferred and re-created notes in the sub-process while entering it.
    I also still have notes in my main process.
    When I come out of the sub-process, I transfer and re-create notes in the main process too.
    Now, this adds up to the notes already in the main process and so there is a duplication of notes in the main process.
    So its
    Notes created in Main Process --> Transferred to Sub-process and re-created them for sub-process --> Transferred to Main process and re-created them for merger of the main process notes with the sub-process notes.
    (Notes in Main Process) ---> ( Notes in Main Process + Notes in Sub-Process) --> ( Notes in Main Process + Notes in Sub-Process + Previous Notes in Main Process)
    Previous notes in Main Process = Notes in Main Process
    Therefore the duplication.
    notes ( in built) array has no option to clear it up.
    How do I clean the notes then?
    I need to re-create and transfer them everytime I move from main process to sub-process and back to main process for showing up in the notes section of the workspace?
    Also the creator and the creation time of the notes is not reflected.
    They seem to be constant variables.
    How do I resolve these issues?

    Anybody on this?

  • Process and subprocess - share variables

    Hello,
    I have a main process that calls a subprocess. At the same time the main process will continue working due to a parallel path.
    when the subprocess finishes, I would like that some data(payload) on my main process get updated. Is this possible?
    OR
    Is it possible to share data between a main process and subprocess?
    Any example?
    thank you
    fwu

    Hello,
    What do you mean with "and only a single conversation"? does it means that if my main process calls 2 subprocess only one of this subprocess will be able to communicate with the main process exactly in the same moment? Or that at design time i will not be able to specify a conversation for more than one subprocess?
    Delegating the interaction to a bpel subprocess menas that my subprocess would have to be created in bpel? But does bpel has human task objects?
    Another question, when I add a subprocess to a main process, Im able to link the subprocess with the main process. When does this route will be followed? Exactly when the subprocess is called or just when it finishes?
    Finally, where should I define this: "if the subprocess is defined to callback to the parent"
    thanl you for your attention,
    fwu

  • Mapping between one main component and two sub component

    Hi Experts,
    I am facing one problem.
    The situation is:-
    I have one main WD Component which has a TABSTRIP in a view.
    In that view ,TABSTRIP has 2 tabs.
    Each tab is having a view container.
    So there are two view container and each view container corresponds to one sub WD.
    So finally we have 2 seperate WD (Let say WD1 and WD2 ) and one main WD.
    In main WD i have  a Node , which is for TAB_SELECTED.It is bind witn the WD1 Node TAB_SELECTED.
    Because of this whenever we change the value of TAB_SELECTED in WD1,It automatically reflect in Main WD.
    But my problem is that i want to do it for WD2 as well.
    I am unable to bind Node of Main WD to two diff Sub WD I.e WD1 and WD2.
    How i can do this.
    Please suggest.
    Thanks
    Mahesh

    Hello Mahesh,
    I think you need to create two more nodes in the main WD compoennt .
    map the nodes of WD1 and WD2 to two seperate nodes in main WD.
    then in the method wddomodify check for the tab_selected value.
    if it is tab_1. set the value of attribute in the main WD from node mapped to WD1.
    if it is tab_2, set the value form node mapped to WD2.
    thanks
    sarbjeet singh

  • How to show all view tab (Main Report and all Sub Report) in Visual FoxPro 9

    I use ActiveX from Crystal Report Developer XI for viewer in Visual FoxPro 9 and I already know how to show Main Report by using command:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Inside the MyReport.rpt there is two subreport name :
    1. MySubReport1
    2. MySubReport2
    My Question is :
    How to show all view tab (Main Report and all Sub Report) at the 1st time we call ViewReport?
    I try to using command :
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptSub=oRptOpen.OpenSubreport("MySubReport1")
    oRptSub=oRptOpen.OpenSubreport("MySubReport2")
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    but only show Main Report (view tab name : Preview)?
    Did I miss any command before I call oRptView.ViewReport?

    Your right, there is only one tab to view the report.
    To open the subreports you will need to click on them in the main report. I don't know of a way to open them programmatically like you are doing here
    http://diamond.businessobjects.com/robhorne</a>

  • Creating a Web Service to handle flow between BPEL process and XML Gateway

    I am new to Web Services. I have never created one, yet I have the task of designing the following for a project.
    Any help as to what steps I need to take would be very very helpful. There is a lot of information on XML, SOA and WSDL out there that it can get very confusing, and sometimes you just need someone to point the way
    What I need to do is create a Custom Send and a Custom Receive Program (both web services) handle the message flow between an Enterprise BPEL processes and a Deployed XML Gateway.
    BPEL compresses this XML business object document (for faster transmission), and sends remotely to this Custom Receive web service, which in turn calls a decompress java program and then send the document to the XML gateway inbound web service.
    The Custom Send web service does just the opposite. It needs to take the business object document from XML gateway, call the compress java program and then send to the Enterprise BPEL.
    In a nutshell...these Custom Send/Receive Web services handle the message flow between the Enterprise BPEL process and the Deployed XML Gateway.
    What I need help on...
    -Creating this in JDeveloper- where do I get started?
    -How does a web service receive a compressed file sent to me via BPEL? Does it just sit there waiting for it?
    -Is this a synchronous or asynchronous design?
    -Will this be 2 web services (Send and Receive) or do I make 1 with 2 functionalities
    -How do I call the java compress/decompress program within the web service? (this java function is already created and ready to be called)
    -Is this decompressed business object file an XML schema and an XML message? Or just a message?
    -I need to send this to the XML Gateway Web Service to load. How does that work?
    -I have a Generic XML Gateway WSDL file...I assume I need to take all the info I get and map it to this template? Is this true? How do I do that?
    Like I said, any help would be appreciated. Links answers to my many questions would be fabulous.
    -Jason

    If you are talking about simple XML transformation of the SOAP payload between the client calling your service and the final destination of the message you are routing, the ESB approach may be a better fit.
    If you have more complex transformation in mind, with major processing and rework of the message in the intermediary, you may be better of with using the POJO approach. Write your service and embed a callout to the other service in your implementation. If the two services share the same Java Model, you may even be able to re-use the same Java Bean.
    To get SOAP Element instead of Java bean, you just need to use the noDataBinding option with either genProxy and topDownAssemble (or assemble). See the WS-Guide [1] for details. Chapter 18 will give you all the details about the different WSA command line parameters.
    Hope this helps,
    -Eric
    [1] http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28974/toc.htm

  • Credit limit sharing main customer and sub customers

    Dear all
    Credit limit sharing main customer and sub customers. we have hierarchy to identified main cutomer and sub customers and different account groups. now in system we are using main customer payer for all sub customers also. in future we are going to share the credit limit sub dealesr also. wt are the possibilities to complete my requirements.
    Regards
    Venkey

    Hi Venky,
    If i understood correctly. You wan to share main customer credit limit to all sub customer i.e. if main customer is having 5 Lacs Credit Limit the same amt you want to use for all sub customers.
    If this is the scenario then assign the main customer in the sub customer Credit master as a credit account.
    FD32 ---> Control Area Data ---> Status --->  Credit Account ( Under Credit Limit )....
    Process to change the credit account: Perss F6 or from the status view Go to Edit ---> Change Credit acct...
    Hope issue may resolve..
    Regards
    Durga Sana
    Edited by: Durgaprasadsana on May 13, 2010 7:40 AM
    Edited by: Durgaprasadsana on May 13, 2010 7:42 AM

  • Business process and sub process in CUP & ERM

    Hi,
    We have created Business Processes and Sub- Processes in ERM. But we are not able to view the same when we create a request in CUP.
    We have created the Business Processes and Sub- Processes for CUP in Roles -Attributes.These were then visible in the request.
    Do we need to create the Processes and Sub-processes independently in both ERM and CUP or should it flow into CUP when roles are imported into CUP from ERM ?
    Thanks and Regards.

    Another important point:
    In CUP, Sub Processes are optional, in ERM they are mandatory.
    Please make sure you have some in CUP for all your processes.
    Frank.

Maybe you are looking for