Delete Selection using Process Chain
Hello all,
Does any one know how to create a selected deletion using a Process Chain for DSO and Cube objects?
Thanks
Paulo
Hi,
You can use transaction delete_facts to generate program for selective deletion and use the program in your PC to automate it.
You can also try program RSDRD_DELETE_FACTS as well for cubes.
check the below links
Selective deletion in process chain for DSO and cube
https://wiki.sdn.sap.com/wiki/display/BI/Schedulingselectivedeletioninprocesschain-%28infocube..%29
Regards,
Venkatesh
Similar Messages
-
Delete Initialization using Process Chain
Hi Experts,
How to delete initialization using process chain? Additional question, why does our DTP couldn't get any data from PSA? We just transfer our DTP to other process chain and left its associated infopackage from the original process chain but when we check our extraction, our DTP always gets zero (0) records. What do we need to put in our DTP settings? and infopackage and DTP should always be in the same process chain??
Thanks,
nipsHi UserPV,
Thanks for your inputs!
Anyway, our InfoPackage in the other Process chain executed succesfully and has an extracted data. Now, our DTP can't get any data from the PSA where the extracted data of InfoPackage resides first. Is there any other way around to separate DTP and its associated infopackage in different process chains? Or those objects should be in the same process chain?
Another questions, how can we delete an initialization using a process chain? and is there a function module that can we use to remove the initialization request so that we could re-initialize a process?
Thanks,
nips -
Delete PSA Using Process Chain
I need to schedule some PSA deletes using a process chain and wanted to make sure I'm doing the right thing.
I have MD 0WBS_ELEMT_ATTR and in RSA1 if I click on "manage" I can see my PSA's that were loaded. Yeah, there were 2 different loads.
If I go to RSPC and create a variant to delete this PSA after its 45 days old I look up the PSA and I see the following:
/BIC/B0000782 Work Breakdown Structure Element (WBS Element)
0WBS_ELEMT_ATTR_DA Work Breakdown Structure Element (WBS Element)
Using se16 looking up this table: /BIC/B0000782000 it looks like it doesn't have any records so my question would be:
Is /BIC/B0000782 the PSA?
What is 0WBS_ELEMT_ATTR_DA?
Thanks,
MikeOK here are my answers:
1) You seem to be disagreeing. One says use the /BIC/B0000782 the other says use 0WBS_ELEMT_ATTR_DA in the Process Chain.
I used /BIC/B0000782 in the process chain.
2) When I look up 0WBS_ELEMT in table RSTSODS using the ODSNAME I see:
ODSNAME VERSION DATETO DATEFROM OBJSTAT ODSNAME_TECH
0WBS_ELEMT_ATTR_DA 000 9999/01/01 1998/01/01 ACT /BIC/B0000900000
0WBS_ELEMT_TEXT_DB 000 9999/01/01 1998/01/01 ACT /BIC/B0000541000
these are the internal tables for the transfer rules I guess
3) /BIC/B0000900000 is the internal table for 0WBS_ELEMT_ATTR_DA correct?
yes
4) /BIC/B0000782 which I saw when I was looking up the PSA entry for 0WBS_ELEMT_ATTR is the internal table for the PSA?
yes
5) Still confusing is that neither /BIC/B0000782000 or /BIC/B0000900000 has any records.
/BIC/B0000782000 must be the default table for the PSA, and /BIC/B0000782001 did have the same number of records I saw on RSA1 (Manage), and /BIC/B0000900000 is the internal table for the rules
so we are all good!
Mike -
Selectively deleting load from ODS using Process Chain
Hi All,
I have a requirement in which I have to delete the last load of the current month if any and leave the load of the last month untouched which has to be done using process chain.
I will try to elaborate the condition required like say we have a data for June in the ODS already (date 10) and when the load for July will come it will not touch the June data but on 2 July the load of first July will be deleted without touching the load from June 10. (The PC will run for the first 10 days of the month).
How can this be implemented, There seems to be some FM for this but are there any other method by which the same can be implemented without much use of ABAP.
Any relevant suggestion would be awarded points
Regards,
SamvedHi Bhanu,
Thanks for the reply.
I tried to generate the program but that can be used for selective deletion from the ODS i think soo.
But my requirement is basically to delete the complete request from the ODS and not any selective deletion and at the same time I cannot use the complete deletion option as that will delete the request from the last month also.
Are there any optioin at the level of Info package which can be used for these type of deletion.
Regards,
Samved -
Selective Deletion From Cube and ODS using Process chain
Hi all,
is there any way that i can include selective deletion in a process chain, there is no stand process types for selective deletion, I need to delete the closed items from cube and ods and i need to schedule this??? any ideas?
Thanks,
Shetty.Shetty,
You can delete Data from this using One custom Program. You need to use either RSDRD_SEL_DELETION(function module ) or RSDRD_BUILD_REPORT_FOR_BATCH(Function Module). there is a parameter in above functioen modules I_THX_SEL which needs to be populated using selections.
or
You need to schedule the Background job from Manage screen on Monthly Basis(Provided that selection should be fixed in every month).
I will update the thread with psudo code.
all the best.
Regards,
Nagesh Ganisetti.
Message was edited by:
Nagesh Ganisetti -
Deletion of changelog data using process chain
Hi All,
I have a requirement where i have to delete the changelog data for particular set of data using process chain.we have an option of deleting the entire data from changelog but how to delete only a particular set of data?????If you are on BI 7 than,
Choose "Deletion of Requests from the Change Log" from process category Further BI Processes by double-clicking.
Create a new process variant and in the variant maintenance screen select Type of Object as Change Log Table
Under Name of object select DSO name
Specify the requests that need to be deleted by determining the days or dates. You also have the option to specify whether you only want to delete successfully updated requests, and/or only incorrect requests that are no longer updated in an InfoProvider. -
How to delete requests in PSA using Process chains
Hi All,
Can anyone explain me how to delete all the requests in PSA using Process chains.
This is what I did...
1. use Process type 'Deletion of Requests from PSA'
2. Settings:
Object Type - PSA table
Object Name - <Datasource name>
Older than - 0 (Zero) days
These settings doesn't work. Can you please let me know exact settings to use for deleting all the requests in PSA of a datasource.Hello Praveen,
That's what I thought too. But if I use '1' one day, what if I need to run it twice same day? So this doen't work for my requirement.
Any other suggestions?
Thanks. -
Delete Master Data using Process Chain?
Hi Friends,
How do I delete Master Data using Process Chain?
Thanks,
PradeepHi Bhanu,
I am not sure why we would want to delete MD. But that is the task given to me. I actually know it is not possible. But is there a way to delete MD using chains?
Thanks,
Pradeep -
How to delete Master data using Process Chain
I need to delete data in respective data targets such as Infocubes, DSOs & Master data Infoobjects. It was fine with Infocubes & DSOs using respective process type. But the issue is with Master data Infoobjects.
Is there any process type by using which I can delete data in Master data Infoobjects using process chain?Murali,
Master data object process type is not there because in BW, master data is conformed or is shared by other infoproviders. Due to this dependency, master data loading is a bit more complex. You need to drop all the data from all the infproviders which are using the master data you want to delete.
-Saket -
Delete some hierarchies using process chain?
Hello,
I wonder if there is anyway to delete some hierarchies from InfoObjects using process chain.
For example:
- In the product InfoObject, there are 5 existing hierarchies which are HIER1, HIER2, HIER3, HIER4, HIER5.
- In the process chain, there is a schedule to load product hierarchy every week.
- The requirements is to delete HIER5 before loading HIER5 into the product InfoObject again and would like to add this process in the process chain as well.
The final solution that we think it might help is by writing in ABAP.I'm not sure if there any alternative way to serve this requirement without using ABAP program?
Any suggestion would be sincerely appreciate.
-WJ-Closed without solution!
-
Delete only the Fact table using process chain?
Hi Experts,
I have an issue,where i have to delete the contents of the Infocube.So when i drag the Process type "Delete Contents of the Data target" into the process chain.I Am able to delete the contents of the cube.
But in my case i need to delete only the FACT table and not the DIMENSION table.The system does prompt a message to delete FACT only /FACT & DIM TAbles.
Please advice if its possible to Delete the FACT table only using process chains
thanks in advanceHi ,
check this link ..
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6473e07211d2acb80000e829fbfe/content.htm
Regards,
Shikha -
HOW TO LOAD R/3 DATA INTO SAP BI USING PROCESS CHAINS?
Hi,
Can we load R/3 data into BI using process chains?... I loaded data from R/3 into Infocube using generic extraction using view... took 2 tables EBKN and EBAN and ceated view.
In PSA I can find all the 2388 records but when I load into datatarget in transferred tab there are 2388 records but in added colum i could find only 2096.....
I deleted the request and want to load through process chains....... but how to do ?????? without flat file ...can we laod using process chains?
I appreciate any inputs.......
Regards,
Prasanthi.did you even bother looking at the links in my previous posts???
read the docs...try yourself...if you encounter specific issues, you can post them on the forum...
if you're really expecting somebody to post a step by step for process chain, i think you can wait a long, long time... -
How to Update Infoobject Masterdata using Process Chain
Hello,
I am trying to update the Master Data in Infoobjects (text and Attr) by using Process chain.
The steps used are
1. Delete data from PSA
2. Execute Infopackage
3. Execute DTP for Attr
4. Run Attr Change
5. Execute DTP for TEXT
While updating Text, I am receiving error for duplicate entry.
I am trying understand the correct process to update Infoobject Master Data in BI7 (SCM5/5.1). Please adivse.
Thanks,
SanjuHI Narendra,
In process chain functions, you can use the process type with the name Trigger Event Data Change (for BEx Broadcaster)
The above process type must be used to determine which InfoProviders should be checked for data changes. You can specify multiple InfoProviders within this process type either directly (by simply entering the names of the InfoProviders) or indirectly by specifying the name of the variant based on one of the following process types:
Execute InfoPackage (LOADING)
Activate DataStore Object Data
Update DataStore Object Data (Further Updating)
Read PSA and Update Data Target
Hope this helps
Regards,
Sathya -
Loading from flat file to dso using process chains
hi,
i am using BI7.0
i am new to process chains
can anyone explain how to load data from flat file to dso using process chains(i have created all the objects created) preffered if explained with an exampleYou can find a lot info if you can searh SDN.
Metachain
Steps for Metachain :
1. Start ( In this variant set ur schedule times for this metachain )
2.Local Process Chain 1 ( Say its a master data process chain - Get into the start variant of this chain ( Sub chain - like any other chain ) and check the second radio button " Start using metachain or API " )
3.Local Process Chain 2 ( Say its a transaction data process chain do the same as in step 2 )
Steps for Process Chains in BI 7.0 for a Cube.
1. Start
2. Execute Infopackage
3. Delete Indexes for Cube
4.Execute DTP
5. Create Indexes for Cube
For DSO
1. Start
2. Execute Infopackage
3. Execute DTP
5. Activate DSO
For an IO
1. Start
2.Execute infopackage
3.Execute DTP
4.Attribute Change Run
Data to Cube thru a DSO
1. Start
2. Execute Infopackage ( loads till psa )
3.Execute DTP ( to load DSO frm PSA )
4.Activate DSO
5.Delete Indexes for Cube
6.Execute DTP ( to load Cube frm DSO )
7.Create Indexes for Cube
3.X
Master loading ( Attr, Text, Hierarchies )
Steps :
1.Start
2. Execute Infopackage ( say if you are loading 2 IO's just have them all parallel )
3.You might want to load in seq - Attributes - Texts - Hierarchies
4.And ( Connecting all Infopackages )
5.Attribute Change Run ( add all relevant IO's ).
Start
Infopackge1A(Attr)|Infopackge2A(Attr)
Infopackge1B(Txts)|Infopackge2B(Txts)
/_____________________|
Infopackge1C(Txts)______|
\_____________________|
___________________|
__\___________________|
___\__________________|
______ And Processer_ ( Connect Infopackge1C & Infopackge2B )
__________|__________
Attribute Change Run ( Add Infobject 1 & Infoobject 2 to this variant )
1. Start
2. Delete Indexes for Cube
3. Execute Infopackage
4.Create Indexes for Cube
For DSO
1. Start
2. Execute Infopackage
3. Activate DSO
For an IO
1.Start
2.Execute infopackage
3.Attribute Change Run
Data to Cube thru a DSO
1. Start
2. Execute Infopackage
3.Activate DSO
4.Delete Indexes for Cube
5.Execute Infopackage
6.Create Indexes for Cube
Some Links
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 -
Data load Error using Process chain
Hi,
In NW2004s when I schedule delta loads for 2LIS_11_VAITM using process chains, when there is zero delta, the manage screens of the infocubes show green light with zero records correctly whereas the process chain log display shows red. The details of the process monitor show zero records. Is this right? I assume that even if there is zero delta, the log must show green and all the subsequent processes like activation of ODS, deleting of PSA, construction of indexes must be carried out. Please confirm. Is this a bug?
Thanks.
ParamHi Victor,
Can you please advice how you solved issue as we are having similar issue where it works fine when loaded manually but throws communication error when process chain runs, following is error message..
Communication error: call FM RSSDK_DATA_REMOTE_GET
Thanks in advance for your help!!
Sandeep
Maybe you are looking for
-
Options -> Text Editor -> C/C++ missing intellisense entry. Intellisense not working. Solutions to turn options for the editor off and on are not working. The intellisense entry is present for other languages, such as C#, but not C/C++. By not w
-
How to secure firewire drive data for multi user mac ?
I have a couple of external firewire hard drives attached to my mac which contain all my work files. My 6 yr son has started using my mac so I have set him up his own account and set up the parental controls etc. BUT - is there any way I can set thin
-
How to handle empty field in idoc to file scenario
some field of IDoc is empty, there occurs error. like <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:vendor_list/vendor[3]/company_cod
-
Apply an iTunes song to a slideshow
I have changed the start and stop times of a particular song in iTunes (under the Get Info/Options feature) because I don't want the whole song to play for my slideshow. But when I drag the song from the Audio list into the Slideshow slides and then
-
Summary for all Profit Centers in the Profit Center Report
There should be a summary for all Profit Centers in Profit Center Report. Now there is only summary by Sort Code but should be also summary for all Sort Codes.