‎2009 Oct 14 10:10 AM
Hi,
Can we create a tcode which triggers a background job?
Ezhil.
‎2009 Oct 14 10:16 AM
Hi
Yes u can, that means the report assigned to the trx has to schedule a job or active an event.
What do you really need to do?
Max
‎2009 Oct 14 10:25 AM
My User asked for a custom tcode for VF01 which use the copy control from the order and delivery and not allow any manual changes as it is done when the invoice is created in the background.
So he wants a t code trigger the creation of billing in the background.
The most critical requirement is to prevent the user from overriding or changing pricing conditions.
My question is
Is it possible to create a tcode which trigger the background creation?
What shall i tell user?
Ezhil
‎2009 Oct 14 10:31 AM
‎2009 Oct 14 11:04 AM
‎2009 Oct 14 10:24 AM
Hello Ezhilhrh ,
T-Code for background job is SM37.
Regards,
Shrikant
‎2009 Oct 14 10:24 AM
Yeah, you can do that.
You need to use JOB_OPEN, JOB_SUBMIT and JOB_CLOSE function modules (in the same sequence).
‎2009 Oct 14 10:28 AM