Delete Product in BW Master data (very low performance)
On BW Production,We want to delete wrong product in BW so we use standard
function to delete product but it takes long time to delete that.So we
want some program to delete product for faster than standard
function. Product Infoobject is 0CRM_PROD in BW.We want this program for
test in Development Server and QA Server to test but it's urgently in
Production Server.
In Standard Program to delete Product data in 0CRM_PROD we use via
1. go to 0CRM_PROD Infoobject
2. Right Click and go to maintain Master data
3. Search and Select wrong data to delete
4. Click Delete button
8. Click Save button
9. It will display message and then click With SID Button
10.Waiting it complete.
We select wrong data in 300 records and it take time 4 hrs which it takes long time. so Please find program for help us to delete data.
Thanks you very much.
Hi
Check if the function module RSDMD_DEL_MASTER_DATA works out for you.
Couple of import parameters:
I_IOBJNM -
Give infoobject name
I_T_CHAVL---Characteristic values
I_FLG_FORCE_DELETE-- to force delete
Use I_FLG_SIMULATION to simulate first and then delete..
Try writing a ABAP program which can pass those 300 entry values to I_T_CHAVL..
Let us know if it works or not..
Regards
Manga(Assign points)
Similar Messages
-
Deleted and adjusted the Master data table, sid table and text table
Deleted and adjusted the master data table, sid table and text table of an zinfoobject after removing and adding attributes to that zinfoobject and was trying to activate it and system was giving me messages that cannot activate infoobject something like this.
So, i deleted and adjusted the master data table, sid table and text table. Since then getting messages right after executing the query because in that query that infoobject is getting used.
So the messages i am getting is:
SID 9 for characteristic Zinfoobject could not be converted CL_RSDM_READ_MASTER_DATA->_SIDVAL_DIRECT_READ2
System error in program SAPLRRK0 and form MEGA_SORT_M_02-02- (see long text)
Please help me in fixing this whole thing.
Thanks
SAPBWSAP BW,
After adjusting your Master Data IOBJ and deleting and reloading the data - run a change run to adjust the references to the SIDs and then see if your query runs - run program RSDDS_AGGREGATES_MAINTAIN from se38 and select your IOBJ in the next screen..
Arun
Assign points if useful
P.S I did notice that in your earlier post for the same topic - you have had 12 answers / suggestions Please maintain only one thread as previously suggested..
My 0.02
Message was edited by:
Arun Varadarajan -
Select single to RSEG with very low performance
Hello experts,
We have recently upgraded our sap basis from 701 to 740 and we are experiencing a very low performance with the following abap instruction:
select single * from rseg into lw_rseg where ebeln = lw_output-pedido and
ebelp = lw_output-item and
kschl = lw_output-kschl.
Could it be anything from the upgrade?
Any suggestions?
If we change the "*" for only one field of the RSEG table, would the improvement in te performance be significant?
Thank you.
Best regards,
Raquel OliveiraHi, Raquel!
In SELECT statement you are not using the key fields for RSEG table.
Replacing "*" by a single field won't do the trick.
In our system we've got a table index on EBELN and EBELP fields in RSEG and it helps a lot.
In case you don't want to set additional indexes you can find all incoming invoices for the purchasing document items in EKBE table and then go to RSEG having BELNR, GJAHR and BUZEI fields.
If you already have table index on RSEG with EBELN & EBELP fields - you can trace SQL statement in ST05 and check whether it uses the index.
And apart from that - anything can be from upgrade -
Hi
First.. sorry for Bad translating.
i notes very low performance of my FW800/400 (i think after EFI/SMC Firmware Update)
FW800/400 More slowly the USB2 and FW800 cannot see External Devices that working fine with my macbook pro.Hey Noorldin,
I think I have a similar problem. I have always had some issues with the ports (owned the MacPro since the first month it came out) but several months ago things took a turn for the worse. External harddrives no longer work properly. USB drives won't mount, firewire drives will mount but the transfer rate is roughly 1MB a sec and after ~10 MB I get an error and the transfer stops. Other peripherals work for the most part but not well. My external usb microphone will not stop receiving audio signals when turned off and my canon HV20 drops frames during transfers. My awesome fujitsu scansnap scanner, printer, and usb mouse transmitter all work fine though. I used to be able to play many 1080p videos at the same time, now I can not play one without frames dropping even when booted into a new clean internal HDD. The MacPro will only sleep if I manually set it to sleep. The autosleep feature will have the internal hdds spinning up and down all night.
I spent 20 min on hold to get an Apple rep and then 47 min on hold to get an Apple Specialist. The specialist was very kind and tried many things with me. In the end, the specialist concluded that my Logic board or CPUs were most likely bad and that I should get them tested and possibly replaced. You may need the same.
One weird thing I tried just the other night was to unplug all USB and Firewire devices, including my 30 in display and wireless mouse hub, and then I plugged in just one firewire hdd. It worked fine!? So, I will continue testing on my own for a while and let you know what I find out from my tests or from the Apple repairs, as I have only seen one other person with an issue like mine and what I believe might be yours too. I have seen many issues with the front ports not working right though. -
Deleting old/unsued/junk Master Data in Production
Hi Gurus:
Please let me know the most efficient way to clean up old/unused/junk Master Data.
My client has a master data that is virtually used in all the cubes & has 8 million records in it.
What would you suggest - the best method to clean up
I have an idea - what we craete a new Master Data object & then in update rules we mention what can go into the object, and then do full load from R/3 to the new info object. Will this approach be good?
Please let me know...Thanks & RegardsHello,
> If the values of the InfoObject are a part of transaction data in any data target, the system will not let you delete it.
> You can reload the master data and then run the attribute change run. This will over write all the old data with new data from Production.
> You can do this in RSA1 > Tools > Apply Hier/Attr change. Click on InfoObject List and see if you char is there.
> If there is no new master data then there is nothing for the system to activate. As for the old records: If they are stored as transactional data in a data target, the system will not let you delete the entries.
Hope the above points help to solve your problem
Thanks
VArun -
Deleting a record from Master data
Hi all,
I need some help with deleting a record from the master data.I did go to the master dta maintenance screen and selected the record to be deleted. I saved it. I received the message, "master Data record cannot be deleted".
I then went into transaction slg1 to check for the details of the record. A message stating " Master data record XXX is being used in the cube /BIC/Dzzzyyy312.
This record is no longer needed by the end user and was requested to be deleted. Could some one tell me if there is a possibility to delete this unused masterdata record. Your suggestions are appreciated.
Regards!Hi Sumana,
Check this...Similar Post..
MAster data deletion throws a dump
Hope it helps
Srini -
Duplicate records found while loading master data(very urgent)
Hi all,
One infopackage in the process chain failed while laoding the master data(full update).Its showing the following error-->duplicate record found ..1 record used in /BI0/PTCTQUERY and the same record occured in /BI0/PTCTQUERY tables.
can anyone give me the solution...its very urgent...
Thanks & Regards,
ManjulaHi
You can see the check box in the Processing tab page. Make a tick mark for the check box Ignore Duplicate Data Records indicator . When multiple data records that have the same key are transferred, the last data record in the request is updated to BI. Any other data records in the request with the same key are ignored.
Help says that:
To maintain consistency, ignoring duplicate data records is only possible if the data is updated serially. A serial update is when data is first updated into the PSA then, after it has been successfully written to the PSA, it is updated into the master data or text tables of the InfoObject.
If a DataSource transfers potentially duplicate data records or if you manually set the Ignore Duplicate Data Records indicator, the PSA Only update type is automatically selected in the scheduler.
hope it clears ur doubt, otherwise let me know.
Regards
Kiran -
Want to delete 0BPARTNER and 0PRODUCT master data
Dear friends / Experts
i want to delete the whole master data which is availabe in 0BPARTNER and 0PRODUCT , while deleting the master data using right click and deleting --> am getting the message like some of the master data can not be deleted but using se11 i came to know that still 3 million records are available in database.
so am kindly requesting you to help me out to delete those master data ..
even i have tried using 'RSDMD_DEL_MASTER_DATA' functional module too.
but same result i got i.e. some master data can not be deleted.
please help me friends....
thanks in advance...
regrds
anandHi,
As mentioned earlier, you need to delete all the transaction data wherever this master data is being used. One option is to use to the where used list from the master data and the other and more effective way to do the same is to first right click and delete the master data, it will give u a message that all the master data cannot be deleted. After that goto t-code SLG1 and check the log for deletion, it will tell u the exact objects where this master data is being used and then you can go ahead and delete the same.
You can also use t-code SE14 to delete the data but keep it as the last option.
Regards,
Arminder singh -
"master data deletion for requisition" before master data loading
Hello Gurus,
in our bw syetem , for process chains for loading master infoobjects, all include "u201C master data deletion for requisition" ABAP
process except for one process chain. my question is:
why that process chain for master data loading is different from others as for lacking "master data deletion for requisition" in it?
so it does not matter if you include " master data deletion for requisition" ABAP process in process chain for master data loading ?
Many thank.Hi,
ABAP Process means some ABAP program is being executed in this particular step.
It's possible that for all of your process chains except for that one requirement was to do some ABAP program processing.
You can check which program is executed by following below process:
Open your process chain in planning view -> Double click on that particular ABAP process -> Here you can see program name as well as program variant.
Hope this helps!
Regards,
Nilima -
Hi,
I am using Master Data Service for couple of months now. I can load, update, merge and soft delete data in MDS. Occasionally we even have to hard delete data from MDS. If we keep on soft deleting records in a MDS table eventually there will be huge number
of soft deleted records.
Is there an easy way to hard delete all the soft deleted records from all MDS tables in a specific Model.
Regards,
RehanWe did develop a Transact SQL procedure for this using the staging interface. It works and can be used freely :)
God Luck!
Jan Isacsson
USE [MDS]
GO
/****** Object: StoredProcedure [dbo].[AutoPurge] Script Date: 4/21/2015 10:39:21 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- To be used without warranty but it works even for collections
-- Jan Isacsson (www.independent.se) 2015-04-21
CREATE PROCEDURE [dbo].[AutoPurge]
@modelName nvarchar(200) = 'PDWmReferenceData',
@versionName nvarchar(200) = 'VERSION_1',
@entityName nvarchar(200) = NULL
AS
DECLARE @name nvarchar(200)
DECLARE @tableName nvarchar(200)
DECLARE @stagingName nvarchar(200)
DECLARE @collectionTable nvarchar(200)
DECLARE @collectionMemberTable nvarchar(200)
DECLARE @isFlat INT
DECLARE @sqlIsFlat NVARCHAR(512)
DECLARE @sqlGetEntityTable NVARCHAR(512)
DECLARE @sqlGetCollectionTable NVARCHAR(512)
DECLARE @sqlGetCollectionMemberTable NVARCHAR(512)
DECLARE @sqlGetStagingBaseTable NVARCHAR(512)
DECLARE @sqlLoadPurgeConsolidated NVARCHAR(512)
DECLARE @sqlLoadPurgeLeaf NVARCHAR(512)
DECLARE @sqlRinseStaging NVARCHAR(512)
DECLARE @sqlPurgeCollections NVARCHAR(512)
DECLARE @sqlCheckErrorStaging NVARCHAR(512)
DECLARE @batchTagName NVARCHAR(512)
DECLARE @executePurge NVARCHAR(512)
DECLARE @errorMsg NVARCHAR(512)
DECLARE @i INT
DECLARE @id INT
DECLARE leaf_entity_cursor CURSOR FOR
select e.ID, e.Name from
mdm.tblModel m,
mdm.tblEntity e
where
e.Model_ID = m.ID
and m.Name = @modelName
DECLARE noleaf_entity_cursor CURSOR FOR
select e.ID, e.Name from
mdm.tblModel m,
mdm.tblEntity e
where
e.Model_ID = m.ID
and m.Name = @modelName
and e.IsFlat = 0
-- Leaf purge
SET @batchTagName = '''AutoPurge'''
OPEN leaf_entity_cursor
FETCH NEXT FROM leaf_entity_cursor INTO @id, @name
WHILE @@FETCH_STATUS = 0
BEGIN TRY
if @name = @entityName or @entityName is null
BEGIN
SET @sqlGetEntityTable = N'select @tableName = EntityTable from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
EXEC sp_executesql
@query = @sqlGetEntityTable,
@params = N'@tableName NVARCHAR(100) OUTPUT',
@tableName = @tableName OUTPUT
SET @sqlGetStagingBaseTable = N'select @stagingName = StagingBase from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
EXEC sp_executesql
@query = @sqlGetStagingBaseTable,
@params = N'@stagingName NVARCHAR(100) OUTPUT',
@stagingName = @stagingName OUTPUT
SET @sqlRinseStaging = N'delete from stg.' + @stagingName + '_Leaf where BatchTag = ' + @batchTagName
EXEC sp_executesql @query = @sqlRinseStaging
SET @i = @@RowCount
SET @sqlLoadPurgeLeaf = N'insert into stg.' + @stagingName + '_Leaf (ImportType, ImportStatus_ID, BatchTag, Code) select 6, 0, ''AutoPurge'', Code from mdm.' + @tableName + ' where Status_ID = 2'
EXEC sp_executesql @query = @sqlLoadPurgeLeaf
SET @i = @@RowCount
if @i != 0
BEGIN
SET @executePurge = N'EXEC stg.udp_' + @stagingName + '_Leaf @VersionName = ''' + @versionName + ''', @LogFlag = 1, @BatchTag = ' + @batchTagName
EXEC sp_executesql @query = @executePurge
SET @i = @@RowCount
SET @sqlCheckErrorStaging = N'select ErrorCode from stg.' + @stagingName + '_Leaf where BatchTag = ' + @batchTagName + ' and ErrorCode != 0'
EXEC sp_executesql @query = @sqlCheckErrorStaging
SET @i = @@RowCount
if @i != 0
BEGIN
SET @errorMsg = 'Error in purging leaf entity: ' + CONVERT(nvarchar,@id)
RAISERROR (@errorMsg, 16, 1 )
END
END
END
FETCH NEXT FROM leaf_entity_cursor INTO @id, @name
END TRY
BEGIN CATCH
SET @errorMsg = ERROR_MESSAGE()
PRINT @errorMsg
BREAK
END CATCH
-- Consolidated purge
OPEN noleaf_entity_cursor
FETCH NEXT FROM noleaf_entity_cursor INTO @id, @name
WHILE @@FETCH_STATUS = 0
BEGIN TRY
if @name = @entityName or @entityName is null
BEGIN
SET @sqlGetEntityTable = N'select @tableName = HierarchyParentTable from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
EXEC sp_executesql
@query = @sqlGetEntityTable,
@params = N'@tableName NVARCHAR(100) OUTPUT',
@tableName = @tableName OUTPUT
SET @sqlGetStagingBaseTable = N'select @stagingName = StagingBase from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
EXEC sp_executesql
@query = @sqlGetStagingBaseTable,
@params = N'@stagingName NVARCHAR(100) OUTPUT',
@stagingName = @stagingName OUTPUT
SET @sqlRinseStaging = N'delete from stg.' + @stagingName + '_Consolidated where BatchTag = ' + @batchTagName
EXEC sp_executesql @query = @sqlRinseStaging
SET @i = @@RowCount
SET @sqlLoadPurgeLeaf = N'insert into stg.' + @stagingName + '_Consolidated (ImportType, ImportStatus_ID, BatchTag, HierarchyName, Code) select 4, 0, ''AutoPurge'', ''' +@entityName + ''', Code from mdm.' + @tableName + ' where Status_ID = 2'
EXEC sp_executesql @query = @sqlLoadPurgeLeaf
SET @i = @@RowCount
if @i != 0
BEGIN
SET @executePurge = N'EXEC stg.udp_' + @stagingName + '_Consolidated @VersionName = ''' + @versionName + ''', @LogFlag = 1, @BatchTag = ' + @batchTagName
EXEC sp_executesql @query = @executePurge
SET @i = @@RowCount
SET @sqlCheckErrorStaging = N'select ErrorCode from stg.' + @stagingName + '_Consolidated where BatchTag = ' + @batchTagName + ' and ErrorCode != 0'
EXEC sp_executesql @query = @sqlCheckErrorStaging
SET @i = @@RowCount
if @i != 0
BEGIN
SET @errorMsg = 'Error in purging consolidated entity: ' + CONVERT(nvarchar,@id)
RAISERROR (@errorMsg, 16, 1 )
END
END
SET @sqlGetCollectionTable = N'select @collectionTable = CollectionTable from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
EXEC sp_executesql
@query = @sqlGetCollectionTable,
@params = N'@collectionTable NVARCHAR(100) OUTPUT',
@collectionTable = @collectionTable OUTPUT
SET @sqlGetCollectionMemberTable = N'select @collectionMemberTable = CollectionMemberTable from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
EXEC sp_executesql
@query = @sqlGetCollectionMemberTable,
@params = N'@collectionMemberTable NVARCHAR(100) OUTPUT',
@collectionMemberTable = @collectionMemberTable OUTPUT
SET @sqlPurgeCollections = N'delete mdm.' + @collectionMemberTable + ' from mdm.' + @collectionTable + ' cn inner join mdm.' + @collectionMemberTable +
' cm on cm.Parent_CN_ID = cn.ID where cn.Status_ID = 2'
EXEC sp_executesql @query = @sqlPurgeCollections
SET @i = @@RowCount
if @i != 0
BEGIN
SET @sqlPurgeCollections = N'delete from mdm.' + @collectionTable + ' where Status_ID = 2'
EXEC sp_executesql @query = @sqlPurgeCollections
SET @i = @@RowCount
END
END
FETCH NEXT FROM noleaf_entity_cursor INTO @id, @name
END TRY
BEGIN CATCH
SET @errorMsg = ERROR_MESSAGE()
PRINT @errorMsg
BREAK
END CATCH
CLOSE noleaf_entity_cursor
DEALLOCATE noleaf_entity_cursor
GO
JAIS -
Very Low Performance And Stability gaps
Hello, first of all, sorry me because of my low level english.
I have recent bought new pieces for my sistem, my older CPU was a Duron 1300 (overclocked 1400) in a Gigabyte Ga-7zxr mobo with 512 SDRAM 133 mem.
I choosed a MSI mobo, the KT6 delta (sr), a 2600 XP+ and 512 DDR 333, with no knowed fabricant.
I get a lower performance in my new system than the older, isn't normal.
I have so much questions, please reply me so much you can, i'm getting crazy
I've read in other posts some specifications about Amp' consume in the mobo.
Where can i see it? Say me and i'll post it.
My 2600 xp+ is the model 8 (not the actual 10), it have 256 Kb cache instead 512 and run over 200 mhz over the model 10. 167 x 12.5.
(wrong forum?, could be, dont reply me to it if you think i should no make this question)
Well, go with mobo problems.
My monitor refresh (like if I change the resolution) so often, I don't know why.
In the dxdiag, in the 3D test, i get a cube no well showing, i only see a bad image, like if the cube is turning hyper velocity.
In all sandra test i have a performance according with my system, but when i get to ride games, i get low performance than in my older system
My mem isn't kingston and isn't of any knowed mark. I only could to get kingstom memory instead, i would do it? is really so recomended?
Well, my best crazy head is about configuring the bios. I don't know what to put in this values:
System Bios Cacheable: Enabled.
C000, 32k Shadow: Enabled.
SDRAM frequency Auto
SDRAM CAS# latency
Row precharge Time
Ras Pulse Width
Ras To CAS delay
Write recovery cycle
Sdram Burst Length: 4qw
SDRAM 1T Command: Enabled
Fast Command Turbo
FAST R"R turnaround Enabled
about AGP:
AGP Master 1 WS Write
AGP Master 1 WS Read
AGP READ Synchronization
PCI LAtency Timer 32
Frecuency..
Spread Spectrum = 0.5%
CPU FSB 166
CPU RATIO Auto
CPU CORE Auto
Vlink Voltage Auto
DDr Voltage Auto
AGP Voltage Auto
Too much question, really, i know.
I'm thinking to install a CPU Cooler in the mobo chipset and in the RADEON chipset also, must i do it?
All my CPU details are below.
Thanks for all.!!!!The model 8 Of AMD AThlon XP is a 333 FPU. I've read it in AMD and other pages.
i've reduced the case temp by putting another coller in this, but it makes really noise. The new Case temp is 48º C. I'm thinking about to buy another case, with some coolers.
May i have to change the mem to a kingstom mem?
Much thks. -
Request in Production server for Master data
Hi,
In Production server when we try to hire an employee through PA40, it is giving an error saying that "Client XXX has status 'not modifiable", Choose 'Display object' or 'Cancel'.
I think it is asking for a request, because of settings in SCC4,is not modifiable. Since it is PRD server the standard SAP suggests to have the setting as above hence we cant change the settings also.
What could be the solution for this?
Regards
PrasadHi Prasad,
It doesnt make any differnce, just click on display object , it will save th data in the respective tables.....
Regards,
Sushil Soni -
Very low performance level when the Server has 2 actives Network Interf.
In a server Pentium IV 2.0 GHz, 1 Gbyte RAM, Windows 2000 Adv. Server, with two network interfaces, we observe a lower [really critical]performance when the two network interfaces are actives. If we disable one netrowk interface the performance increases to a very higher level. Could it be solved only by the configuration? At the beginning [still both interfaces enabled] we had only one listerner applied to IP 0.0.0.0. To test this situation, we modified the IP of this listener for the IP of one of the network interface and we also added one other IP to the other listener with the IP of the second network interface. At this test was not possible to see any increase of performance. In conclusion, we understood that it is not a trivial problem and we appreciate some help to avoid this down performance at the server.
Thanks in advance, Ricardo Gomes e Bruno Guimar�es
Network Engineer
Link Data Inform�tica
www.linkdata.com.br
+55 61 9219238
[email protected]Running with two nics will not necessarily give better performance. 1st, if the 2 adapters have been configured as a team then the network switch that the server is connecting through must support teaming of ports. 2nd if adapters are not teamed but going through different networks then make sure that the routing priority has been set.
-
Very low performance with datasource 0BA_CMS_CAG_RBL_LINK
0BA_CMS_CAG_RBL_LINK takes very long time for extrat and get no
responseif we use infopackage to extract data from datasource
0BA_CMS_CAG_RBL_LINK,it takes very long time for extrat and even get no
response.
if we use rsa3 to test the datasource,it also be so.
i have tried to run infopackage to extract data from this datasource
but still not work at all.
it keep running for 3 days even no any response.First, try applying the manual changes identified in [OSS Note 1277865 - EDI: Syntax error in IDoc (segment cannot be identified)|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1277865] in your source SAP Financial Services system to see if that will resolve your issue.
If applying these manual changes does not provide resolution to your issue, you will probably need to create an SAP Message in the SAP Support Portal to have an SAP support processor review the issue and provide a recommended resolution. -
How do I make my battery life longer?
See:
Apple - Batteries - iPod
How long doe a full charge last and what is the iPod doing during that time?
Maybe you are looking for
-
Sharing Databases - Collaboration
(I apologize if this is off-topic, or this was posted in the wrong forum! If you have recommendations as to where I should go to ask this or other similar questions, please let me know!) Open question to the Mac Community: I have an ongoing problem t
-
External drive: "this drive is not readable by this computer"
just got this after my computer crashed. been using TM for a week or more and now it will not mount. and says it's unreadable... please help!
-
Activate change logs for the table V_T007K
Hi, Change log check box is activated in table and change logs is activated in system. But still I am not able to view any change logs recorded for the table V_T007K using SCU3 transaction. I tried by changing some data and than checked the SCu3 tran
-
How do i import imovie project into final cut pro
I movie 08 is seriously lacking titles and transitions, so I want to spruce up my project in final cut pro, but I do not know how to get the project into final cut pro thanks for your help
-
Calendar App not letting me add events (No icon)
Hey, I recently updated to iOS5 and my calendar app was working just fine before doing so! Now when I go to add an event to my calendar, there is no "+" logo in the top right, like there used to be. It will only let me delete or change events. Help?