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

Similar Messages

  • How to trigger a process chain after R 3 job

    Hi All,
    We have a requirement to trigger a process chain immediately after the completion of R 3 job.
    could you please give me your input in this regard.
    rama

    Try to Search first.  This has been discussed a lot in this forum.
    Try these:
    Triggering a Process Chain From R/3 pgm
    There is even an OSS Note on how to do this:
    Trigger process chain using event

  • How to identify which process in process chain executes in Batch and Dialog

    Hi, We want to identify which processes in process chain is running in Batch mode or Dialog mode. Is there any where we can identify this from any table or transaction. (Eg Loading, DTP loading, Attribute change run, deletion of index, deletion of overlapping request, AND process, ABAP program , Master Data loading, Full Load, Delta load, Hierarchy Save, Start Process).
    Regards
    Vishwanath

    Hi Vishwanth,
                      In Process Chain proces runs in background only.
    refer here......
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/7b/d4313b38bea774e10000000a114084/content.htm
    Thanks,
    Vijay.

  • Coordinate BW process chain with R/3 jobs

    Hi all,
    is there any way to planify a process chain on BW that runs daily except when a job is planified on R/3 ?
    thx in advance

    Hi Juan,
    If my understanding is right, we can planify a process chain that runs daily using Tcode: RSPC. But you need to schedule the chain according to the time in which you plan a job on R/3. It should be done manually that you need to schedule the process chain other than the time at which you run the job on R/3.
    Assign points if this helps u...
    Regards,
    Koundinya Karanam.

  • Program to execute Process Chains in APO

    I'm trying to find a program in APO that can execute Process Chains. Is there any standard program in APO that enables to execute Process Chain? or does a custom program need to be created?

    Hello Jaroslav,
    A process chain can run on it's own without an external ABAP program triggering it. Here are some examples:
    1) You can set your process chain to be triggered by SAP event. Create the event in SM62 and then use that in your chain. Then trigger the event using SM64 and your chain should run after that.
    2) You can just schedule your chain to run on a specific date or in some periods.
    If you really want to trigger your process chain using an ABAP program or planning book macro or whatever custom functionality, then you can use function module RSPC_API_CHAIN_START.
    Hope this helps.

  • Package processing in CCM (AUTH_UPDATE batch-job)

    Hello all
    We're using CCM 2.0 with SP03. We send CatalogueUpdateNotification_in messages (in XML format) to our XI and route it 1:1 to our CCM system. There it is processed by an <b>async started AUTH_UPDATE batch-job</b>. This job finally processes our catalog items.
    As log as this batch-job runs the concerned catalog being updated is locked for other updates. And this is what causes us some head aches!
    We send XML messages containing up to 2000 catalog items. This makes the batch job run quite long (up to 1.5h). Now, when we have more than 2000 updates to send to our catalog, we split it up into packages with up to 2000 items each.
    Each package being sent from XI to CCM creates such a AUTH_UPDATE batch-job. The 1st starting is able to lock the catalog but this way of course also blocks processing of all other packages.
    Every single minute the next (waiting / blocked) package tries to lock the catalog itself before it can be processed. This ensures parallel update processings but the other way around it also causes to fall into a timeout after lets say ca. 30 retries.
    From XI point of view the timedout out package(s) sent to CCM were successfully processed... means: not restartable!
    In CCM I can't find a way trying to re-process such a timedout package.
    Re-generating the same package from the source system is not an option for us as well... it takes to much efforts.
    Is there a way to change the wait time between retrying to lock the catalog?
    OR
    Is there a way to ensure that only 1 AUTH_UPDATE batch-job is started at the same time?
    Thanks for some ideas to solve this.
    Renaud

    Hi
    <b>Please go through the SAP OSS Notes and pointers as well -></b>
    Note 908054 - CCM 2.0 SP03 on Netweaver 04s SP Stack 06
    Note 1002775 - Asynchronous deletion of old version after publication
    Note 955096 - Rule condition (Not Equal with Not Valuated) in the view
    Note 887328 - CCM20 - modifications for /CCM/VERIFY_CATALOG
    Note 865138 - CCM20SP0 upload overview message "Category not found"
    Note 873340 - Problems with BMECat mapping after patching XI
    Note 864313 - Input help for mass editor
    <u>Related links -></u>
    Re: Transfer Contract Data to CCM
    Re: CCM CSE_ENRICHMENT BAdI debuging
    Incase this does not help, please raise a customer OSS Message with SAP as well for faster resolution of your queries.
    Do let me know. Hope this will help.
    Regards
    - Atul

  • I have Process chains as well as some jobs which run.Most  of the data is l

    Hi Experts,
    I have Process chains as well as some jobs which run.Most  of the data is loaded through custom ABAP extracts.Now where to check for these jobs and how to understand them.I know that  we can check for jobs in sm37.But how do u load data using these jobs.Please tell me in detail how  and where u execute these jobs.Please give me an answer

    For creating a job use..transaction sm36.Define start condition ,periodicity. etc..
    To monitor it you can use--sm37 job monitoring
    Various options in sm37 which you can use after check(tick) on any particulur job..and then click on joblog.
    To view variants of any job click step>goto(top menu bar)>variant.
    ,rsmo ( process monitor) -- to view data load--you can view there data load daywise..here to view any particulur data load..click on infopackage /dtp/datasource in rsa1 and click on the monitor icon at the top..system will show you the concerned dataloads in process monitor
    For monitoring process chains--go in RSPC and double click on the chain and click on log button(yellow color) select data range..and you can view the status of a chain....red if failed and green if success..and yellow if still running.
    Also in sm37 you can find the status of a process chain by searching with job name---bi_process_trigger.
    To execute chaingo to RSPC>double click on the chain-->schedule(F8)
    If you know the data target of loading ,go in rsa1 and right click on the data target and select manage and you can view the request being loaded.

  • Force FM execution on batch job work process

    Hi!
    Is it possible to asynchronously start FM execution on batch job work process?
    Additions:
    CALL FUNCTION func STARTING NEW TASK taskname.
    CALL FUNCTION func IN BACKGROUND TASK.
    starts FM execution just on another dialog process.
    Context of requirement:
    There is a program that may be logically splitted into two parts:
    - dialog part where data is collected from user input
    - BAPI call with a tons of parameters(structures, internal tables) formed on user input
    So the problem - system dump by timeout during BAPI execution.
    The only solution is to execute BAPI functionality on work process without timeout limitations - batch job work process.
    There may be two approaches:
    - pass parameters to report and schedule its execution in background job. But here arise question how to pass these dynamic parameters? SAP memory doesn't available for background job work process and "SUBMIT WITH FREE SELECTIONS texpr" seems to be intended for LDB or anyway not for such purposes.
    - force FM execution on background job work process - so how if it possible?
    Appreciate your suggestions.
    Regards,
    Maxim.

    Hi Maxim,
    Look at this example program where the user can run it online to enter the input values in the selection screen and then the program just goes into background mode, basically achieved by submitting the same program again skipping the selection screen. This is one more option for you.
    REPORT ztest.
    PARAMETERS: p_vbeln LIKE vbak-vbeln,
                p_bkrun NO-DISPLAY.
    DATA: ls_vbak LIKE vbak.
    DATA: v_answer,
          v_jobcount LIKE tbtcjob-jobcount.
      IF p_bkrun IS INITIAL.
    *-- not background processing
        CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
             EXPORTING
                  textline1      = 'This may time out.'
                  textline2      = 'Do you want to run in background?'
                  titel          = 'Warning!!!'
                  cancel_display = space
             IMPORTING
                  answer         = v_answer.
        IF v_answer = 'J'.
    *-- run in the background
          CALL FUNCTION 'JOB_OPEN'
               EXPORTING
                    jobname          = 'ZTEST'
               IMPORTING
                    jobcount         = v_jobcount
               EXCEPTIONS
                    cant_create_job  = 1
                    invalid_job_data = 2
                    jobname_missing  = 3
                    OTHERS           = 4.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            EXIT.
          ENDIF.
    *-- submit the program in the background
          SUBMIT ztest
            WITH p_bkrun = 'X'
            WITH p_vbeln = p_vbeln
            USER sy-uname
            VIA JOB 'ZTEST' NUMBER v_jobcount AND RETURN.
    *-- close the job
          CALL FUNCTION 'JOB_CLOSE'
               EXPORTING
                    jobcount             = v_jobcount
                    jobname              = 'ZTEST'
                    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.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE 'W' NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          EXIT.
        ELSE.
          CLEAR v_answer.
        ENDIF.
      ENDIF.
      CHECK v_answer IS INITIAL.
      SELECT SINGLE * FROM vbak
                      INTO ls_vbak
                     WHERE vbeln = p_vbeln.
      IF sy-subrc <> 0.
        WRITE:/ 'Invalid Order Id.'.
      ENDIF.
    END-OF-SELECTION.
      CHECK v_answer IS INITIAL.
      IF p_bkrun IS INITIAL.
        WRITE:/ 'Here is the result running the program in foreground.'.
      ELSE.
        WRITE:/ 'Here is the result running the program in background.'.
      ENDIF.
      WRITE:/ ls_vbak-vbeln,
              ls_vbak-vkorg.
    Let me know if you have any questions.
    Srinivas

  • How to change local process chains job priority to A?

    hi experts,
    there are process chains are running in BW production system.
    for independent process chain when i forcefully change JOB PRIORITY from C to A last night it was executed successfully with PRIORITY A, but whereas i have meta chain in that there are some local process chains, though i forcefully change the JOP PRIORITY in PRODUCTION TO A, still those local chains were executed with JOB PRIORITY C only.
    Can you tell me the reason and solution to change the local process chain as well with JOB PRIORITY A.
    The metachain with JOB PRIORITY shows my userid, and the local chains shows BW_USER id.
    Regards
    venuscm
    Edited by: venu WAD on Nov 18, 2011 6:37 AM

    Check what's job priority for particular cube in TA RSRT->double click on your chain->menu Process chain->Attributes->Job Priority. Via this you can set priority as you need.

  • Process chain - default job name modification

    Hi Guys,
    When we run a process chain which has RA jobs,,,,,the corresponding job names in sm37 will be with name "BI_PROCESS_REPA_BP" .....
            We use the job name in sm37 to spool the file thru abap program....so if 3 RA jobs are run thru process chain,,,,,all 3 jobs of different RA jobs will be with same name in SM37.
    Can we change this job name to something else...
    Please advice.
    Thanks!!!!!!!!

    Hi,
    Which job u need to modify the nems of the process chains?
    All the names which starts with BI_*  are the standard jobs running in BI system...if the same runs thru process chain i guess we cannot change it...
    If it is a manual job running in SM37 then we can change it by copying the job name so tht it comes into scheduling then we can release the same according to our requirement..
    rgds,

  • Error in Mass process chain DP background job for Deinitialize version

    Hi,
    When I execute the process chain for DP background job to delete the planning area version, it gives error message
    "Process DP Background Processing, variant DELETE XXXXXXX has status Ended with errors (instance D973YTQRSF0FRPV5TCR28L"
    It is working well, when I tried the same manually with the same input parameters used in background job variant.
    What could be the cause for the background job problem.
    Thanks and regards
    Murugesan

    Hi Datta,
    I am not deleting the planning version, I am using Macro in the DP background job to delete or make the key figure values to 0.
    Thanks and  regards
    Murugesan

  • Parallel process in process chains

    Hi All,
    I have created a process chain with two parallel jobs (for forecast run) in APO DP. whenever i'm checking it, it is showing me that <b>"Too many parallel processes for chosen server"</b>
    In the diagnosis, the message is "On the server  you have chosen, there are only 1 batch processes available. The process chain has been designed in such as way that 2 processes must be processed parallel".
    Do I need to maintain any settings.Please let me know.
    Thank you.
    Regards,
    Raj

    Hi Raj,
    What it is complaining about is that the number of batch processes(background processes) available on the system are only 1 and you have given it 2 background processes..now if the system only has 1 bckgnd process,, how will it run 2 processes ) ??
    You can check the number of background processes in SM50 and then modify the number of background processes in RZ10(start up profile)......Ask your basis guy to increase/check that???
    Thanks
    Abhi

  • Process chains controlled by events!

    Hi Friends.
    I have one process chain at APO side and want to execute another process chain at BI side only when the process chain at APO side gets executed successfully.
    Since <b>APO and BI are two different systems</b>, how can i trigger the process chain at BI side once the process chain at APO side finishes its job?
    your help will be appriciated in terms of points.
    Manmit

    Thanks Geo,
    Sounds like a good description. I have one more question:
    1. created Function Module in BW lets say: FM_BW
    2. created ABAP Prog in APO lets say : ABAP_APO
    I will have to trigger this abap prog ABAP_APO at APO side through the process chain at APO side. How can i trigger this abap prog at APO side through this process chain?
    once this abap prog gets triggered at APO side which will call the Function Module FM_BW at BI side. Now this Function module should trigger my process chain at BI side. How does this Function module trigger my process chain at BI side. I can see in the code (Attached with note) that it takes Event ID to trigger a event. How will i know this event id associated with Process Chain at BI side?
    I have assigned points for the help so far..
    Thanks,
    Manmit

  • Launch Process Chain in dialog mode using WAD

    Hi,
    I check that I can associate the process chain launch using a button in WAD. Does someone know if there is a way to launch this in dialog and NOT in batch mode? My main issue is that I'd like to know who launch this process chain, and in batch mode the user is BIWREMOTE.
    I tried to change the flag "wait till the end" available with the EXECUTE_PROCESS_CHAIN action, but I see no changes.
    Thanks a lot!

    Hi,
    A way around this would be to change the execution user of the Process Chain to be the user who clicks the WAD Button. This can be achieved in RSPC by selecting the process chain, then Process Chain -> Attributes -> Execution User.
    This gives you the option of either the default BW Background user (BIWREMOTE), Current User or Special User. If you select Current User it will show the user you are after. However, you will need to ensure that whoever is clicking the button has the relevant authorisations to execute process chains in BW otherwise the job will fail.
    Regards,
    Nick

  • DP - Process Chains

    Hi Everybody,
    I wanted to know about process chains in APO DP. I know how the jobs work but dont know how the
    process chains work.
    Can I get initial idea how process chains work in APO DP ? What are the transactions involved ?
    Thank you
    Pratap

    Hello Emani, how are you?
    Process chains are settings that can be made via transaction RSPC.
    In this transaction you can select various objects and assemble them as a chain of execution.
    For better understanding please visit these articles:
    http://sapexperts.wispubs.com/SCM/Articles/Step-by-Step-Guide-to-Create-and-Use-Process-Chains-in-APO?id=279DA77F82A2445F99BC6040FB9111B7
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40c71c50-4601-2b10-b9b7-a808ff2f3f2b?QuickLink = index & & 28385438947457 overridelayout = true
    Regards

Maybe you are looking for