Event type linkages

hi gurus ,
been contemplating with event type linkages(SWETYPV).I'll be using this in connection with IDOC.
Basically my requirement is to have a custom outbound IDOC and will be trigger upon creation/updates of sales order.
My question is how does the event type linkages works?where would I populate the table?what is the role of receiver/check FM in event type linkages.
Please help.

Hi,
Hope you have opened another thread for this?
Event Type Linkages are created through SWE2 and will be populating in SWETYPECOU, SWETYPEENA tables.
Receiver is something which handles when an event occurs. Example when and IDOC ends in an error there should be someone to process this or some should be intimated. The receiver decides on who has to be intimated. Check Function Module are used to trigger based on condition. You define the procedure or do your check to see if the receiver has to be started if yes then set subrc as 0 else 4. So when 4 the receiver will not be triggered.
Thanks,
Prashanth

Similar Messages

  • Business objects and event type linkages...

    Hi Experts,
    Im a bit confused with business objects (swo1) and event type linkages(swetypv). Ive learned that business objects are used to trigger events and so how does event type linkages related to business object? Do I need to create business object or should I just search/look for the appropriate object needed?Please kindly explain to me the process or steps in using business object and event type linkages in related with idocs.

    Hi,
    Business objects neednot have to be created if your are fine with the standard method they have used in or the events yre available for you. If you need to cusomize it then you have to copy it to a subtype. Then do your modifications in it. Event type linkages are used to say which event is active for a Workflow. And if you want to trigger a Workflow based on certain conditions then you have to use either this or Start of Condition. The Error handling of workflow is also handled by Event Type Linkage. So whenvever you create a event linkage for a workflow you get an entry in Event Type Linkage.
    Hope this would have thrown some light on you.
    Thanks,
    Prashanth

  • Event Type Linkages - No receiver type

    We had an issue in our production server where users's were getting the "ambiguous workflow" error.  We found the culprit to be an additional entry in the Event Type Linkages (SWE2) that had NO recever type.  After we opened up the client, and removed the entry, the error went away.
    I know it's possible to enter a new entry in this table despite the erorr requiring the receiver type.  However, since this is a production box, access to data is extremely locked down, and there is not a way to directly modify this transaction. 
    Any ideas how this additional entry could have appeared?

    Hi Rick!
    Did you guys move any workflows from test/quality system to the production system? Usually, when we create starting events in workflows (using SWDD or PFTC), Event type linkages gets a new record and a transport gets created for the same. So it may have happened that a transport could have moved to Production with those changes.
    Hope this helps. Let me know if you have any clarifications.
    Regards,
    Anwar.

  • Event  type linkage through SWETYPV

    Hi All,
           I have query, in the event type linkage (SWETYPV), if the receiver type is other than the standard task or the workflow template, then how it can be used? Like in one of the standard settings
    Object Type: BUS2005 ,Event: DELETED, Receiver Type: SUBSCRIBE, ..
    I wanted to know how this Receiver type(SUBSCRIBE) is linked with the event and the sub sequent receiver function module. Please help.
    Regards
    PSB

    the object key will be passed through receiver function module via parameter OBJKEY on IMPORTING.
    function sgossub_rec_fb_send_mail.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(EVENT) LIKE  SWETYPECOU-EVENT
    *"     VALUE(RECTYPE) LIKE  SWETYPECOU-RECTYPE
    *"     VALUE(OBJTYPE) LIKE  SWETYPECOU-OBJTYPE
    *"     VALUE(OBJKEY) LIKE  SWEINSTCOU-OBJKEY
    *"     VALUE(EXCEPTIONS_ALLOWED) LIKE  SWEFLAGS-EXC_OK DEFAULT SPACE
    If the receiver type is a workflow or task, receiver functional module SWW_WI_CREATE_VIA_EVENT_IBF will use that receiver type as a workflow or task to trigger.
    For SUBSCRIBE receiver type, receiver type is just a text. Actually you can put anything there
    Chaiphon

  • Event Type Linkages: Status "1 errors"

    Hi,
    we got an error in Event type linkages. One event type is on error and it can't be manually switched back to "No errors" because it's not modifiable.
    The error occurs all of the sudden, the workflow could be triggered properly before.
    Did anyone got an idea of what I can do?
    The BOR type and event seems to be okay. The workflow too. Only the event background job wasn't running, but I restarted him.
    Anyway I got this error.
    Thank you in advance!

    Hi,
    with event job, you mean the event queue? this job isn't used that much anymore only in specific cases does it serve a purpose.
    What you can do is go to transaction SWEQADM to see which events are in error, also check there who the workflow administrator is. This person/position/whatever should've received a message about the event being stopped.
    To fix it you could activate the event-->wf linkage in a transport and import that in production, or in severe cases ask basis / authorization to open the production client for changesand reactivate the linkage. But only do that when you have found out the cause.
    There is probably a valid reason why you want to stop the workflow whenever an error occurs in the event.
    Kind regards, Rob Dielemans

  • Managing event type linkages

    Hi, folks! I need your experience for a moment.
    Could you tell me how could I know if a particular event type linkage of any business object type (say BUS2032) is activated or not in run-time, thru abap code?
    Hope it was clear enough.
    Thank you very much, people!

    Little note: the option I am talking about and I want to handle, we can find it in the transaction SWETYPV.
    Regards, friends.

  • Event type linkage automatically deactivated - Urgent help

    Hi,
    I activated the Event type linkage for a PR approval Workflow template (a copy of WS00000038) using t-code SWETYPV, however the Event type linkage got automatically deactivated by the system. I have try to activate again for few times, same thing happen got deactivate automatically, any one have encounter this problem before, please help - Urgent.
    thanks.

    Hi ,
    The mandatory Import parameter might be missing in event container. Event will be deactivated automatically because of these type of errors .
    Please check if you are passing all mandatory import parameters.
    Pls let me know if it worked.
    Regards,
    Ganesh.

  • Event Type linkage and settings of Event Administration Queue

    Hi friends,
        I have a scenario where there is an event linkage activated for a business object event, when i have checked the details of this type linkage then i found that
    1 -  ENABLE EVENT QUEUE check box is not clicked.
    2 -  BehaviorUpon Error Feedbak was set as System presetting.....
    And In Event Administration Queue>BasicData>ReceiverErrorFeedback = DeactivationOfLinkage
    So here my doubt is will the System deactivate the linkage if any error ll occur even if
    ENABLE EVENT QUEUE check box is not clicked ?
    Thanks Dev
    Edited by: Dev on Nov 28, 2008 12:23 AM

    Hi,
    Check out these links.
    these links will answer all your queries.
    [http://help.sap.com/saphelp_nw2004s/helpdata/EN/66/efa874b9b311d2a6010060087a79ea/frameset.htm]
    [http://help.sap.com/saphelp_nw2004s/helpdata/EN/c5/e4afe6453d11d189430000e829fbbd/content.htm]
    If you still have any queries let me know
    Regards,
    Raj

  • How to debug FM used in event type linkage?

    Hi experts,
    I have actived below linkage by tcode SWETYPV.
    BO BUS2032  ALECREATED    ,
    and I find the Receiver Function Module is PUR_ORDER_CREATE_VIA_SD_EVENT, can we debug this function module?
    Thank you in advance.
    Richard

    Hi Richard,
    Can you give us  more details about the issue?
    Actually we cannot debug the receiver function module when the event is occured. The reason is, its a background process.
    As far as i know, its not possible to debug the receiver function module.
    To check the event trace, use the transaction SWEL. It will show you whether the action triggered the event or not?
    Thanks,
    Viji.

  • Event type Linkages (SWE2)

    Hi Friends,
    I need to know about the 1) Use of "Linkage Activated" checkbox in SWE2 transaction.
    2) Whether the "Receiver Function Module" will be called in the same session after successful completion of "Check Function Module" without any exception or it will be called in the same session. The reason y i ask this question is that, when i try to debug the Event create, it is calling the "Check Function Module", but after successful execution, the debugger is not going to "Receiver Function Module". Please explain in detail on this.

    Check http://help.sap.com/saphelp_nw2004s/helpdata/en/d0/5e073c8e56f658e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/EN/d0/5e073c8e56f658e10000000a114084/content.htm
    Kanagaraja L

  • Type Linkage Active in Workflow

    Hi guys,
    When the Type Linkage Active column in SWETYPV is not checked, what does it mean?
    What does that column represents?
    Thanks!

    Hi Mark,
    The Transaction SWETYPV is used to link the workflow to the event...
    This transaction is very sensitive.. If by mistake if any changes happens then might be workflow get struck and its very difficult to rectify the problem
    &*********** <removed_by_moderator>************&
    Edited by: Julius Bussche on Jun 24, 2008 7:15 PM

  • Define event types in Customizing and restart the transaction.

    how to define event to restart the transaction in BADI
    I have given error message in badi. it is giving
    No SAP Event Management communication for events; no event types def
        Message no. /SAPTRX/ASC084
    Diagnosis
        You have not defined event types for the business process types.
        therefore not possible to communicate event data to SAP Event
        Management.
    System response
        The communication of event data is aborted.
    Procedure
        Define event types in Customizing and restart the transaction.

    Hi Kevin,
    What DataSource does your testalias refer to?
    - If it is a custom DataSource, you must have created this custom DataSource also.
    - If it is the default DataSource, you shouldn't have this problem in general...
    In either case, you can try deploying your DataSource and/or DataSource alias together with your application:
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/07d2eeea3e0485e10000000a155369/frameset.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/c82cd460a42e96e10000000a155369/frameset.htm
    I hope that helps!
    Regards,
    Yordan

  • How to See Business Event Types in Appraisals

    Hi Gurus,
    How can we fetch the Business events maintainined in Business Event Catalog in Training & Event Management in the input field for a criteria in Performance Appraisal Template maintained in PD
    Thanks & Regards
    Rajesh

    Hi,
    Exact process is:
    BEG                 (L)
          BET            (D)
    (course)BE        (E),
    You booked the attendance to business event type. That booking date is called Bsuiness event.
    You will not get any information about the Business event, check the PP01 select the course then give your course(E) no: .
    You maintained business events to business types. Check the PSV1 and PSV2. You will get the business events.
    Input field for a criteria in Performance Appraisal Template maintained in PD -
    . I donot understand what is this.
    Regards
    Devi.

  • How to get a vendor list for a event type in training and events

    Hi
    i need to get a vendor list for the event type.
    is there any function module to get the vendor name and vendor no if event type is passed.
    kindly help me...
    With regards
    Rusidar.

    Dear Pushpa,
    Transaction Code :SHD0 is working fine.
    Please accept my sincere thanks for your sharing your Knowledge.
    I am able to fulfill my
    Regarding the enhancement, I have not tried.
    Once I will complete, I will award the fulll marks to you.
    With Best Regards,
    Raghu Sharma

  • Creation of Business Event Type

    Hi
    We have already created a Business Event Type called Safety Refresher. Actually this training will happen every month. already created Safety Refresher and again trying to create its showing business event type already exists. Now i want under safety refresher is it possible to maintain month wise for the whole year or particular perilod.

    Hi Suraish
    You have not to create Business Event Type again and again. You only have to create new Business Event only under the said business event type. Use copy function and copy the previous business event and assign a new Schedule for the next month, also assing resources if required and then you can book the attendees against that new business event.
    Regards
    Rao Imran

Maybe you are looking for

  • Manual login to Non Default DB with SSO enabled

    Hi, I logged the following through SAP Support, but was advised that Single Sign-On was functionining as designed.  The issue is that the non-default database does not have a manual login page, whereas the default database does.  This is an issue for

  • When I download an apin downloads and it's just a textp, I open it box with a bunch of sill chinese looking gibberish. How do I utilize the app?

    When I download an app, I open it up in downloads and it's just a box with a bunch of useless chinese looking text. What am I doing wrong. Any help would be appreciated 

  • Get File Size problem

    Hi, I am using a BufferedWriter to write into a file, and I need to monitor the file size. If the file exceeds certain size, then I need create another file. Here is my code: File file = new File ("myname"); file.createNewFile(); BufferedWriter bwr =

  • Error loading a .exe labview application (attachement)

    I developped a monitoring application in labview 2010, containing video monitoring using 2 webcams. In the module for video monitoring I call the avicap32.dll and the user32.dll using the call library function. It runs perfectly. But when I build a .

  • Safari shuts down right

    Safari shuts down right after it downloads my hompage.  The report is: Process:     Safari [329] Path:        /Applications/Safari.app/Contents/MacOS/Safari Identifier:  com.apple.Safari Version:     5.0.6 (5533.22.3) Build Info:  WebBrowser-75332203