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

Similar Messages

  • 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

  • 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

  • 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 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 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

  • 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

  • Javascript error in event handler event type = timeline

    Hi,
    I have a small EdgeAnimate projekt with version 1.5.0 and the local export works fine... I must include the package at a CMS and I update all paths to absolute paths and all files are loading...
    but I the animation dont play - I see at the javascript console the follow output
    javascript error in event handler event type = timeline   edge.1.5.0.min.js:143
    Springender Punkt: Rettungswagen - Der springende Punkt
    I dont found any solution... :-((

    Hi Scott,
    I have gone through your shared composition created in older verion of Edge.
    If you open the older composition html page in browser, there already have some of the error messages in the console as you mentioned above like
          Javascript error in event handler! Event Type = timeline.
    And as you said with the latest Edge, when you upgrade the old composition, some new error messages gets added to the existing ones.
    As in the latest Edge, the whole of runtime has been shake-up, some of the attributes has been removed and are added in different way.
    Example: To access timelines of a symbol:
         Old way:           sym.timelines['Default Timeline']
         New way:          sym.data[sym.name].timeline
    You need to make some modifications in index_edgeActions.js file like:
         1. Search & Replace "timelines['Default Timeline']" with "data[sym.name].timeline"
         2. And in the code taken from EdgeCommons.js, replace "getVariable("symbolSelector")" with "_variables["symbolSelector"]".
    Hope, these changes will remove the new JS issues you mentioned.
    hth,
    Vivekuma

  • No. Range for Tarns/Event Type

    Dear Sirs,
    While posting the material using MB1C   -
    Message displayed
    Number range for trans./event type WA in year 2008 does not exist ?
    Have checked the fiscal year variant and posting periods.
    I would appreciate for the earliest help.
    Regards,
    Anil Kumar.B

    Hi Anil,
              Go through the transaction MMPV m, I hope it will solve your issue.
    Regards,
    Murali.

  • How to handle server event in component through BOL Concept

    Hi All,
                Please let me know how o handle Server event in Component through BOL Concept.
    Thanks,
    Prameela.

    Hi Prameela,
    If you want the server event to be triggered in the search view, you have to add the code in the GET_DQUERY_DEFINITIONS method.
      DATA: lv_getter TYPE string.
    CONCATENATE 'GET_P_' <rt_result>-field INTO lv_getter.
        TRANSLATE lp_getter TO UPPER CASE.                    "#EC SYNTCHAR
        TRY.
            CALL METHOD me->(lp_getter)
              CHANGING
                cs_result = <rt_result>.
          CATCH cx_sy_dyn_call_illegal_method.
    *     no P-Getter found
        ENDTRY.
    Regards,
    Leon

  • Number range for trans./event type WA in year 2014 does not exist

    Dear,
    Member As I am unable to post goods receipt through MB1C.
    Error coming-Number range for trans./event type WA in year 2014 does not exist Message no. M7562.
    I have gone through below thread, but still not resolving.
    In OMBT initial screen, clicked  on Group button with pencil figure.
    There, selected  Material documents for goods movements and inventory diffs.
    WA WH WI WL WQ WR WS WZ.
    There,  I have put  2014 and simply copy the number range 4900000000 - 4999999999 with current number as 0.
    I have gone through the previous thread but not yet got solution.
    Thanks & regards,
    Supriyo

    Welcome to the forum.  As a new member, I would like to inform you that there are certain rules and regulations applicable to this
    forum which you can find to your right screen where it has also been indicated that posting basic / repeated query is not allowed. Please search in this forum or Google it with the same text, so that you will find many threads discussed on the same topic.  Take the inputs from there and update still if you are not able to resolve.  Meanwhile, this thread would be locked.
    G. Lakshmipathi

Maybe you are looking for

  • How to index a large FLV?

    I'm sure this is documented many places but I can't find a simple well explained doc that shows how to take a 4 hour FLV archive and index it in such a way so that users can click a link and go directly to a specific time slice in the file. Is this a

  • Dual Radeon 4870 in 2009 Mac Pro

    Can I install 2 Apple supplied Radeon 4870's in the new 2009 Mac Pro?

  • 2311x Monitor broken when first used! Please help!

    I had bought an HP 2311x  and when I received it I hooked it up and the screen has alot of different colors, lines, and blurryness. Now after I hooked the monitor up to my pc I checked all the connections and power and everything was working fine. I

  • How to run html programs in safari?

    how to open a html file in safari..??

  • Fonts in Adobe Form Central

    could someone help? I want to use font exo in a form in adobe forms central. at the moment exo isn't an available option.