Process Chain - Need Help
Hello Gurus,
I need to create a process chain for the following:
1.Load to PSA through infopackage.
2.Load to ODS through DTP.
3.Activate ODS.
4.Load cube from ODS through DTP.
I am not much familiar with process chains. If you can let me know the steps it should be great. As always thanks for the help.
Senthil
Your Pchain shud luk like below :
1. Start
2. Execute Infopackage ( loads till psa )
3.Execute DTP ( to load DSO frm PSA )
4.Activate DSO
5.Further Processing
6.Delete Indexes for Cube
7.Execute DTP ( to load Cube frm DSO )
8.Create Indexes for Cube
Infopackages n DTPs shud all be delta in update type.
Similar Messages
-
Need help in process chain *need help immdtly*
I need help in creating one process chain.
1. i have to load one infopackage to a PSA.
2. then have to do load for one infocube from two different infocubes one after the other.
for all these loads one restriction of fiscal year period to be common value.
this value may either be allowed to user to select or loaded automatically taking the previous fiscal year value .. any of these two options are fine.
it would be helpful if anyone can help me out.Here is the code for Z program...you can create Tcode thr SE93 where user can enter value .
parameters: fsper type /BI0/OIFISCPER DEFALUT 2010008.
data: wa_tvarvc type tvarvc.
wa_tvarvc-NAME = 'FISCPER'
wa_tvarvc-TYPE = 'P'.
wa_tvarvc-NUMB = '
wa_tvarvc-SIGN = 'I'.
wa_tvarvc-OPTI = 'EQ'.
wa_tvarvc-LOW = FSPER
INSERT TVARVC FROM wa_tvarvc.
Code for DTP's in Field Level.
data: wa_tvarvc type tvarvc.
select single from tvarvc into wa_tvarvc where NAME = 'FISCPER'.
L_T_RANGE-low = wa_tvarvc-LOW
L_T_RANGE-SIGN = 'I'.
L_T_RANGE-OPTION = 'EQ'.
APPEND L_T_RANGE -
Problem in Process chains - Need help
Dear Experts
I have a problem in Process chains
I have ODS1 from which Iu2019m updateing the ODS2 and ODS3 with same Delta infopackage.
The difference between ODS2 and ODS3 is in ODS2 Iu2019m loading with Local Currency
And in ODS3 is getting loaded with Group Currency
When Iu2019m running with Process chain its executing twice as below
First time : It is showing only ODS2 as the Datatarget and loading all the delta records to ODS2
Secondtime: Its showing both ODS2 and ODS3 in Datatarget and loading with 0 Records.
In this way No record is getting updated in ODS3.
Could you please share your thoughts on why it is triggering twice ? And how we can avoid this.
Thanks
LakshminarayanaThanks Shambu for quick reply
The variant is being used to load the ODS2 & ODS3 and Automatic further processing tick also removed.
Thanks
Nerusu -
Process Chain: Urgent help needed!!!
Hi Guru's,
I need to change the process chain:
We are currently loading the data form 000000 to 100000 in a single process but now the customer asked us to change it to 4 packages:
000000 to 250000, 250001 to 500000, etc..
Could any one help me in this pls???
your help much appreciated.
regards,
BHHi Varma,
I am assuming you are using generic extractor using function module.
Create a z-control table which maintains ranges 250K records. In future use can even change the range if you want .
below is piece of code from function module
Auxiliary Selection criteria structure
data: l_s_select type srsc_s_select.
data : l_lines type i.
Maximum number of lines for DB table
statics: s_s_if type srsc_s_if_simple,
counter
s_counter_datapakid like sy-tabix,
counter type i.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
if i_initflag = sbiwa_c_flag_on.
Check DataSource validity
case i_dsource.
when <check your datasource name>
when others.
if 1 = 2. message e009(r3). endif.
log_write 'E' "message type
'R3' "message class
'009' "message number
i_dsource "message variable 1
' '. "message variable 2
raise error_passed_to_mess_handler.
endcase.
append lines of i_t_select to s_s_if-t_select.
Fill parameter buffer for data extraction calls
s_s_if-requnr = i_requnr.
s_s_if-dsource = i_dsource.
s_s_if-maxsize = i_maxsize.
else.
if s_counter_datapakid = 0.
read z-table to know the size i.e. 250K
first read
z-ctr_frm = 0.
z_ctr_frm = z_ctr_frm + 250000.
endif.
if z-ctr_frm > 0.
z_ctr_frm = z-ctr_frm + 250000.
z_ctr_to = z_ctr_frm + 250000.
endif.
***Generate data packets
select data from table with the number range variables z_ctr-frm and z_ctr_to.
s_counter_datapakid = s_counter_datapakid + 1.
endif.
ENDFUNCTION.
I hope this help you.
Rgds,
Se Vu -
Process Chain Issue Help needed!!!!!!!!!
Hi all,
Please help me in creating process chains, Requirement is
Process Chain1
Infosource --> ODS1 (Delta Load) From ODS1 --> Cube 1 (Delta Load)
Process Chain 2
from same above ODS1 --> ODS2(Full Load) and ODS2 --> Cube2(full Load)
What is the sequential flow?
I created the chain 1 as
Delete Index(Cube) > Infopacakge from Infosource to ODS1> Activate ODS1 > Update ODS1-> Generate Index(Cube).
For Chain 2
Delete Index(Cube) > Infopacakge from Infosource to ODS1> Activate ODS1 > Update ODS1->Activate ODS2 > Update ODS2> Generate Index(Cube).
My question is for Chain1 from ODS1 it should be Delta and for chain2 from ODS1 it should be full load,
i have chacked the ODS1(8ODS1) infopackages the full load infopackage data target is ODS2 and Delta Load data Target is Cube1.
Thanks in Advance,
Sudha.Below..i believe is a better design for the process chains..
Chain 1
Start variant> Infopacakge from Infosource to ODS1> Activate ODS1 --> Delete Index(Cube) >Update ODS1-> Generate Index(Cube).
(drop cube indexes just before cube gets loaded)
Chain 2
Start variant> <b>Infopacakge from Infosource to ODS1> Activate ODS1</b> > Update ODS1->Activate ODS2--> Delete Index(Cube) > Update ODS2> Generate Index(Cube).
(i think we can remove 2 steps(in bold)..right?ODS1 already got loaded in first chain..just we need to keep dependency that 2nd chain runs after the 1st chain has run)..
U can have a 3rd chain..a meta chain like..
start variantchain 1chain 2..
(for both chain 1 and chain 2..i mean the local chains...set start variant parameter as 'start using meta chain or API)..
doing so..chain 2 will kick off only after chain 1 is successfully run..
(also check if the process type 'further update from ODS to data targets..allows you to choose data targets..and choose full/delta..i doubt it..
if it doesnt allow..then place the infopackage steps instead of this 'further update' process..i have done this earlier..)
Vishvesh
Message was edited by:
Vishvesh Bahirat -
"Still waiting for replays Issue In process chain please help me"
Hi Xpertz
Could any one clarify me in the following aspect .I have a process which is having
4 infopackages updating to a single ods and then in to a cube I copnverted it in to
a process chain evry thing seems to be fine how ever one issue is ther .I am not
getting any repeat option on the failed infopackage .But if the ods activation fails
then am able to see the repeat option on that activation process.
How can we get the repeat option on the failuere info package .
Other than segis weblog is ther any other option to restart the process chain.3
ITs in BW 3.5
Thanx in advance
Regards
R M K
No need to say good answers willl get full pointz***Hi..
I have worked on process chains..and I too have seen this..that when chain fails..often repeat option does not appear at infopackage step..
but then this does not cause an issue..as I simply double click on the step..open the infopackage and run it..
Siggi's blog is very useful..I havent found another method to kick off a chain from the failed step..(other than repeat)..
sometimes..u manually correct the failure..but the process chain step remains RED..
as per the blog..change the field on the table..so that step goes GREEN and kicks off further steps of the chain..
Vishvesh -
Process Chain Tables (Help)
Hi, I am reporting from the RSPCPROCESS table and found that a unique combination of fields is LOGID, TYPE, VARIANT, and INSTANCE. That is until I found that we have an ABAP Process that when it fails does not populate the INSTANCE field. The process is being failed by executing an 'E' error message in the ABAP. By not populating the INSTANCE fields I am ending up with records with the same 4 keys (LOGID, TYPE, VARIANT, and INSTANCE).
Is this the best way to end an ABAP Process by producing an 'E' error message or is there a better way that might allow the INSTANCE field to be populated?
Any guesses or insights to this problem is greatly appreciated!
Ken MurrayHi Kenneth,
Hope the following links will help u.
Business Intelligence Old Forum (Read Only Archive)
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
Assign Points if Helpful -
Log from ABAP program in Process chain
Hello.
I have some problem. I wrote the ABAP program and insert this program in process chain. This program a correctly work, but I canu2019t view the steps of work this program. In help:
You can write logs by outputting success messages. (Error messages terminate the task!)
Example: MESSAGE s051(rsar) WITH 'Process successfully ended'.
You can see these logs on the tab page Batch in the detail monitors of the process chain.
I append this code to my program, but nothing in process chain.
Help me, please - what code I need to insert in my program so that view this message in a process chain logs?We have an ABAP that outputs a message. The output from the following code is visible when you click on a process chain step icon, and select the middle tab that says "Backg" for background.
IF sy-subrc = 0.
CONCATENATE text-005 p_date INTO l_msg SEPARATED BY space.
MESSAGE i162(00) WITH l_msg.
ELSE.
CONCATENATE text-003 p_date INTO l_msg SEPARATED BY space.
MESSAGE e162(00) WITH l_msg.
ENDIF. -
Hi
whats the techinical difference between PROCESS CHAIN & MASS PROCESSING? I know about mass processing how it works creating activity and assing activity to job and scheduling the job after an event or immediate or a spcefic time... but when it come to MASS PROCSSING- RSPC. here also we need to create a varient we need to assing an varient to program varient.. but i am not able to find the difference.. can anybody make me clear..
Thanks
DeepaliHi Deepali,
Following link gives the detailed meaning of process chains:
http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
Mass processing: Here individual jobs are run, we define activity for it and create a job & schedule it.
Manily job activites like forecast release, running macros, forecast creation etc.
Link below has steps for creating mass processiing jobs.
http://help.sap.com/saphelp_apo/helpdata/en/0d/429bdb38ee11d3982b0000e8a49608/frameset.htm.
Main difference in these two is that process chains is related with BI while massprocessing is not.
In APO through process chains we can trigger loading of data in the infocubes and do all the activities related with BW which we cannot do through massprocessing.
Regards,
Chetana -
Use of events in process chains
Hi All,
Could some one help me in givving me detailed information about the use of events in process chains with some examples .How are they used and what are they performed in background .I am going to start,creating process chains according to the requirements which are based on event scheduling before ..
Your detailed information is really appreciated..
Thanks & RegardsHi,
Suppose your process chain needs to be started after certain activity is finished, then you can create an event to be triggered when that activity is done. The process chain will start once it gets that triggered event.
This is one use in using events in Process Chains.
Thanks,
Raj -
Hi Experts,
We are running APO DP process chain with parallel processing in our company, we are experiencing some issues regarding run time of process chain, need your help on below points;
- What are the ways we can optimize process chain run time.
- Special points we need to take care of in case of parallel processing profiles used in process chain.
- Any specific sequence to be followed for different processes in process chain - if there is some best practice followed.
- Any notes suggesting ways to improve system performance for APO version 7 with different enhancement packs 1 and 2.
Any help will be really appreciated.
RegardsHI Neelesh,
There are many ways to optimize performance of the process chains (background jobs) in APO system.
Firstly I would recommend you to identify the pain areas (steps) which are completing with more runtimes. Then each one of the step has got different approaches to decrease the runtime.
Like you may end up with steps like infopackage executions, DTPs, DP mass processing jobs etc which might be running with more runtimes. So now target each one of them differently and find out the ways to optimize. At the same time the approach you follow should be technically possible with basis perspective (system load and utilization) as well.
And coming to parallel processing, you can use parallel processing for different for different jobs. You can further r explore on the same using parallel processing. Like loading an infocube, mass processing, infopackage execution, DTP, TSCOPY etc.
Check the below link for more info
Performance problems in DP mass processing
Let me know if you require further info.
Regards,
Raj -
How to schedule the process chain fr the report
hai experts,
i have a query which i need to generate for every five hours? i know that we can generate the report thr process chain but i dont know how to build that..
my question is how to schedule the report,how to build the process chain,....
can any one plz tell me how to start this generating report for every five hours
thanks in advance..points will be alloted surely ,i need this urgently..
SuriFirst of all you need to Identify the InfoObjects if you want to take up Master Data Loads, and if you want take up transaction loads then select the Data Targets to which the data has to be updated. Then plan the dataflow accordingly.
You want to create a Process Chain, Go to RSPC, and then select the create option and from the Process categories available on the left handside drag and drop the Start process, then define the Variant for the same. In the same way you need to identify the other Process Types available on the lefthand side. For Eg: Start Process>Load to ODS>Activation of ODS Data>Delete Indexes for the InfoCube>Load to InfoCube>Create Indexes>Delete Overlapping Req-->Agg. Rollup.
This is how you need to specify the dataflow, several other Process Types also included based on the requirement For Eg: Sending Mail Alerts when the Job is Success or Terminated.
Also, have a look at this links to make urself clear about the steps in creating Process Chain.
http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/events/sap-teched-03/using%20process%20chains%20in%20sap%20business%20information%20warehouse
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
Hope it helps.
Regards,
Archna -
Process chains to allow parameter to be entered.
Hi All,
I am new to process chains. How to create a process chains where "PROCESS CHAIN NEEDS TO ALLOW A PARAMETER TO BE ENTERED - DATE(same as in report)" in 3.5v. Parameters to be entered in process chains, Please provide detailed steps to create.
Thanks,
JaswanthaHi,
Process chain triggers with the help of variables, events etc... you need to create a variant for each process. For example to trigger an process chain you need to create an start variant where you can mention the date and time to trigger the process chain.
This is just an example. Go through with below link to learn it in detail.
http://help.sap.com/saphelp_nw70/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
Hope it helps.
Mayank -
Hi Friends,
Why we are using Process Chains?
Can any one help me to know How to create and execute Process Chains kindly mail me document which containing step-by-step with Screen Shots.
Thanks for needful help.......
Thanks,
VNJR.
[email protected]Hi VJNR,
This link has steps on how to create the process chains:
http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/content.htm
Process chains are used to automate data load and associated processed.
You can also find a lot of documents and previous posts on process chains in the SDN library and BI forums.
Hope this helps... -
Scheduling Technical Content Process Chains
Hello experts,
I'm trying to schedule the Technical Content Process Chain as per SAP Note 934848 - step 4.
This step says:
4. Schedule Process Chains.
Please schedule the technical content process chains (0TCT*) in transaction RSPC. "INIT" process chains need to be scheduled once and "DELTA" process chains should be scheduled periodically.
But when I open RSPC I can't find anything with (0TCT*).
Can anyone help me?
Best Regards,
Rui RombaHi Vikram,
We have everything installed.
Recently we had an auditory from SAP AG and they detected that we needded only to schedule the Technical Content Process Chain.
Regards,
Rui
Maybe you are looking for
-
account.
-
PERFORMANCE PROBLEM - SYS OBJECTS
Hi all, I'm having something strange here! The performance of queries that run against SYS objects like view DBA_OBJECTS , DBA_SEGMENTS, DBA_EXTENTS are VERY SLOWLY!! It's hang everytime and i need to kill the session and the PID process. One example
-
I have a survey form whose results post back to a .CSV form. My problem is that if someone does not answer all of the questions (and none are mandatory), the answers end up in the wrong columns. Questions are answered such as: <input type="radio" nam
-
Can't install itunes 10.5, and ipod touch 4g getting 1604 and1601 errors.
Hi. Okay let me explain my dilemma, and please try to hold on. Alright, so last year when i first got my ipod touch 4g, I jailbroke it with LimeRain from Limerain.com. 3 days ago, i decided to delete a facebook app on my ipod, and then decided to re-
-
Satellite A350 - Display driver stopped responding and has recovered
Hi guys I am new to the forum My Satellite A350 has recovered 3 times from this message above and each time I saw the blue screen. I have checked that my BIOS driver is up to date by doing a Microsoft check of the driver. The thing that I have done d