You are on page 1of 2

1)

We have 5 cubes ina process chain.


4 cubes are getting data from one cube.
Based on date I need to push data from the first cube to other cubes.
So all the cubes need not be scheduled at same time.
Please help me reagrding this.Like 1 cube should be sheduled in first 4 months a
nd another in second.
If you are using BI7.0, try the "Decision Between Multiple Alternatives " proces
s type.You can use IF THEN ELSE logic to contol the loads of ur cubes.
Regarding this process type...
1.you have to enter If condition ,in there there is a formula to be defined in t
hat you can select the current system date or local date or many thing how the p
rocess type to be executed.Upon execution of process type would be green or red
.
2.and there is Else condition where also you can specify in case of error.
3.You can use as many if and if else in the process type according to your need.
4.Now...Once this process becomes red or green depending on current date your ne
xt process type would be executed.

Possible events that can be triggered after the process run:


· Process finished successfully or with errors
· Process finished, status unspecified
· Process is always the last process in a chain
· Process finished with complex status
You use this setting to control the process run on the basis of a logic with mul
tiple values. You can define flexible process paths on the basis of multi-value
decisions for predecessor processes that end successfully. The process type has
to implement interface IF_RSPC_MULTI_EVENT.
If you want to link this process to a successor process, you can select from the
valid end statuses for a process that finished successfully.

Refer to the link below


http://help.sap.com/saphelp_nw04s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/
frameset.htm
Most simple approach to your problem would be
After loading Cube 1
add four Decision process types..
Cube1
DEcPro1-->Success-->Cube2 (Here system gives u option to add two process types b
y success/failure/always)
DecPro2-->Success-->Cube3
DecPro3-->Success-->Cube4
DecPro4-->Success-->Cube5
Now DecPro1 write under If condition the formula using Date function.
Using your required date condition :like you can use some of these date function
s
CALMONTH_FISCPER Calculate Fiscal Period from Calender Month (YYYYMM -Y YYYYPPP)
DATE_FISCPER Calculate Posting Period from Date(Year + Posting Period)
DATE_MONTH Calculate Month from Date (YYYYMMDD -> YYYYMM)
DATE_TO_WEEK Date->Week
DATE_WEEKDAY Calculate Weekday Description from Date
DATE_WEEKDAY1 Calculate Weekday Number from Date
DATE_YEAR Calculate Year from Date (YYYYMMDD -> YYYY)
FISCPER_CALMONTH Calculate Calendar Month from Fiscal Period (PPP -> YYYYMM)
LAST_WORKINGDAY_MONTH Calculate Last Work Day for Month
Now According to your date function out of these four decision process only 1 wo
uld be successful so data would be loaded to only that cube..

I have used the function DATE_QUARTER1 and fields system date.


like this
DATE_QUARTER1( Current Date ) = 4 OR DATE_QUARTER1( Current Date ) = 5 OR DATE_Q
UARTER1( Current Date ) = 6
then the process runs.
But for today's date , it is going to second quarter cube instead of fourth cube
.
Please let me know whether it is correct.

You might also like