Can I schedule a program as a periordic background job with dynamic viarent

Hello experts, Can I schedule a progarm as a periodic background job run every day with dynamic condition (current day), if can,how?
Best wishes,
Evan

Hi,
You can do this to get desired results:
Write a small new program that calls the program that you need to run daily by using submit .
The new program can give input of current date to the called program.
Now you can schedule the new program as a daily batch job.

Similar Messages

  • Can I schedule COBOL program directly through oracle scheduler

    Hi,
         I am scheduling a SHELL SCRIPT through scheduler, the shell script executes COBOL program internally.
    Can I schedule COBOL program directly through oracle scheduler
    Thanks,
    Nagaraju A.

    Hi,
    if your Shell script-cobol is runing without error, you can call from Oracle scheduler.
    Regards

  • The genius bar sold me a LaCie 500 GB EHD today but I can't get it to work properly.  Can I schedule another genius bar appt. to help me with this issue even though the EHD is not an Apple product?

    The genius bar sold me a LaCie 500 GB EHD today but I can't get it to work properly.  Can I schedule another genius bar appt. to help me with this issue even though the EHD is not an Apple product?

    Yes, if you purchased it in an Apple store, they should be able to assist you.  Bring your MBP with you as well as the Drive.
    Ciao.

  • How can i schedule concurrent program for every one hour from back end

    Hi ,
    I want to schedule concurrent program for every one hour from back end .
    Example
    1) xyz is the concurrent program that should run for every one hour with a parameter 111 and the SAME concurrent program that
    should run every 2 hours with a different parameter like 222.
    I mean Conc prog should run for different parametrs with a different scheduling..
    Please guide me to solve the issue.
    Thanks in advance...
    Regards
    Narender B

    Hi ,
    I have used following code for scheduling the concurrent program from backend.
    declare
    l_request_id NUMBER;
    l_return_code boolean := FALSE;
    BEGIN
    fnd_global.apps_initialize(62991,54477,20003);
    l_return_code := FND_REQUEST.SET_OPTIONS ('YES');
    l_return_code :=fnd_request.set_repeat_options('16:36:00','','DAYS','START','','Y');
    l_request_id:=fnd_request.submit_request(application => 'xbol',
    program => 'NAPP_START_GENERATE_CHART_DATA',
    description => 'Processing chart ',
    start_time => SYSDATE,
    sub_request => FALSE,
    argument1 =>4000130957231588,
    argument2 => null
    COMMIT;
    dbms_output.put_line('Program has been submited and request id is '||l_request_id);
    END;
    Here the issue was concurrent program is completing with a warning like
    Resubmission of request 75588551 has been cancelled.
    FND_RESUB_PRIVATE.PROCESS_INCREMENT EXCEPTION: ORA-01403: no data found
    Resubmission of request 75588551 has been cancelled.
    FND_RESUB_PRIVATE.PROCESS_INCREMENT EXCEPTION: ORA-01403: no data found
    so i could not find the solution for this issue,please anybody guide me to solve this issue.
    Regards
    Narender B

  • How can I make a program run in the background?

    I'm working on a custom console program. I plan to have the commands as seperate applications and create a server/client relationship so they can communicate with each other. However whenever I call a command I don't want to have a console window pop up, flicker out, etc. I want it to look like it's one complete app. So I'm wondering how can I have the app run in the background?

    If you're using a unix system, use the "&" argument (or character, what is its name anyway?) at the end of the command line.
    I think you can use javaw in the MS-Windows world.

  • Scheduling a background Job with gaps in dates

    Hi Experts,
    I am having a requirement : A background job has to be scheduled for running a program every 15 minutes and for every month.But this job should not run from date 10th to 15th of every month.For example,In july month Job should start run from 01.07.2014 to 31.07.2014 excluding 10.07.2014 to 15.07.2014.
    Can we achieve this without a custom program and using SM36?
    Regards,
    Arun.

    Hello Arun,
    is it possible to define a factory calendar to you in the system, if you can define one then you can define the 10-15 the of every month as holiday.
    We can select the factory calendar above defined in the job. This can be found by clicking on the restrictions button in the start condition screen.
    in that start date restrictions, you can find 5 options in those you can pick the do not execute the periodic job on sunday and holidays.
    but this will effect the sundays which are falling in 1-10 th & 15-31st of each month, will that be OK ?
    if you do not want to try out the above all steps, then you can simply create 2 job running for each month
    1st one for 1-10th of every month.
    2nd one for 16th to end date.
    Let us know in case of any concerns on the same.
    thanks,
    Bhaskar

  • Can we Create Post Good Issue Document as Background Job

    Hi SAP Techies,
    My current projects requires me to run Post Good Issue , as Background Job, Is it possible to do it.If yes
    What is the entire process.
    Regards
    Naveen

    Hi
    The answer to this question lies in transaction VL23.
    You can create a variant and schedule it to run; for example at 10:00 pm every night.
    You need to explore this more but this t-code is the main answer.
    Please reward points if you found this helpful.
    Regards
    SDC

  • 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

  • ABAP program to run in Background job

    Hi,
    We have a custumized program (SO Creation) calling some functions (like: WS_QUERY, WS_UPLOAD, WS_DOWNLOAD, CREATE_TEXT and CALL TRANSACTION VA01) and can only run thru dialog process (foreground).  Is it possible to convert it to something that can run thru background job?
    Please help.
    Thanks.

    Hi Deo ,
    Unfortunately cl_gui_frontend_services will not work in background.
    Please have a look at following information about cl_gui_frontend_services :
    The class CL_GUI_FRONTEND_SERVICES contains static methods for the following areas:
    File functions
    Directory functions
    Registry
    Environment
    Write to / read from clipboard
    Upload / download files
    Execute programs / open documents
    Query functions, such as Windows directory, Windows version, and so on
    Standard dialogs (open, save, directory selection)
    To Use this, you should be bit familier with OO ABAP Concepts. So I will suggest you to go through with OO concepts of ABAP. It will be of great help to you.
    Regards,
    Nikhil

  • Can we change the selection criteria for RV60SBAT Background Job for Billin

    We have a requirement to add a new selection criteria for RV60SBAT Background Job for Billing. We want to process back order invoices first. So we want a specific background job to select these. So we want to select any orders that are eligible to be invoiced where order date < the date of background job(r sy-datum ). Any ideas where we can introduce this logic for selection criteria?
    Thanks,
       Matt

    Hi Matt
    For your requirement , copy the standard  RV60SBAT program to Z program and in that copied RV60SBAT program , maintain the logic that the backorder invoices should be first processed.Then after that regular background job for billing should take happen .Then your requirement can be fulfilled
    Regards
    Srinath

  • How can I delete any programs running in the background?

    When I try deleting any open programs in the background, I double click on the home button to bring them up. I hold the icon down, expecting to see the little red delete button and the icon wiggle but nothing is happening.

    Double-tap on the Home button. You will see an image of the app above the actual icon. Slide the image up to kill it.

  • Scheduling periodic background jobs with changing parameters

    Greetings,
    I am wondering if anyone knows a way to do the following:
    Say I have a report that I want to schedule in the background to run at the end of every month.  Is there a way to set up the jobs to use different parameters (dates, etc.) each month without creating a variant for each month and scheduling the jobs separately?  I hope that I am being clear in this question. 
    Another example would be if I wanted to run the report each day for the previous day.  As you can see, it would be quite tedious to create a variant and manually scheduled job for each day.
    Thanks in advance for any help or tips.
    Geoff

    Yes, when setting up your variant, you can pull in "dynamic" variants. 
    At your selection screen, click go to,  variants, save as variant. Name it and give description. 
    Now for you particular field, check the "selection variable" check box for that field.  Now at the top of the screen, click the selection variable button.  This will take you to a new screen.  Here you can choose to get the variable from the TVARV table, use a dynamic date calculation, or user defined.
    In the case where you want to run for yesterday.  Double click the icon under the "D", now click the down error.  Double click current date -/+ ???,  enter the -1.    Now click save.  This variant will now always take sy-datum - 1 and put it into that field. 
    Now for your monthly report.   What we do here is we have variables set up in the TVARV table, which include current fiscal month, current calendar month, previous fiscal month, and so on.  We run a program which re-calculates these variables everyday so that they are always accurate.  You can set up the selection variable to use the table variable from TVARV.  You would do this the same way as the dynamic date calc except click on the icon under the "T".
    Regards,
    Rich Heilman
    Rich Heilman

  • Report program when run in background job getting cancelled immediately

    Hi
    When i run a program in foreground i am able to see the output. But when run in background not able to run the job successfully. The job is getting cancelled immediately.
    I am using the below function module for output display. Should i need to pass any parameters in the below function module so that i can run the program in background  successfully.
      CALL METHOD DETAIL_GRID->SET_TABLE_FOR_FIRST_DISPLAY     
          EXPORTING                                            
            IS_LAYOUT         = IS_LAYOUT                    
            I_SAVE            = 'A'                        
            IS_VARIANT        = GS_VARIANT                   
          CHANGING                                           
            IT_FIELDCATALOG   = IT_FIELDCATALOG               
            IT_OUTTAB         = BLOCKED_STOCK_TAB_ALV[].     
    Please suggest.
    Thanks and regards
    Rajani Yeluri

    Hi Rajani.
      ALV require the DRYPOR(screen) for display but incase you run in back ground which have to write to spool but in spool we can only write in format of LIST REPORT not inter-active report like ALV. That why
    system cancelled your process immediately.
    Hope it helps.
    Sayan.

  • 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

  • Can someone help me in building an interactive PDF form with dynamic bounding box?

    Hi Guys,
    I need to create an interactive PDF form which will contain images, text and fields.
    This is how it would be laid out:
    Header Image at the top.
    Below that a Text Box with a question "Choose the number of licenses" and a drop down option from 1 to 10.
    Depending on what they select, I need the following to be displayed.
    The following should be encapsuled by a bounding box.
    If "1" is selected. "Username: <blank field>    Password: <blank field>
    Then a button which says "Click Here To Login To Your New Account".
    The bounding box should end here.. and I have more text and images below.
    This I could achieve! But now if I select "2" I would need the bounding box to automatically become taller to accommodate two rows with "Username <blank> Password <blank>
    The bounding box needs to expand or contract based on the number selected in the drop down.
    Would love to here your thoughts on this!
    Cheers,
    Rajiv

    If you were to look at the spec for PDF, you'd see that that is probably not possible with a PDF file.
    But, I encourage you to ask this question in the Acrobat PDF Forms forum where the forms experts reside, and perhaps they could suggest an answer. JavaScript can be used, and perhaps that's the answer:
    PDF Forms

Maybe you are looking for

  • How do I open a new page on iPad 7.0.4?

    When I downloaded the new OS 7.0.4 software, a lot changed in Safari. It used to be easy to just go to the top bar, open a new tab for a new page. Now that same area is "favorites" (which I don't care about anyway). If I want to open a page, I have t

  • Business Objects XI 3.1 on windows 7

    How Install Business Objects Enterprise XI 3.1, client tools on windows 7?

  • What are the most important tables in SD, MM, PP, FI , CO and QM?

    Hi all, What are the most important tables in SD, MM, PP, FI , CO and QM? i.e. most used. Thanks, Charles. +++++++++++++++++

  • Images wont load

    I am having a brain fart here...I have designed and published a few webpages in the past...It has been awhile though...Im using Dreamweaver MX...I created a splash page in Photoshop with a logo and i cut it up into 5pieces...I saved the 5 gif images

  • Button to close Full Screen in Menu bar is missing. Bug or Configuration issue?

    Hi, OS 10.7 has the option to view applications in Full Screen mode. According to the demo video on the Apple site, there should be a button right to the Spotlight icon to close the Full Screen Mode. On my Macbook Pro I don't see this button. Is this