Archiving Administration data in a process chain using BWREQARCH
On our project i need to archive administration data.But i want to do it using a process chain. Whatever is needed to archive data like program BWREQARCH in a step in a process chain.
any help in this regard will be really helpful. ~Thanks in advance.
--sumit
Hi
I am really curious of your answer to change that to background.
Is it a new feature of BW7.0 ? I am going to have a look, as it it very interesting.
The tiem out issue is due to a lakc of performances in the treatment of data in each package, as you will have one DIA for each packageof your load.
To reduce the probability of time out:
- check the routines you have in the update rules
- check that the indexes of the cube you laod are dropped before you start to laod as you might create contention during the load.
PY
Similar Messages
-
How to find process chain using background job in sm37
How to find process chain using background job in sm37
Better is to select the job.
Select (Define) Step (s) or F6.
Select the line and Menu Goto>Variant.
The variant contains the name of the CHAIN and its VARIANT.
Success
We faced an old job and via job monitoring we were informed about a cancelled job every 'interval'.
We noticed that the related chain was deleted but still the job was scheduled each interval again and was cancelled because an event was missing
We could not find the scheduled job via SM37.
Via view V_OP, view over tbtco abd tbtcp, we find the related entry.
We delete these entries via function BP_JOB_DELETE....
Edited by: Jack Otten on Jul 9, 2010 2:50 PM -
How-to trigger a process chain using ABAP?
Does anybody know how to trigger a process chain using ABAP code?
Any help would be appreciated!
Thanks
IoanHi Ioan,
try this in your ABAP:
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = 'Your Event'
eventparm = 'START'
target_instance = ' '
EXCEPTIONS
OTHERS = 01.
and schedule your process chain, waiting for 'Your Event'.
regards
Siggi -
Trigger Process chain using ABAP code
Hi All,
As per my knowledge there are 2 ways to trigger a process chain using ABAP code :
1) Using FM RSPC_API_CHAIN_START and passing process chain name as the parameter
2)Using FM 'BP_EVENT_RAISE' and passing process event as the parameter, which you can create using SM62 transaction.
I would like to know which one is better to use, in terms of advantage and disadvantage.
Thanks,
PraveenaHi praveena,
check these links ..u .may get some help
Process Chain
Process Chain
How to run a Process Chain
Process chain-parallel process
Regards
BILL -
Finding Process Chain using the Request Number
Hello,
I am new to BI and currently monitoring Process Chains.
I am scheduling a process chain which runs 3 times in a day.
When i see the infocube there are four requests in the infocube, that means one more request apart from my three.
The other reuqest is also being exeuted by user ALEREMOTE which means even it is being triggered by some other process chain.
Can i please know how to find out the other process chain using the request number or so.
Thanks in Advance.
Bharathi.Hi,
Goto each request and navigate to Infopackge screen and there you ll be able to find the process chain maintenance button. Click on that button, there you ll come to know what are all the process chain have been used for the single or multiple IPs.
Check one by one Request Infopak.
Thanks
Sathish -
E-mail delay using "Event Data Change" in process chain
Hi Experts.
I can´t figure out why my process chain is taking so long to deliver a simple e-mail.
The BEx Broadcast Configuration is working fine. When I run it manually, the e-mail comes instantly. But when I use process chain (Event Data Change), it takes hours to receive the e-mail. The option to run after the infoprovider data change is set for this configuration.
Is there any additional configuration I have to check?
All answers are welcome!
Kind Regards,
TPHi Arvind. Thanks for your repply.
I was already checking the SOST and also SCOT and RSBATCH to see if the jobs are running fine, and no problems so far.
How can I check the IDOC´s?
Thanks in advance.
TP -
Trigger process chains using ABAP program selection screen.
Hi All
I am loading flat files through process chains. My requirment is such that i need to create a ABAP selection screen so that user can load the flat file from his PC. when the user is loading the flat file i have to copy the file onto the application server folder and then display him the monitor errors/warnings (if any). when my data load is complete i need to archive the file with time stamp onto the application server folder.
Please help me in this regard....
thanks and regards
sairam phaniHi,
1. Using TA: AL11 create a folder in application server.
2. There is a program to send the flat file to application server on r/3 side.
Program Name:RC1TCG3Z.
3. Regarding archiving...I have no idea.
Regards,
Vijay. -
How do you run a Process Chain using parrallel processing group
Does anyone know the answer to the above question please?
The problem i am getting is that currently the Process chain is running on the client server and is timing out!
is there a config setting or some other setting that is needed to stop it from timing out?Hi Jas Matharu,
Hope the following links will give u a clear idea about process chains and clear ur doubts.
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
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
Siggi's weblogs for data load error and how to restart process chain
/people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
****Assign Points If Helpful****
Regards,
Ravikanth. -
How to delete InfoCube data in a Process Chain with restictions?
Hi Friends!
My process chain is a full update in the cube
I need delete the data everyday except the last day in the month.
How can I do this in 7.0 release?
Thanks!Hi,
Please use the option Delete of overlapp requests process type
Take the following conditions as :
1) Only delete request from same DTP
3) Only Full DTP
3) Only Delete DTP requests from same souce
Selections are
Overlapping
Request date
Is in the current month
based on the month
Hope this helps out
Thanks
PT
Edited by: PT on Feb 23, 2010 7:18 PM -
How to manage the "no data" loading in process chain
Hi,
I want to load some master data in delta mode with a process chain. The treatment works good except in one case.
If I have no data selected during the extraction ( cause the system doesn't find any data matching with the delta field ), the process chain appears in red as if some problems was encountered instead of giving a traffic light green.
How is it possible to manage this case of treatment as a normal treatment ?
Thanks for your help.Marc,
in RSMO ,
Using Settings -> Evaluation of Requests ->
if no data is available in the system, the request
select Green (is Judged to be successful). this will cause the load to be successful if Zero records are fetched and the Process chain will not fail.
Cheers
Tushar -
Report on process chains using SEM-BPS
We are looking to develop a tool to:
1. Monitor data loads at the process chain level
2. Within in the same tool, enter error resolution /
action steps for all failed loads
3. Report out % of successful or failed loads, using the data captured by the tool.
We have studied the BW Tables rspcchain, rspcchainattr, rspclogchain, rspcprocesslog, rspclogs, rseventchain and
rspcchaint.
We are considering the following options:
1. Develop an ABAP report and allowing the process chain monitor to manually enter the error resolutions (Perhaps in a Z-Table)
2. Create an InfoCube in BW using the above tables and then write a query, but we can not allow the user to enter error resolutions in the query.
3. Create a transactional infocube in SEM-BPS using the above tables and use the input functionality of tansactional infocube to facilitate the error resolution report entry.
Can anyone suggest any alternate solution, or has anyone encountered similar requirement on project?
One more doubt to check: is there any way to create an infoobject with CHAR type to enter data with 1000 or more characters? Or is there any other alternative solution to it? The doubt is to take care of the text entry for the error resolution.
Milind VadJust some thoughts:
Have you considered using document service in BW or even KM (Portal) technology rather than CHAR 1000+ fields? This would give you more flexibility also on the type of document.
For loading there are monitors available (based on tables like RSMONMESS). If you are interested in loads only (and not other process types), maybe using information from the BW load monitor could be beneficial (like RSMONMESS) rather than the process chain stuff.
Maybe it's even worth having an InfoObjekt with a resolution code that links to a document describing the resolution with a key and whenever there is a new solution available create a new key with a new document. That would be most beneficial for reporting (like how many times has this problem / resolution occurred and the like).
Regards, Klaus -
Dynamic data selection in process chain
Dear BW gurus,
I've an infocube 0PA_C01. I'm gettting data with data source 0HR_PA_0. Because of
time-dependency of personel data i should get the package month by month. SO I set the data selection parameter 0CALMONTH in data package.
0CALMONTH=200601-200601;
0CALMONTH=200602-200602;
My question is how can i use this data package in a process chain for automatically getting data each month without manually changing data selection parameter.
thanks,
YigitHi Yigit,
In the info-package after you have selected type '6' it will take you to the ABAP editor, please try the following code,
data: l_s_range type rssdlrange,
l_date type d.
l_date = sy-datum.
l_year = l_date+0(4).
l_mth = l_date+4(2).
concatenate l_year l_mth into l_month_high.
concatenate l_year '01' into l_month_low.
loop at l_t_range into l_s_range where fieldname = 'CALMONTH'.
if dy-subrc = 0.
l_s_range-low = l_month_low.
l_s_range-low = l_month_high.
modify l_t_range from l_s_range.
endif.
endloop. -
PSA to Multiple Data Targets in process chain
Hello All,
I am trying to create a process chain that loads data from an already loaded PSA to further targets. (Note that the infopackage to load from R/3 to PSA is in another process chain). I am using the "Read PSA and Update Data Target" process type. But it allows only one data target. I need to push the data to all the targets of that infosource. Do I have to put a process for each target? Or is there a work around? Please help.
Thank you,
Rinni.Hi Hemant,
Thank you for your detailed answer. I know that it is mostly not practical to have the InfoPackage and "Read from PSA" package in different local chains. However I am facing a situation where I need to create a chain that just extracts all the data from R/3 and loads it till PSA in BW (This is very time critical, so we do not wish to put any other processing in this chain). And in the second chain, we want to put further processing steps within BW. That is the reason, loading from PSA to ODS needs to be in a separate chain.
Another thing is the variant does have a field to enter Data Target, and that shows only the targets of InfoPackage, but allows me to select only one. However, I will go ahead and try with the Infopkg entry as you suggested.
But if you could just elaborate on why you said, I CANNOT have PSA to Targets in a separate chain, I would really appreciate it!
Thanks again,
it was a big help!! -
How to Trigger the process chain using Excel Files?
Hi All,
We have 9 excel files(4 master data attributes and text files and 1 transaction file).
Everyday new records will be added into the excel sheets and we need to trigger all these files into the bw server through process chain automatically . As we have all these Excel files in the desktop.
Please suggest how to achieve this task?
Thanks
GowthamHi,
You cannot load flat files to BW automatically using process chains.
You have to upload them to Apllication server and point your Infopackage to the directory path of the flat file in application server. then process chains can load it.
How to guide for loading flat file to application server.
Program to load CSV file from local desktop to Application server(For flat file Data extraction)
-Sriram -
How to schedule a Process Chain using ABAP Program?
Hi All,
I want to schedule the activity of extracting data from the query to a flatfile.
Currently we are schedulling it using the transaction rscrm_bapi.
I need to know , how we can achieve the same using an abap program and not ( rscrm_bapi) in a process chain.
Any help would be appreciated.
Regards
PurvaYour problem will be solved if you use the Function Module "RSPC_API_CHAIN_GET_STATUS" instead of the function module "RSPC_API_CHAIN_GET_LOG".
The function module "RSPC_API_CHAIN_GET_STATUS" gives you the STatus of the process chain, when you pass the Chain Name and the Log ID.
If you get an output
G or F - Report that the Chain is Successfully Completed.
A - The chain is Currently running
R or X - Report that the chain has ended with Errors.
Sample code :
REPORT Z_BW_GET_STATUS_PROZESSKETTE.
TABLES rspclogchain.
DATA: gt_rspclogchain LIKE rspclogchain OCCURS 0,
wa_rspclogchain LIKE rspclogchain.
DATA: gt_log LIKE rspc_s_msg OCCURS 0,
wa_log LIKE rspc_s_msg,
gt_status like RSPC_STATE.
SELECT * FROM rspclogchain
INTO CORRESPONDING FIELDS OF TABLE gt_rspclogchain
WHERE datum = sy-datum
AND chain_id = 'BD_C02_1D'.
IF sy-subrc = 0.
SORT gt_rspclogchain BY datum DESCENDING
zeit DESCENDING.
READ TABLE gt_rspclogchain
INTO wa_rspclogchain INDEX 1.
CALL FUNCTION 'RSPC_API_CHAIN_GET_STATUS'
EXPORTING
i_chain = wa_rspclogchain-chain_id
i_logid = wa_rspclogchain-log_id
IMPORTING
E_STATUS = gt_status.
IF gt_status = 'G' or gt_status = 'F'.
WRITE :/ 'BD_C02_2D chain COMPLETED'.
ELSE.
WRITE :/ 'BD_CO2_2D chain is Running or Ended with Errors'.
ENDIF.
ELSE.
WRITE :/ 'No chain BD_C02_2D started for today ! or keine Kette BD_C02_2D gestartet !'.
ENDIF.
I have just provided a sample code, you might have to edit or add necessary messages to the program.
Regards,
Ramya
Maybe you are looking for
-
Invoking a BPEL process when file comes to a dir and write to DB - BPEL10g
Hi, I am trying to create a BPEL process where it reads a file from a directory (this directory will receive a file with any name by a different process every 30 mnts or so). and this file may have multiple records, and I need to add these records to
-
PLEASE HELP ME FIND MY IPOD OR FIND OUT WHO RE-REGISTERED IT!
-
Error : Item cannot be Internal Ordered if Pick Components is set to Yes
Applied 'PTO Model' template, when Internal Ordered attribute is checked under Order Management Tab along with Pick components I get the error message 'Item cannot be Internal Ordered if Pick Components is set to Yes'. This item should be allowed for
-
New Ipad crashes on siri with stock quotes when battery is 100%
Charge the new Ipad to 100%, start Siri and ask about stocks, crashes so many times.
-
Hello all! I try to configure Elster on XI 7.0, but when I try to do step 10 (within the Integration Directory) I am not able to choose ElsterAdapterChannel form the templates, I cannot find it. Just Elster_Adapter_Channel_proxy is available for me.