APO DP Jobs

How do you create a DP job in the background?

Hi Ashish,
To create the background job in Demand planning you need to follow the steps mentioned below.
1. Create Profile ( For which you need to create the background job. eg. for running macro you need to write the macro first )
2. Creat an activity (/SAPAPO/MC8T)
3. Create Demand Planning job (/SAPAPO/MC8D)
4. Schedule job  (/SAPAPO/MC8G)
5. Check the job log ( /SAPAPO/MC8K)
For further you can check on
http://help.sap.com/saphelp_scm50/helpdata/en/c9/b4df9470c011d398450000e8a49608/frameset.htm
Hope it helps.
Regards,
Prafulla

Similar Messages

  • Process chain in APO - batch jobs

    Dear Friends
    what for process chain in APO is used
    For instance in the sytem i noticed
    there are many process chain created
    Daily Master data
    Daily transfer of forcast
    there are so many process chain created
    what for it is used
    can you please give me a clear  idea ..
    Thanks & Regards
    Raj

    Hi
    In APO DP or SNP we have many jobs which have to following certain sequence. For example after loading the sales history only you can generate the CVCs. All these jobs has to start and finish in sequence. In the process chain you can defined or sequence all the your jobs according your need. You can also schedule these process chain as pre our requirement.
    So I will say process chain is better and more flexible way of scheduling and sequencing different jobs in APO. For example In you case you have daily process chain which might be loading the data in different Infoobjects  which are master data.
    Thanks
    Amol

  • DP background jobs in local time zone

    We are using APO DP in an international environment (SCM 4.1). We have setup up the system, that is using the local time zone (personal user settings), which is working fine in interactive planning (data views & macros). But when executing the macros
    in background (APO background jobs triggered immediately by a process chain), the macro is run based on the server time and not in the local time zone. The ALEREMOTE user is set up in the same way online users regarding time zone settings.
    Can someone explain, why the local time zone isn't used in the macros when executing in background, and tell me which setting we have missed.
    Many thanks in advance
    Marco

    HI,
    I understand the issue, the issue is the Australia gets days very first from the world.. it almost GMT+11 hrs. will almost a day difference to US.
    I am not sure whether my proposal will make sense, but let me try
    As the month completes we will copy the sales history  for the closed month. where technically the the month is current month as per the system time.
    Why can not change the macro to copy current period and run at system time? i am not sure aobut the otherconstriantes.
    But looking at your question, it could be possible where your client has the local time zone defined. you can check the same from any APO screen, from menu > systems->status. you can see both time zone ( local) system time.
    I suggest you check with basis if we can use the local time zone, we can use the localtimezone but agian everyone has to use our local time.. NO SENSE i guess..
    Yarala

  • Background job scheduling problem in APO

    Hi fellow SDNers,
    i am going through this peculiar problem of background job scheduling:
    scenario is like , i have an CSV (excel file) in aplication server which would load data into the infosource, which i have scheduled to run in backhround (in infopackage) ,after event is triggered (option in scheduling tab of infopackage...THE SCHEDULING OPTIONS)
    now everything seems to be fine.. but the data is not getting loaded...?? could u lease help me out..how to load data from excel file (in background), after an event gets triggered.
    thanks in advance,
    Rohan

    hi Alexander,
    i am triggering the event from BP_EVENT_RAISE FM in APO  by passing the  event id... this would automaitically raise the event...just like sm64
    Thanks
    Rohan

  • APO jobs cancelled due to error- Time limit Exceed.

    Dear All,
    Three jobs are scheduled daily to transfer data from R/3 to APO,
    These are cancelled due to error -"Time limit exceed".

    Hi Pankaj,
    There is a specific time allocated for each queue to clear and to get transferred across the system. the probable reasons are.
    1. The queue itself is taking more than the allocated time to clear due to system load. Each queue requires specific free memory from server , in case of overload system is unable to allocate desired memory hence the error might appear.
    2. If in a queue the very first entry is stuck due to x,y,z reason the queues following automatically go into "timeout" and then "system fail"
    Proposed solution.
    1. Analyze the first entry functionally. If Ok then ask the basis team to clear that particular entry.
    2. after time out the queue will go to "SYSFAIL". Double clicking on this will reveal the reason. Based on the technical reason I can suggest the relevant OSS notes to be applied.
    For detailed technical analysis check t-code CFG1.
    Regards,
    Ankur
    Edited by: Ankur Shrivastava on Dec 19, 2007 5:58 AM

  • " Send Masterdata Changes to APO" Job failure

    Hi All,
    We are facing issues where there are changes in Material Description in R/3 and those changes were reverted again.
    When these changes were sent to APO through background job, the job due to stuck queue. it shows the error "The ABAP/4 Open SQL array insert results in duplic ate database records.".We deleted the queue and rerun the job.
    This is happening everyday.
    Can you tell me what can we do to avoid queue failures?
    Regards,
    Denish

    Denish
    The same material should not be part of more than one active material integration model. I hope you have just one active material integration model.
    The other thing is if the total number of materials in the active material IM is very less , then you can try deactivating and reactivating the model. But it is not a good idea to do it if you have a huge volume of materials in the IM. Also try this in the test system , test thoroughly and then do it in production system
    Thanks
    Saradha

  • Trcing down to JOB or program level from Short dump or system log in APO.

    Hi Guru's
    Can anyone please guide me how to trace down to JOB or program level from ST22 and SM21 logs.
    I have SQL errors and lock entries in APO system, I want to find which program or job writing them.
    Thanks in advance,
    Sreerama.

    Hi,
    Thanks for the replay,
    I have checked same way as you suggested >>>> in ST22 dump, but it is taking me to Include "LARFCF06" which is trying to delete ARFCSTATE table.
    and I have error message :
    Database error text........: "[1205] Transaction (Process ID 291
    deadlocked on lock resources with another process and has been
    deadlock victim. Rerun the transaction."
    Internal call code.........: "[RSQL/DELE/ARFCRSTATE ]"
    Please check the entries in the system log (Transaction SM21).
    User and Transaction
        Client.............. 100
        User................ "APORFC"
        Language Key........ "E"
        Transaction......... " "
        Transactions ID..... "002FE8DE2A71F1B182E80019BB345F90"
        Program............. "SAPLARFC"
        Screen.............. "SAPMSSY1 3004"
        Screen Line......... 2
        Information on caller of Remote Function Call (RFC):
        System.............. "P48"
        Database Release.... 700
        Kernel Release...... 700
        Connection Type..... 3 (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
        Call Type........... "synchron and non-transactional (emode 0, imode 0)"
        Inbound TID.........." "
        Inbound Queue Name..." "
        Outbound TID........." "
        Outbound Queue Name.." "
        Client.............. 100
        User................ "APORFC"
        Transaction......... " "
        Call Program........."SAPLERFC"
        Function Module..... "ARFC_DEST_CONFIRM"
        Call Destination.... "NONE"
        Source Server....... "debosap172_P48_21"
        Source IP Address... "10.132.184.172"
        Additional information on RFC logon:
        Trusted Relationship " "
        Logon Return Code... 0
        Trusted Return Code. 0
        Note: For releases < 4.0, information on the RFC caller are often
        only partially available.
    Information on where terminated
        Termination occurred in the ABAP program "SAPLARFC" - in
         "DELETE_ARFC_ORPHANS_WO_COMMIT".
        The main program was "SAPMSSY1 ".
        In the source code you have the termination point in line 508
        of the (Include) program "LARFCF06".
        The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
        procedure "DELETE_ARFC_ORPHANS_WO_COMMIT" "(FORM)", but it was neither handled
         locally nor declared
        in the RAISING clause of its signature.
        The procedure is in program "SAPLARFC "; its source code begins in line
        489 of the (Include program "LARFCF06 ".
    Now I want to find how this dead lock is created and which two (programs or JOB's) causing this dead lock.
    And program "APLARFC" is not a exicutable program and even I try to where used list I am not able to find exicutable program.
    now I need to find which are the two programs or jobs causing this loack.
    Thanks in Advance,
    Sreerama.

  • Dialy jobs in apo

    Hi Gurus,
    I am new to APO, what all day-to-day standard batch jobs executed in apo. Any help grealty appreciated.
    Regards,
    Reddy.

    Hi Reddy,
    During your requirements gathering, you will have to determine which processes you will want to execute automatically, and how often you will want to have them run.  From these requirements, you will develop your job list.
    Refer to these SAP documents.  They contain the major management issues for each of the major modules.  Many of the programs that you will want to run regularly in batch will be contained in these documents.  These documents also provide a nice overall picture in business terms of how SCM/APO can be used.
    SNP/CTM - http://service.sap.com/~sapidb/011000358700004718192003E
    Overall Monitoring - http://service.sap.com/~sapidb/011000358700002213412003E
    http://service.sap.com/~sapidb/011000358700007382642002E
    PP - http://service.sap.com/~sapidb/011000358700007382512002E
    GATP - http://service.sap.com/~sapidb/011000358700007382482002E
    Core Interface - http://service.sap.com//~sapidb/011000358700000715082008E
    Consistancy - http://service.sap.com/~sapidb/011000358700000792732008E
    Transportation Management - http://service.sap.com/~sapidb/011000358700007382622002E
    Demand Planning - http://service.sap.com/~sapidb/011000358700000955412003E
    Regards,
    DB49

  • Background job in APO does not start because of invalid user name

    Hello,
    I have a macro in a planning book and the /sapapo/cons_check program which a triggered via a background job. Now, I have problems with the start of the job:
    At the time the job was created inside SAP, an error occured. The job contains invalid values.
    The user name within the job does not exist any more.
    Now, I try to change the user name of the job (via step in sm37), but the error occured again.
    I have the possibility to create the invalid user name once again in su01.
    But I want to change the user name of the job - does somebody know how to do it?
    Thanks for your help!
    Kind regards
    Heinz

    Hello Heinz, this looks surprising.
    It's quite easy to change the user name in the SM37 job step, and we haven't faced issues with this.
    Could you check how many jobs are in either "scheduled" or in "released" status, and change steps for all of them? May be you changed the scheduled job, but the released job wasn't changed.
    Use your job name and give a search date as 1-2 years in the past, and around 1 month in the future. With this time horizon, you should most likely be able to capture all the relevant jobs having the same name that you are using.
    Now change the user name in step for all the jobs received above to be fully sure.
    One more trial could be to copy the current scheduled job to another job, modify the user name in this newly created job and then delete the old one.
    One of the above trials might possibly help you in some way, else its very tough to understand/explain your situation.
    Thanks - Pawan

  • Job Failed // PLAAP5BULCOD_CONS_CHECK_CCR_MPOR  in APO

    Hello All,
    Job failed due below reason  PLAAP5BULCOD_CONS_CHECK_CCR_MPOR
    Iteration executed
    Spool request (number 0000029847) created without immediate output
    Results saved successfully
    Step 003 started (program /SAPAPO/CIF_DELTAREPORT3, variant PR4_MANUF_ORD2, user ID BTCH_ADM)
    Background job terminated due to communication error
    Job cancelled after system exception ERROR_MESSAGE
    Please help me to resolve the issue.
    Regards
    Mohsin M

    Hi ,
    Check the similar issue:
    [background job PLAAP5BULCOD_CONS_CHECK_CCR_MPOR cancelling;
    Thanks and Regards
    Purna

  • How to reschedule STOs in BOP jobs in APO?

    Dear Friends,
    We have a problem in APO BOP .
    While running BOP, the STOS are not rescheduled. Upon checking the BOP result, the STOs are displayed with Status 'Unchecked'. and dates are not altered, even though the availability situation has changed.
    I would like to know, what needs to be done to reschedule STOs in BOP run?
    PS:
    1. I have selected the STOs (BI) in the BOP filter criteria.
    2. My Sort profile contains the following fields with the priorities indicated on right side.
    ERTMS     Created on                          3
    LFTMS     Delivery Date/Time     7
    LIFPRIO     Delivery Priority     1
    ORDSTARTTIM     Start Time     5
    WMENG     Requested quantity     9
    3. We are using SCM 7.0 with ECC 6.
    Regards
    Srinath Sastry

    Hi Srinath,
    You can check your selection in Confirmation situation Tab in BOP Filter and make changes so that STOs can able to reschedule.
    Thanks,
    Dipankar

  • Get an email after failure of job in SAP APO

    Hi Experts,
    We are working on SCM 5.1 server. Actually we are trying to get an email if we there is  a failure of job in SM37.
    Do we have any setting to achieve this requirement?
    Thanks in Advance..
    Reg

    Hey Sujay,
    As Alexander suggested process chains is a veru easy option. Explore the option for message processing and you will be able to setup in no time. Just make sure that the necessary email recipients are configured in SAP (Tx SCOT) to receive emails under the SMTP nodes.
    Cheers1
    Abhi

  • Job to lock users in APO?

    Hi All,
    We're having some locking issues with batch jobs in DP (using macros) because users occasionally have CVCs locked when the jobs are running. We have looked into additional data views for job scheduling using the key figure lock setting on the planning area - also running jobs during the night etc, yet we still have issues..
    Is anyone aware of a job / program that can be run in the background to lock all business users (e.g. by a Role) prior to the standard batch jobs running, then run afterwards to unlock? - or any other suggestions?
    Thanks

    Hi Lim,
    we have the same functionality implemented in which we lock the planning area before running the batch jobs specifically the release jobs and then unlock it after for user community.
    We have created a Z program with selection fields for planning area and required planning area to be locked can be maintained in run in batch mode.
    you can use the function  'ENQUE_DELETE' to achieve the same for deleting the user entries.
    Let me know if it helps
    Regards
    Gaurav

  • APO Jobs  Notification

    Dear All,
    Need Help on the Automatic mail Notification...
    Some time the Batch Jobs get successful , but if you see the spool you will find the below erros...
    "Object is Locked"
    "Com routine error"
    Dail ywe schedule many jobs in the background...so it is difficult to check each and every jobs spool!!
    Do you have any idea  , how to get the Notification via mail for the above even though the Job is succesful?
    Plz revert..
    Thx in advance...
    Regards,
    rajesh

    Hi Michel,
    Thx for the reply.
    I have cheked the Note , it says the background Job Spool can send to the receipant , but will it send the spool if here is an any error in the spool  ,  imean if the Object is Locked?
    Or it simply sends the spool of Every Bckground Job to the receipent?
    Regards,
    Rajesh patil

  • Past due PurRqs are getting deleted in APO but not getting deletd in R3

    Hi folks,
    We have a daily job, which runs at 18:00 hrs in the evening everyday in the APO Production System.The job is to delete all past due Purchase Requisitions for last 2 years (job & variant details are mentioned below) All the past due PurRqs are getting deleted from APO, which we have cross-cheked in RRP3 view many times.
    However the same is not getting deleted in R3 systems. The planner/end- user is getting confused & hassled by this list of old PurRqs which is visible in R3 through MD04 t-code.
    Please suggest remedial/corrective actions to get this issue sorted.
    The job details for the deletion of past purchase requisitions.
    The job is run with the following variant details:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ABAP Program name :/SAPAPO/RLCDELETE
    VARIANT Details
    Select Object-> By Categories ->Category = AG (PurRqs in R3)
    Manual Selection-> Version =000; Product = (blank); Location = List ofall locations;
    Fixed Order (ticked)
    Period = 14.03.2009 to 14.03.2011 {All PurRqs in these period shouldget deleted in APO as well as R3}
    Settings-> Delete Transaction Data ->In R3 & APO (ticked)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Past due PurRqs are not getting deleted in R3 systems. The planner/end-user is getting confused & hassled resulting in loss of productive time & generation of erroneous planning which is negatively impacting Business.
    Pls suggest some remedy for this.
    MMTIA
    Kumar
    Edited by: Blue Lotus on Mar 14, 2011 5:51 PM

    Do you run the CCR on a daily basis. If so do you see the "reqs missing in R/3" in the CCR ?
    Also what is your transfer setting ? Meaning the transfer from APO to R/3 configuration  - is it immediate or change pointer based ? check that also
    Thanks
    Aparna

Maybe you are looking for