Integrating Workflow Process and Business Events

Hi,
Im trying to use events in oracle workflow process..im trying to run the demo
process named 'Workflow Agent Ping / Acknowledge'. I have scheduled the listeners for local inbound agent WF_IN and propagations for local outbound agents WF_OUT. The master ping process begins executing and calls the detail ping process. The detail ping process begins execution but the process gets stuck on the receive event node.The process is not receiving the acknowledge event in return to the ping event. It does not move further,not allowing the detail ping process to complete, which as a result doesnot allow the master ping process to complete its execution.
How do i make it move?
Thankyou
Saadia

After launching the master process, check for the state of the message in WF_OUT queue. It could be that the message stays in READY state in WF_OUT and has not propagated to WF_IN queue.
Check if DB init parameters aq_tm_processes is set to 1 and it is running. If the message is not found in WF_OUT even after launching the proces, check if the queue is enabled for enqueue. Also check if the Business Event System is ENABLED.
SELECT text
FROM wf_resources
WHERE name = 'WF_SYSTEM_STATUS';

Similar Messages

  • Badi and Business event( Urgent)

    Hi experts,
          I am new to badi and business event 1120P. Please post how this business event exactly comes in to picture in this badi. also how to find this business event?
    And also Post the logic or code. The requirement is given below . Pls Post the solution. Its very urgent.
    Enhancement Summary
    Two user exits are needed to determine the correct G/L Account and Cost Center on Shipment Cost documents and post the Material Group on the Accounting document. BADI_SCD_ACCTG and Business Event 1120P can be used to accommodate the new functionality.
    Business Process
    Specific G/L Accounts and Cost Centers have to be determined to post on the Shipment Cost document. This is needed to provide accurate management reporting capabilities on shipments for Sales Order or Stock Transfer Order. A new custom table must be created which contains the following information: Distribution, Mode of Transport, Account, Cost Center Material group. Distribution is an identifier here if this shipment originated from an SO or STO.
    There are no screens involved in this enhancement.
    Components
    Table: ZTABLE1
    Field     Data Element     Type     Length     Description
    MANDT     MANDT     CLNT (key)     3     Client
    DISTRIBUTION     Z_DISTRIBUTION     CHAR (key)     1     Distribution
    MOT     ZZDEF_MOT     CHAR (key)     2     Mode of Transportation
    MATKL     MATKL     CHAR (key)     9     Material group
    SAKNR     SAKNR     CHAR     10     G/L Account Number
    KOSTL     KOSTL     CHAR     10     Cost Center
    This table gets updated manually by the FI team.
    Values for Distribution are:
    ‘1’  =  Primary Distribution to Refinery
    ‘2’ = Primary and Secondary– Excluding refinery
    All entries must be checked against SAP config and master tables
    User exit BADI BADI_SCD_ACCTG will be used to determine the correct G/L Account, Cost Center and Product Group based on Distribution and Mode of Transport. This BADI gets called only when a new Shipment Cost document get created.
    Once the BADI determined the new values it populates field c_vfkn-sakto with the G/L account, field c_vfkn-kostl with the Cost Center and exports the Product group to memory.
    There is no field on the Shipment Cost Document to store the Product group. Therefore another mechanism must be used to get the Product Group on the accounting document.
    Business Event 1120P can be used to import the Product group out of memory and put it on BSEG-MATNR. Structure BSEG_SUBST must be enhanced with field MATNR for this purpose.
    Function, Rules, Exits      Description of Functionality, Rules, Exits
    BADI_SCD_ACCTG     Business Add-In for Shipment Cost Account Assignment
    Business Framework     Business Event 1120P can be used to import the Product Group from memory and to populate field BSEG_SUBST-MATNR.
    This event gets called from different places. It needs to be ensured that it only populates the value when it was called from BADI_SCD_ACCTG.
    Custom Table     A look-up Table needs to be maintained for Distribution, Mode of Transport, G/L Account, Cost Center and Material Group
    Transaction code     To maintain the new table
    Append Structure     To enhance structure BSEG_SUBST with MATNR
          Business Add-In BADI_SCD_ACCTG can be used to determine the account assignments for a shipment cost item to set the G/L Account and Cost Center. All data needed to determine the new information gets provided in this BADI.
    Logic:
    •     Determine if STO or SO based on Document Category from internal table I_REFOBJ-VTRLP field VGTYP If is C then Distribution type is Sales Order (Primary and Secondary – Excluding Refinery – ‘2’ ) else we need to check the receiving plant. If the receiving plant (I_REFOBJ-VTRLK field WERKS) is a refinery the Distribution type is Primary (1) else it’s a (Primary and Secondary – Excluding Refinery – ‘2’ ). Refineries can be identified via Function Module ZPLANTCLASSIFICATION. The plant must be passed into Import Parameter IP_SAPPLANT and field INT_PLANTCHAR-ATNAM must be looked up with value SAPTYPE. If it exists and field ATWRT contains ‘RFY’, the plant is a refinery.
    •     Product Group can be determined from the Material master through Material group field MARA-MATKL.
    •     Mode of Transport will be passed in the BADI in VTRLK-OIC_MOT.
    •     Select single entry from table ZTABLE1based on Distribution, Mode of Transport and Material Group. If nothing gets selected, error message ‘No entry exists in table ZTABLE1for Distribution (distribution), MOT (MOT) & Mat. Group (material group)’ should be triggered.
    •     Move ZTABLE1-SAKNR  to c_vfkn-sakto and ZTABLE1-KOSTL to c_vfkn-kostl
    •     The Material group must be exported to memory in BADI_SCD_ACCTG
    •     The Material group must be imported from memory in Business Event BP1120P
    •     Free Memory in Business Event BP1120P
    This is VI01 – Creation of Freight Cost Item screen
    and also code for function module ZPLANTCLASSIFICATION below
    FUNCTION zplantclassification .
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(IP_SAPPLANT) LIKE  AUSP-OBJEK OPTIONAL
    *"     REFERENCE(IP_CPSPLANT) LIKE  AUSP-ATWRT OPTIONAL
    *"     REFERENCE(IP_SISLOC) LIKE  AUSP-ATWRT OPTIONAL
    *"  EXPORTING
    *"     VALUE(EP_SAPPLANT) LIKE  AUSP-OBJEK
    *"     VALUE(EP_CPSPLANT) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SISLOC) LIKE  AUSP-ATWRT
    *"     VALUE(EP_OWNERSHIP) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SMISTYPE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SPOTREF) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SUBTYPE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SUPPLYREGION) LIKE  AUSP-ATWRT
    *"     VALUE(EP_TYPE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_DISTAREA) LIKE  AUSP-ATWRT
    *"     VALUE(EP_GEOGAREA) LIKE  AUSP-ATWRT
    *"     VALUE(EP_HMF) LIKE  AUSP-ATWRT
    *"     VALUE(EP_IATACODE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_IRSTCN) LIKE  AUSP-ATWRT
    *"     VALUE(EP_OPSAREA) LIKE  AUSP-ATWRT
    *"     VALUE(EP_PLANTSTAT) LIKE  AUSP-ATWRT
    *"     VALUE(EP_PORTCODE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_REFAREA) LIKE  AUSP-ATWRT
    *"     VALUE(EP_SAPTYPE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_MFGWARRANTY) LIKE  AUSP-ATWRT
    *"     VALUE(EP_USERTYPE) LIKE  AUSP-ATWRT
    *"     VALUE(EP_TRMCENTER) LIKE  AUSP-ATWRT
    *"     VALUE(EP_TRANSCENTER) LIKE  AUSP-ATWRT
    *"     VALUE(EP_FEIN) LIKE  AUSP-ATWRT
    *"  TABLES
    *"      INT_PLANTCHAR STRUCTURE  ZPLANTCLASSIFICATION OPTIONAL
    *"  EXCEPTIONS
    *"      NO_OBJEK_FOUND
    *"      NO_CPSPLANT_FOUND
    *"      NO_SISLOC_FOUND
    *"      NO_INPUT_FOUND
    *"      VALID_PLANT_NO_CHARACTERISTIC
    *"      ONE_TO_MANY_ISSUE
    *"      PLANT_NOT_FOUND_ZDEF_DELPLANT
    *"      UNKNOWN_ERRORS
    FM Name: ZPLANTCLASSIFICATION     
    Created By  :  SYUB                                                  *
    Description : Function Module to retrieve plant characteristics      *
    The function module has two capabilities:
    1. Retrieve only the necessary characteristics
    2. Retrieve the whole characteristics into an internal table.
    Parameter Description                                                *
    In the future, if there is a new characteristic added to the
    plant classification tables, the characteristic has to be added
    to the list of the export parameters and the loop statement.
      TABLES: ausp, cabn, ksml, zdef_delplant.
      DATA: ws_objek LIKE ausp-objek,
            ws_countchar TYPE i,
            ws_countplant TYPE i.
    *Internal table for SAP plant
      DATA: BEGIN OF int_plant OCCURS 0,
            plant LIKE ausp-objek,
            END OF int_plant.
    *sap plant code is the input parameter.Move objek, atnam, and atwrt to
    *internal table PLANTCHAR using inner join of AUSP, CABN, and KSML to
    *synch up the internal characteristic numbers throughout the 3 tables.
      IF NOT ip_sapplant IS INITIAL.
        SELECT auspobjek cabnatnam ausp~atwrt
          INTO CORRESPONDING FIELDS OF TABLE int_plantchar
          FROM ksml AS ksml
          INNER JOIN cabn AS cabn
            ON cabnatinn = ksmlimerk
          INNER JOIN ausp AS ausp
            ON ausp~objek = ip_sapplant
            AND auspatinn = cabnatinn
            AND ausp~mafid = 'O'
            AND ausp~klart = 'Z01'.
    *Checking the existence of ip_sapplant in the table, if it doesn't
    *exist, raise the exception else if it exists, check if it has
    *characteristic values.
        IF sy-subrc NE 0.
          RAISE no_objek_found.
        ELSE.
          DESCRIBE TABLE int_plantchar LINES ws_countchar.
          IF ws_countchar LT 2.
            RAISE valid_plant_no_characteristic.
          ENDIF.
        ENDIF.
    *cps plant code is the input parameter. Move objek from table AUSP to
    *ws_objek using inner join of CABN and AUSP to match up the internal
    *characteristic numbers from the 2 tables.
      ELSEIF NOT ip_cpsplant IS INITIAL.
        SELECT ausp~objek
          INTO TABLE int_plant
          FROM ausp AS ausp
          INNER JOIN cabn AS cabn
            ON cabn~atnam = 'OLDCODE'
              WHERE auspatinn = cabnatinn
                AND ausp~mafid = 'O'
                AND ausp~klart = 'Z01'
                AND ausp~atwrt = ip_cpsplant.
    *Checking the existence of ip_cpsplant in the table
        IF sy-subrc EQ 0.
    *Counting the number of SAP plants in the internal table int_plant
          DESCRIBE TABLE int_plant LINES ws_countplant.
    *Moving the values of objek, atnam, and atwrt to PLANTCHAR using objek
    *from ws_objek.
          IF ws_countplant EQ 1.
            LOOP AT int_plant.
              SELECT auspobjek cabnatnam ausp~atwrt
                INTO CORRESPONDING FIELDS OF TABLE int_plantchar
                FROM ksml AS ksml
                INNER JOIN cabn AS cabn
                  ON cabnatinn = ksmlimerk
                INNER JOIN ausp AS ausp
                  ON ausp~objek = int_plant-plant
                  AND auspatinn = cabnatinn
                  AND ausp~mafid = 'O'
                  AND ausp~klart = 'Z01'.
            ENDLOOP.
    *If there more than one SAP Plants, then raise an exception.
          ELSEIF ws_countplant GT 1.
            RAISE one_to_many_issue.
          ENDIF.
        ELSE.
          SELECT SINGLE werks FROM zdef_delplant
            INTO ws_objek
            WHERE cpsloc = ip_cpsplant.
          SELECT auspobjek cabnatnam ausp~atwrt
           INTO CORRESPONDING FIELDS OF TABLE int_plantchar
           FROM ksml AS ksml
           INNER JOIN cabn AS cabn
             ON cabnatinn = ksmlimerk
           INNER JOIN ausp AS ausp
             ON ausp~objek = ws_objek
             AND auspatinn = cabnatinn
             AND ausp~mafid = 'O'
             AND ausp~klart = 'Z01'.
          if sy-subrc ne 0.
            raise plant_not_found_zdef_delplant.
          endif.
        ENDIF.
    *cps plant code is the input parameter. Move objek from table AUSP to
    *ws_objek using inner join of CABN and AUSP to match up the internal
    *characteristic numbers from the 2 tables.
      ELSEIF NOT ip_sisloc IS INITIAL.
        SELECT ausp~objek
          INTO TABLE int_plant
          FROM ausp AS ausp
          INNER JOIN cabn AS cabn
            ON cabn~atnam = 'SISLOC'
              WHERE auspatinn = cabnatinn
                AND ausp~mafid = 'O'
                AND ausp~klart = 'Z01'
                AND ausp~atwrt = ip_sisloc.
    *Checking the existence of ip_sapplant in the table
        IF sy-subrc EQ 0.
          DESCRIBE TABLE int_plant LINES ws_countplant.
    *Moving the values of objek, atnam, and atwrt to PLANTCHAR using objek
    *from ws_objek.
          IF ws_countplant EQ 1.
            LOOP AT int_plant.
              SELECT auspobjek cabnatnam ausp~atwrt
                INTO CORRESPONDING FIELDS OF TABLE int_plantchar
                FROM ksml AS ksml
                INNER JOIN cabn AS cabn
                  ON cabnatinn = ksmlimerk
                INNER JOIN ausp AS ausp
                  ON ausp~objek = int_plant-plant
                  AND auspatinn = cabnatinn
                  AND ausp~mafid = 'O'
                  AND ausp~klart = 'Z01'.
            ENDLOOP.
    *If there more than one SAP Plants, then raise an exception.
          ELSEIF ws_countplant GT 1.
            RAISE one_to_many_issue.
          ENDIF.
        ELSE.
          SELECT SINGLE werks FROM zdef_delplant
            INTO ws_objek
            WHERE sisloc = ip_sisloc.
          SELECT auspobjek cabnatnam ausp~atwrt
           INTO CORRESPONDING FIELDS OF TABLE int_plantchar
           FROM ksml AS ksml
           INNER JOIN cabn AS cabn
             ON cabnatinn = ksmlimerk
           INNER JOIN ausp AS ausp
             ON ausp~objek = ws_objek
             AND auspatinn = cabnatinn
             AND ausp~mafid = 'O'
             AND ausp~klart = 'Z01'.
          if sy-subrc ne 0.
            raise plant_not_found_zdef_delplant.
          endif.
        ENDIF.
      ELSE.
    *Checking if there is an input parameter entered.
        RAISE no_input_found.
      ENDIF.
    Modified 7/30 by RFOR to validate SAP plant is in plant master
      data: wa_t001w like t001w.
      read table int_plantchar.
      SELECT SINGLE * from t001w into wa_t001w where
      werks = int_plantchar-objek.
      if sy-subrc ne 0.
        raise NO_OBJEK_FOUND.
      endif.
    *Moving all the characteristic values to the export parameters
      LOOP AT int_plantchar.
        MOVE int_plantchar-objek TO ep_sapplant.
        CASE int_plantchar-atnam.
          WHEN 'OLDCODE'.
            MOVE int_plantchar-atwrt TO ep_cpsplant.
          WHEN 'SISLOC'.
            MOVE int_plantchar-atwrt TO ep_sisloc.
          WHEN 'OWNERSHIP'.
            MOVE int_plantchar-atwrt TO ep_ownership.
          WHEN 'SMISTYPE'.
            MOVE int_plantchar-atwrt TO ep_smistype.
          WHEN 'SPOTREF'.
            MOVE int_plantchar-atwrt TO ep_spotref.
          WHEN 'SUBTYPE'.
            MOVE int_plantchar-atwrt TO ep_subtype.
          WHEN 'SUPPLYREGION'.
            MOVE int_plantchar-atwrt TO ep_supplyregion.
          WHEN 'TYPE'.
            MOVE int_plantchar-atwrt TO ep_type.
          WHEN 'DISTAREA'.
            MOVE int_plantchar-atwrt TO ep_distarea.
          WHEN 'GEOGAREA'.
            MOVE int_plantchar-atwrt TO ep_geogarea.
          WHEN 'HMF'.
            MOVE int_plantchar-atwrt TO ep_hmf.
          WHEN 'IATACODE'.
            MOVE int_plantchar-atwrt TO ep_iatacode.
          WHEN 'IRSTCN'.
            MOVE int_plantchar-atwrt TO ep_irstcn.
          WHEN 'OPSAREA'.
            MOVE int_plantchar-atwrt TO ep_opsarea.
          WHEN 'PLANTSTAT'.
            MOVE int_plantchar-atwrt TO ep_plantstat.
          WHEN 'PORTCODE'.
            MOVE int_plantchar-atwrt TO ep_portcode.
          WHEN 'REFAREA'.
            MOVE int_plantchar-atwrt TO ep_refarea.
          WHEN 'SAPTYPE'.
            MOVE int_plantchar-atwrt TO ep_saptype.
          WHEN 'MFG_WARRANTY'.
            MOVE int_plantchar-atwrt TO ep_mfgwarranty.
          WHEN 'USER_TYPE'.
            MOVE int_plantchar-atwrt TO ep_usertype.
          WHEN 'TERMINALCENTER'.
            MOVE int_plantchar-atwrt TO ep_trmcenter.
          WHEN 'TRANSPORTATIONCENTER'.
            MOVE int_plantchar-atwrt TO ep_transcenter.
          when 'FEIN'.
            move int_plantchar-atwrt to ep_fein.
        ENDCASE.
      ENDLOOP.
    ENDFUNCTION.
    Pls help me out from this problem its very urgent.
    Thanks

    hi SK ,
    process like this .
    in BADI
    method.
    1.Here u have to put ur logic based on the Requirement.
    2.then u have to call BTE like this
    <b>call function 'OPEN_FI_PERFORM_00001020_E'
          tables
            t_bseg = xbseg
            t_bkpf = xbkpf.</b>
    3.Update Ztables.
    endmethod.
    this is sample logic only.First get logic of TS then u will come to know how to do?
    regards
    prabhu

  • TEM: Relationship between External Person and Business Event

    Hi,
    The requirment is to have External Person to be related to Business Events.
    Please let me know whether it will be ideal to relate External Person to Business Events or External Person to Business Event Type?
    NOTE:As per the standard the relationship exist only between External Person(H) and Business Event Type (D).
    Will appreciate a quick reply.
    Thanks and Regards,
    Dev

    Hi Dev,
    U can create this relation through PP01. Select  Business event in the object type and go to relationship infotype and create the same...
    Regards,
    Sushil Soni

  • How do you differentiate business process and business scenario

    how do you differentiate business process and business scenario???
    pls help

    Google says;
    A <b>business scenario</b> is a description of a business problem, which enables requirements to be viewed in relation to one another in the context of the overall problem. Without such a description to serve as context, the business value of solving the problem is unclear; the relevance of potential solutions is unclear and there is a danger of the solution being based on an inadequate set of requirements. A key factor in the success of any other major project is the extent to which it is linked to business requirements, and demonstrably supporting and enabling the enterprise to achieve its business objectives. Business scenarios are an important technique to help identify and understand business needs.
    A business process -
    http://en.wikipedia.org/wiki/Business_process

  • Business process and business unit in compliance calibrator

    Dear Experts,
    Can any one please tell me the use of business process in rule architect and business unit in mitigation control.
    Thanks and Regards
    A.Rama Krishna

    Dear Rama,
    Basically business processes are the actual day to day processes any oraganisation carries out. When we have to group tcodes / functions for rule creation , we group them according to a business process so that we can easily relate them to each other within the business process. Eg : Procure to Pay.
    So the rules have to be created such that in this process there are no SOD violations in the access given to users. Thus it makes risk analysis more logical and simple for analysis.
    Thanks,
    Yajuvendra Sonalkar

  • Integration Scenario Configuator and Business Services (B2B)

    We use Business Services to define the services provided by our external business partners (e.g. a transport organization has defined some webservices to which we connect to).
    The reason why we use Business Services is that we don't have to define them in the SLD. And we understand from the documentation that external business systems should be defined as Business Services and not Business Systems.
    Now we want to use the Integration Scenario Configurator, but when we define a B2B service in the Integation Scenario, we cannot create the communication channels with the wizard. Futhermore the other object (receiver determination etc.) is also not created for the business service.
    When we take a look at the definition of a B2B scenario in the SAP documentation, the documentation describes a complete different use of B2B. We understand from the documentation that B2B is a cross company XI landscape where all partners have there own XI system. This also explains the behavure in the configurator since one party cannot access its own business systems.
    This leaves us with the following questions:
    1. Is B2B only possible for XI to XI scenario's?
    2. Is a service provided by a partner a business system?
    3. And do we have to include all communication end point in the SLD?
    Kind regards,
    Christiaan Schaake

    Dear Christiaan,
    I encountered the same problem. What I did was that I created a party for the external business partner and assigned a business service to it. Beside this you have to check the box (ext. party w. B2B comm) under communication type in the application component in the integration scenario.
    When you have done this you can create comm. channel with the wizard and also the other objects.
    see: http://help.sap.com/saphelp_nw2004s/helpdata/en/e6/908d3f7057eb0ce10000000a114084/content.htm
    Regarding your questions: depending on the way we think, we can come up with different answers. I don't think this is what you're looking for.
    Maybe someone else can give you a clear answer.
    Kind Regards
    Ron van Steen

  • Integrating Adobe Muse and Business Catalyst

    Hello. Normally I don't take on CMS or E-Commerce sites because I'm kinda simple in the head when it comes to figuring out code and stuff, but with the integration between Adobe Muse and Adobe Business Catalyst I'm thinking about giving it a shot. (And I kinda need the moolah, to be honest...)
    I'm trying to bid two sites, one CMS and one a fairly small E-Commerce, both for the same customer. I'm hoping to find a kind and patient person with Business Catalyst and Muse experience who can help me figure out what BC will cost so I can bid the job accurately (BC has so many different packages and whatnot I really don't know which one to buy - I'm truly baffled by the options and don't want to bid the sites based on BC costing me $400 a year, only to find I need to buy the $900/month option), then help answer all the goofy questions I'll have when I try to get Muse and BC to work together. If anyone is willing to help me through this project via phone and/or e-mail, please PM me - I'll gladly pay for your time (I don't expect good advice for free).
    Thanks!

    Hi Chris,
    You can find the pricing here: http://www.businesscatalyst.com/pricing/monthly
    CMS is offered with the "Web Marketing" plan while online shop  capabilities can be enabled via "E-Commerce" (which also includes CMS)
    Here's a good video on Muse & BC integration: www.youtube.com/watch?feature=player_embedded&v=K-Od9LDWUcU\
    I'll leave this open for further intervention/advice from other members.
    Kind Regards,
    Alex

  • Workflow Process and Mappings restart problem

    Hi All,
    Sometimes our database crashes and shutdowns ( few dba issues) . All the running workflows \ mappings restarts again when our database is restarted. We do not want this to happen. Is there some property which can be set that would not restart the workflows/ mappings which were running at the time of database crash \ shutdown ?
    Thanks,
    Sam.

    Hi Sam ,
    You can configure the Control Center Service in such a way that it will not start (unless you start it) when your database restarted .
    To disable the OWB service from starting up automatically upon database startup, the DBMS job has to be disabled :
    1. Log into sqlplus as Repository Owner.
    2. Find the job number for the 'wb_rti_service_job.check_service' entry in the dba_jobs table :
    SQL> select job, schema_user from dba_jobs where what = 'wb_rti_service_job.check_service(1);';
    3. Disable the corresponding job :
    SQL> exec dbms_job.broken(<job#>,TRUE);
    Thanks,
    Sutirtha

  • How to invoke BPEL process using Oracle Business Event System (BES)?

    Hi,
    I want to invoke a BPEL process using Business Events and Subscriptions (Oracle BES/Workflow). If anyone knows how this can be done, please reply to this thread. You can also mail me at [email protected]
    Thanks,
    Gaurav.

    yeah you are 100% correct ..
    I have attached some stuff for CDH integration, where we used plsql to send out info on a created record to a queue.
    CREATE OR REPLACE
    TYPE XXBPEL_MESSAGE_TYPE AS OBJECT (
    MSG_ID VARCHAR2(128),
    INREPLYTO_MSG_ID VARCHAR2(128),
    FROM_PARTY VARCHAR2(512),
    TO_PARTY VARCHAR2(512),
    ACTION_NAME VARCHAR2(512),
    MSG_TYPE INT,
    PAYLOAD CLOB,
    ATTACHMENT BLOB
    EXECUTE DBMS_AQADM.create_queue_table (queue_table => 'XXBPEL_QTAB',queue_payload_type => 'XXBPEL_MESSAGE_TYPE',multiple_consumers => TRUE);
    EXECUTE DBMS_AQADM.create_queue (queue_name => 'XXBPEL_OUT_QUEUE',queue_table => 'XXBPEL_QTAB');
    EXECUTE DBMS_AQADM.start_queue(queue_name => 'XXBPEL_OUT_QUEUE',dequeue => TRUE,enqueue => TRUE);
    On BPEL side creata a process that listens to this queue (with and AQ partnerlink) as shown in $BPEL_HOME/integration\orabpel\samples\tutorials\124.AQAdapter\MulticonsumerInbound
    thx clemens

  • Propagating Workflow Business Events

    I am running the Workflow Ping/Acknowledge process and have events waiting in the WF_OUT queue. Does anybody know the specifics of defining the AQ
    Propagation so my events will move to the WF_IN queue?

    Hi there,
    This is exactly the same problem I am having - does anyone have any ideas as to a solution? I am using Oracle 9i Release 2. Could I need to schedual propergation to an outbound agent and if so how?
    Many thanks,
    Mark

  • Business event issue

    Hi,
    I am invoking an oracle seeded business event oracle.apps.po.rcv.rcvtxn through Receiving Transaction.
    This event should call a PL/SQL function. But I receive a notification in saying:
    Event Error Name: WFE_DISPATCH_RULE_ERR
    Event Error Message: 3825: Error '-4061 - ORA-04061: existing state of has been invalidated
    ORA-04061: existing state of package "APPS.XX_PO_RCV_TXN_LABEL" has been invalidated
    ORA-04065: not executed, altered or dropped package "APPS.XX_PO_RCV_TXN_LABEL"
    ORA-06508: PL/SQL: could not find program unit being called: "APPS.XX_PO_RCV_TXN_LABEL"' encountered during execution of Rule function 'xx_po_rcv_txn_label.receive_business_event' for event 'oracle.apps.po.rcv.rcvtxn' with key '196017-13587'.
    Event Error Stack:
    Wf_Event.dispatch_internal()
    I am sure that this message is incorrect as I changed the package name to XXRCVTXN and business event is still calling old package XX_PO_RCV_TXN_LABEL.
    Secondly, when I resubmit this event through notification worklist in sysadmin responsibility, it completes successfully and does the intended processing.
    Can someone please point out why this discrepency is there?
    Thanks in advance

    The message is correct: the original package XX_PO_RCV_TXN_LABEL has indeed been invalidated when you have recompiled it. The business event turns to an old version pf the package, ... but it has been flagged as invalid in the share pool. Even if you recompile, or even drop the package, the workflow system will still turn to the old package version.
    What to do: restarting the application services will definitely solve the issue (providing, of course, that the new package version is in valid state). For a production system this will cause downtime, so you could try to restart the Workflow Deferred Notification Agent Listener and perhaps the Workflow Notification Mailer.

  • Business Event during R12 upgrade (11.5.10.2 - 12.1.3)

    Best practices for R12 upgrade says to disable custom tiggers and business events.
    Disabling custom Triggers is fine , understood it.
    However the phrase "and business events." is a bit confusing for my customer.
    Though IMO ,it means disabling custom business events and not all ,however he is keen to know whether this means
    disabling standard business events as well.
    Also since we are bringing down all the services including WF services ,how can Business events be processed ?
    Moreover as far as I know ,enabling maintenance mode shuts down the Workflow Business Events System which means no business event will be processed.
    Thus why it is written in most of the Best Practices documents to disable business events ?
    thanks for your help.
    -SK

    I have never needed to disable business events in all the upgrades I did from 11.5.10.2 to 12.1.3 and I believe it is not mentioned in these docs (I understand it is mentioned in the best practices, but I believe it is not required).
    Oracle E-Business Suite Upgrade Guide Release 11i to 12.1.1 [ID 1082375.1]
    Oracle E-Business Suite Upgrade Guide, Release 11i to 12.1.3
    http://docs.oracle.com/cd/B53825_08/current/acrobat/121upgrade.pdf
    Thanks,
    Hussein

  • Which Business Event fires when candidate applies for a vacancy?

    Can somebody please confirm the workflow business event which fires when a candidate applies for a vacancy?
    Is there an easy way of finding this out or some doco which mentioned what events are called when?
    Thanks.

    Hi Shruti,
    Theoretically speaking you can edit the workflow process and achieve your objective (Using Workflow Builder) by designing what triggers to be fired once the AutoCreate Configuration Item completes.
    See if the following docs give you any hints:
    Oracle Order Management Using Oracle Workflow in Oracle Order Management
    AutoCreating Configuration Items and Final Assembly Orders (Oracle Bills of Material Help)
    AutoCreate Configuration Items (Oracle Bills of Material Help)
    Thanks &
    Best Regards,

  • Business Event Appraisal - Not showing in PA30

    Hi All,
    We are implementing TEM on SAP 5.0 and replaced the old appraisal system with new appraisal system.
    I have prepared the Appraisal for Business Event, by selecting Attendee as appraiser and Business Event as Apraisee, the problem I am encountering here is after the preparation the document is not shown in any of the following areas in PA30 for infotype 25.
    1) Appraisal where Apraiser
    2) Objective setting & Appraisal(Open)
    But the Appraisal templates which are created under Personnel Appraisal(in PHAP_CATALOG), is shown but not the Appraisal templates which are created under SAP Learning Solution(in PHAP_CATALOG).
    Is there any configuration inorder to get this done?
    Any help in this regard is highly appreciated.
    Thanks
    Ramakrishna Ramadurgam

    Lincoln,
    Can you be precise, I mean which Integration settings your asking me to look into?
    One thing I noticed while debugging the code, it is getting Add On Application as 'PA', and passing this parameter to get the Personel Appraisal templates, in case if I modify as 'PD' in the debugging mode, it is fetching the Business Event Appraisal along with Personel Appraisal. Is there any setting for this to have PD passed in to the Add on Application variable.
    Thanks
    Ramakrishna
    Thanks
    Ramakrishna Ramadurgam

  • Short Dumps in standard HR Business Event Group/Event creation transactions

    Dear All,
    I m getting short dumps whlile executing standard HR transactions for Creation of Business Event Groups and Business Event Types. Attaching the Short Dump text herewith. Can anyone plz. help...
      An exception occurred that is explained in detail below.
      The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
       not caught in
      procedure "RH_BASE_READ_INFTY_NNNN" "(FUNCTION)", nor was it propagated by a
       RAISING clause.
      Since the caller of the procedure could not have anticipated that the
      exception would occur, the current program is terminated.
      The reason for the exception is:
      Eine Open SQL-Klausel wurde dynamisch angegeben. Der darin auftretende
      Feldname "SUBTY" kommt in keiner der Datenbanktabellen aus der
      FROM-Klausel vor.
    Thanks and Regards,
    Sudipto.

    Hi,
    Check whether the OSS note 207515 is suitable for the below situation.
    Summary
    Symptom
    A dump occurs in program SAPLRHDB: DBIF_NTAB_TABLE_NOT_FOUND
    Additional key words
    RH_BASE_READ_INFTY_NNNN, LRHDBU16
    Cause and prerequisites
    The system wants to access table HRPnnnn  particularly by means of an entry in the infotype check table T777D. This access can be processed in various places, including in the profile generator. Here, a termination occurs if the 'ent' table/structure in the dictionary is no longer available. This generally affcts customer-specific infotypes. These have been created and possibly deleted again. However, the entry in table T777D is not available. You can also import the entry into another system with a transport of the table. If the HRP table/structure is then missing, a termination may also occur in this case.
    Solution
    You must check on an individual basis which infotype the termination refers to. If it is a customer-specific infotype, the customer is responsible for removing the cause of the termination. If the table entry is a 'remnant', the entry can simply be deleted.
    If the termination refers to an SAP structure, you should consult SAP before carrying out any further activities.
    Source code corrections
    Header Data
    Release Status: Released for Customer
    Released on: 23.03.2000  23:00:00
    Priority: Recommendations/additional info
    Category: Customizing
    Primary Component: PA-BC Basis
    Releases
    Release Independant
    Satya

Maybe you are looking for