FUNCTION 'SWE_EVENT_CREATE' in background

Tanguy LE BITOUX tanguy.lebitoux at contactoffice.net
Thu Oct 17 03:53:55 EDT 2002


Hi Thierry
 
you can try this
 
  CALL FUNCTION 'SWE_EVENT_CREATE'
       IN BACKGROUND TASK
       EXPORTING
            objtype = 'OBJECT'
            objkey  = objkey
            event   = 'EVENT'.
 
CALL FUNCTION 'START_OF_BACKGROUNDTASK'
       EXPORTING
            startdate = sy-datum
            starttime = sy-uzeit
            nosend    = ' '.
 
good luck
 
Tanguy
 
> ----------------------------------------
>> From: Thierry Logiest <logiest_thierry at hotmail.com>
> Sent: Thu Oct 17 09:31:11 GMT+02:00 2002
> To: <SAP-WUG at MITVMA.MIT.EDU>
> Subject: FUNCTION 'SWE_EVENT_CREATE' in background
>
>
> Dear all,
>
> I have been surprised yesterday with the following phenomenon :
>
> We generate events with standard FUNCTION 'SWE_EVENT_CREATE'.
> This function is called indirectly from table T779X for infotype 8.
> This works in foreground but when the function is called through
> a BDC session (i.e. the change to infotype 8 is made through a batch-input)
> although the function is called correctly (and commited)  the event is not
> generated (SWEL is empty).
> We proved that the code was called correctly by running the batch-input in
> foreground.
>
> Any ideas would be very welcome.
>
> Thank you.
>
> Regards, Thierry
> ABAP-Workflow-HR SAP Certified Senior Consultant
>
>
>
>
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
 
-----------------------------------------------------
ContactOffice, my professional Virtual Office
http://www.ContactOffice.com
 


More information about the SAP-WUG mailing list