Forecast not generated in background

I have  question on generating forecast in background, I am getting the message 'Mixed periodicities in a forecast are not allowed In Demand Planning'. I do understand that our planning book has Posting periods and Year along with FYV. But I created a data  for Forecasting in Batch which has a planing buckets profile that has ONLY weeks  as display periodicity for 30 months . And I am using this dataview to define the mass processing activity /job. I am still getting this error. we are on SCM 7.0 . . Any thoughts ?
Susan

Hi Susan
I had exactly the same problem today - what I explain below worked for me:
I went to transaction Define Planning Book -> Data View Tab -> then make sure that the TB profile (Future) / TB profile (Past) are both in the same periodicity as is the Data View you are using. I had a mixture there, Weekly View and TB Profiles in Months.
(I was trying to recalculate in batch using a weekly stats model).
It seems that I was trying to recalculate in batch Stat Forecast using a WEEKLY model and a Weekly view, however the TB Profiles for that Weekly view were in MONTHS and I was getting the same Mixed Periodicities error message.
I then tried recalculating in batch using a Monthly Stat model and the monthly view, that had matching TB Profile and it worked fine then. Of course end users may not be too keen, in which case a new Planning View with matching periodicity TB Profiles may be required.
The periodicity of the Stat Model should match the TB profile periodicity of the Planing Book Data view you are using in your batch job. Hope this helps a little.
Kind regards
Isla

Similar Messages

  • Spool not generated in BAckground Job

    Hi,
    I am trying to schedule RSNAST00 in a background job. My problem is that when the job gets finished i cannot see a spool for the output, any pointers to this issue will be appreciated.
    Regards,
    Sharadendu

    Go to transaction SM37 and check job log.
    It is possible that something is going wrong in your program. I would suggest you to debugg background job.
    To debugg just select job in SM37 and in command window(Where we type T codes) type JDBG and press enter. This will open debugger. Press F7 for approx 4-5 times. Now your program will be opened in debugg and you check why spool is not generated.
    let me know ig this helps.
    Regards,
    Jigar Thakkar.

  • Mails are not generated in background Jobs and not shown in SOST.

    Dear All,
    I have facing issue regarding to system mails. I want to send mails the various reports automatically from SAP System to different recipients. So I scheduled that reports at background and in their spool list recipient I have added distribution list.
    But that mails are not generated, it is not shown in transaction SOST also. When I send mails manually it goes successfully to only our company domain recipients. But not other domains. How should I resolve this problem?
    Please help me out.
    Thanks in advance.
    Amit

    Hi Srihari,
    I have checked the background jobs they showed it finished. Following logs are shown in job logs. Is problem is due to 3rd log??
    18.03.2012 14:23:34 Job started    00           516          S
    18.03.2012 14:23:34 Step 001 started (program RFITEMAP, variant PDC FARMAR, user ID DEVELOPER1)      00           550          S
    18.03.2012 14:23:37 No items selected (see long text)                                              MSITEM         033          I
    18.03.2012 14:23:42 Spool request (number 0000026302) created without immediate output               SY           355          S
    18.03.2012 14:23:46 Job finished                                                                     00           517          S
    When I saw further details of 3rd log it following message.
    No items selected (see long text)
        Message no. MSITEM033
    Diagnosis
        No line items meeting your selection criteria could
        be for the following reasons:
        1.) No corresponding items have been posted.
        2.) You are not authorized to display this data.
        3.) The items have already been archived.
    Please help me out.
    Thanks
    Amit

  • Forecast not generating beyond 12/01/14

    Hi All,
    I need your help in identifying the problem... I have setup Oracle Demantra(7.2) POC environment.
    Problem : Forecast not getting generated till end of LEAD.
    Details:
    - Demantra 7.2
    - Oracle DB 11g R2
    All installed in the same host i.e. winxp. Forecast engine is generating the forecast successfully, however, only till 12/01/14
    Few Engine parameters :
    Lead : 280
    maxsalesgen = null
    Forecasthenerationhorizon = 30.00
    HistoryLenght = 60
    Max_fore_sales_date : 12-01-2014 (This field is disabled)
    min_fore_sales_date : 08-04-2014
    min_sales_date : 12-26-2006
    Analysis :
    1 -Forecast engine completed successfully.
    2 - Forecast generated till 12/01/14, however it should be min_fore_sales_date + Lead (i.e 08-04-2014 + 280 = 5/11/15)
    Already reviewed :
    Doc ID 848205.1
    Doc ID 1300071.1
    Would appreciate any help around this.
    Many Thanks
    Amit

    There is a series for "end of lifecycle date”.. plz refer it
    hope you might have already analyzed based on dying time

  • Spool not generated for background job

    Hi all!
    I have a Zprogram that does some validation and submits the data to transaction ME59 using SUBMIT statement. The program is running fine in foreground.When it is scheduled for background, the spool is not getting generated. I know that if a program contains SUBMIT statement, the spool will not be generated when run in background. But is there a way to make it work? The client requires the exact output that we get in foreground.

    Hi,
      All spool requests will be stored in TSP01 table
    TSP01 - Spool Requests
    field name for Spool request number is RQIDENT
    Hi,
    Take a look at OSS Note 422136 which states:
    "2. You can only store one spool request even if a step generates several spool requests during processing. The application is responsible for a "spool overview" in this case. If a step generates several spool requests during processing, only one request can be stored. In this case, the application report should issue the number with a message when writing a spool request so that it is then displayed in the job log."
    Also take a look at OSS Note 519059 which further supports the case that you must capture the individual spool numbers as they are being created (i.e. within the job step's program). The note contains the following:
    8] Question: How are the spool requests assigned?
    Answer: The step information is stored in table TBTCP. This has space for exactly one spool request (field LISTIDENT). If a step generates several spool requests during the processing, only one can be stored. In this case the application is responsible for a "spool overview
    <b>Reward points</b>
    Regards

  • Spool not generated in background mode

    Hi ,
    I am fine tuning a report.
    I am working on a program which is collecting data and exporting data into memory id. then two other reports, are importing data from memory and displaying in AlV/list.
    When i execute this report in background the spool is not getting generated.
    is there any way to generate the spool?
    How to measure the execution time, as the program is taking much time and some times going to dump in case of time limit.
    Thanks ,
    Kiran

    Hi Kiran,
    For measuring runtime use SE30 transaction. When u run in back ground it wont go to Dump. It may happen only in  fore ground. If at all it happend in back ground, the reason might be different. Analyze that dump n see what is going wrong. Also i dont think there is any time limit in back ground as i executed jobs that ran for 11 days!!!!. U can alos debug the batch job.
    put break point in ur program, Select that batch job in SE37, enter jdbg in command promt and press enter. Control will go to debug mode.
    Which ALV u r using. I think through OOPS ALV batch job will not create spool i guess. Not sure on this.
    Thanks,
    Vinod.

  • Statistical Forecast not saved when generated with background planning job

    Hello All,
    The system I am working on is SCM 5.0 Support pack 15.
    When I execute the planning job in the background to generate a statistical forecast, the job completes sucessfully, I have a spool that shows the forecast profile was executed (Auto Mod 2) with the appropriate model messages and the last two messages are 'Data saved successfully' and 'No data has been changed; data must not be saved', but when I go into interactive planning to view the forecast, there is no forecast in my key figure.
    My planning area has the forecast settings maintained for Statistical Forecast, Corrected History, and Ex-Post Forecast key figures.  My forecast profile is looking at the History key figure and Statistical Forecast key figure.  My time series has been initialized for 36 months of History and 18 months of forecast.  My planning book is set to have the Statistical Forecast Key figure as output only.  My activity and planning job are set to execute in the appropriate planning book (in order to see the forecast alerts I have selected) with the specific selection profiles (no navigational attributes), and the aggregation level set (no navigational attributes).
    The only way for me to see a forecast is to change the Statistical key figure setting in the planning book to output/input, execute the forecast job in the background, and then go into interactive planning.  Am I missing something?  Any help you could provide would be greatly appreciated.
    Regards,
    Roxane H.

    Hello Senthilrajan,
    I have executed the forecast in the foreground using the same planning book as the background job and same forecast profile (Auto Model 2)with a selection from the batch run (pulled a selection from the spool list) and it generated a forecast with the same messages as my background job except for the last two lines (Data saved successfully and No data has been changed, data must not be saved) that I was able to copy back into interactive planning.  I then used this selection in the background job to execute the forecast in the background and did not see a forecast in interactive planning and received the same messages as before -
    Data saved successfully
    No data has been changed, data must not be saved
    The reason we run the forecast in this book is to allow our Demand Planners to view the forecast alerts by book and/or selection directly in interactive planning instead of having to get their from the Alert Monitor.  It has worked in the past and is currently working in the same environment just with a different planning book, selections, forecast profiles, and data.  It generates a forecast with no 'No data has been changed, data must not be saved' message and the forecast is written in the key figure and is viewable in interactive planning with out manipulating the key figure to be input/output (it is set to output only).
    Any further assistance you can provide would be greatly appreciated.

  • Not generating a spool output in the background job

    Hi Team,
    I have an alv report and If I schedule the program using SM36 transaction it is not generating the spool ouput.
    If I run the same program in background mode when we use se38 and select execute in background in program menu and it works successfully and generates alv grid list in the spool output.
    But, user wants to schedule the job in sm36 and check the same output in spool. Please advise why it is not generating.
    Note:I am using the cl_salv_table=>factory method to generate the output.
    Thanks in advance,
    Sunil Kumar.

    This is not really an ABAP question and you might want to ask your Basis admin for assistance. But I believe that spool will not be generated if you don't specify print parameters for a step. When you define the step in SM36, make sure to specify the print parameters.

  • Report background engine not generated

    Hi Friends,
    I have installed Developer 6i -Forms and Reports.
    When I try to run a report in an aplication after giving parameters in the paraform it gives an error illegal operation for rwbe60 it doesn't generate the background engine and so the report in not run.
    If i run the same report through report builder it runs but no report background engine is generated.
    Pls give a solution uf anyone can.
    Thanks in advance
    Manoj

    Hi,
    Add the following:
    add_parameter(pl_id, 'ORACLE_SHUTDOWN', TEXT_PARAMETER, 'Yes');
    Note, the 'Yes' is case sensitive. The 'y' must be upper case followed by lower case 'es'.
    run_product(REPORTS, '<repname>', SYNCHRONUS, RUNTIME, FILESYSTEM, pl_id);
    Best Regards,
    Arun Malhotra,
    Oracle Support Services

  • Background job not generating spool

    Hi all,
          I am calling a report from another report. The called report will display the final output list.
    Here, the called report will be executed in background.
    here the job is completing but the spool is not generated.

    Hi,
    It seems that the final internal table which has the output data is empty & hence write statements are not executed ( assuming all the write statements are inside a loop).
    Place one write statement outside loop like
    write :/ 'Following is the result :'.
    & check whether spool is generated. If yes, then the problem is of empty internal table.
    You can select the job in SM37 & type JDBG in command prompt to debug a background job.
    Debug & check the issue.
    Best regards,
    Prashant

  • Background job spool is not generated

    Hi Guys,
    I am facing the problem with when i execute the program in background,spool is not generated.
    if execute it in foreground output is displaying.
    Please help me on this issue.
    Thanks,
    Bala

    Hi soumya,
    after call transaction i have used write statement and submit the report in the BDC program.
    BDC report is displaying the IM52 update budget orders in the output of the report.
    Thanks,
    Bala

  • SPOOL not generated while smartform is executed in Background

    Hi
    I have issue while creating spool for smartform in background.Its works fine in foreground and i m able to view the outpt.
    But in background it should generate a spool but it is not generating?
    I have given the ouput options to supress the dialog but it still it is not generating the spool.
         control-preview = 'X'.
          control-no_dialog = 'X'.
          control-device = 'PRINTER'.
          control-no_dialog = 'X'.
          control-GETOTF = 'X'.
          OUTPUT_OPTIONS-TDDEST = 'LP01'.
          OUTPUT_OPTIONS-TDNOPRINT = 'X'.
    Any suggestions??
    Thanks & Regards
    Jyo

    Hi Jyotheswar,
    When the smartform is generated in background create a new spool by using following code
          output_options-no_dialog = 'X'.
          output_options-tdarmod = 1.
          output_options-tdcopies = 001.
          output_options-tddest = 'LP01'.
          output_options-tdprinter = 'SWIN'.
          output_options-tdlifetime = 1.
          output_options-tdnewid = 'X'.
    tdnewid is the field used to create a new spool request.  You can get the new spool request number in job_output_info-spoolids.
    Regards,
    Birendra

  • Afer background job finished, spool was not generated

    hi all
    Afer background job finished, spool was not generated but all background jobs is not
    soem background jobs was created spool.
    even if same user and same backgorund job, sometime generated spool or not.
    how can I solve??
    thanks

    Hi,
    Spool will be generated only spool specification wil be defined for that job.
    Select the job go to steps spool specification you can see the device assigned to it.
    Regards
    Ashok

  • SPOOL Not generated in SUBMIT background job

    Hi All,
    I am submiting a report program using SUBMIT keyword. I required SPOOL. But its not generating. Can anyone kindly let me know whts wrong in my code?
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        LAYOUT                 = 'X_65_132'
        LINE_COUNT             = 65
        LINE_SIZE              = 132
      IMPORTING
        OUT_PARAMETERS         = print_parameters
        OUT_ARCHIVE_PARAMETERS = ARCPAR
        VALID                  = VAL
      EXCEPTIONS
        ARCHIVE_INFO_NOT_FOUND = 1
        INVALID_PRINT_PARAMS   = 2
        INVALID_ARCHIVE_PARAMS = 3
        OTHERS                 = 4.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = name
        IMPORTING
          jobcount         = number
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      IF sy-subrc = 0.
          SUBMIT saprck60
                TO SAP-SPOOL                       
                SPOOL PARAMETERS print_parameters   
                WITHOUT SPOOL DYNPRO              
             WITH FREE SELECTIONS texpr
                 VIA SELECTION-SCREEN
                 WITH ck_matnr = 'Z*' SIGN 'E'
                 WITH ck_werks = p_werks
                 WITH kalaid  = wa_default-kalaid
                 WITH kaladat = sy-datum
                 WITH backgr = 'X'
           VIA JOB name NUMBER number
            AND RETURN .

    Hi,
    Try this code
    data : l_jobname   TYPE tbtcjob-jobname,
              l_jobcount  TYPE tbtcjob-jobcount,
              l_dest      TYPE pri_params-pdest VALUE 'LOCL',
              l_linsz     TYPE pri_params-linsz VALUE '999999',
              l_jobstatus TYPE tbtco-status,
              l_rqident   TYPE tsp01-rqident.
    CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = l_jobname
        IMPORTING
          jobcount         = l_jobcount
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      IF sy-subrc EQ 0.
    * Set default print parameters for Spool
        CALL FUNCTION 'SET_PRINT_PARAMETERS'
          EXPORTING
            destination = l_dest
            line_size   = l_linsz.
        SUBMIT saprck60
               TO SAP-SPOOL  DESTINATION l_dest
                   LINE-SIZE   l_linsz
                   IMMEDIATELY 'X'
                   KEEP IN SPOOL 'X'
                   USER sy-uname VIA JOB l_jobname NUMBER l_jobcount
                    WITHOUT SPOOL DYNPRO
                    WITH SELECTION-TABLE p_sel_opts
                     AND RETURN.
        IF sy-subrc EQ 0.
          CALL FUNCTION 'JOB_CLOSE'
            EXPORTING
              jobcount             = l_jobcount
              jobname              = l_jobname
              strtimmed            = 'X'
            EXCEPTIONS
              cant_start_immediate = 1
              invalid_startdate    = 2
              jobname_missing      = 3
              job_close_failed     = 4
              job_nosteps          = 5
              job_notex            = 6
              lock_failed          = 7
              OTHERS               = 8.
        ENDIF.
      ENDIF.
    * Check the Job status
      DO.
        CALL FUNCTION 'BDL_READ_JOB_STATUS'
          EXPORTING
            jobname       = l_jobname
            jobnumber     = l_jobcount
          IMPORTING
            jobstatus     = l_jobstatus
          EXCEPTIONS
            job_not_found = 1
            OTHERS        = 2.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        IF l_jobstatus EQ 'F'.
          EXIT.
        ENDIF.
      ENDDO.
    Regards,
    Nagaraj

  • MRP is not generating any schedule line in my vendor's scheduling agreement

    Hello all,
    My question is: why the MRP is not generating any new line in my vendor's scheduling agreement?
    This is the scenario:
    I have created a vendor's scheduling agreement with transaction ME31L
    I have created a customer's scheduling agreement with transaction VA31 and those characteristics:
    - Forecast scheduling lines
    - JIT scheduling lines
    - MRP to DS type assigned to type C: Requirements according to forecast delivery/Deliveries according to JIT
    I have run MRP with transaction MD01
    MRP is generating some purchasing requistions, not purchase orders because we have set up a release strategy which requires 2 approvals, but those purchasing requests are not generating any new line in the vendor's scheduling agreement.
    Any idea why it could be? Please do not hesitate to ask for further explanations. Thank you

    Hi,
    Check if stock is available for the material in that plant.
    Also check the requirement date for the material and compare it with the planning horizon for that plant.
    Check your material master MRP view.
    Create source list(for material and plant in question) with MRP indicator 2.
    Thanks and Regards,
    Maheshwari

Maybe you are looking for