Scheduling background job with varient

Hi All,
How do we default the dynamic field in the selection screen when we execute the program in background with variant?
Thanks in advance
Jaison.

give parameters at selection screen and then click on save ,give variant name n description n then click on push button - Selection varaiables,there u can assign dynamic values like current date n all
amit

Similar Messages

  • Schedule background job with different user

    hi ,
    i want to schedule a background job under a different user
    i have used the parameter AUTHCKNAM of 'job_submit'
    it is giving sy-subrc = 0 .
    but it is not working
    i have also used the FM 'bp_job_create' in place of 'job_open'
    it is giving sy-subrc = 0 .
    but not working as needed
    kindly help
    regards...

    hi
    Try this
    We can do that via SUBMIT statement:
    Go through the documentation os SUBMIT statement with addition:
    ... USER user VIA JOB job NUMBER n
    Schedules the specified report in the job specified by the job name job and the job number n. The job runs under the user name user and you can omit the addition USER user. The assignment of the job number occurs via the function module JOB_OPEN (see also the documentation for the function modules JOB_CLOSE and JOB_SUBMIT). This addition can only be used with the addition ...AND RETURN.
    OR
    go through this link , i hope this ll help you to solve your problem
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5f/ff2138faeb3807e10000009b38f889/content.htm
    Hope this helps.
    Thanks
    Tushar

  • Schedule Background Job whenever new message WVINVE

    Hi All,
    I have following requirment:-
    Schedule Background Job with a ABAP program,
    whenever new message type WVINVE posted in SAP inbound.
    I am confused in "Event" which i select in SM36.
    Or, is there any other method to trigger a background report, whenever WVINVE03 IDOC posted in SAP system & create physical Inventory document.
    regards
    Umesh

    For triggereing a background job, when ever a message type WVINVE is posted. You need to create a
    Background Job with the the program and mark the Job Event periodic. Secondly you need to trigger that event from the Inbound processing program or Function module which processes the message type using the Function module <b>BP_EVENT_RAISE</b>. so when ever a message type is processed it will trigger the event which inturns trigger the Job.
    Hope this will Help.

  • How to deactivate *Schedule Background Job for Work Items with Errors* SWU3

    Hello Guys,
    Can any one tell me how do I DEACTIVATE Schedule Background Job for Work Items with Errors in sap workflow SWU3.
    Currently it is green which I don't want. I want to stop this service.
    Regards
    NK

    Hello,
    You could also just stop the job in tx SM37.
    But why would you want to do this? As a test?
    regards
    Rick Bakker
    hanabi technology

  • Table name for background job with report, variant and step user id list.

    Hello All,
    I need to generate the list of scheduled backgroung job with the list of Report Name, Variant, Step User Id called. Please any one tell the SAP Table name from which I can get these data.
    Thanks in Advance,
    Amit

    Hi Rohit,
    Thanks for your reply. But from TBTCO, i can't find program/report name and variant. Just the list of background job i can see.
    Regards,
    Amit

  • Reg Super user for schedule background Jobs

    Hi Experts,
    I have created new user copied from DDIC with the same authorization. This is for scheduling Background Jobs. Now all the standard background Jobs are running fine. After scheduling the Jobs I have changed to system user. Now for audit purpose I need SAP note to do same. Please help me to get the sap note for the same. Please respond ASAP. treat this is as high priority.
    Thanks & Regards,
    Haseem.

    HI,
    It is not necessary for user having SAP_ALL authorization under which background job is running.
    Define specific users to use for background processing. Define them as system users (non-dialog) and give them only the necessary authorizations that are needed for the executed programs
    check  http://help.sap.com/saphelp_nw04/helpdata/en/db/f6f3393bef4604e10000000a11402f/frameset.htm
    also check Note 101146 - Batch: authorization object S_BTCH_JOB, S_BTCH_NAM
    regards,
    kaushal

  • How to transport variants and scheduled background jobs

    Hi all
       Could anyone let me know if  variants be transported .
       also can scheduled background jobs transported.
    Thanks in advance

    Hi,
    Run the program RSTRANSP and give the name of the program and the variant name.
    It will create a transport request for the variant.
    the rest of the process is the same as is the case with all other transport requests.
    Regards,
    Raghu
    Message was edited by:
            Raghu Reddy

  • Schedule Background Job :  Remove delivery Block in Sales order

    Hi Gurus,
    I have a requirement to select all sales orders as per a condition and remove delivery block at
    VA02-> Go to -> Header -> Status
    For that I have to write a program which will be run only in background and i have to schedule background job for the same.
    I have a parameter at selection - No of records
    If no of records = 500 , I have to submit 500 jobs ie one job each for each sales order for removing delivery block.
    I need to know
    1) Which function module/bapi I can use to remove delivery block at sales order header level.
        For blocked delivery the status is 'BSTK" . to remove block i need to change status to "RSTK".
    2) How to schedule a background job for my program and how to submit one job each for each sales   order.
    Regards
    Avi.

    Hi Avi,
    Would like to seek for your advice. I am facing the same scenario too which is to delete the delivery block but is deletion of the delivery block is done in the user exit MV45AFZZ. The subroutine which needs to have the extra logic of deleting the delivery block is USEREXIT_SAVE_DOCUMENT_PREPARE.
    Need your advice on how do you solve this scenario? Thanks in advance.

  • Error in Schedule Background Job for Deadline Monitoring of swu3

    While Auto Customization swu3 i am getting error message 'Output device "" not known' in 'Schedule Background Job for Deadline Monitoring'
    Please advice what could be cause of it

    the earlier problem of background job was solved by changing the  output device assigned to user wf-batch .
    regarding the transport request :
    when i was trying to execute the step : "Schedule bakgrd for missed deadlines " MANUEL it was giving me an option of SAVE AND SCHEDULE . which was creating the transport request . but when i executed it automatically it worked fine without asking a request to me ... i don't know why )-: ... probablly we can specify a different interval then the standard of three minutes and which will be transported (it's just a guess) . i have  executed it  automatically ...
    well thanks all for u r help

  • Schedule background job using system variant

    Dear gurus,
    We're planning to schedule background job using system variant, for example, current fiscal year and current posting period (transaction AFAB). Is it possible? So for example, for this month, "Posting Period" value will be 6, and then next month will be 7.
    Can you tell me how to do this, if I want to set up the schedule only once?
    Thanks for your help.
    Best Regards,

    done using abap

  • Schedule background job programatically

    Hi,
    I want to schedule background job programatically  .
    Also, I want to specify the scheduled start time & start date .
    Please suggest .
    Moderator message - This question has been asked and answered many times before. Please search before posting.
    Edited by: Rob Burbank on Apr 16, 2009 12:27 PM

    Hi
    Please check this link
    [http://help.sap.com/saphelp_46c/helpdata/en/fa/096ee5543b11d1898e0000e8322d00/frameset.htm]
    Thanks,
    Hari

  • Schedule background jobs at OS level.....

    Hi All,
    Scheduling Background Jobs at SAP Level is a very simple task. Is there any way to schedule background jobs at OS level? Please lemme ASAP....
    Thanks
    Rhishabh

    Hi Rhishabh,
    Actually we can not completely schedule background at OSLevel but we can trigger a background job which has alreadyscheduled by using sapevt tool syntax as follows.
    sapevt <event name> nr=<instance name> name=<host name>
    or we have tool like
    In unix you use crontab.
    We can use different job scheduling softwares like IBM TIVOLI software MAESTRO JOB SCHEDULING CONSOLE, Control M
    Regards,
    Kiran M

  • Schedule Background Jobs

    Hi
    Gurus
    What is Schedule Background Jobs and whatu2019s the use of Schedule Background Jobs
    How it will worku2019s
    Please give me detail Information about Schedule Background Jobs
    Many Thanks
    Mahi

    Hello Mahi,
    The BackGround job - "Program" thats runs in SAP Server and not depend any user interface.
    like Antivirus program on your local station that runs (scaning your computer all the time)  without any user interface (becide tray Icon) and unless you going to Running Proccess on your computer you don't know that it working.
    Schedule BackGround Job its any backGround Job that you schedule to run any time you want and you can make it run recursivly.
    you can go to Transaction SM36 to schedule your Programs.
    Good Luck
    Eli Steklov
    Please Reward Points if it Helped

  • Schedule Background jobs automatically -

    Hello Guys,
    I have the following requirement.
    I have a copy program in BPS-SEM(ABAP program).
    Users have to run the copy program for different combinations like
    variant:1
    costcenetr 100-200
    valuetype - 10
    user 1
    variant:2
    costcenetr 400-500
    valuetype - 10 to 20
    user 1
    variant:3
    costcenetr 1000 to 2000
    valuetype - 50 to 70
    user 2
    ...etc.maybe there will be 10 to 15 variants will be created by 4-5 different users .
    I have to schedule the above jobs in sequence. The user wants to determine
    variant 1 - seq 1
    variant 4 - seq 2 after completing variant 1
    variant3  - seq3 after completing variant 4
    so I have to schedule all the variants in sequence the user wants to schedule the job.
    After all the above jobs are done, I have to schedule a job with variant called - calculate all functions. This has to be last after running all the above variants.
    My question is
    4 users have created 10 variants.
    I want to schedule the above variants in sequence in which the user wants to do execute it.(Is there anyway user can choose the sequence )
    2.After running all the above variants I have one variant which I have to run after completing the above variants.
    Thanks for your help guys.

    Hi,
    While Scheduling jobs through SM36 you have to specifiy the start condition for a Job.
    You can specify the START CONDITION as 'AFTER JOB'. So the first JOB will be scheduled normally. For all the Other JOBS, we will specify the start condition as the Previous JOB.In this case the Job will run After the completion of the previous Job.
    So you can schedule all the JOBS in sequence for all the Variants. So every JOB will run one after other in sequence
    Go through the link below
    http://help.sap.com/saphelp_bw21c/helpdata/en/c4/3a7fae505211d189550000e829fbbd/content.htm
    Reward points if useful
    Regards,
    Abhishek

  • Scheduling background jobs like clean_reqreq_up, bbp_get_status_2..

    Hi,
    Being am a trainee am little bit confused of scheduling background jobs...
    Among them clean_reqreq_up, bbp_get_status_2 are the two which i didnt understand ...
    Can anyone plz help me in that..
    Thanks
    guna

    Hi Sekhar,
    Check the below links for proper explanation of required terms
    1. CLEAN_REQREQ_UP
    http://help.sap.com/saphelp_srm70/helpdata/EN/4c/ea243f043f48a1a74ec6ae5f59d5af/frameset.htm
    2. bbp_get_status_2
    http://help.sap.com/saphelp_srm70/helpdata/EN/47/83d80296a2500be10000000a421937/frameset.htm
    Regards,
    Jitesh Talreja

Maybe you are looking for

  • Multiple persistence.xml files

    I've got a situation where I have one persistence.xml file with many persistence-unit's. My problem is that during deployment not all of the persistence-units are useable, so I get errors. My question is can I use multiple persistence.xml files in an

  • [request] SportWatcher - tool to use Garmin GPS-watches under Linux

    Hi, i'd love to use my Garmin GPS-Watch under Arch, but tbh I'm to new to arch and don't have the time (at the moment) to have a look on how to create packages and stuff. I'd be really pleased if someone could create a package for me (guess that ther

  • How to improve the query

    Guys, I have the following query which seem to take quite a lot of time. About 7 hours It is spending significant amount of time on doing the max(dt), as the table has about a million records. Any know a better way of writing this query ? SELECT   AB

  • Regarding quantity field...value in layout

    Hi All, my issue is here i am passing vbrp-fkimg value to layout.. the value in the field above is 100.000, but here in the layout it is coming as 100 and printing it. how the value of 100.000 become 100. any settings, configuaration are there which

  • Help on post and pre conditions

    hello, iam a new use to test stand and having problem in specifying preconditions to a step depending on the message pop up inputs need some help in that regard  a sample code will be very help ful thanks vijay