Adding index to Master Data
I would like to add an index to a master data table. I am considering using the standard SAP Index Maintance screen on the underlying table. Can anyone tell me if this could lead to issues, and if they have another method of adding an index.
My primary issues is I am looking up information in a large master data table on a field that has no index, which takes some time.
Hi,
you're right, you'll have to use SE11. You can create indexes on /BIC/P table (master data independent) and/or /BIC/X (nav. attr SIDs). Use SE14 to create the IDEX in your DB.
Since these kind of tables aro not transported, you'll have to create them in Dev/QA sys but also in Prod directly.
If you are using Oracle consider BITMAP indexing and further technical settings via SE14.
hope this helps...
Olivier.
Similar Messages
-
Adding fexible updated Master Data as characteristics to an InfoCube
hi there,
is it possible to add fexible updated Master Data (in InfoProvider section: InfoCubes, ODS etc.) as characteristics to an InfoCube?
Thanks
HizaHi,
Yup, I does not really matter how do you load data to this InfoObject flexible / non flexible.
hope it helps
Regards
Vikash -
Error while adding records into master data
Error :
No matching records found (ODBC -2028)
I have a mster table with One child table while generating code throgh getnextserialva() fn getting an error mentioned above
i did code like this
If pVal.ItemUID = "1" And pVal.FormMode = "3" Then
oDBs_Head.SetValue("Code", 0, getNextSeriesVal("VEDA_FINAL_MSTR"))
End If
Function getNextSeriesVal(ByVal udoID As String) As Integer
Try
Dim seriesService As SAPbobsCOM.SeriesService
Dim v_CompanyService As SAPbobsCOM.CompanyService
Dim objectType As SAPbobsCOM.DocumentTypeParams
Dim crmSeries As SAPbobsCOM.Series
v_CompanyService = objMain.objCompany.GetCompanyService
seriesService = v_CompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.SeriesService)
objectType = seriesService.GetDataInterface(SAPbobsCOM.SeriesServiceDataInterfaces.ssdiDocumentTypeParams)
objectType.Document = udoID
crmSeries = seriesService.GetDefaultSeries(objectType) *Error is coming this line*
Return crmSeries.NextNumber
Catch ex As Exception
objMain.objApplication.StatusBar.SetText(ex.Message)
End Try
in form data event
Sub FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean)
Try
Select Case BusinessObjectInfo.EventType
Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD
If BusinessObjectInfo.BeforeAction = True Then
oDBs_Head = oForm.DataSources.DBDataSources.Item("@VEDA_FINAL_MSTR")
oDBs_Head.SetValue("Code", 0, getNextSeriesVal("VEDA_FINAL_MSTR"))
End If
Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_LOAD
If BusinessObjectInfo.ActionSuccess = True Then
oDBs_Head = oForm.DataSources.DBDataSources.Item("@VEDA_FINAL_MSTR")
End If
End Select
Catch ex As Exception
objMain.objApplication.StatusBar.SetText(ex.Message)
End Try
End Sub
What is the problem while generating auto code..???Hello..
First i register through code...i did code like this
Public Function CreateUDOFinalProd() As Boolean
If Not Me.UDOExists("VEDA_FINAL_MSTR") Then
Dim findAliasNDescription = New String(,) {{"Code", "#"}, {"U_ItemCode", "Finished Goods"}}
Me.registerUDO("VEDA_FINAL_MSTR", "Finished Good Master", SAPbobsCOM.BoUDOObjType.boud_MasterData, findAliasNDescription, "VEDA_FINAL_MSTR", "VEDA_FINAL_DLN")
findAliasNDescription = Nothing
End If
End Function
all the sub fn inside the fn is working fine . I called same place where u suggested.
At last showing messages UDO Registered Sucussfully..!!!
I did table registration for docment parent and child table for that is working fine automatically Add,update ... happening
But same process im doing for master also as mentioned in code but that is not working for master and child but working for
document and child
To understand problem i did registration through front end
for this i deleted created udo object(through code)
again i created through front end ...stilll the same error
by
Firos -
How can i make indexes on the Master data table
Hi Gurus,
I got a query, in this one i have an Infoobject with many values, like to say invoice number, and i filter and need a lot of Nav Attr of this IO, for this reason the query performance its really bad but i dont know what to do, some friend advice me this : So I would suggest some indexes on the Master data table of your IO for the navigationnal attributer you want to use.
what else can you tell me? if i put this IO in Line item dimension? , or just with flag high cardinality ? help guys.....Hi Jorge.....
Look.........Line item dimension and High Cardinality r related to each other..............Characteristic which has High Cardinality..we will use it as Line item dimension..........But........A dimension marked as a line item cannot subsequently include additional characteristics.......... This is only possible with normal dimensions...........If u r very sure.............then u can go for Line item dimension............no issues........
U can also try to Create index..............
Check this...........
Re: Indexes on Master Data tables
Regards,
Debjani.......... -
BIA Dummy Cube to load master data
Hi everyone,
We've initiated a project to implement BIA and the racks will arrive in the next few weeks. Something I've heard discussed, but not found documented, is that some companies built a "dummy cube" consisting of all the master data involved in the cubes to be loaded to BIA. Apparently, this is to avoid the potential for locking the master data indexes as multiple cubes are indexed in parallel. Having the master data indexed in advance of indexing several cubes in parallel is apparently much faster, too.
See "Competing Processes During Indexing"
[Activating and Filling SAP NetWeaver BI Accelerator Indexes|http://help.sap.com/saphelp_nw2004s/helpdata/en/43/5391420f87a970e10000000a155106/content.htm]
My questions are: Is this master data "dummy cube" approach documented somewhere? Is this only for the initial build, or is this used for ongoing index rebuilds such that new master data objects are consistently added to the dummy cube? Is this the right approach to avoid master data index locking job delays/restarts, or is there a better/standard approach to index all master data prior to indexing the cubes?
Thanks for any insight!
Doug MaltbyHi Doug - I'm not aware of this approach documented anywhere. Personally, I'm not sure a "dummy" cube buys you much. The reason I say that is because this "dummy" cube would only be used upon initial indexing. The amount of time to construct this cube, process chain(s), etc. would be close to the equivalent time to do the indexing. The amount of time it takes to do the initial build of the indexes depends on data volumes. From what I've seen in the field this could vary on average from 4-8 hours.
Locking is a possibility, however, I don't believe this is very prevalent. One of the most important pieces to scheduling the initial builds is timing. You don't want to be loading data to cubes or executing change runs when this takes place. In the event locking does occur, that index build can simply be restarted. Because a lock takes place, it does not mean all of your indexes will fail. The lock may cause a single index build to fail. Reviewing the logs in SM37 or the status of the infocube index in RSDDV will also show the current status. Simply restart any that have failed.
Hope this helps.
Josh -
Hi Experts,
I am facing short dump when trying to send a request to add an attribute in Master Data Infoobject from DEV to QA.
Although the attribute is getting added to main Master data Info object but main master Info object is in Revised Version.
I have been searching the solution in SCN from couple of days and tried every single solution but none of them works for us.
When I check in se09 I am getting the following message
Program terminated (job: RDDEXECL, no.: 09445401)
Execution of programs after import (XPRA)
End date and time : 20150420094559
Ended with return code: ===> 12 <===
When checking in ST22 IN QA I am getting the following message
The exception 'CX_RS_PROGRAM_ERROR' was raised, but it was not caught anywhere
along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_RSDD_DS====================CP' has to be
terminated.
When I checked in ST22 in QA I am getting following dump
31 RAISE EXCEPTION TYPE cx_rs_program_error
32 EXPORTING
33 text = 'Invalid DSO subtype'. "#EC NOTEXT
34 ENDCASE.
35
36 * get table name from DDIC
37 CALL METHOD cl_rsd_odso=>get_tablnm
38 EXPORTING
39 i_odsobject = n_infoprov
40 i_tabt = l_tab
41 IMPORTING
42 e_tablnm = l_tablnm
43 EXCEPTIONS
44 OTHERS = 1.
45
46 IF sy-subrc <> 0.
47 RAISE EXCEPTION TYPE cx_rs_program_error
48 EXPORTING
49 text = 'Error in CL_RSD_ODSO=>get_Tablnm'. "#EC NOTEXT
50 ENDIF.
51
52 CALL FUNCTION 'DDIF_NAMETAB_GET'
53 EXPORTING
54 tabname = l_tablnm
55 TABLES
56 dfies_tab = l_t_comp
57 EXCEPTIONS
58 not_found = 1
59 OTHERS = 2.
60 IF sy-subrc <> 0.
>>>>> RAISE EXCEPTION TYPE cx_rs_program_error
62 EXPORTING
63 text = 'Error in DDIF_NAMETAB_GET'. "#EC NOTEXT
64 ENDIF.
I have attached the short dump
Thanks In Advance
RashidHi Tom
Thanks for your reply.
I am not sure what do you mean by Manually activated in Dev or QA . If you mean Dev then i did and also maintain the infoobject related tables using transaction SE14 but still same error.
But if you mean in QA then QA is lock for manual activation but i tried though program RSDG_IOBJ_ACTIVATE but again failed. I also maintain the infoobject related tables using transaction SE14 but still same error.
Regards
Rashid -
Master data load overwrite / add ?
Hello BW Experts,
Where: loading master data using infopackage.
1) Do we have the option of overwriting / adding to the master data ?
2) What do these options mean.
3) Where to make these settings in BW in the infopackage.
Please suggest.
Thanks,
BWerHi,
Master data is overwritten in BW.
If you are loading MD directly then you can't have the option of adding , it'll be overwritten.
Adding is usually used in case of transaction data, where it'll add to the existing values for the same key. In overwrite, it'll overwrite the record completely with the new values.
You have to make these settings at the object level, not at the info package level.
Cheers,
Kedar -
Master Data Load for New Attribute
Hi Users,
We had to implement a separate load flow for a new field coming from R3. This field was to be added to existing master data object.
I added a new Display attribute for an existing 0GL_ACCOUNT master data object.
This new attribute along with some other existing fields is getting data from another master data object with an infosource in between because two transformations cannot be created for same source and target.
When i load the data i dont see data being populated for this new field. I did ACR, checked the keys e.t.c.
Source object has data but after executing DTP no data comes to this attribute. No routines or anything.
Please suggest
Regards
ZabiHi,
The situation is:
Field x from source maps to
1. field y ( which was existing field ) and also maps to
2. field z which is the new attribute.
field y has to get updated for company codes 10 for example.
field z for company codes 30.
now if i use same flow and map field x to both y and z then there is overwriting happening if 10 does not have value for x and 20 has then its not good.
So if i use a separate flow with infosource then i will map only x to z so after loads which means for 10 code if no value went in first dtp to y then if code 30 has value for x then z will only be updated and y remains empty....
Master Data Load for New Attribute -
Difference between Activating Master Data and Attribute Change Run
Hi
Is there any difference between Atribute change run and Activating Master data functionaaly???
if wha it is???
can any one explain clearly?
Thanks
ChinnaWhen u load master data and its attribute to ur data target and if u change any data or attributes of ur master data,in order to update new data to ur data target attribute change run is performed.
When u create a characteristic and if u keep it as master data and activated..it is master data activation
Activating Master Data
When you update master data from an SAP system the master data is imported in an inactive state. You must activate the new master data so that it can be accessed and used for reporting purposes.
For more information, see Versioning Master Data.
Choose the path InfoObject Tree Context Menu of Corresponding Characteristic Activate Master Data.
Upon Activation there are two scenarios to choose from:
The Corresponding Master Data Is Already Being Used in Aggregates in the InfoCube:
If you are already using the available master data in aggregates in InfoCubes, you cannot activate the master data individually. In this case, proceed as follows:
1. In the main menu, choose the path Tools Hierarchy/Attribute Change.
2. Proceed as described in System Response upon Changes to Data: Aggregate.
The system now automatically restructures and activates the master data and its aggregates.
Please note that this process can take several hours if the volume of data is relatively high. Therefore, you should simultaneously activate all of the characteristics that are affected by changes to their master data, at regular intervals.
The Corresponding Master Data Is Not Used in Aggregates:
Choose the path InfoObject Tree ® Context Menu of Corresponding Characteristic Activate.
The system now automatically activates the master data so that it can be used directly in reporting.
If there is any change r newly added records in master data..then that particular data will not b avialable for the reporting unless u do activate master data...
if u r using aggregates and then there is any change in master data ...then that particular master data change wil not b available for the reporting unless u do arrtibute change run for that info object.(T-code RSATTR)
Master data attributes and hierachies are used in cube aggregates also. So to do update the latest master data attributes values in the aggregtes attribute change run need to be performed.So Attribute change run also updates the master data attributes in aggregates which is not apart of master data activation.
Text loads do not need attribute change run. Attributes, hierarchies and aggregates need attribute/hierarchy change runs. If you do not have aggregates, just activating the master data is same as attribute change run. -
BIA Master Data Index Not Updated After Change Run
In BIA it shows master data 0VERSION table /BI0/SVERSION has 360 records which matches with the number of entries in SE16 /BI0/SVERSION. One record was added to 0VERSION so now SE16 /BI0/SVERSION shows 361 records. I did a change run for this infoobject 0VERSION but the BIA index for /BI0/SVERSION still only show 360 records. I expect it to show 361 records after the change run. Is this a bug? Thanks.
Hi Thao,
I see one of 3 possible scenarios:
1) You load 0VERSION as a part of master data load (from flat file or another system). You see your 11th record in version "M" after load and then you run change run that makes "A" version of the record. ---> BIA index should be automatically updated. If not - open OSS message to SAP.
2) You load transactional data in an InfoCube, and it has new value for characteristic 0VERSION. ---> In this case you need to run roll-up of this new load request in the InfoCube to let BIA index be in-sync.
3) You are modifying 0VERSION manually (e.g. SQL INSERT statement), so system is not aware of new record at all. ---> You need to run the mentioned single-table-index program to update BIA index.
Is it any of these 3 scenarios, or you have the 4th one?
Regards,
-Vitaliy
Edited by: Vitaliy on Aug 19, 2008 1:59 PM -
Dear Experts
I am getting the following error message while adding item in Item Master data. I have modified the following SBO_SP_transactionNotification in SQL server after that could not able to add the item
ALTER proc [dbo].[SBO_SP_TransactionNotification]
@object_type nvarchar(20), -- SBO Object Type
@transaction_type nchar(1), -- [A]dd, [U]pdate, [D]elete, [C]ancel, C[L]ose
@num_of_cols_in_key int,
@list_of_key_cols_tab_del nvarchar(255),
@list_of_cols_val_tab_del nvarchar(255)
AS
begin
-- Return values
declare @error int -- Result (0 for no error)
declare @error_message nvarchar (200) -- Error string to be displayed
select @error = 0
select @error_message = N'Ok'
-- IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
BEGIN
IF EXISTS(
SELECT T0.Price FROM IGN1 T0
where IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
END
end
-- Select the return values
select @error, @error_message
endHi Rathna,
Just put the SP like this, without the -- before the IF. A -- marks the line as a command therefore you need to uncomment and it will work.
IF @OBJECT_TYPE = '59' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
BEGIN
IF EXISTS(
SELECT T0.Price FROM IGN1 T0
where IsNull(T0.Price, '0') = '0' and T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
SELECT @ERROR=1,@ERROR_MESSAGE='Please insert the price !'
END
end
Hope it helps -
Critical Error in master data: Transffered 250056 and added 0 enhancement
Hi,
First we have loaded master data into 0CUSTOMER and there after enhanced the datasource and mapped the same in transfer rules and update rules.
We loaded data again into master data with full update. But the enhaced fields data is not getting updated. But in PSA data is available.
We deleted the all master data at Maitainence and relaoded data.
Now its showing 250056 as transffered and added as 0
we didnt seen any single record in master data now.
I have actovated data and attributre change also done.
But no success.
Please suggest us what should i do now.
Thnaks &Regards,
RevathiHi,
The data is available for the all enhanced fields in PSA.
For the master data Text also data there in infoobject maintainece.
For the enhanced and all the other attributes data is not aviale.
If i load data again with full load also it is Transffered 250056 and added 0
But In data load monitor i obseved one thing ....
in the details tabprocessingdatapavckages--update rules it saying Update rules ( 0 Records ) : No errors.
But for transfer rules istep it is giving message Transfer rules ( 4139 Records ) : No errors .
So till here data is processing...in update rules it is not.
We dont have any routines in update rules. and its one to one mapping.
Please suggest how to get it resolve.
Thanks &Regards,
Revathi -
Adding Tab page in to Item Master Data
Dear,
In this momento I can do application external through SDK to SBO. but How can I do adding Tab Tag Page in to Item Master Data,
Can you explain me How I do?
Very thanks.
RegardsHi!
You need add one tabPage in Item Form rigth?
You can used the function:
public void AddTab(string formID, string tabName, string tabNum, string tabCaption)
try
Form oForm = oApp.Forms.GetForm(formID, 0);
Item oItPosition = oForm.Items.Item(tabNum);
Item oItTbTest = oForm.Items.Add(tabName, BoFormItemTypes.it_FOLDER);
oItTbTest.Top = oItPosition.Top;
oItTbTest.Height = oItPosition.Height;
oItTbTest.Width = oItPosition.Width;
oItTbTest.Left = (oItPosition.Left + oItPosition.Width) + 20;
oItTbTest.AffectsFormMode = true;
Folder oTbTest = (Folder)oItTbTest.Specific;
oTbTest.Caption = tabCaption;
oTbTest.ValOff = "0";
oTbTest.ValOn = "1";
oTbTest.GroupWith(tabNum);
catch (Exception e)
oApp.StatusBar.SetText(e.Message, BoMessageTime.bmt_Medium, BoStatusBarMessageType.smt_Error); -
Problem in adding new tabs in master data screens for RE-FX in ECC 6.0
Dear members,
I am working on RE-FX in ECC 6.0. I need some advice on the foll matter:
When displaying master data for Rental Object (Rental Space) (Tcode REBDRO) there are three tabs that are visible. They are General Data, Measurement and Area Shares. I would like the tab "Supplementary Texts" to also appear as the fourth tab. I have gone to the node Screen Sequence under the Dialog node under Usage View under Master Data in RE-FX.
I have added this screen to the sequence and have saved it successfully. Now when i am trying to display the rental space (RS) it is still not showing the tab that I just added. When I am trying to remove one of the existing tabs, by going into the same screen sequence I am successful in doing that. I am also able to add some of the other tabs. However every time I am trying to add the tab "Supplementary texts", I am failing to display it in the master data.
Request you to please help me as I am not an expert in RE-FX.
Regards,
Suvarghya DuttaHi Survaghya,
We are facing problem in adding tab to transaction RESCSU. We have followed all the steps mentioned by you , like
1. Go to transaction BUPT .
2. Select Application Object - transactuion BUS0.
3.Selected Application object as RESU.
4. And then went to all the following transactions.
RESCSU0002 SU: Field Groups
RESCSU0003 SU: Views
RESCSU0004 SU: Sections
RESCSU0005 SU: Screens
RESCSU0006 SU: Screen Sequences.
5. Created one z function group , having 2 FM for PBO and PAI.
6. Also one subscreen having the field mapped to CI_INCLUDE - CI_VISCSU.
But still we are not able to see the tab on the settlemet screen.
We tried changing the screen sequence of existing tabs, we could change that, but after performing all the steps mentioned above we could not add new tab.
Please suggest where are we committing a mistake.
Thanks & Regards,
Deepti -
When to set delta index flag for master data?
In transaction RSDDBIAMON2 option "Set Delta Flag" shows:
Table Name |Table Size |Delta Index
/BIC/FTSGCSGMC |10,155,000 |check mark in box
/BIC/DTSGCSGM1 |5,000,000 |check mark in box
/BI0/SVERSION |700 |check mark in box
When should I check the "Delta Index" column for fact, dimension, and master tables? I believe I need to check fact and dimension tables for delta BIA to occur during roll up so users can see the newly loaded requests but I am uncertain on when and why I should check this box for master data.
Thanks for your input.Vitaliy,
Thanks for answering another of my question. Yes, we load master data a couple of times a day so based on your answer, I should also check box "Delta Index" for the master tables as well. Thanks for helping me understand this point.
If the below is our approach, #2 should be checked for all tables, correct?
1) Create/fill BIA index for cube "A"
2) Check the box "Delta Index" for all the tables which includes fact, dimension, and master tables for cube "A" .
3) Run process chain to roll up cube "A" daily
4) Run process chain to merge cube "A" weekly
Many thanks,
Thao
Maybe you are looking for
-
Payment block in a vendor without invoice block
Hi, We have a peculiar requirement. Client is requesting us to block a particular vendor for payment however invoicing needs to remain open. I presume we can do this using two methods:- 1.) Payment block in vendor master Limitation 1 - Let us say tha
-
How to convert date automatically
Hi, I am doing function module. In that i created import export and exceptions,and written the code in the source code. See the function module code below. DATA : l_date TYPE sy-datum VALUE '18000101'. IF date1+4(2) > '12'. RAISE ex_month.
-
Right now we are on XI3.0 and using JMS Version 6.40.0 (which I can see in my Visual Admin). Soon we will be upgrading to PI7.1 So I need to know if the existing JMS drivers will support to our new PI7.1 or do we have to upgrade our MQ as well? Also
-
Error when deploying application
Hello! We are trying to migrate our application from Tomcat 5.5 to WebLogic Server and we are getting some problems. When we deploy the application we are getting the following error: ####<Sep 11, 2008 11:51:22 AM WEST> <Error> <HTTP> <VMWEBLOGIC> <A
-
Catch problem for JSPs, can't i use Oracle9iAS for our Application ?
Hi, I have deployed .ear file by using OC4J. I am facing catch problem, in defferent situations. 1. We used pager tag library for search nagivation, it is not working proper. 2. 'Creation of new object(in my case enterprise,certificate,role etc.)' is