on 02-09-2006 9:55 PM
Hi Gurus:
What is the best method to clean up old & unused master data to improve performance.
Is there a way to know if a particular master data say Vendor 0000012345 is being used in which Cubes & Aggregates.
Your suggestions & help will be greatly appreciated.
Thanks & Regards
Hi MK,
In RSA1, you can right click an InfoObject and select Delete Master Data. The system will prompt you whether the SIDs should be deleted as well or not. You can read the Info on this screen for more details. The system will no tbe able to delete all the master data. It cannot delete the values that are being used in transactional data. You can then look up the Logs with object RSDMD, sub-object MD_DEL for details about usage of the master data.
Hope this helps...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhanu & AHP
I guess to play safe, I need to backup the whole infoobject right. I guess I have to save as CSV file or request basis guys for bkup...
Because logically a master data that has been created in production, may be used in a week or two weeks. So it should not be deleted frankly right..
<b>Is there a way to selectively delete old master data based on logic of dates</b> ?
hi MK K,
it's good to play safe
where does your master data come from ? r/3 or flat file ? you can always load again from r/3 or flat file(you keep the flat file source).
it's always suggested to load master data first, however in infopackage there is option for 'update even no master data exist ....'-for transaction upload, this will create records in master data, but without text and attribute. you can always upload master data to update again the text and attribute later(for attribute you must do attribute/hierarchy change run).
as far as i know there is no selective master data delete based on dates in terms of the master data keep a timestamp for last change. (unless time-dependent master data that have valid from date and valid to date).
hope this helps.
Dear A.H.P:
We r using the following options in 'RSDMD_DEL_MASTER_DATA'
CALL FUNCTION 'RSDMD_DEL_MASTER_DATA'
EXPORTING
I_IOBJNM = zobjnm
I_FLG_DELETE_ALL = ' '
I_FLG_DELETE_SIDS = 'X'
I_FLG_DELETE_SIDS_ASK = ' '
I_FLG_DELETE_TEXTS = 'X'
I_T_CHAVL = zchavl
I_FLG_DIALOG = ' '
I_FLG_FORCE_DELETE = 'X'
I_FLG_SIMULATION = ' '
I_WITHOUT_PROTOCOL = ' '
Its NOT working properly. What do u suggest to fix the problem...
Thanks a lot in advance...Best Regards
FYI : we r trying to delete unused master data. There r 9 million records currently & we have to start deleting unused ones
Hi Bhanu:
The infoobject that we want to clean up has <b>8-9 million</b> records...
So, do u think I can do this thru BATCH & how much time do you think it may take....Please suggest as this is a high priority work...
Any suggestions will be really appreciated. Waiting eagerly for your reply...
Thanks & Regards
Dear A.H.P
The infoobject that we want to clean up has 8-9 million records...
So, do u think I can do this thru BATCH & how much time do you think it may take....Please suggest as this is a high priority work...
Any suggestions will be really appreciated. Waiting eagerly for your reply...
Thanks & Regards
dear MK K,
try create program (se38) and schedule in background,
remark * I_T_CHAVL =, i haven't fix the code if i_t_chavl used, but tested the program done well.
hope this helps.
REPORT Z_DEL_MASTER.
tables : RSDIOBJ.
select-options:
s_iobj for RSDIOBJ-IOBJNM.
start-of-selection.
loop at s_iobj.
call function 'RSDMD_DEL_MASTER_DATA'
exporting
I_IOBJNM = s_iobj-low
I_FLG_DELETE_ALL = 'X'
I_FLG_DELETE_SIDS = 'X'
I_FLG_DELETE_SIDS_ASK
I_FLG_DELETE_TEXTS = 'X'
I_T_CHAVL =
I_FLG_DIALOG = ''
I_FLG_FORCE_DELETE = 'X'.
I_FLG_SIMULATION = ''
I_WITHOUT_PROTOCOL = ''
endloop.
there is sap program RSDMD_DEL_MASTER_DATA_TEXTS, i haven't test
Dear A.H.P:
THANKS A LOT for your help & reply...
so S_IOBJ is the info object whose master data has to be deleted right...it seems when I run/schedule the program it will prompt me for object name ...that's pretty much right...
FYI - I don't have access to create pgm at the client place. I will try getting one. The code I mentioned was done by ABAP guys...
Best Regards
hi MK K,
yes, you are right, s_iobj is the infoobject(s)' master data to be deleted. yes, the program will ask for infoobject(s), you can have more than one infoobject to be deleted, after run the program and click the dropdown then you can type in more than one infoobject, then click 'save', it will be saved as 'variant'. use this selection to run in background. you can run in backgoround from se38 or schedule with sm36.
hope this helps.
MK
To Improve Performance
make sure you clen up your PSA either Master Data or Transaction data once in 10 days. This is recommanded.
Generally we won't clean up any data from objects in Production system except PSA. The best way is to do Archiving for old Data so that we won't loose any data and we can always retreve back Archived Data when ever we need.
Hope I answered your question.
Thnaks
sat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.