Background Scheduling Via SE38

Hello.
I am trying to stop some transactions of being executed in dialog mode.
My intention is to force the end user to use the background processing instead.
But even with the background processing I have a problem. I must force the users just to use the night time window when scheduling the job.
Do you know a way to pick up the information the user enters in the scheduler window and to return an error? Some kind of customer exit?
Best Regards
Rui Pinto

Rui -
There are some standard function modules which will allow you to schedule programs in bakground - programatically.
Please refer the help documentation http://help.sap.com/saphelp_47x200/helpdata/en/fa/097720543b11d1898e0000e8322d00/frameset.htm
You can use the module BP_JOBVARIANT_SCHEDULE, which has limited control or  JOB_OPEN, JOB_SUBMIT, and JOB_CLOSE for full fledged control.
You may have to create a wrapper report to accomodate these function modules.
Let me know if you need any help.
Thanks
KK

Similar Messages

  • Background scheduling via Dynamic variant

    Dear All,
      I got a requirement where i need to schedule a standard program in background which will run on weekly basis and the variant will change every week. So, how shall i pass the variant. it should be automated.
    Please reply with a needful.
    Thanks & Regards
    NSK

    1) Press SAVE button on selection screen, Give Variant name and Description.
    2) Below that in "Field attributes", against "Selection variable" select the check box for "Posting date" and press button "Selection variables".
    3) now "Selection criterion"  T    D    B    will appear, If under "D" the icon is yellow, turn it to green by clicking on the Icon.
    4) Then click drop down for posting date and select "Current date - xxx,current date + yyy".
    3) in XXX give "14" and for YYY give "-7".
    5) Press SAVE button
    6) Press Save again
    and now u can schedule with the variant u just created.
    Ask if u face any difficulties .

  • Background schedule process

    Hi
    I am new to Oracle 9iAS. Can someone tell me if there is any
    better way to implement a background scheduled process ?
    Currently, I am doing it via AT command. Just wondering if
    Oracle9iAS has any scheduler that I can make use of.
    Thanks
    CT

    You can set up the different step while schedule the back ground job. Each step will have the program name, variant.
    You can do his using transaction SM36 -> JOB WIZARD.
    Thanks,
    Srinivas

  • Background Scheduling tutorial

    Hi All ,
    I want step by step tutorial/links/docs for  background Scheduling .
    Thanks in advace

    Hi,
    ABAP Editor transaction SE38 can be used to execute program in the background. In SE38 selection screen click on Program -> Execute -> Background and specify the name of the variant. You can schedule the program to run once at a certain time or periodically every month, week, days, hours or minutes.
    Moreover Transaction SM36 can be used to Schedule Background Job without selections parameters.
    Click on the steps, A popup window will open, Click on ABAP/4 button. The fields ABAP/4 Program name, Variant and Language will become input enable. Type the program name and save it by pressing on save Icon. Now Click on start condition, a popu up will appear asking about start date or Immediate etc.. pls provide applicable details and press on save Icon. and now finally press on Save Icon
    Steps
    SM36
    Put in Job Name
    Click on Steps
    Put in the ABAP program name
    The variant for your program if you have a selection screen and want certain values on there
    Save
    Click on Start Condition
    Put in e.g. Start Date and Start Time and Click on Period Values
    Save
    Don't forget to Save on the Initial Screen as well (Define Background Job)
    this will create you background job
    Go through the following link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
    Reward me if it is helpful.

  • Background Scheduling for a webdynpro component

    HI,
    Please elaborate how can i background schedule my webdynpro component. I am not able to understand the flow logic.
    -Sid

    >
    Siddhartha wrote:
    > Thnax Thomas, One last thing ..how do I handle/create variant for it ?
    >
    > -Sid
    What, for the classic dynpro program?  Just go to SE38 and use the variants radio button to maintain the variants for the program in question.

  • Gui_download Function module is not working in Background Scheduling

    Hi Experts,
    Function modules like GUI_DOWNLOAD are not working in background scheduled jobs, It is raising an exception. Though it is working fine in foreground execution.
    Please provide me solution for this challenging task.
    you could be rated well for this question.
    Thanks,
    Rama Krishna.

    Hello,
    work with open dataset and close dataset...
    just loop over itab and transfer itab field for field into a string field separated by ;
    Here is an extract of coding:
    OPEN DATASET p_dath FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      LOOP AT itab_pos.
        CLEAR satz.
        MOVE itab_pos-vbeln TO satz-vbeln.
        MOVE ';' TO satz-fill1.
        MOVE itab_pos-kunnr TO satz-kunnr.
        MOVE ';' TO satz-fill2.
        MOVE itab_pos-ktgrd TO satz-ktgrd.
        MOVE ';' TO satz-fill3.
        MOVE itab_pos-fkdat TO satz-fkdat.
        MOVE ';' TO satz-fill4.
        MOVE itab_pos-budat TO satz-budat.
        MOVE ';' TO satz-fill5.
        MOVE itab_pos-cpudt TO satz-cpudt.
        MOVE ';' TO satz-fill6.
        MOVE itab_pos-fkimg TO satz-fkimg.
        MOVE ';' TO satz-fill7.
        MOVE itab_pos-netwr TO satz-netwr.
        MOVE ';' TO satz-fill8.
        MOVE itab_pos-vrkme TO satz-vrkme.
        MOVE ';' TO satz-fill9.
        MOVE itab_pos-ktgrm TO satz-ktgrm.
        MOVE ';' TO satz-fill10.
        MOVE itab_pos-matnr TO satz-matnr.
        MOVE ';' TO satz-fill11.
        MOVE itab_pos-mattxt TO satz-mattxt.
        MOVE ';' TO satz-fill12.
        MOVE itab_pos-gewei TO satz-gewei.
        MOVE ';' TO satz-fill13.
        MOVE itab_pos-brgew TO satz-brgew.
        TRANSFER satz TO p_dath.
      ENDLOOP.
      CLOSE DATASET p_dath.
    It is not so comfortable as it is with GUI_DOWNLOAD but it works in background!

  • Email background schedule report to gmail or yahoo mail

    Dear Expert,
    My self Nayan Lad having 1 year exp in SAP ABAP.
    Now my request is How can I send mail the background schedule report to some person's personal mail id through SAP.
    Please guide me so I can explore my knowledge.
    Thanks & regards,
    Nayan Lad
    Moderator Message: Please search for available information.
    Edited by: kishan P on Nov 11, 2010 11:03 AM

    hai ,
    please go through this example bcs_example8.
    thankyou,
    anji.

  • MB5T background schedule ouput in alv format

    Hi all,
    Please help me to get MB5T report ouput of background schedule in ALV.
    I have put that report in bacground scheduling & the output of the same in BEST format but my client want the output in AlV format.
    Please suggest.
    Regards,
    Anant

    Output of MB5T can't be in ALV format in background. In foreground also this is done in two steps., In first system display in BEST format..this can be changed to ALV manually in second step.

  • MC75 - background schedule option not available

    Hi
    i got a requirement to schedule the tcode MC75 in background mode.  But SAP has not given the option in the menu bar -> execute in background option like the tcode MD74. 
    Even the save button is disabled in the tcode MC75 hence not possible to save like a variant.
    I found a SAP notes relevant to that. The note no is 381061. But i am not able to implement the note in my system. I tried to customize the program by copying to zprogram using the code correction given In sap notes 381061. But could not find relevant to background scheduling.
    Can any one tell me how to customize the tcode for background scheduling.
    Regards
    Rajani Yeluri

    Hi Rajani,
    Could you please let me know how did you solve this issue? I am also looking for the same.
    I appreciate your response.
    Thank you.
    Murali

  • Background Schedule - Hardcore Input data

    Hi Experts
             I am developing a BDC, now i want to schedule the program into background.
            So i want to hardcore the input data like
             Select Method (Genrate session/Call transaction)
             Processing Mode
             Update Mode
             Nodata Indicator.
    These data i need to hardcore in the program itself for further processing of background schedule.
              How to do it, pls advise me on this.
    Thanks in advance.
    Regards
    Rajaram

    Hi Rajaram,
    As of my understanding do you want to put the following on your selection screen?
    Select Method (Genrate session/Call transaction)
    Processing Mode
    Update Mode
    Nodata Indicator
    then do so.
    There is a structure for call transaction parameters, which you can use for setting of selection screen and can set the default values as wellin initialization event.
    Structure name : CTU_PARAMS
    Reward pointsif useful.
    Thanks & Regards
    Rajini Rajuladevi
    Edited by: Rajini R M on Jun 4, 2008 8:44 AM

  • ERROR in Scheduling via Transaction-IP30

    Hello Gurus,
    When I am scheduling the maint plan 1234, system is throwing Error message IP202-Maintenance plan 000000001234 NOT scheduled.
    I am using following scenario in * ECC5.0*:
    I've created a single cycle plan 1234, with measuring point as a counter . The Cycle/Unit is say 1440min.
    Tasklist is attached.
    Call horizon 100%.
    SchedPeriod 365 Day.
    And Cycle modification factor as 1.00 Other parameters are NOT maintained.
    Counter (Category M) is having character unit as "minute".
    Created Measuring document in IK11and started scheduling via IP10. I got Scheduled Called/Scheduled Hold.
    Everything is fine up to this step.
    Now I want to run IP30 manually for next 30 day but I am getting Error message IP202- Maintenance plan 1234 NOT scheduled.
    What is possibility of this error?
    This is very strange to me.
    I'll really appreciate for your efforts.
    Best Regards,
    Ganesh.

    Hi All,
    Thanks for your response.
    Details of Maintenance Plan and Call Object:
    Maintenance Plan cycle : Single Cycle Plan with Cycle/Unit 1440 min
    Counter: Characteristic (say RUNTIME) with Unit Min
    Task List: General task list assigned
    Scheduling Parameters: Call Horizon=100%; SchedPeriod 365 DAY;
    I've created 4-5 measuring documents.
    Initially done scheduling using IP10.... (ofcourse restated number of times)...
    Still I am getting same error.
    I'll urge please consider I am using ECC5.0
    Request you to guide me what went wrong....
    Call Object is Preventive Order (PM02)
    Regards,
    Ganesh

  • [Forum FAQ] Cannot perform a backup schedule via Windows Server Backup and receive "The system cannot find the path specified." Error

    Symptom One
    You attempt to
    schedule a backup every day via Windows Server Backup on Windows Server 2008 R2. At the beginning, the backup works without issue. But after a few days it failed and you receive the error “Windows Server Backup:
    The system cannot find the path specified.”
    Cause
    The issue may occur if there is
    no shadow copy storage space available on the backup volume.
    Verify
    You can use the List ShadowStorage command to check if you have enough storage space to store the newly created shadow copy. If you've reviewed the size of the backup snapshot and discovered
    that there is no allocated space for the storage association, you need to resize shadowstorage.
    Solution
    You could run the command below to create shadow copy storage space on the backup volume:
    vssadmin resize
    shadowstorage /for=<ForVolumeSpec> /on=<OnVolumeSpec> [/maxsize=<MaxSizeSpec>]
    More Information
    Vssadmin resize shadowstorage
    http://technet.microsoft.com/en-us/library/cc788050.aspx
    Symptom Two
    When you add
    another external hard drive to backup schedule via Windows Server Backup on Windows Server 2012, it fails and you receive the error “The System cannot find the path specified.”
    Cause
    The issue is due to the
    Original Destination Disk was not attached to the server.
    Verify
    You could check the disk status in Disk Management to see if the Original Destination Disk is offline or removed.
    Solution
    You need to attach
    Original Destination Disk to the Server then choose another external hard drive as backup target. After that, you could remove the Original Destination Disk.
    Workaround
    To work around this issue, please use the WBADMIN command line tool to add disk.
    WBADMIN ENABLE BACKUP -addtarget :{ DiskID}
    The AddTarget parameter takes disk ID as parameter. It can be retrieved by running "WBADMIN GET DISKS" command.
    Example:
    WBADMIN ENABLE BACKUP
    -addtarget :{ aa123d14-bba0-1dd9-0d93-80aaaa6bbb63}
    More Information
    Wbadmin enable backup
    http://technet.microsoft.com/en-us/library/cc742130.aspx
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    good

  • Background Scheduling - Deadline Monitoring

    Hi Experts,
    I have created new maintenance plan , its around 250 for Mechanical and 250 for Electrical
    Maintenance plan having strategy like every two month , every three month , every six month etc..
    Scheduling period is 3 year
    Now scheduling will be done through IP10 one time , but after first call object scheduling will get hold.
    I want to make it background scheduling - Deadline Monitoring
    Now the requirement is , For Example :
    Maintenance plan X have PM plan date is 21.07.2014
    Maintenance plan Y have PM plan date is 24.07.2014
    Maintenance plan Z have PM plan date is 29.07.2014
    As per above example each equipment will have different plan date , background scheduling can be done through IP30 but by the date is concern how can make it possible ?
    Please advise each maintenance plan has to be run as per their plan date.
    Thanks,
    Abhishek

    Hi Mr.Jogeshwara,
    Nice Document , Its really useful
    But my query is each equipment have different plan date , as explained in above example
    If Maintenance plan have Cycle Unit 60 day and Plan X date is on 21.07.2014 then 21.07.2014+60day , same as if maintenance plan Y date is 25.07.2014 then 25.07.2014 +60day
    Like that
    background scheduling needs to be done as per cycle unit
    If i will do background scheduling together of both the above maintenance plan X and Y then scheduling will be run exactly after 60 day and order will be generated in advance for Maintenance plan Y.
    Hope you understand my query.
    Thanks,
    Abhishek

  • Background Scheduling Z Report

    Hi,
    I have developed one report , it can output its result in alv report and excel file, So my requirement is to schedule the report and in background only email the report to the specified email id's. How can I achieve functionality of background scheduling and automatic email.
    I know we can do background scheduling with SA38 or SM36/SM37 but upon scheduling it is not saving my excel file at desired location.
    Ankesh

    You should search forums about this....
    You will need to save to the SAP Application server (in a folder which has write permission for SAP jobs) and possibly FTP to some shared drive within the network.  Local PC, local MS network, like C:\, D:\, etc. is not visible to a background job, since there is NO GUI/PRESENTATION server involved in a background job.  Outside of MS Office, an .XLS file is an unknown file type, probably....  how do you think you're creating a .XLS file in a background SAP job?

  • Background Scheduling is not triggered

    Hai all,
    We are doing ecc6.0 upgrade from 4.6c. While creating a production order the order number should be automatically updated in a z-table(using user wf_batch).
    For this they are using a Function module which is scheduled for every 5 min. The FM is stored in a business object.
    But whenever we create a production order, the background scheduling was not triggered.
    We are not able to find the program for this scheduling.It shows no jobs were found.
    How to schedule the Function module or the business object? or is there any other way to execute the business object or find the job in SM37?
    Regards,
    Kumar C

    Hi,
    We are implementing OWS. We have successfully installed and deployed OWS but yet to open the OWS applicaation. we are defining the entire CCD parameters. Apprreciate help on the same, whether you have have any setup document. A business flow or the process flow on OWS.
    Sincerely appreciat your help. My id: [email protected]
    Regards,
    Abhijit

Maybe you are looking for

  • Creating a home and mobile iTunes library

    I'm trying to figure out how to manage the chaos of my home media.  I currently have the following equipment: Desktop Laptop WD Network HD WD Portable USB HD iPhone 4 iPod Nano I would like to make it so that my Network HD is the primary location of

  • PI in ECC 6.0, usage type AS ABAP

    Dear all, Is there any restriction on the functionalities of PI/XI in ECC 6.0 (with ABAP only)? Can I have full XI functionalities if when I install ECC 6.0, I also check AS Java? Giang

  • Adobe Photoshop CS6 and Canon printer problem!!

    Use Photoshop CS6 to edit and print (try to print) to a new Canon Pixma Pro-100 printer.  Photoshop is up to date and the Mac runs OS 10.8.5 - Canon printer driver is current at ver. 11.7.1. When I print from Photoshop to the Pro-100 (let's say a 4X6

  • SEEburger error in conversion from EDI to EDI-XML

    Dear SAP experts, Good day! Can i seek your inputs regarding this error i'm getting when i've tried to convert the EDI (D93A_RECADV message) into EDI-XML? I am using BIC for this one. This is the error i am getting, [Error:ID=2099;LEVEL=1] InhouseDoc

  • Screen out put out of range

    I am getting a "screen output out of range" change settings etc etc message every few days witha reduced size screen. I have to reboot the computer to get a "normal" screen . I am on a Apple mini mac with an hp2009m monitor.