I am trying to trigger a custom event using a program but does not work ..

HI ....i am trying to trigger a custom event of a custom object type using a program but does not work. If trigger the same event using SWUE it works.
below is the code...
{Key = '0010001115'. "Sales Order Number (hard-coded)
CALL FUNCTION 'SWE_EVENT_CREATE'
  EXPORTING
    objtype                       = 'ZXXXXXXXF'
    objkey                        = KEY
    event                         = 'ZEVENT'
  CREATOR                       = ' '
  TAKE_WORKITEM_REQUESTER       = ' '
  START_WITH_DELAY              = ' '
  START_RECFB_SYNCHRON          = ' '
  NO_COMMIT_FOR_QUEUE           = ' '
  DEBUG_FLAG                    = ' '
  NO_LOGGING                    = ' '
  IDENT                         =
IMPORTING
  EVENT_ID                      =
  RECEIVER_COUNT                =
TABLES
  EVENT_CONTAINER               =
EXCEPTIONS
  OBJTYPE_NOT_FOUND             = 1
  OTHERS                        = 2}
Please guide me if i am missing something.

Hi Sunny,
I think you should try creating the event using FM SAP_WAPI_CREATE_EVENT.
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
  EXPORTING
    OBJECT_TYPE             =  'ZXXXXXXXF'
    OBJECT_KEY              = key
    EVENT                   = 'ZEVENT'
*   COMMIT_WORK             = 'X'
*   EVENT_LANGUAGE          = SY-LANGU
*   LANGUAGE                = SY-LANGU
*   USER                    = SY-UNAME
*   IFS_XML_CONTAINER       =
IMPORTING
   RETURN_CODE             = rcode
   EVENT_ID                = event_id
* TABLES
*   INPUT_CONTAINER         =
*   MESSAGE_LINES           =
*   MESSAGE_STRUCT          =
Regards,
Saumya

Similar Messages

  • When trying to update apps i keep getting billing method incorrect(this is on iphone 4s) i hsve tried this store,apple id,view id,payment info but does not offer me the none option,i can npt update my phone any ideas anybody please?

    when trying to update apps i keep getting billing method incorrect(this is on iphone 4s) i hsve tried this store,apple id,view id,payment info but does not offer me the none option,i can npt update my phone any ideas anybody please?

    If you dont have none option then you must own itunes some money. So you have to enter the payment like a itunes giftcard. you can contact itunes by email by going to expresslane.apple.com

  • I am using Windows 7 64-bit. After installing Photoshop Elements 13 and trying to run it I always get the message: Photoshop does not work anymore. And it doesn't.

    I am using Windows 7 64-bit. After installing Photoshop Elements 13 and trying to run it I always get the message: Photoshop does not work anymore. And it doesn't.

    Hi Hardy Tasso,
    Are you seeing this problem since first launch of PSE13 after installation or recently?
    Please try:
    Keep Ctrl + Alt + Shift keys pressed while launching PSE13 Editor and click OK on the dialog that comes next.
    Thanks,
    Anwesha

  • I have a VGA adapter and an iPad2.  Tried projecting my iPad2 to projector using the VGA but doesn't work.  Tried it with friend's iPad1 and it works.  Why??

    I have a VGA adapter and an iPad2.  Tried projecting my iPad2 to projector using the VGA but doesn't work.  Tried it with friend's iPad1 and it works.  Why??  Pls help.

    Yup - nothing happens.  I then took the same VGA cable and plugged it into my friend's iPad1 and it worked perfectly when she opened Keynote.  My understanding is that the iPad2 mirrors the entire screen, so no need to go into any specific application in order to project to the screen, right?  Do I need to download any specific app or change any settings in order to be able to project the screen using VGA?
    Sorry - novice at this.  Not very tech minded either...

  • I can't open my itunes , i tried to delete it and install it back already but still not working , please help

    i can't open my itunes , i tried to delete it and install it back already but still not working , please help

    No , it is something crushed in my computer ? i keep re-download it and tried to download some old version itunes my computer is a Window 7 . i can't backup my iphone and ipad now pleses help , thank you

  • HT201401 Hi.. My Iphone acts as if it is dead. Tried a lot with Sleep +home buttons as well, but did not worked. When it is plugged in, keeps on charging with a regular beep. Please advise.

    Hi.. My Iphone acts as if it is dead. Tried a lot with Sleep +home buttons as well, but did not worked. When it is plugged in, keeps on charging with a regular beep. Please advise.

    Yes, I understand that. But The screen issue is not a result of user damage. The phone was not dropped when the screen got cracked. My daughter was standing in a chair at the table and dropped one of her toys onto the bottom of the phone and cracked it right by the home button. (Nowhere near the LCD/digitizer flex cables, connections, or logic board components) then a few months later my phone had died, I plugged it in, it showed it was charging, then Apple logo disappeared and screen didn't work. AFTER contacting Apple about the issue and them telling me that it "is a result of the very minimal crack to the sheet of glass that has no relation to the LCD or Digitizer and that the warranty does not cover it I had taken it upon myself to change the LCD/digitizer to no avail, as well as backlight ic and backlight coil to no avail. But how do I go about letting Apple know that it is in fact NOT due to the cracked screen nor is it due to the flex cable connections? I can't. So the lady that works the call center phones  trying to "convince" me that she knows what she is talking about and "convince" me that it is from the cracked screen I have to take her word because I can't show Apple that its not because of that without paying them $199 to fix the screen in which case they will just send me a new phone rather than fix the faulty hardware under warranty.

  • My outgoing mail server smtp remains offline. I have tried using different port but did not work. What else can I try?

    My outgoing mail server smtp remains offline. I have tried using different port but did not work. What else can I try?

    OS X Mail: Troubleshooting sending and receiving email messages

  • I was trying to put music to my iPhone, but my iTunes don't recognize my iPhone. I tried to restart my iPhone, iMac, reinstalled iTunes..but still not working. can anyone please help?

    i was trying to put music to my iPhone, but my iTunes don't recognize my iPhone. I tried to restart my iPhone, iMac, reinstalled iTunes..but still not working. can anyone please help?

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes or iPhone forums.
    Regards.

  • 0x80992013 cannot access itunes store I have tried all of the suggested things on previous discussions but still not working. Any suggestions?

    When I try to open itunes on my school network windows Xp computer I get an error message with this code 0x80092013. I have tried all of the suggestions from apple support document but nothing has worked.

    Have you left the iPod to charge for a couple of hours and then tried resetting it again? It can take up to at least 30 minutes of charging before an iPod with a dead battery shows any signs of life.  By a reset, I assume you mean pressing and holding both the Select/Center and Menu buttons together long enough for the Apple logo to appear?
    iPod won't turn on
    B-rock

  • Custom defined links on confirmation page does not work.

    Hi,
    I am trying a define a custom link for the leave request confirmation page in the ESS module of the portal. I am able to see the url link, but when I click on it, it does not navigate to the new page. Here are the steps I completed.
    - created a custom webdynpro application.
    - created an iview and a page for the custom web dynpro application.
    - created test role and workset, tested the iview successfully in the
        portal from the menu.
    -  Defined a custom resource for the iview, put the url of the PCD page in
        the  "URL of PCD Page" field.
    - Defined a custom webdynpro service for the above resource.
    - Defined a custom link on the confirmation page using the above service.
    I would appreciate if anyone can provide any guidance, tips or ideas on missing steps...
    Thanks in advance,
    Saket

    Hi for X in range,
    You may take a try to contact Microsoft local license support team:
    http://www.microsoft.com/en-gb/licensing/contact-us.aspx
    Best regards
    Michael Shao
    TechNet Community Support

  • I am suddenly getting a message that the 'mobile device services' has stopped working on my computer and windows seems unable to fix.  I have tried finding the file and making sure that it is enabled.  It says 'enabled' but does not work.

    I recently downloaded a new update of the operating system on my 3GS  It seems to be a bit slower since and I have no idea if that is part of what is going wrong.  I cannot get itunes to recognise my phone.  Windows pops up a 'window' that says my 'mobile device services' is not working and would I like Windows to look online for the problem - I say yes, windows does it's thing, blanks out and I am back where I was.  I tried updating itunes but no luck.
    I found the mobiledeviceservices.exe file and made sure it was all 'on' and 'enabled' still no luck  I did a search and came up with some other people who had the same problem but the answers that they were given didn't help me.

    When you erased the disk did you select Mac OS Extended Journaled as the format option?

  • I cannot read books on my iPad that I have already purchased from kindle..it will download the book but will not open it. I have tried to delete the app n re register it, that does not work.  Help?

    I cannot read books on my iPad that I have already purchased and store on my kindle fire and kindle ereader..I have tried to delete app an reregister, to no avail..help!

    Have you asked on the kindle board? since it's their app that's messing up they may have more specific advice.

  • Reservations creation with customer fields in ECC from SRM does not work?

    Hi,
    I have to create reservations into backend system (ECC) from shopping cart creation in SRM 7.0.
    Reservation items contiain two customer fields.
    RESB is extended by adding an append structure that contains an include with the data structure of the two customer-specific fields.
    When reservation is created by BAPI_RESERVATION_CREATE1 function in ECC customer fields are filled.
    In SRM I use FILL_RS_INTERFACE1 method of BADI BBP_CREATE_BE_RS_NEW.
    When a shopping cart is created in SRM and then approved a reservation is created in ECC but customer fields are empty.
    Why?
    Thank you for your collaboration.
    Best regards.
    Al

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90bd6f78-bcce-2a10-17ac-a74187b924ea?quicklink=index&overridelayout=true
    Note 885458 - SRM partner maintenance: 'Add to invoicing party' is missing
    Note 1034662 - BBP_VENDOR_SYNC: Invoicing Party not getting changed
    in classic there may not be any issue since while creating a PO partner function automatically determined correctly int he ECC purchase order .
    In SRM , we might pulled only VN vendors.
    this could be one of the grey area in SRM Extended classic mode.
    check with SAP and update SAP comments / suggection here.
    Are PI  (invoice party) and VN ( real supplier) vendor number ranges same?
    Are many vendor VN and PI  different?
    Note 1022311 - SRM Integration: Partner at purchase order item level
    In Supplier Relationship Management (SRM), you can maintain partners at item level. During the replication into the ECC back end, this partner information is no longer available because there are no partners for the document item in the ECC back end.
    Other terms
    Business Add-Ins:
    ME_BAPI_PO_CUST, ME_PROCESS_PO_CUST, ME_GUI_PO_CUST, MB_MIGO_BADI, MRM_PARTNER_CHECK
    let us wait for others reply
    Muthu

  • Trying to put pics on a flashdrive and keep getting error that there is not enough free space when there is.  I tried to empty trash with the flash drive in but still not working.  Help!

    Trying to copy photos in folder on desktop to a flash drive but keep getting error that there is not enough free space when there is.  I read to delete trash with the flash drive in but that still doesn't work.  Help!!

    How is the flash drive formatted? Open Disk Utility (Applications>Utilities) and see how it's formatted - that might be the problem.
    Clinton

  • There is a white straight line which comes under the Most Visited, Getting Started and latest headlines and continues to be on the entire firefox. I tried uninstalling and reinstalling but does not work.

    Got Plugins symbol at the white straight line...
    == This happened ==
    Every time Firefox opened
    == 1 day ago

    Hello Iqbal.
    You may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.

Maybe you are looking for

  • Void Methods and Value Returning Methods in Java

    Hello, I'm new here so please let me know if I overstep any of the rules or expectations. I merely want to learn more about Java Programming efficiently, and easily. I can ask and discuss these topics with my online prof, but she doesn't have much ti

  • How to create a new error log in VF01

    How would I create a new error log upon creation of invoice in VF01 based on the billing block of order. Here is the scenario: In VFO1 -->> enter delivery no. then create, but upon creation, an error message appeared incorrect. In EDIT -->> LOG, this

  • Pricing Procedure, Pricing Type and PA and GL

    Hi All, I am an ABAPer with less knowledge about SD. May I ask about the following: Our client defined alot of pricing procedures for their SD. And most of the Condition Types in the pricing procedure doesn't have an account key connected with it. 1.

  • Get Parent Community from Current Comm using the G6 PRC

    Can anyone provide or point me to a sample of code that gets the Parent Community ID from the current community using the G6 PRC? I can find samples of doing this in this discussion, but they appear to reference older versions of the EDK. Ideally, gi

  • Baseline dates discrepancy

    When I save a copy of the current project as a new baseline and assign it as project baseline/primary baseline, the start/finish dates of actual schedule and baseline are different. I am comparing the dates to BL Project and BL1 project dates. Any so