When index's need to be deleted in process chain
Hi Friends ,
I am looking for some info in what scenarios the indexes need to be deleted & recreated when loading data into a infocube thru process chain.
I am looking for hard figures\ std rules like at what % of new data indexs can be dropped etc ..,
Thanks
Hi Sri:
There is no formula. You need to do a small experiment with your Cube to determin this criterion. This is because the loading data to Cube not only depends on the number of records, bit other factors such as new SIDs, etc.
I would manually load the Cube with the number of recrods equal to the usual number.
Take the time.
Now, delete and create indexes in Batch Job in BW for the Cube. Again, note the total time.
If the second time is significant, dont't delete indexes, let BW manage them.
In my case, I load 2 cubes daily with same infopackage.
1 - deleted and laoded.
2 - history with deifferent level of aggregation.
No. of records = 1 mil.
Cube 1 - I delete indexes and create them.
Cube 2 - Don't delete this because this cubes keeps growing bigger and deleting and creating indexes will give diminishing returns.
FOr these bix Cubes, I do a seperate P-Chain to drop and create indexes on Sundays when no users are querying the Cubes.
Hope this will explain, but I don't have a formula.
Ram Chamarthy.
Similar Messages
-
How can we automate the process of selective deletion in process chain
Hi,
I got to delete data from ODS and InfoCube selectively every Tuesday. So I am aware that there is an ABAP program through which we can automate the process of selective deletion in Process chain. So plz let me know the proceedure to automate this process.Hi,
Try this.
Need to genrate the deletion program using tcode Delete_Facts.
steps : 1 run the Delete_Facts tcode and give your cube name in the input parameter
step2 . select deletion program and execute . you will get the system genarated program
step 3 copy this prg and save as zprg.
step4 : run the program with selection
step 5. if your selection is date then you need to create dynamic varient needs to be populate the value for the date fields
step 6: you need to maintain the date values in the TVAR table if necessary
step 7. you need to use this custom prg in your process chain after completion of test
source : SDN.
Thanks,
JituK -
How can we delete a process chain?
Dear Ones,
By Mistake I have converted an infopackage group into process chain in Quality system. How can we delete a process chain?
Thanks,
RajHi Bhanu,
I've doubt that what is the difference between cancel with core and cancel without core with respect to process chain.
Could you please advice how do we start a process chain daily without using the schedular window for transaction data.
Thanks in advance...
Amarnath. -
Hi,
Could you please tell me if there is a table in BW which stores the User IDs who has deleted a particular process chain? I would like to find out who has deleted my process chain which was there a week ago. If not is there an alternative to find this out?
Thanks.You can get the logs from teh transaction "SLG1".
Enter the OBJ ID ,sub object as --* and enter the date parameters under wich you want to check the logs.
Click on execute. -
Need information-BW System administration-process chains
Hi gurus,
I need information about BW System administration-process chains
can anyone send me the docs related to
1)process chain modellin aspects
2)process chain monitoring &error handling
3)BW statistics and query tuning with aggregates
Thanks in advance..
regards
s ramHi,
Check these links:
http://help.sap.com/saphelp_nw04/helpdata/en/67/13843b74f7be0fe10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ce/dc87c1d711f846b34e0e42ede5ebb7/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d5/e80d3dbd82f72ce10000000a114084/frameset.htm
Process Chain
process chain
BW STATISTICS
If you are asking abt the flags that you see in RSA1 -> Tools -> BW Stats...you can check BW Stats for each and every infoprovider. Whenever you create an infopprovider you should always decide whether you want to turn on the BW Stats for this infoprovider. This is a manual step and can be done in each and every box individually or can be transported across the systems. Coming to your question...BW Stats are of two kinds...
1) OLAP -
If you check this flag for an infoprovider...all the statistical data for the queries built on this infoprovider gets updated into the corresponding infocubes (0BWTC_C02 and 0BWTC_C03). An example would be like number of users that ran the report in a given time, the average run time of the query and so on. This data is of immense value in deciding the steps for performance tuning techniques like aggregates!
2) WHM (Warehouse Management) -
If you turn this flag on for an infoprovider, all the statistical data like how often the cubes are loaded, when are the requests deleted from the infocubes, data abt condensing of cubes and so on is loaded into the corresponding cubes like 0BWTC_C04, 0BWTC_C05, 0BWTC_C09 and 0BWTC_C11.
You have to activate the infopackages to load into these cubes and schedule them through process chain to run once in a while so that your statistical data is uptodate.
Production support for maintaining the process chains primarily involves monitoring activities of all the chains that are running in the background...
Errors in monitoring of process chains can be categorized into 4 different sections...
Master data - Full Update
Master data - Delta Update
Transaction data - Full Update
Transaction data - Delta Update.. in terms of loading of data which can be due to server shut down or system maintenance... errors due to incorrect entries in the OLTP system in which case you'll have to fix the errors in the PSA and manually load the data...
Otherwise it can have errors on Attribute change run being locked by some other job... Aggregate Roll up failing because of attribute change run being run at the same time... Problem with hierarchies and save hierarchies...
There can be problems with the data store activation if the ODS object contains any incorrect request sitting inside it... then, you need to delete the incorrect request and reload the data again...
In case of Transaction Delta failure, you'll have to request for a repeat either manually in the infopackage or using the repeat option if available on right clicking the load event...
For Master Data Delta failures, you need to do an Re-init by deleteing the previous initalization condition in the "initalization option for source systems" in the menu scheduler or reschedule the enitre chain... because, master data generally do not support repeat of last delta ...
Majority of the issues will be based on these things only..
****Assign Points If Helpful****
Regards,
Ravikanth
Message was edited by:
RK.PNV -
DSO request Deletion through Process Chain
Hi All,
Can anybody know how to delete the last request number of DSO. i need to delete the last request using ABAP program in process chain.
I have 2 sources loaded to DSO..
Ex: Cube1 ...> DSO (1 st request)
Cube2...> DSO (2 st request)
Please help me guys with abap code
Regards,DSDear DST,
I found this code for the same purpose. I haven't used it till now. Go through it I hope it will fulfill your requirement.
Create an ABAB report with desired modifications in this code and add that report to your process chain.
REPORT ZV_DELETE_REQS.
data: RSICCONT like rsiccont,
rsseldone like rsseldone.
data: begin of i_req occurs 0,
rnr like RSICCONT-rnr,
end of i_req.
refresh i_req.
select *
from RSICCONT UP TO 1 ROWS
where ICUBE = 'ZCS_D10' " cube name
order by TIMESTAMP descending.
i_req-rnr = rsiccont-rnr .
append i_req.
clear i_req.
endselect.
loop at i_req.
select single *
from RSSELDONE
where RNR eq i_req-rnr
and source = '0CO_OM_OPA_5'. " Data source name
if sy-subrc eq 0.
CALL FUNCTION 'RSSM_DELETE_REQUEST'
EXPORTING
REQUEST = i_req-rnr
INFOCUBE = 'ZCS_D10'
EXCEPTIONS
REQUEST_NOT_IN_CUBE = 1
INFOCUBE_NOT_FOUND = 2
REQUEST_ALREADY_AGGREGATED = 3
REQUEST_ALREADY_COMDENSED = 4
NO_ENQUEUE_POSSIBLE = 5
OTHERS = 6.
IF SY-SUBRC 0.
MESSAGE ID sy-MSGID TYPE 'I' NUMBER sy-MSGNO
WITH sy-MSGV1 sy-MSGV2 sy-MSGV3 sy-MSGV4.
else.
message i799(rsm1) with i_req-rnr 'deleted'.
ENDIF.
endloop.
Regards:
Jitendra
Edited by: Jitendra Gupta on Jan 16, 2012 12:02 PM -
PSA Deletion through Process Chain
Hi Experts,
Currently I am working on the BW3.5 version. I would like to delete the old PSA req through Process Chain. I need some clarification. Please provide me your suggestions. Thanks in advance.
1)In SAP-BW 3.5 version, there is only one process type u2018Deleting Requests from the PSAu2019 is available to do this activity. This process type can delete the requests from the PSA only or Will it delete PSA and Change Log tables!!!!! In the SDN threads, some people said it delete the PSA requests only and some said it delete the PSA requests as well as Change Log.
2)Currently we are having six process chain and each has master & transaction data load(Data load through PSA).
Similarly I am planning to create six PSA deletion process chain which includes master & transaction data deletion. Here I am got little complication on finding Object Name(PSA Table Name).Please refer the screen shot.Is there any short cut to find full list of Object Name(PSA Table) which is currently available in the Process chain every day load.
3)On the request selection, i prefer "Only sucessfully booked/updated req.". I did not select"Only those req with errors,that are not booked in a data target". Please share your view on this selection preference.
http://img818.imageshack.us/img818/3963/psa1.jpg
Thanks,
RRHi Murali,
Thanks for the response. I do understand about the identifying the data source & PSA retention period(days). Let me elaborate my question little more. Thanks.
1)In SAP-BW 3.5 version, there is only one process type u2018Deleting Requests from the PSAu2019 is available to do this activity. This process type can delete the requests from the PSA only or Will it delete PSA and Change Log tables!!!!! In the SDN threads, some people said it delete the PSA requests only and some said it delete the PSA requests as well as Change Log.If i am not mistaken, In BW 3.5 PSA deletion will leads through Change Log also.Am i right?
2)Currently we are having six process chain and each has master & transaction data load(Data load through PSA).
Similarly I am planning to create six PSA deletion process chain which includes master & transaction data deletion. Here I am got little complication on finding Object Name(PSA Table Name).Please refer the screen shot.Is there any short cut to find full list of Object Name(PSA Table) which is currently available in the Process chain every day load.In the very day process chain, we are having many stages in master & transaction load. So I can go through info pkg level and find the data source,then i can identify the PSA table name. But is there any other simplest way to find the PSA table name.
http://img818.imageshack.us/img818/3963/psa1.jpg
3)On the request selection, i prefer "Only sucessfully booked/updated req.". I did not select"Only those req with errors,that are not booked in a data target". Please share your view on this selection preference. May i know that which option is optimal on normal business process. If i did not select both options, then will that delete all the request in PSA!!!
Thanks.
RR. -
Where to check the user id that who deleted the process chain
Dear Gurus,
If the process chain is deleted accidentally, can we check the user id used to delete. Where can we see the logs/information about that.
Regards
RamHi Ram,
When you delete something in BW/BI, a background job is assigned to the requested task.
To check the same use Tcode SM37, provide details: Job name as BI_DEL*, user name as *, Job status as Finished, and the date or date range in which the process chaing was deleted. Then execute the request.
It will show you all the jobs which were used to delete something in the BW/BI.
Check the log of the request and you will get the required information.
Cheers...
Puneesh -
Transport Request is not Generating while Deleting the Process Chain
Hello,
We have a old process chain across the Land scape(D->Q->P),now due to some reasons we have created a new one in Dev Sys.
Now we want to delete the Old Chain in Dev Sys and want to transport the same to remaining systems. But the problem is when we click on delete, straight away a pop up is coming as Do you want to delete the chain YES or NO.
Could any one of you suggest why it's not asking for a TR.
Thanks
Best Regards
Lucky.Thanks Chanda
One more problem
The dtp which is there in the old chain is used in the new one also, when I am trying to add to a transport request, It is displaying this dtp has been locked with the new request.
I have deleted the new chain request and as you suggested trying to create a new transport request for the old chain,after giving the new description for new transport, strangely a pop up is coming as Specify a Request.
When I continue, finally it is ending with errors.
The user terminated processing of objects REQUEST (In RED)
Operation cancelled at user's request(In YELLOW).
Can you suggest what could be the cause for this.
Thanks. -
Deleting Data/ Process Chains
Hi All,
I want to delete data from a number of cubes, and also after deleting I want to make sure that no data is to be loaded into these cubes via any process chains that are already present and loading. My Question is by looking at a cube how can I find out if a process chain is doing so?I found them,. If I do not see process chains does that mean that particular cube is not in process chains?
Message was edited by:
xcaliber
Message was edited by:
xcaliber -
I need to review the existing process chain
Hi Folks,
I need to review the existing hte process Chain which is running in the live system since 1 year.
My intention is what i need to considear while reviewing the process chain and i need to provide the some suggestion after review of the all chains.
Can any one have SAP Notes or SAP help info on this,
Thanks,
Ven.Hi,
Check in the following tables for Process Chaibn logs
RSEVENTCHAIN ----Event Chain Processing Event Table
RSEVENTHEAD -----Header for the event chain
RSEVENTHEADT -----Header for the event chain
RSPCCHAIN---------- Process chain details
RSPCCHAINATTR------- Attributes for a Process Chain
RSPCCHAINEVENTS------- Multiple Events with Process Chains
RSPCCHAINT--------------- Texts for Chain
RSPCCOMMANDLOG--------- System Command Execution Logs (Process Chains)
RSPCLOGCHAIN---------- Cross-Table Log ID / Chain ID
RSPCLOGS------------- Application Logs for the Process Chains
RSPCPROCESSLOG------------- Logs for the Chain Runs
RSPCRUNVARIABLES---------- Variables for Process Chains for Runtime
RSPC_MONITOR----------- Monitor individual process chains
Thanks
Reddy -
Sum of the keyfigure from the Infocube and need to be placed in process chain
Hi,
Before asking your advise, here is my development,
1. We are implementing retraction through APD and generating CSV files with Excel file data as Extracting Inputs.
2. So executed all queries in cutomer exit variant by reading this inputs file from AL11 and result files also placed in same location.
3. Now my query is,
Extractor parameters/inputs Excel file format is
Char1 Char2
100 RK
now I need to calculate the sum of the KF(i.e this is the kf in result files) value from generated file or info cube and that needs to be placed besides/concatenate extract parameters values.
Char1 Char2 Total of the KF
100 RK 1113888
How to fetch the total value for the KF from the cube and add this into extract parameters file and need attach this to email alert to the user.
Please advise. Your help is more appreciated.
Thanks,
RKHi Ramakrishna,
Just consider this option - using APD you can store data as per your requirement(rad file and cube data) and create report on direct update DSO and using information broadcasting send it to business user.
Regards,
Ganesh Bothe -
Error transport, when the DTP is implemented in Process chain
Dear all,
we are facing with a problem: when a DTP is already implemented in a process chain, the tranport of that depending transformation will get an error (return code 8) with message like this:
"Start of the after-import method RS_TRFN_AFTER_IMPORT for object type(s) TRFN (Aktivierungs
Transformation 04QJHDX7E941CZLCQDNNO6FQX06GB61B deleted in version M of DDIC
Action canceled
The user terminated processing of objects
Impact analysis of Transformation 04QJHDX7E941CZLCQDNNO6FQX06GB61B
The user terminated processing of objects
Error when activating Transformation 04QJHDX7E941CZLCQDNNO6FQX06GB61B
Dependent object DTPA DTP_049H3XG5UDOXUJ5RG44W3JN30 set to inactive
If we deleted the DTP in the process chain first, then reimport the transformation, the transport will be succesful. But that is not really the solution, isn't it? What is here the phenomenon? Do we need some setting else or is there any SAP notes for this?
Thanks a lot for advise!
Van Anh NguyenHi,
sorry that I may not be clear in my explaination. The Scenario is below:
- we create a transformation in C
- transport it to Q and create there DTP and process chain. It works well for a long time.
- then change something in transformation in C due to an enhancement
- try to transport transformation to Q, but it failed. Transformation inactive. DTP inactive.
- try again by deletion DTP in PC (in Q)
- reimport transformation again --> that works. Transformation transported and active in Q. But DTP lost and we have to re-create it in PC.
Question: is there any method to avoid the step of DTP-deletion ? Thank you!
Van Anh -
How to activate the deleted Process chain
Hello Experts,
Unfortuantely we have deleted few process chain by in RSPC .But we are in need of this Process chain . Could you please let us know whether there is any possibilties to get back the deleted process chain .
Please let us know where the deleted process chains are stored in the system.
Many Thanks for your Help.
Regards,
KumarHi,
you can restore it from a backup or in case the chain was transported from one of the target systems or the development system. No other way.
regards
Siggi -
Create Index fail in process chain
Hi Friends,
I have a process chain in production system which loads inventory data everyday at 6:00Am.
2 days back R3 production system failed and the data is not loaded into BI. It was stopped at Delete Index step. I have started again by selecting Repeat then it worked and the infopackage is also executed successfully.
After that it is failed at Create index step and giving message " Job cancelled after system exception ERROR_MESSAGE". Till then it is giving same problem everyday.
Could you guys help me how to solve this and execute the chain successfully.
Thanks & RegardsHi,
Try to create index for the cube manually i.e got info cube , Right Click -> manage->performance-> perform check index - if red do repair index, if it will not help then create index. After that run it though process chain
Hope it will resolve your problem.
Sangita
Maybe you are looking for
-
"Itunes has encountered a problem and needs to close" problem.
Before you read anything, please understand that I am literally being driven to tears right now and that I am on the brink of insanity. On Saturday, I tried to update my iPod with new songs and apps that I got from the iTunes stores since Friday. Itu
-
Which Module for Vocally challenged Inter C.A. Student
Hello, My name is Gaurav Bidasaria. I completed my C.A. Inter but started working as a tech blogger instead. I learned web designing, app development and few other skills during those years. Primary reason for opting this line: a) Interest in interne
-
How can I regenerate local KDC in Snow Leopard
I need to deploy multiple iMacs that will have been upgraded to 10.6. They will be bound to a directory server. My plan is to use Disk Utility to clone them from a master image (not that many of them). When I did this for machines running 10.5 there
-
I have Photoshop CS3 on Mac OSX 10.5.8 on a white MacBook and I'm using a Wacom CTE-630, and I always had the correct drivers. Yesterday I discovered that the brush and pencil tools were incapable of doing anything but a dot or a straight line while
-
Hi Folks, Adobe's US Holiday break has started. There may be little or no responses from Adobe until Jan 3. I won't be going back over old messages so resend anything that needs attention on Jan 3. Alex Harui Flex SDK Team Adobe Systems, Inc. http: