Error in User Exit

Pokraka, Michael michael.pokraka at kcc.com
Fri Nov 1 06:09:20 EST 2002


It looks like your user exit is called outside of the user context, i.e. in
a separate session or even under a different user.
Judging by the error message, this is happening as a background job of sorts
as it thinks it's a batch session. Verify where exactly the userexit is
called.  Log SY-UNAME, SY-CALLD, SY-BATCH and SY-BINPT at the beginning of
your routine, they should give you all the details.
 
Cheers
Mike
 
-----Original Message-----
From: Kubheka, Amos [mailto:amos.kubheka at sap.com]
Sent: 31 October 2002 17:34
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Error in User Exit
 
 
Dear Workflowers,
 
I want to use a user exit to start wf for a travel request. I wrote a small
program to do that and everything works fine in foreground. The way it works
is: I call a function module "popup_to_confirm_step", if the answer is Yes,
then I call a function module to start wf.
Now the problem is that, when I call this program "submit zprogram and
return" from a user exit I get an error message 'No batch input data for
screen SAPLSPO1 0100'.
 
Please help!!!
 
Regards.
 
Amos Bonginkosi Kubheka
Mr
SAP Africa
SAP Johanessburg, South Africa
 
------------------------------------------------------------------------------
This e-mail is intended for the use of the addressee(s) only and may contain privileged, confidential, or proprietary information that is exempt from disclosure under law.  If you have received this message in error, please inform us promptly by reply e-mail, then delete the e-mail and destroy any printed copy.   Thank you.
 
 =============================================================================
 


More information about the SAP-WUG mailing list