Background jobs deleted when planning version is deleted

Hi everyone,
We are implementing SAP APO version 4.1. We have the following problem. We have a simulation version used from time to time. When it is not used, it is deleted for performance reasons. However, when we delete planning version, background demand planning jobs (SNP jobs as well) are deleted although we do not want this to happen. Is there any suggestion to overcome this problem?
Thanks in advance. Regards,
Jenny

Hi Jenny,
As mentioned by R. Senthil Mareeswaran. it is (unfortunately) standard.
The easiest solution in my opinion is to never delete completely a version.
However you can, to reduce the space consume by the version, "reinitialise" it: instead of deleting it, copy back the active version on your simulaiton version but FOR MASTER DATA ONLY.
This way all transactional data are deleted, which save a lot of space.
I think this will also automatically deinitialise the planning area... If not do that to!
Good new: if you do that yur jobs will not be deleted.
Next time you want to use the version, do again a copy, with transactional data!
Ps: your job can be transported from on system to another, so hopfully you haven't lost them all: just transport / reimport the request
good luck
Thanks and Regards
Julien

Similar Messages

  • Background job deleted automtically

    Dear All,
    We have scheduled a job to execute after every minute, after a week or two jobs get deleted. Is there any way to know that who is deleting my background jobs?
    Regards,
    FR

    You can see who did it by using STAD,
    Search for usage of SM37,
    09:11:33 <host>     5 BT  SM37
    09:11:33 <host>      5 Dia SM37
      09:11:33 <host>         SAPLBTCH
      09:11:35 <host>         SAPLBTCH                                 DOIT                   <USER>
      09:11:43 <host>         SAPLBTCH                                 DEL                  <USER>
      09:11:47 <host>        SAPLBTCH                                 YES                      <USER>
      09:11:50 <host>         SAPLBTCH                                 GOUT                   <USER>
    You can see that a job deletion was executed and who did it.
    Regards
    Juan

  • Job gets cancelled - Plan version cannot be planned for fiscal year

    hello,
    In R/3, I am trying to delete data using KEPM TCODEand the job gets cancelled with message "Plan version cannot be planned for fiscal year".
    Does anyone know what I should do to resolve it.
    thanks,
    Bhat

    Hello,
    Thanks for your response.
    I have checked OKEQ and
    we have entries for fiscal year planning version and in operating concern the version is locked. I don't know if I should unlock the version and what will be the impact.
    thanks,
    Bhat

  • Background job delete or move file

    Hi all ,
    IS THERE ANY METHOD TO TRIGGER AN OS COMMAND TO RUN WHEN WE RUN OUR PROGRAM IN BACKGROUND?
    I HAVE TO DELETE OR MOVE A FILE AFTER IT IS READ IN BACKGROUND.
    Thanks

    hi,
    you can check:
    IF sy-batch EQ 'X'.
    ==> program runs in background
    ELSE.
    ==> program runs in foreground
    ENDIF.
    hope this helps
    ec

  • Periodic Background Job Deletion

    Dear All ,
    i want to Permamently Delete a  particular Periodic Jobs in my Production server , pls let me know any suggestion
    note : Job  has been  Scheduled Daily at 1:00
    regards

    Hello,
    Login into the client where the job runs, do not give any input in the feilds From date and To date.
    Just give the job name and status scheduled, released and press F8, this will give you the scheduled jobs in future just select and delete.
    Regards,
    Yoganand.V

  • Background job - failing when file not on app server

    Hi Experts,
    I am facing an issue, while I am trying to run a program in background.
    Let me explain u the situation.
    My program runs in background and pick one file from predifined folder from application server and process that file. if file is not in the folder batch job goes into cancel status. but what i want if proposed file is not available then batch job will run and finished; it should not go into cancle status.
    waiting for valuable inputs,
    Prarthan.
    Edited by: Julius Bussche on Feb 20, 2009 1:06 PM
    Please use meaningfull subject titles

    hi
    below is my piece of code for application server.
    thanks.
    FORM application_server .
      TYPE-POOLS: kcde.
      DATA : lt_intern TYPE  kcde_cells OCCURS 0 WITH HEADER LINE.
      DATA wa_src01 TYPE string.
      DATA: BEGIN OF wa_src0,
           material         LIKE bapi2017_gm_item_create-material,
           consumption_qty(13) TYPE c,"  like bapi2017_gm_item_create-entry_qnt,
           base_uom         LIKE bapi2017_gm_item_create-entry_uom_iso,
           movement_type    LIKE bapi2017_gm_item_create-move_type,
           cost_center      LIKE bapi2017_gm_item_create-costcenter,
           doc_date         LIKE bapi2017_gm_head_01-doc_date,
           post_date        LIKE bapi2017_gm_head_01-pstng_date,
           plant            LIKE bapi2017_gm_item_create-plant,
           storage_location LIKE bapi2017_gm_item_create-stge_loc,
           END OF wa_src0.
      DATA : lt_src0 LIKE TABLE OF wa_src0.
      DATA : file1 TYPE string.
      DATA : tmp0(20). " type string.
      DATA : intern1 TYPE  kcde_intern.
      DATA : tmp_date LIKE sy-datum.
      path1 = path.
      replace '.txt' in PATH1 with ''.
      IF path IS INITIAL.
        path = '/usr/local/interface/globalone/SFA/SFA_WORK/SFA_'.
        tmp_date0(2) = sy-datum6(2). "date dd
        tmp_date2(2) = sy-datum4(2). "month mm
        tmp_date4(4) = sy-datum0(4). "year yyyy
        CONCATENATE path plant tmp_date '.txt' INTO path.
       concatenate path  tmp_date  into path1.
      ENDIF.
      file1 = path.
      file_nm = path.
    FILE_NM2 = PATH1.
      OPEN DATASET file_nm FOR INPUT IN TEXT MODE ENCODING NON-UNICODE.
      IF sy-subrc NE 0.
       MESSAGE e000(zmm002).
       EXIT.
      ELSE.
        DO.
          READ DATASET file_nm INTO wa_src01.
          IF sy-subrc = 0.
             CLEAR wa_src0.
            REPLACE cl_abap_char_utilities=>cr_lf(1) IN wa_src01 WITH ''.
            SPLIT wa_src01 AT cl_abap_char_utilities=>horizontal_tab
                                INTO  wa_src0-material
                                      tmp0
                                      wa_src0-base_uom
                                      wa_src0-movement_type
                                      wa_src0-cost_center
                                      wa_src0-doc_date
                                      wa_src0-post_date
                                      wa_src0-plant
                                      wa_src0-storage_location.
            SHIFT tmp0 LEFT DELETING LEADING '0'.
            wa_src0-consumption_qty = tmp0.
            APPEND  wa_src0 TO lt_src0.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
        CLEAR wa_src0.
        LOOP AT lt_src0 INTO wa_src0.
          REPLACE ',' IN wa_src0-consumption_qty WITH '.'.
          MOVE:  wa_src0-material         TO wa_srcdata-material,
                 wa_src0-consumption_qty  TO wa_srcdata-consumption_qty,
                 wa_src0-base_uom         TO wa_srcdata-base_uom,
                 wa_src0-movement_type    TO wa_srcdata-movement_type,
                 wa_src0-cost_center      TO wa_srcdata-cost_center,
                 wa_src0-doc_date         TO wa_srcdata-doc_date,
                 wa_src0-post_date        TO wa_srcdata-post_date,
                 wa_src0-plant            TO wa_srcdata-plant,
                 wa_src0-storage_location TO wa_srcdata-storage_location.
          APPEND wa_srcdata TO gt_srcdata.
          CLEAR wa_srcdata.
          CLEAR wa_src0.
        ENDLOOP.
      ENDIF.
      DELETE DATASET file_nm.
    ENDFORM.                    " application_server

  • MDVP only working as background job

    Hello,
    I was working on the ATP check when i discovered the only way to actually perform this check correctly was to execute it as a background job. When executing online, the stock is just not committed (even with full confirmation logic set on in the MRP group).
    It only works fine from the planned order.
    Isn't it possible to run MDVP online ??
    Any enlightements on this topic appreciated.
    Olivier

    Hi,
    You can run the availability check in background with program RLD05000. You have to create variant and schedule this program in batch from SM36 transaction, Out out you can check in spool.
    If helps rewards your points.
    Regards
    TAJUDDIN

  • Thru MEB4 the Tax amount and Tax percenatage not trigger in Background Job

    Hi,
              When I am executing the T.Code- MEB4 (Rebate Settlement) thru Foreground the Vendor Rebate Amount and Tax are showing.
                                      When I am executing in Background job the Tax amount and Tax Percentage are not triggering (Only the Rebate amount only showing) after execution of Background job in when viewing the job display.
                       Background Job Name: RWMBON01.
       Please suggest.

    Shankar,
    Thanks for reply.
    If I don't put amount in the basic data tab( MIRO) then it does not allow to "simulate" or "Post". But here I can simulate and Post
    I check every thing in WHT Config but I could't found the solution.
    I want to tell another thing, we recently went to patch upgrade from Version 4.7 E  SP 22   to 4.7 E  SP30.
    My question, Is the pacth upgrade affects in anyway???
    If any suitable answer appreciatable.
    Thanks once again for your reply.

  • MDVP only working as a background job

    Hello,
    I was working on the ATP check when i discovered the only way to actually perform this check correctly was to execute it as a background job. When executing online, the stock is just not committed (even with full confirmation logic set on in the MRP group).
    It only works fine from the planned order.
    Isn't it possible to run MDVP online ??
    Any enlightements on this topic appreciated.
    Olivier

    Hi,
    You can run the availability check in background with program RLD05000. You have to create variant and schedule this program in batch from SM36 transaction, Out out you can check in spool.
    If helps rewards your points.
    Regards
    TAJUDDIN

  • Background job log

    In my system the background jobs deleted.
    I need to restore some of them
    does anyone know how to restore background job log?
    Thanks in advance
    Itzik

    Hi all,
    Please give some inputs on the above question. and any clarifications pls let me know.
    Regards,
    Prabhu
    Edited by: prabhu jayaraman on Dec 9, 2008 7:06 AM

  • Execution of Macro in Background job

    We have created a macro in APO DP that uses 4 characteristics and a key figure. As part of the macro we are executing a Z-function that we have created. The problem occurs when executing the macro in a background job. When the background job is executed the macro processes correctly (performs the correct calculations) for the first CVC that is processes, but it is not able to process the rest of the CVCs.
    <b>ERROR: "There are no plannable characteristic combinations",</b>
    The function copies data from the CVC that is being processed (source CVC) to another CVC (target CVC). The values for the target CVC to which the data has to be copied for a particular key figure are determined from the paramaters that are given to the function in the macro.
    The steps followed in the function are the following:
    1- Determine the relation between source and target CVC, ie, from the source CVC that is being processes in the macro, the function determines the target CVC to which the data has to be copied.
    2- Call BAPI "BAPI_PBSRVAPS_GETDETAIL2" to retrieve the valuesthat are in the Planning Book for the source CVC.
    3- Perform the addition of data (value retrieved from the source CVC is added to the target CVC).
    4- Write value to the target CVC using BAPI "BAPI_PBSRVAPS_CHANGEKEYFIGVAL2".
    When using the BAPIs the aggregation level used is the same aggregation as the one specified in the Background job used for the execution of the macro.
    This macro is executed in a background job, and the copy/calculation is performed correctly for the first CVC (first CVC contained in the data selection used in the background job) processed, but then it does not do anything else for the rest of CVC's. The error message given by the log of the background job is <b>"There are no plannable characteristic combinations",</b> when in fact, the characteristic combinations do exist in the Planning Object Structure.

    Hi Ian
    There are not any other macros in the planning book.
    In addition, if we execute the macro in interactive mode we have another error at the end of the execution (after doing all the combinations):
    <b>Invalid data status</b>.
    and we don't know why.
    Regards

  • Background Job is not creating the List ID

    Hello Experts,
    I am scheduling a program as a Background Job. When I go and check the tables TBTCP & TBTCO, I see the List ID field (TBTCP-LISTIDENT or TBTCO-LISTIDENT) value as 0 .
    Hence I am not able to get the Spool ID for this List.
    Can anybody please let me know what is the problem?
    Thanks a lot.

    Hi,
    See, if this piece of code can help you.
    data:   sdate type sy-datum,
            stime type sy-uzeit,
            l_valid,
            ls_params like pri_params,
            l_jobcount like tbtcjob-jobcount,
            l_jobname  like tbtcjob-jobname.
    start-of-selection.
    Get Print Parameters
      call function 'GET_PRINT_PARAMETERS'
           exporting
                no_dialog      = 'X'
           importing
                valid          = l_valid
                out_parameters = ls_params.
    Open Job
      l_jobname = 'THIS_JOB'.
      call function 'JOB_OPEN'
           exporting
                jobname  = l_jobname
           importing
                jobcount = l_jobcount.
    Submit report to job
      submit <your_program_name
           via job     l_jobname
               number  l_jobcount
           to sap-spool without spool dynpro
               spool parameters ls_params
                  and return.
    Kick job off 10 seconds from now.
      sdate = sy-datum.
      stime = sy-uzeit + 10.
    Schedule and close job.
      call function 'JOB_CLOSE'
           exporting
                jobcount  = l_jobcount
                jobname   = l_jobname
                sdlstrtdt = sdate
                sdlstrttm = stime.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Mar 3, 2008 11:09 AM

  • RESCCC - Generate cost collector as background job.

    Hello,
    I am trying to generate the cost collector. normally this is a two screen procedure. In the first screen I input the parameters and then execute it.
    In the next screen the list of cost collectors appear with the red & white circle icon at the top. When I select the cost collectors and click on the icon, it generates the cost collectors and they are now ready for the next period.
    We have a timeout setting of 900 seconds set in our system. As a result any foreground job that runs for more than that leads to a short dump. We cannot change this parameter.
    Thats why I was trying to run the report as a background job. When I am running the background job, after a while when I am checking the status of the job I can find that the job has successfully finished.
    The problem is that in this case I dont get the second screen from where I could select the cost collectors and then 'generate' them using the red & white circular icon. That screen just doesn,t come at all.
    Can someone please tell me that if i run this as a background job then how may I get to the screen (the second screen) from where i can select the cost collectors and generate them?
    Regards,
    Suvarghya Dutta

    Hello,
    when RESCCC is run as background job the cost collectors for all specified settlement units should be generated without the need to select them in a second screen.
    Please check that you have made the selections for settlement units and also the settlement period start and end date properly for your background job. If it still doesn't work please check the protocol of the background job for messages.
    Regards, Franz

  • How to Debug a BackGround Job

    Hi all,
             Can any one tell me how to Debugg a BackGround job in 4.7 version.
    I used something like JDBG in SM37 but its not working.
    Is there any process for this....

    Hi,
    You can do using SM50 transaction.
    Please check this link
    http://www.allinterview.com/showanswers/56422.html
    Best regards,
    raam

  • SAP HR _ OM -Plan versions

    Hi Gurus,
       I have created multiple Plan versions where one of the plan version is the current and the integration plan version. The company decides to re-org and use the Other plan version.
    What are the configurations that have to be done? What changes will take place?
    Can a customer just change the current plan version and use the Alternative ones? Is there any particular procedure to change the plan version from Current plan version?
    Please help in understanding this concept.

    Could you please explain to me what happens when you run this report. The report talks about the transport. I want to know what exactly changes and what all should be changed when Plan version is changed?

Maybe you are looking for

  • What's the best way to use iTunes match with 4 iPhones and an ipad2

    Currently have iPhone 4 (2), iPhone 3GS, iPhone 3G (used as touch-no sim), and iPad 2.  We use one apple id to purchase with. We use a windows 7 pc and iTunes 10.5.....latest ver.  My questions are  kinda multi faceted, but I'm thinking iTunes match

  • New Ipod Nano - won't update "not enough space" but its empty!!

    My wife's iPod Nano is brand new (I have a Video iPod so iPods are not new to me!) I get the message that the iPod cannot be updated because library is too big etc.... What I did: I reinstalled iTunes. Restored library and unticked all tracks. Downlo

  • Oracle8 Enterprise Edition for Windows 8.0.6 - Info reqd.  Pls help !

    I'm a naïve user in Oracle and would like to know the following details from the Gurus. Any information in this regard will be highly appreciated ! We are trying to use Oracle8 Enterprise Edition for Windows 8.0.6 for some specific reason. Some gener

  • Imac 350Mhz G3 Slot loading-Won't boot from cd's

    So here's what's going on So, I found this imac awhile back. (somebody was throwing it out) http://www.apple-history.com/?page=gallery&model=imacslot I plugged it in today(it uses the same cable as my summer 2000 indigo imac) and i turned it on, it m

  • Desktop PC error - new 9670 style...

    So I just got this thing and installed the desktop software via the disc that came in the box. I followed all the instructions but when I launched the program I got the following without anything from the blackberry program: BlackBerry Desktop Softwa