Process dependencies in process chain

Hi All,
in one of my process chain i have at the end :
delte index -> Load DTP -> Create index -> Compress cube ->generate db stats
but system is showing this warning
A type "Construct Database Statistics" process cannot follow process "Compression of the InfoCube"
and in table RSPCTYPESDEP i an entry stating that :
generate db stats after a compression of cube "makes no sense but not completely wrong".
can you explain why generate db stats after compress make no sense ?
Regards.

Hi Anns,
It is always recommended to keep the create DB stats before compression.The advantage of the DB stats is to improve the query performance as well as loading performance.
check the below links for more information
/thread/2026714 [original link is broken]
http://help.sap.com/saphelp_nw04/helpdata/en/d5/e80d3dbd82f72ce10000000a114084/content.htm
Regards,
Venkatesh

Similar Messages

  • How to include an APD process in BW Process Chain

    HI,
    I have an existing process chain that I want to add an APD process to. There are dependencies. For example, I want the last 2 steps in the existing process chain to continue AFTER the APD process runs successfully. So, how would I include an APD process in my existing chain, I cannot find the variant that says APD in RSPC.

    Marasa,
    Thanks for your help. I tried to do the second option that you offered just by including an ABAP program variant in my process chain.
    However, my process chain fails at that step with tthe following error:
    11/11/2009     00:09:53     Job started     S     00     516
    11/11/2009     00:09:53     Step 001 started (program RSPROCESS, variant &0000000432745, user ID BWREMOTE)     S     00     550
    11/11/2009     00:10:00     Spool request (number 0000031418) created without immediate output     S     SY     355
    11/11/2009     00:10:00     Processing completed with errors. See spool list     E     RSAN_PR     22
    11/11/2009     00:10:00     Job cancelled after system exception ERROR_MESSAGE     A     00     564
    I cannot find anything in the spool to get the exact cause of an error. When I run the APD process by itselt, it executes fine without any errors.
    I used the following sap document to set this up in my process chain and followed everything they said:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/200ef8fd-a249-2b10-1d9c-91b169be870b&overridelayout=true
    Thanks

  • How to reset an failed asynchron abap-process in a process-chain?

    Hi specialists,
    I've got a process-chain which triggers (as one of its steps) an abap-program.
    The program should run asychroniously, so the process-chain waits until the programm reports its ending.
    When the abap-program fails/crashes/dumps, then the endings is never reported and the process-chain gets stuck.
    If I try to re-run that process-chain, it fails again with the message "Variant XYZ still executing from previous run".
    What I already found so far is the following note:
    The process chain management will not know if your program terminates!
    Thus if you re-start the chain, this will also terminate, because the old run would not have finished yet. To avoid this, you need to manually set the process in the chain log view in the process monitor to terminate before you start again.
    My problem: I cannot find any possibility to set the process to "terminate" in the chain's log view.
    Could you please gimme a hint where I can find that option?
    Best regards,
      Marco

    Hi,
    You can remove the process chain from scheduling before staring the process chain again.
    Also can edit the entries in RSPROCESSLOG table before running the process chain.
    Alternatively you can create a custom ABAP process type which handles the success as well as fail cases.
    Refer : [How To- Trigger subsequent processes in a Process Chain based on the Success or Failure of ABAP program|/people/balaji.venugopal/blog/2009/04/07/how-to-trigger-subsequent-processes-in-a-process-chain-based-on-the-success-or-failure-of-abap-program]
    Hope this helps,
    Regards,
    anil

  • How To use process type in Process Chain

    Hi,
    I am new in Procc. chain and now seeking documentation of The process type in Process chain that's describing how and when to use it.
    Can you please help ?
    thanks
    supriatna
    Message was edited by: BW - xltrs

    Hello Supriatna,
    Please have a look on SAP help portal to understand complete work flow of BW process chain.
    http://help.sap.com/saphelp_nw04/helpdata/en/86/6ff03b166c8d66e10000000a11402f/frameset.htm
    Regards,
    ~Ketan

  • Process Types in Process Chains - Loading - Repeatable/repairable

    Hi,
    I know SAP recommends that we do not change the properties of the Process Types for Process Chains. I want to know if any one has ever changed the property of "LOADING" process type to "repeatable" or "repairable". We are keen to change this attribute of "LOADING" process to repeatable. Any experiences, good or bad, would be highly useful to us to take a decision and would be highly appreciated.
    regards
    Uday

    Hi Simon,
    So far, I have not come across any documents that explain the difference between the two options. But, I believe the 'repairable" would start from where it has stopped in the program calles, while "repeatable" will restart the current job (not the whole process chain) from the start. Please remember to post it here, if you ever come across any documentation on these options.
    Uday

  • Parallel Process in a Process chain design

    Hi
    BAsed on what factors can we make a decision on How many parallel data loads (process) we can include while designing a Process chains
    Thanks

    Hi Maxi,
    There is no hard and fast rule for that, for trial purpose you can add specific no. of parallel processes and schedule the chain, if there are not enough background processes available to fulfill your request then SAP will give you warning there you can see how many processes are available.
    But if you go for maximum parallel process then it actually depends on how many processes are available at the time of process chain scheduling. Though your server have enough process but if they are utilized by other processes then still you will get warning while executing process chain.
    So just check in your server how many background processes are there and then take some optimum decision.
    Regards,
    Durgesh.

  • How to create process variant in process chain

    What is a process variant? i try to add Infocube compression to the fi process chain. To accomplish this task, i have to create process variant. please tell me the step by step process how to create process variant and successfully add the compression to the process chain. Can i do it directly in production? Thanks to SDN community that i can count on.

    Hi Rafi,
    <b>Process variants</b>
    The process variant is the name of the process Within the process chain context, it displays the configuration of a process of a particular type set at the time of definition. A variant is only consistently defined together with the process type. A process can have various variants. With the load process for example, the name of the InfoPackage is the name of the process variant.
    The user defines the process variant at the time when the process is scheduled. With some process types, the variants are determined internally and are stored as GUIDs.
    For more info:
    Process Chains
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    Processes
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/d4313b38bea774e10000000a114084/content.htm
    Including InfoCubes in Process Chains
    http://help.sap.com/saphelp_nw04/helpdata/en/d5/e80d3dbd82f72ce10000000a114084/content.htm
       You can create process chains directly in Production. Most of the times system allows(depends on system settings). But this is not a proper way of working. Create in Development and transport it to Production.
    Hope it Helps
    Srini

  • What are process type and process variant in process chain?

    hi all,
    Can anyone explain me what is process type and process variant in process chain ?
    regds
    hari

    Hi Hari,
    this is standard SAP Links, u may understand ....
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/192756029db54192427cf6853c77a7/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/content.htm
    Thanks, KR

  • What are process types in process chain

    hi any one tell me what are process types in Process chains

    Hi,
    In the Plan View of the process chain maintenance screen.
    In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
    Use the drag-and-drop function to add the relevant processes into your process chain.
    You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
    If you insert into the chain a process that is linked to additional processes, the respective process variants are generated and inserted into the process chain automatically. These variants are suggestions and can be changed, replaced or removed from the chain if required.
    Only if the attribute realignment run is inserted automatically, do you also arrive at the variant maintenance screen.
    If you want to specify yourself the processes that are to be included in a chain, choose Settings ® Default Chains, and select the Do Not Suggest Processes option. As a result, the system does not suggest, generate, or insert automatically any processes into the chain. This setting is user-specific.
    If the chain that you create does not correspond to the standard, the system displays a warning. You can ignore these warnings if you are sure that you are creating a chain that meets your requirements. Warnings do not affect how the chain operates during runtime.
    Your chain is checked in the checking view and during activation. The system tells you if it discovers any errors.
    Creating a Process Chain Using the Maintenance Dialog for a Process
    You are in the maintenance dialog of a process that you want to include in a process chain.
    1. Choose the Process Chain Maintenance pushbutton and create a process variant.
    2. Save the variant and go back to the previous screen.
    A dialog window appears in which you enter a technical name and a description of the chain that you want to create.
    3. Confirm your entries.
    The Add Start Process dialog window appears.
    4. Create a variant for a start process.
    1. a. On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
    2. b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    The Maintain Start Process screen appears again.
    3. c. Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
    You are taken to the Plan View of the process chain maintenance screen.
    The various process categories, the application processes, and collection processes are displayed in the left-hand area of the screen. In the right-hand area of the screen, the process chain is displayed.
    If the process that you used to create a chain is linked to additional processes, the respective process variants are generated and inserted into the process chain automatically. These variants are suggestions and can be changed, replaced or removed from the chain if required.
    Only if the attribute realignment run is inserted automatically, do you also arrive at the variant maintenance screen.
    If you want to specify yourself the processes that are to be included in a chain, choose Settings ® Default Chains, and select the Do Not Suggest Processes option. As a result, the system does not suggest, generate, or insert automatically any processes into the chain. This setting is user-specific.
    If the chain that you create does not correspond to the standard, the system displays a warning. You can ignore these warnings if you are sure that you are creating a chain that meets your requirements. Warnings do not affect how the chain operates during runtime.
    Your chain is checked in the checking view and during activation. The system tells you if it discovers any errors.
    5. Use the drag-and-drop function to insert any additional relevant processes into your process chain.
    You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
    Additional Steps to Creating a Process Chain
    6. When you add a process, you need to select a process variant or create a new variant. For collection processes, the system determines the variants.
    Various functions for working with the process are available from the context menu:
    Context Menu Entry for a Process Function Information
    Maintain Variants With the exception of the variants in the collection process, you can use this function to change all process variants.
    Exchange Variants You can swap the variants for an existing variant or a new variant.
    Display Scheduled Jobs Once the process chain is active, you can use this function to display the jobs that have been scheduled.
    Display All Jobs After at least one run of the process chain, you can display, for a specific process, all of the scheduled jobs for this process and all of the jobs with which this process was run. You arrive at the job overview from where you call up the relevant job log.
    Create Message You can also send messages to an application process of the chain, depending on the success or failure of the process.
    1. 1. From the context menu of a process, create an additional process variant of the Send Message type.
    2. 2. If you maintain a message, first specify whether you want the message to be sent when the process has been completed successfully or unsuccessfully. Then choose Next.
    3. 3. You arrive at a window, in which you can select an existing process variant or create a new one.
    4. 4. If you create a new process variant, edit the document that is going to be sent, and maintain a list of recipients.
    5. 5. Save your process variant and go back a step.
    The message process variant is now assigned to your application process. When the message is sent, the status information and the process log can also be sent.
    Wait Time
    You use this function only to debug a process run.
    Specify how long (in seconds) you want the delay to be between one event being triggered and the next process starting.
    You can capture the process by using transaction SM37 (Job Overview) or SM50 (Process Overview).
    Remove Process You use this function to remove a process from a process chain.
    Manage Data Target You use this function in connection with the following types of process variants
    1. • constructing indexes
    2. • deleting indexes
    3. • constructing database statistics
    4. • rolling up filled aggregates
    5. • compressing InfoCubes
    6. • activating ODS object data
    to call up the administration for each of the data targets.
    7. Hold down the left mouse button to connect the processes through events.
    Before you do this, select the process underneath the process type row, and position the cursor over the required process. When you select the process type row, the whole process is moved into the plan view.
    From the context menu of a link, you can display the event or remove the link again. To do this, highlight the link and right-click with the mouse.
    8. If necessary, specify whether you want the event to be triggered after the previous process has been completed successfully or unsuccessfully or whether you want the event to be triggered independently of the outcome of the process that precedes it.
    9. Under Attributes ®Display Components assign a display component to the process chain.
    10. Maintain additional process chain attributes if necessary.
    11. Check your process chain in the Check View and make any necessary corrections.
    The Legend explains the meaning of the different colors used to display the processes and links.
    From the context menu for a process, you can display the messages resulting from the check.
    12. Save your process chain if it does not contain any errors.
    Result
    Your process chain can be activated. After activation, the chain starts in accordance with the start process selections. For example, if you scheduled the start process directly and chose Immediately as the start date value, the chain run starts immediately after activation. In the Log View, you can display the reports for the chain runs.
    Hope it helps.
    Regards,
    Amith

  • PSA Deletion Process failed in Process Chain

    Hi..I have a bizzarre issue...
    I have created one process step in Process chain for deletion of PSA data of a particulur data source(o days).Every setting is fine.
    Except for it fails and gives message:
    Data inconsistency; Partition /BIC/B0001723000 not deleted
    Then I do the repeat in Process Chain and it completes successfully.
    Can anybody throw some light??

    Hi,
    Go to se14 and adjust it - /BIC/B0001723000
    thats it,
    Best regards,
    dushyant.

  • Mark a Process Red in Process Chain

    Hello,
    There is an ABAP Process in my process chain which triggers a background job in R/3(asynchronous).
    After successful completion of job I mark the process as success thru RFC from R/3 using FM <b>RSPC_ABAP_FINISH</b>
    But suppose if my background job in R/3 Fails, it remains in yellow in BW (as  RSPC_ABAP_FINISH dosen't get triggered)
    So if my bgd job fails I want to make the process red in BW, how can this be done.
    Is there any FM to mark a process <b>RED</b> as RSPC_ABAP_Finish is to make a process green?
    Thank You
    Dutta

    Hi Folks,
    I set up the "error path" with a repeat step. However, the error path is not executed.
    The system always notifies a Termination but the process step (ABAP) in the process chain did not get this status...
    The analysis of chain ZXY showed that
    process Z_ABAP SEL_DEL1 was cancelled.
    However, the process has a metachain or successors that
    should be executed when there are errors. Run
    4ND9Q5ZEDUMN61SPC043FDBTN did not finish due to termination.
    If a metachain exists, it was not informed about the error.
    Should run of chain ZDEL and possible
    metachain be continued
    Is this a system setting? Or what is going on? The chain where the error path is setup is called by another chain.
    Thanks and best regards,
    Axel

  • Rollup process failing in process chain

    Hi All,
    Daily the rollup processin in our process chain failing due to  the fallowing error
    "ORA-01400: cannot insert NULL into
    ("SAPBIW"."/BIC/E100093"."KEY_100093U") "
    But once we repeat the rollup process in the process chain it is getting successfull.
    Can you suggest solution for this error.
    Thanks
    Suneel

    Hi Suneel,
    As correctly mentioned by other to check logs and PSA data, you shour also check notes available on this error.
    Probabaly some data in a field is causing this error, so need to analyize the values which are coming.
    There are few notes on this:
    ORA-1406 error/ ORA-1400 Cannot insert NULL
    SAP Note Number: 211617
    Hope it helps...
    Regards,
    Ashish

  • Dialog process  vs Background process

    Hi,
    What is the difference between dialog and background process?
    Can a dialog process is used in a process chain?
    Does an ABAP program followed by change run be a dialog process or background process in a process chain?
    What is the standard maximum runtime duration of a dialog process?
    Regards,
    Pradeep

    Hi,
    Dialog Process - Executes dialog programs (ABAP)
    Background Process -  Executes time-dependent or event-controlled background jobs.
    All the Processes in Process Chain will be Scheduled in Background.
    and The Maximum workprocess Time will be defined by BASIS Team.
    -Vijay

  • Resource error. No batch process available. Process terminated

    Hi all,
    Am getting following error after scheduling the chain in activating the load from ODS(0SAL_DS01)  to another Data Targets.
    Resource error. No batch process available. Process terminated
    Activation of M ecords from DataStore object 0CRM_CT_I terminated
    any light on this please
    regards
    Subba reddy.

    Hi
    From the description of your problem, I understand that the
    activation has taken too long, and that is the reason for the
    error RSODSO_PROCESSING 17. By making some adjustments to the
    Data Store object parameters, you should be able to activate
    the request. Please note and make the following adjustments in
    transaction RSODSO_SETTINGS (you can adjust this for each Data
    Store object):
    1) maximum package size (for activation)
       This you should reduce to 10000. Then the package processing would
       be less time consuming.
    2) maximum wait time for process (for activation)
       This could be increased to e.g. 600
    3) button "change process parameters"
       here the activation is set to be run in backround (which is also
       adviced by SAP).
    If you want the processes to run in background, you may have to
    increase the amount of batchjobs available in your system. Otherwise
    the activation can not run in parallel if there are no batchjobs
    available. This could also occur because there are other programs
    using batchjobs also.
    Also could you please check the server group used in RSODSO_SETTINGS
    You can make use of the RZ12 for the same. If you adjust these settings
    the activation should finish.

  • Attribute Change Run" process cannot precede process "Execute InfoPackage

    hi all,
    i have changed process chain, after changing the chain i have click the check button and activated. then iam getting this error
    A type "Attribute Change Run" process cannot precede process "Execute InfoPackage" var. ZPAK_C0BVLUDKPEPXGXFMHQ67RFI9L in the chain.
    please help me out
    thanks advance
    sudheer.

    Hi,
    Your process chain shud have the following sequence:
    Start Process> Loading of master data> AND process (if u have multiple master loads)-->Attribute Change Run
    And all the linkages between the processes shud only be "SUCCESSFUL". Create new variants for all processes you enter in your process chain.
    Check you chain before you activate. If it gives you exlamatory sign, the also u can go ahead with activation as it is giving u just the warnings.....
    Hope it'll help u.......
    Preet

Maybe you are looking for