SWE_EVENT_CREATE

Hi all
i want details of using the function module SWE_EVENT_CREATE to trigger event .
Points will be rewarded if info is useful
-David Boon

Hi David,
here is an example.
I hope it helps!
Regards
Tibor
REPORT  Z_TIBOR_EVENT_SAP_SW                       .
INCLUDE <CNTN01>. " include container macros
DATA: OBJKEY LIKE SWEINSTCOU-OBJKEY,
EVENTID LIKE SWEDUMEVID-EVTID.
DATA: EVENT_CONTAINER LIKE SWCONT OCCURS 0 WITH HEADER LINE.
PARAMETERS:
  OBJTYPE LIKE SWETYPECOU-OBJTYPE DEFAULT 'BUS1001006',
  MATERIAL LIKE MARA-MATNR,
  EVENT LIKE SWETYPECOU-EVENT DEFAULT 'CREATED',
END_DATE LIKE SYST-DATUM DEFAULT SPACE.
OBJKEY = MATERIAL.
CALL FUNCTION 'SWE_EVENT_CREATE'
  EXPORTING
    OBJTYPE                       = OBJTYPE
    OBJKEY                        = OBJKEY
    EVENT                         = EVENT
  CREATOR                       = ' '
  TAKE_WORKITEM_REQUESTER       = ' '
  START_WITH_DELAY              = ' '
  START_RECFB_SYNCHRON          = ' '
  NO_COMMIT_FOR_QUEUE           = ' '
  DEBUG_FLAG                    = ' '
  NO_LOGGING                    = ' '
  IDENT                         =
IMPORTING
  EVENT_ID                      =
TABLES
  EVENT_CONTAINER               =
EXCEPTIONS
  OBJTYPE_NOT_FOUND             = 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.
else.
  commit work.
ENDIF.

Similar Messages

  • What are the import parameter for FM SWE_EVENT_CREATE

    Hello all,
    I want to use the function module SWE_EVENT_CREATE in order to create an event in order to execute a process chain which is triggered by this event.
    Beside the EVENT I have also OBJTYPE and OBJKEY as import parameter, but I do not know what should I enter there.
    In the TA sm64 where I have created the event, I could not find any other information than the event name.
    Any ideas would be great.
    Best regards,
    Stefan from Munich/Germany

    Hello Stefan,
    for OBJTYPE and EVENT see table SWETYPECOU
    OBJKEY usually is an idoc-number (edidc-docnum)
    hope it will help
    Regards Thomas

  • Help on SWE_EVENT_CREATE

    My requirement is to trigger an event from a function module. According to the parameter passed to the workflow there should be a different workflow. Suppose I have passed approve as the parameter it will perform a diff task and when reject is passed it will perform a different task. Can nyone suggest how to pass parameter from the event to the workflow.

    Once an event is triggered, the workflow starts. The parameter data is available in event container which is available for use in the workflow. When your function module calls the FM SWE_EVENT_CREATE the parameter data can be passed to the tables EVENT_CONTAINER. The data for EVENT_CONTAINER can be populated as below
    sets up the workflow container
      swc_set_element l_evt_container 'GoodsMvtHeader'   fp_i_goods_header.
    Hope this helps.
    Regards,
    Kartik.

  • Function module equivalent to SWE_EVENT_CREATE while using ABAP classes

    Hi there,
    I used to use SWE_CREATE_EVENT to fire the events linked to my BOR objects, in order to start certain workflows.
    Now I am using ABAP classes within the WorkFlows, and the name of the classes MUST (in my case) be longer than 10 characters, and SWE_EVENT_CREATE is cutting the name so it does not work
    Do you know any FM equivalent to start an event from a ABAP class (SE24) object?
    I have tried to use SAP_WAPI_START_WORKFLOW, but I cannot find the way to include my object in the container. Any ideas on this point would be welcome as well
    Thanks so much,
    Miguel

    Thanks for such a quick reply,
    You were right. I actually did follow Jocelyn's blogs, but somehow I skipped the raising event section.
    Just for information, the URL with the solution to this problem is:
    /people/jocelyn.dart/blog/2006/07/27/raising-abap-oo-events-for-workflow
    Have a good one

  • Can i use SWE_EVENT_CREATE or SWO1 to send email with attachement

    hi guysm
    is there any way i can use SWE_EVENT_CREATE or SWO1 to send email with attachment

    Hi EJ,
    I doubt if SWE_EVENT* can attach, neither can SWO1.
    You could either send it thru SO_*  FM said by sapient, or in SWU_START_WORKFLOW you can pass your attachment to the ATTACHMENT_LIST table.
    Hope it helps.
    Aditya

  • Difference between SWE_EVENT_CREATE  and SAP_WAPI_CREATE_EVENT ?

    what is the difference between the function modules SWE_EVENT_CREATE and SAP_WAPI_CREATE_EVENT ?
    In my program,when I tried to call the FM SWE_EVENT_CREATE for a custom BO event ,the event is not getting triggered.
    But when I use FM SAP_WAPI_CREATE_EVENT for the same custom BO event with the same parameters, the event is getting triggered.
    Can anyone please diffrerentiate between these two FM usages?
    Thanks a lot in Advance.

    HI,
    Plase search before posting ..
    SAP_WAPI_CREATE_EVENT it is meant for Workflow API  instead of the old function module SWE_EVENT_CREATE.
    refer this link
    Re: BUS2012 (PO) swe_event_create - container - use SAP_WAPI_CREATE_EVENT
    thanks..

  • Wrokflows in HR :Training and Event Management

    Hi,
    I need to enable the Standard Workflow PE_APPROVE01 (Approve Employee's Attendance Booking) which needs to be triggered once an Employee requests for a Training via Trnx: PV7I.
    I enabled the event linkage via SWETYPV and also the binding in the Triggering event of the WF.
    Event REQUESTED of Object PDRELA_025.
    But, when I execute the Trnx: PV7I and debug, I see event CREATED of Object ATTENDANCE being triggered in the FM SWE_CREATE_EVENT.
    Also, I need some information on the Table T779W which stores rules(FM to be executed in a particular scenario). For all T&E, object PDRELA_025, I see the rule as "HR_EVENT_TRAINING_NOTIFICATION".
    This Fm is called via PV7I and this FM calls SWE_EVENT_CREATE which is using the event CREATED of Object ATTENDANCE.
    Do I need to change this setting, and create my own FM to trigger the Event REQUESTED of Bus Object: PDRELA_025?
    Please suggest.
    Thanks,
    Suryakiran D.

    Hi,
    Did anyone get this to work? I am having trouble triggering workflow for PE_APPROVE01 (Approve employee's attendance booking).
    I have created entries in table T779X (through SWEHR3) as:
    E 1001     A025 *     BOKF     0     PDRELA_025     REQUESTED
    E 1001     A025 *     BOKP     0     PDRELA_025     REQUESTED
    E 1001      A025 *     BOKW     0     PDRELA_025     REQUESTED
    E 1001     A025 *     CNOW     0     PDRELA_025     DELETEREQUESTED
    E 1001     A025 *     CPRB     0     PDRELA_025     DELETEREQUESTED
    ...but as soon as it calls function RH_OBJECTKEY_BUILD, it fails and doesn't create the REQUESTED event.
    As the key field for AttendeeID in object PDRELA_025 references OBJEC-REALO, function RH_OBJECTKEY_BUILD tries to find a corresponding field in structure PPKEY to create the object key. As it can't find this field in PPKEY, it fails and doesn't create the REQUESTED event. Is there something I've done wrong?
    thanks
    Jason

  • Unable to get key field value in Method

    Dear All,
    I am Trying to implement Notification workflow on BOM Change.
    I am doing it via BADI : BOM_UPDATE
    *        " Declare Variable for Object Key
      DATA :   l_objkey     TYPE sweinstcou-objkey,
               wa_stzu      TYPE stzu.
      LOOP AT delta_stzub INTO wa_stzu.
      ENDLOOP.
    *        " Pass Object Key Variable to Business Object
      CONCATENATE wa_stzu-stlty wa_stzu-stlnr INTO l_objkey.
    *        " Function to call Business Event
      CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype    = 'ZBO_BOM_NF'
          objkey     = l_objkey
          event      = 'TR_BOMNF'
          debug_flag = 'X'.
      IF sy-subrc = 0.
        WRITE : /5 'Event is triggered wf started'.
      ELSE.
        WRITE : /5 'No Event is triggered Check WF'.
      ENDIF.
    When i use this value in my method no value is passed
    select single * from mast where stlnr = object-key-stlnr.
    variable object-key-stlnr doesn't bring required val.
    Thanks all,
    Regards,
    Gaurav Sood
    Can you please tell what went wromg here

    Hi Gautam,
    How r u,
    Requirement :
    I want to initiate a WF on BOM Change.
    Steps
    1.    called FM in BADI to trigger WF when BOM is changed.    ( Working Fine ).
    2.   WF is initiated and reciever has it his SAP inbox                 ( Working Fine ).
    3.    User should be able to Display BOM from WF using CS03
           as per Code
    select single * from mast where stlnr = object-key-stlnr
              SET PARAMETER ID 'MAT' FIELD mast-matnr.
              SET PARAMETER ID 'WRK' FIELD mast-werks.
              SET PARAMETER ID 'CSV' FIELD mast-stlan.
              CALL TRANSACTION 'CS03' AND SKIP FIRST SCREEN.
    The Problem here is that value object-key-stlnr is blank here.
    Rgds,
    Gaurav Sood
    1     100000003     ZBO_BOM_NF

  • Asynchronous Business Object Event not triggering Workflow

    Hello everybody,
    I created a workflow for processing of inbound messages (IDoc). The workflow is correctly started when an IDoc arrives. Then it prepares some data and runs into a waiting step. After the user processes the messages via a custom transaction, the workflow should proceed and send some additional information to the message origin.
    I created a new BO with an event ProcessComplete, which is called in the custom transaction via the following code:
    INCLUDE <cntn01>.
    DATA lo_zisu TYPE swc_object.
    swc_container lo_container.
    swc_create_container lo_container.
    swc_set_element lo_container 'VAR1' lv_var.
    swc_create_object lo_zisu 'ZABC' lv_object_key.
    swc_raise_event lo_zisu 'ProcessComplete' lo_container.
    But when I call this code, the workflow does not continue. When I use SWEL to manually create an event on this object, the workflow only continues when I set the check box "synchronous call". So in some way, the asychronous calls disappears completely.
    Can anyone give me a hint, where to look for these calls? May there be a setting not active on the system for this particular workflow? Other workflows with the same method of event handling work well.
    Thanks and regards,
    Christoph

    Hello,
    I debugged deeper into the whole issue. When I call the function module for the event creation directly (not via the macro posted in my initial post), I have the option to control syncronous va. asynchronous processing:
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype              = 'ZISU_MDC'
        objkey               = lv_objkey
        event                = 'ProcessComplete'
        start_recfb_synchron = 'X'
      IMPORTING
        receiver_count       = lv_rcvcnt
        event_id             = lv_evtid
      TABLES
        event_container      = lo_container
      EXCEPTIONS
        objtype_not_found    = 1
        OTHERS               = 2.
    The export parameter start_recfb_synchron controls this. In the program flow, the following is the difference between the two ways:
    Synchronous:
          CALL FUNCTION im_handler->m_linkage-recfb
               DESTINATION im_handler->m_linkage-rfcdest
               EXPORTING
                 sender                   = l_sibf_object_por
                 event                    = l_sibf_event
                 rectype                  = l_sibf_rectype
                 handler                  = l_receiver_por
                 exceptions_allowed       = 'X'
                 xml_size                 = l_xml_size
                 event_container          = lt_xml_container
               IMPORTING
                 result                   = l_result
               EXCEPTIONS
                 temp_error               = 1
                 OTHERS                   = 99.
    Asynchronous:
          CALL FUNCTION im_handler->m_linkage-recfb
               IN BACKGROUND TASK
               AS SEPARATE UNIT
               DESTINATION im_handler->m_linkage-rfcdest
               EXPORTING
                 sender                   = l_sibf_object_por
                 event                    = l_sibf_event
                 rectype                  = l_sibf_rectype
                 handler                  = l_receiver_por
                 exceptions_allowed       = ' '
                 xml_size                 = l_xml_size
                 event_container          = lt_xml_container
          CALL FUNCTION 'ID_OF_BACKGROUNDTASK'
               IMPORTING
                    tid = l_trfc_id.
    The first one works fine, the event gets processed, there is an entry in SWEL, the workflow continues. The second way does not work. The second function returns a tRFC ID, but when locking tRFC in the debugger and search for the call via SM58, there is no entry.
    In parallel I opened an OSS message, but did not get any (useful) response yet.
    Regards,
    Christoph

  • Events not triggering in RV60AFZZ exit USEREXIT_SAVE_DOCUMENT_PREPARE

    Hi ,
    I need to start workflow when invoice is created. As there is no standard event for the same, so I created new business object and trigger the event with FM SWE_EVENT_CREATE calling in user exit USEREXIT_SAVE_DOCUMENT_PREPARE in include RV60AFZZ.
    This works perfectly fine when I create an invoice with VF01. But when a batch program RV60SBAT is called for the same, this is when i am facing the problem. This program takes multiple delivery numbers and creates more than one invoice documents. And in debug i see that event is created two times. Even in SWEL i see that event is created for each invoice document created.But workflows work for last document only.Workflow is a background activity which updates a table.Entries for last document are only updated. I feel this is something related to update task or some bundling technique that might be used in standard program. I mean most probably last document number is being passed to all workflows. Please help me how to counter this problem and send individual number to each workflow.

    Hi Nabheet,
    Thanks for the quick reply. I have checked the program the values are coming fine. It is like workflow gets invoice no and calls two reports:
      SUBMIT ZSDTD0008
         WITH SELECTION-TABLE it_seltab AND RETURN EXPORTING LIST TO MEMORY.
      SUBMIT ZSDTD0009
         WITH SELECTION-TABLE it_seltab AND RETURN EXPORTING LIST TO MEMORY.
    This is done inside the function module which is called inside business object method.
    As two events trigger at same time(two invoices are created), proper values are passed.
    Strange thing is that if i take these two in debug then above mentioned programs, process for both of them.But without debug,in background, only one is processed(second one). It is something related to SUBMIT being called parallely for the same program.

  • SAP Workflow not triggering due to "Start Condition return FALSE" message in SWEL

    Hi,
    I have SES approval workflow which is not triggering in few cases because of check function ends with exception even it has valid start condition and correct data. For example lets say we have PO no. 100 for which 3 SES (SES1,SES2 & SES3) are created. Out of which workflow for SES3 is not triggering even if all the three contain valid start condition(Bases on internal order at PO line item).when triggering workflow manually using SWUE for SES3 it work fine.Please find SWEL screenshot below and let me know if you have come across this type of issue.
    Thanks in Advance.
    Ishant.

    kindly use SAP_WAPI_CREATE_EVENT and not SWE_EVENT_CREATE it's always better to use APIs.
    Why use 2 sub-objects? you already have a z-object and you can modify it. even if there is a reason for the double sub object , the workflow should still run on the standard one - BUS2091.
    see for example :
    Extending Object Types: Inheritance and Delegation - SAP Business Workflow - SAP Library
    As for your question,
    if you are using a function module to raise the event, way not check in it if the service entry sheet has been created properly before creating the event. you can even check if the PO contains an internal order in your RFC function module and raise a specific event. then you will have no need for the starting condition.

  • Sales order creation, standard event trigger is taking long time .

    We have a requirement where we are sending data to CRM system using RFC function module. This data is sent while sales order creation or change. We have used standard event BUS2032.CREATED to trigger CRM FM in sales order creation mode. In sales order change mode, we are using custom event. In production system, our custom change event is getting triggered fine and data is sent to CRM system with small time lag of around 1 minute. But, while sales order creation, standard event trigger is taking long time ( sometimes about 20 minutes) in production system.
    We tried triggering same custom event at the time of sales order creation using FM u2018SWE_EVENT_CREATE_IN_UPD_TASKu2019 as well but, still we are not able to improve performance of the event trigger at sales order creation.
    Regards,
    Sushee Joshi

    HI,
    we have written SWE_EVENT_CREATE in update task
    I think instead of calling in update task simply call to function module CALL FUNCTION "SWE_EVENT_CREATE" might trigger the event immediately.. Did you try to check in this way..
    OR
    And I also suggest you to check the entry in SWE2 txn with respect to your workflow tempalte, may be you have enable the option ENABLE EVENT QUEUE, this could be one of the reasons.. If it is enabled please disable it (uncheck)
    Please check..
    Regards
    Pavan

  • Trigger WF  when user Parks document from FB60 non-po invoice

    Hi,
    I need to trigger an approval workflow when the user parks a document using FB60.
    Here is what i have tried and it does not seem to work!!! (I might be missing something  here ..  )
    In the Triggering tab of the workflow i entered the Buisness object BUS2081 and event as parked.
    Then tried to park via FB60 does not work.
    I have never really done triggering this way before so i dont know what to do...
    Am i using the correct buisness object , do i need to create some kind of linking here ?
    WHile i am here another question.. the user will park for the first time and the workflow will trigger , what happens when the user parks it again. Do we need to handle this situation again ? How do we handle this.
    Thanks for ur responses...  i am pretty deep in this so anyone who throws a rope to me will be thanked to the maximum...

    Once you complete the customizing are you sure you are creating the invoice more than the amount you have specified in the customizing? If yes then this should work.
    I am not sure as to why you are not being able to get it right.
    The last option for you would be to find for a BADI which is called before or after the document gets committed to the database.
    Following are the BADIs that the code <b>might</b> call... No gaurantess given
    BADI_FDCB_SUBBAS01
    BADI_FDCB_SUBBAS02
    PPA_CUST_BADI
    BADI_FDCB_SUBBAS03
    WRF_PREPAY_INVOICE
    BADI_FDCB_SUBBAS04
    AC_DOCUMENT
    FI_LIMIT_PROCESS
    BADI_PRKNG_NO_UPDATE
    FM_POP_CORE
    Create an implementation and then put a break point in each of them to find out if the code calls the BADI. This is pure luck if you find one. Then you can raise the event via the function module SWE_EVENT_CREATE. Do not put a commit in the BADI initially. Only if the event does not get raised even after running the Function module then you can put in a commit. The system usually does a commit.
    Hope this helps,
    Sudhi
    Message was edited by:
            Sudhindra Chandrashekar

  • Creation of an Enterprise Messae Source Type

    Hi guys,
    has anyone of you tried before connecting BAM to Joram. Joram should be used as JMS provider. I'll post my confirguration:
    Display name:
    Joram
    ID:
    EMST.JORAM
    CLSID of Admin implementation:
    {CAC27017-40A2-4AD4-9BAC-16D01578A192}
    CLSID of Receiver implementation:
    {CAC27017-40A2-4AD4-9BAC-16D01578A192}
    CLSID of Sender implementation:
    {CAC27017-40A2-4AD[/i]4-9BAC-16D01578A192}
    Startup parameter:
    JMS*".;C:\Oracle\OracleBAM\OC4J\j2ee\home\oc4j.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\oc4jclient.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\lib\oc4j-internal.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\lib\ejb.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\lib\servlet.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\lib\jta.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\lib\jms.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\lib\javax88.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\lib\javax77.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\lib\jmxri.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\lib\jmx_remote_api.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\lib\adminclient.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\ojspc.jar;C:\Oracle\OracleBAM\OC4J\j2ee\home\jazn.jar;C:\Oracle\OracleBAM\OC4J\opmn\lib\optic.jar;C:\Oracle\OracleBAM\OC4J\rdbms\jlib\aqapi.jar;"".;c:\TIBCO\JMS\clients\java\tibjms.jar;c:\TIBCO\JMS\clients\java\jms.jar;c:\TIBCO\JMS\clients\java\jndi.jar;c:\TIBCO\JMS\clients\java\jta-spec1_0_1.jar;c:\TIBCO\JMS\clients\java\jcert.jar;c:\TIBCO\JMS\clients\java\jnet.jar;c:\TIBCO\JMS\clients\java\jsse.jar;c:\TIBCO\JMS\clients\java\tibcrypt.jar;"".;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jms.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jndi.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\jta.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\providerutil.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\fscontext.jar;C:\Program Files\IBM\WebSphere MQ\Java\lib\ldap.jar;"".;C:\Program Files\SonicSoftware\SonicMQ\lib\sonic_Client.jar;C:\Program Files\SonicSoftware\SonicMQ\lib\gnu-regexp-1.0.6.jar;C:\Program Files\SonicSoftware\SonicMQ\lib\jaxp.jar;C:\Program Files\SonicSoftware\SonicMQ\lib\xerces.jar;C:\Program Files\SonicSoftware\SonicMQ\lib\tools.jar;C:\Program Files\SonicSoftware\SonicMQ\lib\providerutil.jar;C:\Program Files\SonicSoftware\SonicMQ\lib\fscontext.jar;C:\Program Files\SonicSoftware\SonicMQ\lib\sslj.jar;C:\Program Files\SonicSoftware\SonicMQ\lib\jsafe.jar;C:\Program Files\SonicSoftware\SonicMQ\lib\certj.jar;"".;C:\bea\weblogic700\server\lib\weblogic.jar;"".;C:\eGate\client\classes\stcjms.jar;C:\eGate\client\JRE\1.3\lib\ext\fscontext.jar;C:\eGate\client\JRE\1.3\lib\ext\providerutil.jar;C:\eGate\client\ThirdParty\sun\jms.jar;C:\eGate\client\ThirdParty\sun\jndi.jar;C:\eGate\client\ThirdParty\sun\jta.jar;"".;C:\JNDI-Directory_WebMethods\fscontext.jar;C:\JNDI-Directory_WebMethods\providerutil.jar;C:\JNDI-Directory_WebMethods\javax.jms.jar;C:\Program Files\webMethods6\Broker\lib\BrokerJMS60.jar;C:\Program Files\webMethods6\common\lib\client60.jar;C:\Program Files\webMethods6\Broker\lib\xerces.jar;C:\Programme\SOPware\Devbox\devbox-modules\joram\ship\lib\joram-client.jar;C:\Programme\SOPware\Devbox\devbox-modules\joram\ship\lib\joram-shared.jar;C:\Programme\SOPware\Devbox\devbox-modules\joram\ship\lib\ow_monolog.jar;C:\Programme\SOPware\Devbox\devbox-modules\joram\ship\lib\JCup.jar;"
    The next step is the creation of the Enterprise Message Source:
    [i]Name:
    MyEMS
    Owner:
    VM\admin
    Type:
    Joram
    InitialContextFactory:
    fr.dyade.aaa.jndi2.client.NamingContextFactory
    JNDI Service Prvider URL:
    localhost:16400
    TopicConnectionFactory Name:
    TopicConnectionFactory
    Topic Name:
    Topic
    JMS Message Type:
    TextMessage
    with one field as a String with filesize=4000.
    When I create a plan to insert in a simple Grid and update this plan I am getting the following error:
    Unable to create Message Receiver COM object.
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x4B]
    [W32 HRESULT: 0x80004002]
    Interface not Supported
    Error creating Message Receiver COM object.
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x4C]
    Error while processing the data for the step 'Oracle BAM Enterprise Message Receiver'
    [Oracle BAM Enterprise Link error code:  DC -- 0x1, DC -- 0x83]
    Error while processing the data for the step 'Oracle BAM Enterprise Message Receiver'
    [Oracle BAM Enterprise Link error code:  DC -- 0x1, DC -- 0x83]
    Unable to create Message Receiver COM object.
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x4B]
    [W32 HRESULT: 0x80004002]
    Interface not Supported
    Error creating Message Receiver COM object.
    [Oracle BAM Enterprise Link error code:  0x75 -- 0x1, 0x75 -- 0x4C]
    Error while processing the data for the step 'Oracle BAM Enterprise Message Receiver'
    [Oracle BAM Enterprise Link error code:  DC -- 0x1, DC -- 0x83]
    Update of Plan "NotificationReceiverPlan" failed.
    [Oracle BAM Enterprise Link error code:  PlanMgr -- 0x1, PlanMgr -- 0xD5]
    Did I miss anything in my configuration?
    Regards,
    Christoph

    Hi,
    I dont see a point in having this statement
    swc_set_table event_container 'INTERNAL_TABLE' t_cnp_container. Infact it is not needed !!
    SWE_EVENT_CREATE like any other FM, take a
    lt_var type standard table of SWCONT.
    ls_var type SWCONT.
    fill your ls_var with all fields and append it to lt_var each time and pass lt_var to event_table of SWE_EVENT_CREATE. It should work !!
    However, suggested way is to use SAP_WAPI_CREATE_EVENT instead of SWE_EVENT_CREATE  from ECC 5.0 onwards. There are fe concerns with SWE_EVENT_CREATE mainly with respect to commit and persistancy. Better we should use SAP_WAPI* as much as possible from ECC 5.0.
    Try above and Good Luck !!
    Regards
    Krishna Mohan

  • Problem in workflow

    Hello,
    There is an urgent issue regarding workflow. The workflow gets triggered by SWE_EVENT_CREATE from a z-function module. The parameters passed while triggering are Approver1, Approver2, first_approver and payment method. The problem is, In some cases, the workflow fails at the start and workitem doesn't go the 1st approver inbox for a particular user. After 6-7 errors, the triggering event got deactivated automatically.
    The data passed to the workflow even in case of error is correct and the binding is also correct.
    The scenario is in the production server and cant be simulated in quality server since the same data is working fine in the quality server.
    The error log for the document in error shows the folowing error:
    Diagnosis
    When the work item no. 1160113 sent a response message, an inconsistency was found in the related workflow definition: Node no. 1 has a line but no node definition or step definition.
    The respective workflow task (definition no. , version ) may have been changed during the workflow execution in a way which is not allowed.
    System Response
    The workflow is forced into the error status and stopped.
    Procedure
    Check and correct the workflow definition. You can display the structure (nodes and lines) of the workflow definition in the workflow builder via the menu function 'Extras' -> 'Techn. information' -> 'Definition structure' and -> 'Runtime structure'.
    Extras -> Technical information -> Definition structure or
    Extras -> Technical information -> Runtime structure
    It may be possible to correct the error by activating the workflow or by using the special function Extras -> Special functions -> Block correction.
    The same workflow is working for other users properly.
    Can anybody please help me with this. Its really urgent.
    Thanks in advance.
    Radhika
    Edited by: Alvaro Tejada Galindo on Apr 7, 2008 12:42 PM

    Hi Radhika,
    You can activate the event trace by SWE4 transaction.
    After you switch it on, execute your workflow once and check the event trace in SWEL.
    Once you open the Event trace, check the following to diagnose the problem:
    1. See if the workflow actually got triggered.
    2. If yes, go into the details of the WF, and check the technical settings. In this you can actually check at which step the WF failed.
    3. Once you determine the erronous step, check the container.
    4. Check both the workflow container as well as the task container.
    5. check the Bindings between the various containers.
    Post the scenario once you have pinpointed the exact or the probable cause.
    Hope this helps.
    Regards,
    Sonal

Maybe you are looking for

  • Best way to update a PRA file with changes to P6 schedule?

    Hello, I've spent some time looking at user manuals and video tutorials to try and become familiar with how to use Primavera Risk Analysis. I come from an @RISK user background so there were some concepts that were a little different between the two

  • Essbase Product Existence Check Fails against the Shared Services Server

    Hello Everyone, I am a new to Essbase When I am launching the EAS web console and trying to log in, its giving me an error saying "Could not connect to Administration Server". I looked in ESSBASE log file its showing an error 1051429 : "Essbase Produ

  • Problem with ESM

    I have register database, but in ESM in the navigator window under Enterprice Domains>OracleDefaultDomain in Database tab is not possible choose User Authentication: Oracle Wallet(SSL) And Password in the popup list I use OID 10g, when I use OID 9.2

  • Optimised photo is missing...

    After I've optimized a photo the photo is not visible anymore in a full-screen modus, but only as preview. If I check the photo in the finder in the iPhoto Library it is still available under originals as the original, under modified the picture is n

  • Doubt about Deploy Application

    Hello Guys, I need deploy application XX.msi,size 17Mb on 300 desktop's by SCCM 2012. But I want know if is possible configure my limit bandwidth because my deploy can't cause slowness in my environment. Is it possible? Is there some configuration I