‎2009 Aug 18 7:03 AM
Hi All,
I have a report in which i have used BAPI . I need to execute that report in background via a variant.
Is it possible to run a BAPI in background ?
Please suggest ?
Thanks,
Srinivas
‎2009 Aug 18 7:09 AM
Hii srnivas it is possible yo execute a bapi in bacground.
if you want to know how to execeute a bapi in background you can search on scn you can get various exapmles for the same.
regards,
Shweta
‎2009 Aug 18 7:57 AM
Hello Srinivas,
BAPI is not standalone entity it has to be called by some other entity for e.g. report, function module, object method etc.
So, it is not possible to run BAPI in background. Workaround to this problem is to create report calling BAPI and then schedule
that report in background.
For more information on JOB scheduling see following link:
https://wiki.sdn.sap.com/wiki/display/Snippets/HowtocreateandreleaseaJob
Thanks,
Augustin.
‎2009 Aug 18 8:24 AM
Hi Srinivas,
Yes one can schedule a report which uses a BAPI in background!,
I had a requirement to delete components from a work order and for this i used one bapi maintain,
through which i delete the components, but time n again there will be number os orders created by several users and the req is to delete the orders based on some conditions.
So i scheduled my program in background for every min,
which is solving my purpose...!!!!
‎2010 Apr 06 9:02 AM