Report "/SAPAPO/TS_BATCH_RUN"  ????

Hi All,
Can someone tell why the report "/SAPAPO/TS_BATCH_RUN" is used and what are the prerequisites before we execute this report.??
Regards,
Chandan

Dear Chandan,
with this report the macros are executed in mass processing.
At first you should create an activity (Prerequisite: You have already defined a planning book and a data view) in customizing for Demand Planning.
Afterwards create a planning job in transaction /SAPAPO/MC8D and schedule this planning job in transaction /SAPAPO/MC8G.
In  the report /SAPAPO/TS_BATCH_RUN, the program process each step.
I hope these informations can help you further.
Regards,
Tibor

Similar Messages

  • ABAP dump DBIF_DSQL2_SQL_ERROR in report /SAPAPO/OM_LC_UPGRADE_70 during up

    We are in the process of Upgrade of SCM APO system from version 5.0 to 7.0.
    Also we are upgrading livecache to version 7.7.
    While running report /SAPAPO/OM_LC_UPGRADE_70 in se38 to perform the steps under section 3, we are getting following ABAP dump:
    DBIF_DSQL2_SQL_ERROR
    Please find ataached the entire abap dump for your reference. We have successfully executed sections A & B of report /SAPAPO/OM_LC_UPGRADE_70 at the appropriate time during the upgrade.
    Kindly look into the issue and revert ASAP.
    Thanks & Regards,
    Virendra
    +919619498381

    Hello Virendra  , Hello Pavan,
    the SAP MaxDB/liveCache is forum and NOT hotline of the support, it's NOT ASAP support.
    We shared the knowledge or expierence on the posted in the forum questions/issues when we have time voluntarily.
    1.
    As you are SAP customer =>
    I recommend to create the SAP message with the high priority and esculate it if it's ASAP case.
    Then your phone number will be used by SAP support to call you and help with issue.
    2.
    Please find ataached the entire abap dump for your reference. We have successfully executed sections A & B of report /SAPAPO/OM_LC_UPGRADE_70 at the appropriate time during the upgrade."
    This part is looking that the SAP message was already created, the ABAP dump was already attached to the message and
    now the SAP message's issue copied to this forum with hope to get the solution.
    Am I correct?
    Then first check what database error you got in ABAP dump & post this info.
    Regards, Natalia Khlopina

  • Question while using report /SAPAPO/SDORDER_DEL

    Hello all,
    While using Report /SAPAPO/SDORDER_DEL and going through system documentation, I found that:
    "Normally, the order data remains in the database (it is not deleted as in live Cache)."
    From the above statement I am assuming that data gets deleted in live cache on a timely basis, Can someone please let me know how frequently the data gets deleted in live cache?
    Thanks for your time,
    Venkat.

    Hi Venkat,
    There is no specific frequency for data getting deleted from the live cache.
    It depend on the transactions which are taking place in R3 and APO.
    For eg. Sales orders create a requirement in the R3 which is transferred to APO.
    Now when this sales order is delivered, the requirements gets deleted from R3 and similarly from APO livecache. But this information does not get deleted from the APO database tables.
    So this report is used to delete R3 document data that is no longer required in APO.
    Cleaning of the database tables in APO leads to better performance.
    So as a best practice, this report should be scheduled to run weekly.
    Regards,
    Asheesh Gupta
    Message was edited by:
            asheesh gupta

  • Issue while running Report /SAPAPO/SDORDER_DEL

    Hello All,
    We are using the first tab "Delete on database" in the Report /SAPAPO/SDORDER_DEL. We have created a variant with a combination of selections like "Locations" and "Last before change date" and also we checked the addtional functions "Compare ATP tables with /SAPAPO/POSMAPN" and "Delete Obsolete records in /SAPAPO/POSMAPN".
    The issue we faced is that, elements like sales orders, deliveries and Purchase orders are deleted without considering the "locations" and "last changed before date". Elements of very recent date (09/08/2007) are deleted even though the "last changed before date" is somtime in the past (eg. 05/31/2007).
    Can please someone let me know your ideas on this?
    Thanks,
    Venkat.

    Hi Venkat,
         You can check OSS note : 657214 /sapapo/sdorder_del: Documentation and usability.Note 553476 - Composite note: Report /sapapo/sdorder_del.
    Best Regards,
    Siva.

  • Transactional Data Reporting (/SAPAPO/RLCDEL)

    Dear All,
    We are deleting stocks and other transactional data using the report /sapapo/rlcdel by location. However, we need to verify after deletion how many stocks and transactional data are there in APO system prior to deletion. Thus, we need to compare the data before and after deletion. Does anyone knows of any report we could use? Response are appreciated.
    Regards,
    Philip

    Hi Philip,
    If you are using the report RLCDEL in the background, you can check the spool for detailed info.
    If you are running the report in the foreground, check the field Test Mode and execute. You will be shown how many data entries are going to be deleted. Click on the Delete button on the left to actually delete the entries.
    regards,
    biplab

  • Report /sapapo/cdps_rept  does not considers the capacity ustilisation

    Hello Experts
    The sap standard report /sapapo/cdps_rept  is not considering the capacity utilisation from the process orders.
    Any master data missing ?
    Regards
    Deven

    Hello Experts
    The sap standard report /sapapo/cdps_rept  is not considering the capacity utilisation from the process orders.
    Any master data missing ?
    Regards
    Deven

  • Report /SAPAPO/OM_REORG_ATP frequency

    Hi,
    We are using GATP for order confirmations, is it recommended to leave the /SAPAPO/OM_REORG_ATP report running frequently? How frequently?
    Thanks a lot

    Dear,
    You can schedule it daily.
    However, if you have already scheduled report /SAPAPO/OM_REORG_DAILY, then report /SAPAPO/OM_REORG_ATP is not necessary as the reorganization of the ATP time series is already a part of the report
    /SAPAPO/OM_REORG_DAILY.
    Claire

  • Report /sapapo/sdrqcr21 - problem accessing livecache

    Hi,
    I am running the report /sapapo/sdrqcr21, I select the OLTP logical system (already done configuration adn CIF for master data is working fine), but I am getting the next error "problem accessing livecache¨What could it be?"
    Thanks a lot

    Hi Luis,
                I have checked the code for /SAPAPO/SDRQCR21 report , you must have got  the error message as "Problems accessing SAP liveCache". This error has occurred while calling the function module /SAPAPO/OM_PEG_CAT_GET_ORDERS
    (Get Order Data for I/O Nodes in Pegging Area),Livecache connection is ok in your case however this FM is not fetching the data for particular order types that is why giving you the error message. Ask for any ABAP consultant to debug it with your selection criteria.
    I hope this will help you to resolve this issue.
    Regards,
    Saurabh

  • Delta Report (/sapapo/ccr) in the background

    Hi Gurus,
    Is it possible to execute /sapapo/ccr in the background which also includes automatically executing iteration in the background?
    I tried scheduling a job with /sapapo/cif_deltareport3 in the background, but it seems what it does is to only compare the data between the two systems. Is there a way that the iteration of the inconsistencies also be done in the background?
    Thanks in advance!

    Sabado,
    Unfortunately, iteration is only done during display. 
    You can set the iteration indicator for a batch run, but that only means that the re-compare will be done when you call up the results for review.
    It sounds like you are asking if the program can be made to re-compare the results an additional time, before saving.  The standard program will not do this.
    You can set the iteration flag in batch and save the results. When you then call up the results later, for review and action, this will have the effect that the iteration will be performed immediately prior to displaying the results.  Typically, then, less errors will be displayed for your users to resolve.  Time lag is typically insignificant.
    The volume of temporary inconsistancies can be reduced by executing the reconciliation report during the periods of least data transfers between APO and its connected systems.  Under these conditions, the requirement for iteration is reduced or eliminated.
    http://help.sap.com/saphelp_scm2007/helpdata/en/8e/1ed0c5e6dc724ba0731545fc48e7be/frameset.htm
    Regards,
    DB49

  • Error during step C3 Load Master Data of report /SAPAPO/OM_LC_UPGRADE_70

    We are upgrading from SCM 5.0 to SCM 7.0. We have tried to run step C3. Load master data but it keeps displaying a red light with "Jobs for creating master data terminated". Messages in the job log are as follows:
    Message text                                                                                Message class Message no. Message type
    Job started                                                                                00           516          S
    Step 001 started (program /SAPAPO/RESOURCES_LC_CREATE,
    variant &0000000000011, user ID #######)                                                         00           550          S
    Prepare data                                                                                00           001          S
    Create Resources                                                                                00           001          S
    Create Resources with setup matrix                                                                       00           001          S
    Wrap Up                                                                                00           001          S
    Error creating resources in liveCache                                                                     00           001          E
    Job cancelled after system exception ERROR_MESSAGE                                      00           564          A
    There are no dumps in st22 or messages in the system log sm21. We have tried numeorus searches on SDN, Marketplace, and Google and have found nothing.
    Any suggestions or help would be greatly appreciated.

    Hello George Woods,
    1. For the reported error itu2019s not good idea to search the solution in SDN.
    2. Please check, that the notes recommended in SAP note 1292734 were applied
    before you run C section steps.
    3. I recommend you to create the SAP ticket to the component u201CSCM-APO-MD-REu201D.
    Thank you and best regards, Natalia Khlopina

  • Production List Report /sapapo/ppl1

    Hi All
    I want to understand in Production List Report there is a column called Valuation Mode.The values are 0,1,2,3.
    I want to understand how these values get assigned against orders.
    Thanx in advance.

    Hi Roshan,
                     Valuation Mode is Effectivity Mode which is coming from Capacity Requirement.The meanings for 0,1,2,3 are as below.
    0-Activity must lie within effectivity period
    1-Activity end must lie within effectivity time
    2-Activity start must lie within effectivity time
    3-Do Not Take Validity Period Into Account
    I hope this will help you.
    Regards,
    Saurabh

  • DP performance Problem

    I'm facing some performance problems to my SCM-DP. I suspect this is related to BW statistics. Due to this I disabled the active default flag from A to I in transaction DB21 only for BW tables like /BI0/*. I run daily the program /SAPAPO/TS_PSTRU_TOOL to collect statistics and check the indexes for my Active Planning Areas. Also I run daily the OS command brconnect -u / -c -f stats -t all -f collect to maintain up-to-date the statistics (SM69).
    Also the statistics are kept for 180 days using the report RSDDSTAT_DATA_DELETE.
    Thereafter, the DP run better...but the users are still reporting the poor performance.
    Could you please help me to find ways to improve the performance?
    Many thanks,
    Albert.
    Edited by: User Basis on May 2, 2011 11:05 PM

    Hi,
    Please check these OSS notes. It might be helpful to improve the performance in DP.
    1575564 - You have not changed your scenario, but recently you noticed that you encounter big performance issues when executing the report /SAPAPO/TS_BATCH_RUN or when loading a selection in interactive planning. Before, with the same scenario, it was much faster.
    1565813 -In Interactive Demand Planning you load data for a selection. In the header you selected several characteristics for navigation. You execute drill down steps for a selected characteristic, selecting one value after the other. If the number of combinations in the POS is high, and many characteristics are selected for navigation, then it takes very long time to switch from one value to the next.
    Thanks,
    Jeysraj

  • JOB_SUMBIT Steps issue

    Hi Experts,
    I have a job which has more than one steps.
    Each step has report /sapapo/ts_batch_run with a different variant
    I want to submit this job using a program.
    Using job_open, job_submit and job_close FMs i will be able to submit only one step at a time.
    My question is 'Is there any FM which will submit the entire job based on just the job name so that the program does not have to process job steps and their variant?' and i cannot use events as time is constraint i want to submit the job immediately
    Using job_submit in loop i can submit all the steps but will it not create a scenario where the second step runs before the first steo is finished?
    Please guide

    Hi,
    Using job_submit in loop i can submit all the steps but will it not create a scenario where the second step runs before the first steo is finished?
    Try using SUBMIT ..... AND RETURN and then continue with the next loop iteration.
    Thanks

  • Report ZRD_SDORDER_DEL and the table /SAPAPO/SCHEDLIN

    Hi
    I am in the process of reducing the amount of data in our SCM database using the report /SAPAPO/ZRD_SDORDER_DEL.
    The report should be deleting data in the /SAPAPO/SCHEDLIN table but the summary report shows that 0 records have been deleted.
    I have run an SQL trace on the report and it shows that it trying to delete records in the SCHEDLIN table using the GUID column.  Getting the GUID value from the trace and using this value in the ITEM_GUID my queries returns 2 records.
    I am a Basis consultant so I don't know the business process/linkage for the tables utilised by this report.  The SCHEDLIN table has approx 110 million rows & I am concerned that these records will be orphaned by the /SAPAPO/ZRD_SDORDER_DEL report and never deleted.
    Should this report be using the ITEM_GUID to delete these records?
    Thanks in advance.
    Doug

    Hi Doug,
    ZRD_SDORDER_DEL is not a standard SAP program, it was customized by your client.  It is difficult to  evalutate whether it was designed properly.  If I were in your position, I would first talk to the developer who created it.  If the developer is not available, then I would have a functional analyst and a technical analyst look at the design specs.
    SAP recommends running their standard program /SAPAPO/SDORDER_DEL on a regular basis to reorganize tables that contain SD order data that is no longer required.  Although I am not an ABAPer, I would assume that it would take care of any superflous table entries that can be successfully deleted.
    Refer to SAP's OSS Note 553476
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=553476]
    For all the techy stuff about this standard SAP program.
    Regards,
    DB49

  • Parallel profile use in reports

    Hi All,
    I need to use Parallel profile into my report to improve performance as the input has huge produt list. The report reads the data from planning area depending on the product entered. I learnt how to create profile and did one in the tcode /SAPAPO/SDP_PAR. I used this profile in report by selecting in the selection screen and saved as a variant. I then created a background job which uses this variant and executed. The job is taking same time as the job without parallel profile. Could you please tell me what other things i need to do it. I need to move the changes to prod this week. appreaciate your help.
    THanks,
    Deepika

    I think yes. For example, in /sapapo/ts_batch_run, parallel processing is done in function module /SAPAPO/MSDP_PAR_PROCESS_START. You may notice the following coding:
       * Get number of free processes
      WHILE lv_wait_for_resources = true. "Note 1380215
    * ==> TK.803681
        CALL FUNCTION '/SAPAPO/MSDP_PAR_FREE_PROC_GET'
          EXPORTING
            IV_SERVER_GROUP = ls_par_profile-server_group
          IMPORTING
            EV_PROCESSES    = lv_free_wps
          EXCEPTIONS
            INTERNAL_ERROR  = 1
            NO_RESOURCES_AVAILABLE = 2  "Note 1380215
            OTHERS          = 3.
        IF sy-subrc <> 0.
    *<<<--- Note 1380215
          IF sy-subrc = 2 AND sy-batch = true.
            lv_wait_for_resources = true.
          ELSE.
            lv_wait_for_resources = false.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4
                  RAISING INTERNAL_ERROR.
          ENDIF.
        ELSE.
          lv_wait_for_resources = false.
    *--->>> Note 1380215
        ENDIF.
    * <== TK.803681
      ENDWHILE. "Note 1380215
    ... and some further processes.

Maybe you are looking for

  • Key Figure Calculation in Query

    Gurus, How do i calcculate below  in query  basically i have 3 KF as dates below and want a CKF or formula variable which calculates A - (IF B Not Empty then take B  or else take C.) Z = A - if (B != " '', B, C) A = Key Figure B = Key Figure C = Key

  • How to use HIERARCHY in OLAP_TABLE function

    Hello, I am new to OLAP and I don't really know what is the exact syntax to look at this cube by using sql and OLAP_TABLE function. I have defined a analytic workspace called 'MANUAL' by using Analytic Workspace Manager. Inside I have defined a simpl

  • HT4623 my screen is frozen.  cannot slide nor open anything.  I was trying out siri. im bad

    I was trying out Siri for the first time.  I also enlarged the reading screen.  When I turn on the Ipad the screen is frozen in Settings page with Mail, Contacts, Calendars selected (in blue) on one half of the page and the other half is the frozen s

  • Why are you unable to create folders under a playlist?

    I'd like the ability to have playlists within a playlist. For example. I like to workout and create specific playlists for different workouts. So right now I have to create them one by one and have them listed all in my playlist folder. But what I'd

  • Displaying report info

    Dears, i use pl/sql to display my report info DECLARE    v_counter     INTEGER         := 0;    v_line        VARCHAR2 (4000);    v_rec_in_row  INTEGER         := 10;    lpar varchar2(50);    env varchar2(15); BEGIN    HTP.prn ('<table>');    HTP.prn