"No receiver is entered" in SWEL when triggered via program.

Hi WF experts,
I'm currently working on a workflow with Z business object.
My WF contains a "wait for event" step. When I launch my WF directly from SWDD. It works (I verify in SWEL and i find receiver data in the details, but when i trigger the event via a program, i get the event trace with the following message in SWEL : (No receiver is entered).
I'v already verified instance linkage and i'v added enty in SWTYPV for this event with receiver MF (SWW_EI_EVENT_RECEIVE) and type recever EVENTITEM.
Does any one know why it works with SWDD test tool and not with my program ?
Thanks for your answers.
Regards,

HERE IT IS.
DATA : wl_objtype TYPE swo_objtyp,
         wl_objkey TYPE swo_typeid,
         wl_event TYPE swo_event,
         wl_xml_cont TYPE swf_xmlcnt,
         ls_swhactor TYPE swhactor.
  CHECK NOT zdva-flag_debloc_av IS INITIAL.
  wl_event = 'DVA_CLOTUREE'.
  wl_objtype = 'ZDVA_BO'.
  wl_objkey = zdva-dva_nb.
  ls_swhactor-otype = 'US'.
  ls_swhactor-objid = sy-uname.
  CALL FUNCTION 'SWE_EVENT_CREATE'
    EXPORTING
      objtype           = wl_objtype
      objkey            = wl_objkey
      event             = wl_event
      creator           = ls_swhactor
    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.
  ENDIF.
  COMMIT WORK.

Similar Messages

  • Workflow is not triggered via program RBDMANI2

    Hi,
    We have a Workflow that triggers when an IDOC ends up in an error. It works fine when the IDOC is posted through XI and also when processed from WE19. When we try to re process through the Program RBDMANI2 the even is not triggered.
    Business Object used: ZIDOCAPPL (Subtype of IDOCAPPL delegated to IDOCAPPL).
    Event: INPUTERROROCCURED
    My doubt here is will an event be triggered when an IDOC is Processed through RBDMANI2 program? If yes then am i missing or is there some settings that needs to be or should i use any specific Business Object for this scenario.
    Please throw some light upon this.
    Thanks,
    Prashanth

    Hi Prashant,
    Best way to find out which event is getting triggered with this report is by using Event Trace, Follow the below steps.
    (1)- Go to Tcode SWELS, (SWITCH ON THE TRACE).
    (2)- Now run this Report .
    (3)- Go to Tcode SWELS again.(SWITCH OFF THE TRACE).
    (4)- Go to Tcode SWEL, Execute it, You'll find the Event name and Business object name that got trigerred.
    Note: If you don't see any event getting trigerred in SWEL, this means that with this report no event is executing.
    The other way around could be to use a BADI or User-exit in that you have to externally trigger the event by using function module.
    'SAP_WAPI_CREATE_EVENT'
    Note: If events are not getting trigerred through transactions, Then you can use this function module to trigger workflow from outside, So use this function module in any badi or exit or enhancement spot that suits your requirement.
    Thanks.

  • I am unable to restore my subscription. I receive the following error message when I enter the password: " Apple ID doesn't exists or the password is wrong".

    I am unable to restore my subscription. I receive the following error message when I enter the password: " Apple ID doesn't exists or the password is wrong".

    Please refer to Can't authorize with a previously used Adobe ID

  • I am trying to install Lightroom 5 with a software download card. I get as far as entering the redemption code, receiving the serial number, then when I click download, nothing happens...

    I am trying to install Lightroom 5 with a software download card. I get as far as entering the redemption code, receiving the serial number, then when I click download, nothing happens... Now what?

    Adobe - Lightroom : For Windows
    Adobe - Lightroom : For Macintosh
    Mylenium

  • I've just received my serial number but when i use it says '' The serial numer you entered is invali

    i've just received my serial number but when i use it says '' The serial numer you entered is invalid. Please try again. If the problem persists, contact Customer Support.''
    it is Adobe Ae CS6 on MAC OS PC

    Refer to this:
    Error "The serial number is not valid for this product"
    If it doesn't resolve the issue, contact serial number and activation support.
    Mylenium

  • Debugging customized function module when Idoc is triggered via ALE

    Hi,
    Whenever we save the billing document, an outbound idoc is triggered via ALE. The logic for the data to be included in the idoc is written in a customized function module.
    However we are making some changes and would like to include some more data in the idoc. But we find that when we put a breakpoint in the function module, on saving the billing document, the flow does not stop at the break point. We are 100% sure that the code in the function module gets executed based on the data in the idoc.
    How do we get into debug mode and break the flow in the function module so that we can debug in the function module?
    Any help would be greatly appreciated.
    Thanks in advance,
    Mick

    Hi Mick, this might be of some help 4 u.
    ALE IDOC
    Sending System(Outbound ALE Process)
    Tcode SALE - for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 - Create Model View
    Tcode BD82 - Generate partner Profiles & Create Ports
    Tcode BD64 - Distribute the Model view
    Message Type MATMAS
    Tcode BD10 - Send Material Data
    Tcode WE05 - Idoc List for watching any Errors
    Receiving System(Inbound ALE )
    Tcode SALE - for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 - Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 - Idoc List for inbound status codes
    ALE IDOC Steps
    Sending System(Outbound ALE Process)
    Tcode SALE ?3 for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 - Create Model View
    Tcode BD82 - Generate partner Profiles & Create Ports
    Tcode BD64 - Distribute the Model view
    This is Receiving system Settings
    Receiving System(Inbound ALE )
    Tcode SALE - for
    a) Define Logical System
    b) Assign Client to Logical System
    Tcode SM59-RFC Destination
    Tcode BD64 - Check for Model view whether it has distributed or not
    Tcode BD82 -- Generate partner Profiles & Create Ports
    Tcode BD11 Getting Material Data
    Tcode WE05 - Idoc List for inbound status codes
    Message Type MATMAS
    Tcode BD10 - Send Material Data
    Tcode WE05 - Idoc List for watching any Errors
    1)a Goto Tcode SALE
    Click on Sending & Receiving Systems-->Select Logical Systems
    Here Define Logical Systems---> Click on Execute Button
    go for new entries
    1) System Name : ERP000
    Description : Sending System
    2) System Name : ERP800
    Description : Receiving System
    press Enter & Save
    it will ask Request
    if you want new request create new Request orpress continue for transfering the objects
    B) goto Tcode SALE
    Select Assign Client to Logical Systems-->Execute
    000--> Double click on this
    Give the following Information
    Client : ERP 000
    City :
    Logical System
    Currency
    Client role
    Save this Data
    Step 2) For RFC Creation
    Goto Tcode SM59-->Select R/3 Connects
    Click on Create Button
    RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
    give the information for required fields
    RFC Destination : ERP800
    Connection type: 3
    Description
    Target Host : ERP000
    System No:000
    lan : EN
    Client : 800
    User : Login User Name
    Password:
    save this & Test it & RemortLogin
    3)
    Goto Tcode BD64 -- click on Change mode button
    click on create moduleview
    short text : xxxxxxxxxxxxxx
    Technical Neme : MODEL_ALV
    save this & Press ok
    select your just created modelview Name :'MODEL_ALV'.
    goto add message type
    Model Name : MODEL_ALV
    sender : ERP000
    Receiver : ERP800
    Message type :MATMAS
    save & Press Enter
    4) Goto Tcode BD82
    Give Model View : MODEL_ALV
    Partner system : ERP800
    execute this by press F8 Button
    it will gives you sending system port No :A000000015(Like)
    5) Goto Tcode BD64
    seelct the modelview
    goto >edit>modelview-->distribute
    press ok & Press enter
    6)goto Tcode : BD10 for Material sending
    Material : mat_001
    Message Type : MATMAS
    Logical System : ERP800
    and Execute
    7)goto Tcode : BD11 for Material Receiving
    Material : mat_001
    Message Type : MATMAS
    and Execute --> 1 request idoc created for message type Matmas
    press enter
    Here Master Idoc set for Messge type MATMAS-->press Enter
    1 Communication Idoc generated for Message Type
    this is your IDOC
    Change Pointers
    I know how to change the description of a material using ALE Change Pointers.
    I will give the following few steps
    1) Tcode BD61---> check the change pointers activated check box
    save and goback.
    2) Tcode BD50---> check the MATMAS check box save and comeback.
    3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
    4) Tcode BD52---> give message type : matmas press ok button.
    select all what ever you want and delete remaining fields.
    save & come back.
    5) 5) go to Tcode MM02 select one material and try to change the description and save it
    it will effects the target systems material desciption will also changes
    6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
    give Message type : MATMAS and Executte
    ALE/IDOC Status Codes/Messages
    01 Error --> Idoc Added
    30 Error --> Idoc ready for dispatch(ALE Service)
    then goto SE38 --> Execute the Program RBDMIDOC
    29 Error --> ALE Service Layer
    then goto SE38 --> Execute the Program RSEOUT00
    03 Error --> Data Passed to Port ok
    then goto SE38 --> Execute the Program RBDMOIND
    12 Error --> Dispatch ok
    Inbound Status Codes
    50 Error --> It will go for ALE Service Layer
    56 Error --> Idoc with Errors added
    51 Error --> Application Document not posted
    65 Error --> Error in ALE Service Layer
    for 51 or 56 Errors do the following steps
    goto WE19 > give the IDOC Number and Execute>
    Press on Inbound function Module
    for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
    cheers,
    Hema.

  • All-in-one 6830 printer Does not enter sleep mode when connected to a phone line

    HP staff  help. HP all-in-one printer 6830 does not enter sleep mode when conntected to a phone line via 1-Line jack.  The Firmware is PNP1CN1521AR. On August 1, 2015,  I purchased an HP all-in-one 6830  printer and upgraded to firmware PNP1CN1521AR.When a phone line is connected to 1-Line jack of 6830, the printer will no longer enter  sleep mode and the display remains on indefinitly.Removing the phone connection either from the wall outlet or from the printer causes the sleep mode to work correctly again where the control panel display turns off after 5 minutes (or optionally  after 10 or 15 minutes).This problem was previously reported by a user and has not been resolved, see:http://h30434.www3.hp.com/t5/Other-Printing-Questions/Sleep-mode-of-Officejet-Pro-6830/td-p/4772182 The user did not receive a resolution to this problem according to the thread.
    There seems to be a  6830 printer firmware or hardware problem causing this. HP  should be able to confirm this problem on 6830 easily.
    Please advise ASAP.
    Thanks 

    It's a regular analog phone line. I've tested it with other phone lines. No difference. I have another all-in-one printer which works fine (goes to sleep mode) when plugged into the same phone line.
    The 6830 works ok in other aspects. The only problem is the sleep mode. Any 6830 with the firmware I mentioned should replicate the same result, regardless of anything else. The previous firmware to PNP1CN1521AR also created this problem according to the original report of this problem by another user.
    I'm sure there's a bug in the firmware. A subroutine in the firmware monitoring the incoming fax ringing, mistakenly, sees the voltage across the phone jack pins as an event and wakes up the printer instantly even though there's no ringing. As the previous user also suspected, there seems to be an error in the phone line voltage threshold used by the firmware. The present firmware always sees a ringing at the phone line which causes it to never stay in sleep mode.

  • HT5463 Will the receive the missed calls/texts when you turn the do not disturb button back off?

    Will the receive the missed calls/texts when you turn the do not disturb button back off?

    remove case and screen protector- make sure mute swith is off - clean out headphone hole with compressed air
    then if no result
    reset all settings
    settings-general-reset-reset all settings
    now reconnect to wifi
    settings- wifi- click network name- enter password - join
    if issue persists back up and restore as new via iTunes
    if still persists have repaired
    Peace, Clyde

  • How do I shut off receiving phone and text messages when I a out of the country but instill want to send and receive emails emails

    How do I shut off receiving phone and text messages when I am out of the country.  I still want to be able to email and receive email on wifi

    Enable Airplane mode followed by turning on wi-fi access.

  • TS1538 ipad does not come on once its unpluged from power source,it enters recovery mode when both power and home botton are pressed with usb on powersource but does not come up at all when connected to computer or out of power source

    ipad does not come on once its unpluged from power source,it enters recovery mode when both power and home botton are pressed with usb on powersource but does not come up at all when connected to computer or out of power source

    What model iPad do you have? If it's an iPad 1, the battery may have expired and needs replacement.
     Cheers, Tom

  • Am being prompted to enter security questions when making a purchase on my new IPad.  I don't believe I have ever setup security questions on my apple id.  How to I create new security questions?

    I am being prompted to enter security questions when making a purchase on my new IPad.  I don't believe I have ever setup security questions on my apple id.  I have tried logging into my apple id and have chosen the security and priviacy settings to set up security questions.  However I am prompted to enter answers to security questions and am told they don't match.  How to I create new security questions or reset them? 

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (104011)

  • When I pre ordered my iphone 6 i was told I was going to get an additional 1 gig of data per month for a year.  It even shows it on the receipt i received with the phone.  When will I see that reflected on my account.  I have had my new phone for a week a

    When I pre ordered my iphone 6 i was told I was going to get an additional 1 gig of data per month for a year.  It even shows it on the receipt i received with the phone.  When will I see that reflected on my account.  I have had my new phone for a week and used tons more data than usual and am hoping that will save me this month.

    concretedonkey, I'm glad you were able to take advantage of this offer when you ordered your new iPhone 6. I can certainly review your account to ensure this was added for you. Please reply to the direct message I have sent you.
    AndreaS_VZW
    Follow us on Twitter @VZWSupport

  • Firefox 4.0 is my default browser, and I am receiving a script error message when I try to view online images in Family Tree Maker 2011, a genealogy program. Have not had problems until Firefox 4.0. Can't seem to find a setting in Firefox to fix this.

    Error is as follows: Line: 63 Char: 4344 Error: Unable to get value of the property 'offsetHeight': object is null or undefined Code: 0 URL: http://yui.yahooapis.com/combo?2.8.0/build/yuiloader-dom- event/yuiloader-dom-event.js&2.8.0/build/dragdrop/dragdrop- min.js&2.8.0/build/stylesheet/stylesheet- Do you want to continue running scripts on this page? Y/N buttons."

    I see. Well, I just tried to make IE my default browser, but it did not solve the problem. I receive the same script error when I view the image. (I may not have explained this thoroughly enough at first - I do get to view the image after answering the error message, but the print button embedded in the window doesn't work. Before, I never had a problem with viewing or printing.)
    I imagine that at this point I will either need to communicate this to the IE people, or possibly revert to an older version of IE.

  • I Just received the update to iTunes, when I I look at the screen I do not see the normal icons.  When I select movies I do not get the new downloads unless i select the list in the sub file. How do I get backto the old method of seeing and using iTunes??

    I Just received the update to iTunes, when I I look at the screen I do not see the normal icons.  When I select movies I do not get the new downloads unless I select the list in the sub file. How do I get back to the old method of seeing and using iTunes??

    I can tell you that this is some of the absolutely worst customer service I have ever dealt with. I found out from a store employee that when they are really busy with calls, they have third party companies taking overflow calls. One of those companies is Xerox. What can a Xerox call center rep possibly be able to authorize on a Verizon account?  I'm Sure there is a ton of misinformation out there due to this. They don't note the accounts properly or so everyone can see them. I have been transferred before and have asked if they work for Verizon or a third party also and was refused an answer so, apparently they aren't required to disclose that information. I spent a long time in the store on my last visit and it's not just customers that get the runaround. It happens to the store employees as well and it's beyond frustrating.

  • I receive the follwing error message when trying to open my ipod touch/itunes "the itunes libary.itlfile is lockedon  a lockdisk or you do not have write permission on this file. How do I resolve this problem?

    I receive the follwing error message when trying to open my ipod touch/itunes "the itunes libary.itlfile is lockedon  a lockdisk or you do not have write permission on this file. How do I resolve this problem?

    Repair iTunes Security Permissions
    Right-click on your main iTunes folder and click Properties, then go to the Securitytab and click Advanced. Use the Change Permissions... button grant to your account (or the Users group) and SYSTEM full control of this folder, subfolders and files, then tick the option to Replace permissions entries... which will repair permissions throughout the library. When complete switch to the General tab, click in the Read-only check box to clear it, then click Apply.
    If you don't have the option to change the permissions then use the Owner tab and Edit... button to take ownership from an account with administrator privileges. Tick the option to Replace owner on subcontainers and objects.
    Repeat with the media folder if it isn't stored inside the main iTunes folder.
    If you've brought over the library from another computer you may also want to remove any "mystery" identities (S<string of dashes & digts>) that have come over from the old computer...
    The images above are from Windows 7. Hopefully the system isn't too different in Windows 8.
    tt2

Maybe you are looking for

  • After updating to iOS 7 iPhone 4s won't activate.

    I have connected to my wifi and tried to activate using my wifi. That didn't work and it told me to try again later. I have connected to my 4g internet on my phone and tried activating that way. That didn't work and it told me to try again later. I o

  • Moving iphoto library to external hard drive.

    My mac mini is fast running out of disk space and I am trying to move the iphoto library to an external hard drive. I have copied the library across to the external disk, renamed the exisiting library and have now tried to restore/rebuild the iphoto

  • Use blackberry as a hotspot with an ipad1

    can someone let me know if this is possible? I know how to use an iPhone, but my boss has a Blackberry Torch and an old iPad.

  • Switching CS6 from PC to Mac

    I currently have CS6 for PC and I am now switching to be a Mac user. I previously spoke to a representative who said I should be able to transfer my software. Can you please inform me how this would happen? Many thanks for your help. Serena Edwards

  • Database re-pointing in hyperion system 9.3.3

    Hello Gurus, We want to re-point our hyperion 9.3.3 products towards another database which contains data in that database. Here is complete scenario: 1. We made 3 servers VMs as a. Database server (Sql 2005 SP1) b. HSS,RnA 9.3.1 (now Upgraded to 9.3