BW 3.5 update rules for master data
Hi all,
I create a dummy report in that report lifnr is charactics and name its att. after this i create a application component and assign data source and create infopkg data coming in lifnr and name field properly <b>i assign data source using direct master data update</b> after this i create infocube and assign dim.
but when i rgt click on infocube and display dataflow it shows only one level and when i open bex and open that it shows no application data found why this happened after creating infocube it is nessory that i creat update rule for this am i right plz send your openion.
thx
Hi Ankit,
Yoy have to load data to the cube.For that you need update rules.
Steps to load data to the cube
1.Replicate the datasource.
2.Assign Infosource
3.Create transfer rules
4.Maintain the update rules to the cube.
5.Right click on the datasource and schedule an infopackage for it.
Execute the Infopackage and pull the data to the cube.
Hope this helps
Regards
Karthik
Similar Messages
-
Program to activate update rule for master data (info objects)..very urgent
Hi all,
I have an info provider(A0CUSTOMN). For this the update rules are not active.In production system i am not able activate.Please let me know if there is any program to activate the update rule for masterdata(info object).
Thanks=points
ManjulaHi Manjula,
Leave the id and infocube field blank. Just provide the infosource name.
BTW is this a direct update master data object? In that case all this is not relevant.
Check if it appears as an Infoprovider.
I did not ask enough questions to start with.
BR/
Mathew. -
Error in creating RSDS using transfer rules for master data datasources
Hi ,
when i am creating the transfermations(RSDS) using transfer rules for master data datasources while i want to migrate datasource.it is giving the error message saying that INITIAL ERROR OCCURED DURING GENERATION OF THE TRANSFERMATION.AND in the taskbar it is giving the message LOG IS BEING LOADED.
MY QUESTION IS HOW CAN WE SEE THE LOG? AND
PLEASE GIVE ME THE STEPS TO MIGRATE MASTER DATASOURCES.
THANKS IN ADVANCE .Hi Ankit,
Yoy have to load data to the cube.For that you need update rules.
Steps to load data to the cube
1.Replicate the datasource.
2.Assign Infosource
3.Create transfer rules
4.Maintain the update rules to the cube.
5.Right click on the datasource and schedule an infopackage for it.
Execute the Infopackage and pull the data to the cube.
Hope this helps
Regards
Karthik -
Update rule on master data attribute
Hi
In my cube, I have a master data object 0COMP_CODE, which has attribute 0COMPANY.
Additionally, in the same cube, there's:
Master data object 0CUST_GROUP, which has attribute ZBUSPART
Master data object 0CO_AREA, which also has attribute ZBUSPART
I need to fill a characteristic ZTAXCODE (not a master data object) in the cube, with the following logic:
If 0COMPANY is between 1 and 30, populate ZTAXCODE with value of ZBUSPART from 0CUST_GROUP
If 0COMPANY is between 31-9999999, populate ZTAXCODE with value of ZBUS_PART from 0CO_AREA
I guess this will have to be done in the update rule. Right now I have 0COMP_CODE in the communication structure. How should the code be written to populate ZTAXCODE, with value of ZBUSPART, based on the value of the attribute of 0COMP_CODE - 0COMPANY?
Any help with getting me started here would be appreciated...
Thanks
MartyIn the start routine.
First, for all data package select company code, cust_group and zbuspart from cust_group and store it in the internal table.
Second for all data package select company code, co_area and zbuspart from co_area and store it in the second internal table.
Third for all data package select company and company code from comp_code and store it in the third internal table.
Now in the update rule routine.
read the third table and get the company for the company code and if the value which comes from this company is between 31 and 9999999 then read from second internal table otherwise read from the first internal table and update the result.
hope that is clear.
thanks.
Wond -
Effect of 'No update' for master data texts
Hello all,
I am using flexible update - update rules - for master data text. I want to confirm effect of 'No update' in following scenario
In the fisrt set of update rules -from first source system -I have mapped both short text and long text
Key | short text| long text
......| overwrite| overwrite
K1 | some SHTX| some LGTX
In the second set of update rules, I have selected 'No update' for Long text
Key | short text | long text
......|overwrite| NO UPDATE
K1 | some SHTX |
My loading sequence is first source system followed by second source system
what should be my ultimate long text and why?
Many thanks in advance!
Regards
SanjyotHi surekha,
your long text will not get changed.
Take the example you mentioned
Key | short text.....| long text
........| overwrite......| overwrite
K1 | some SHTX.. | some LGTX
In the second set of update rules, I have selected 'No update' for Long text
Key | short text... | long text
........|overwrite......| NO UPDATE
K1 | some SHTX. |
In the second set of update rules, you mentioned "No UPdate", So, when a record with the same key is found n Masterdata, it is not going to make any changes to the field Long text.
Where as short text will get overwritten.
Take some data for ex with the above mentioned type
data from source 1 : 2000 Maggi Noodles
data from source 2 : 2000 Feasters
when the data from first source system arrives, data will be 2000 maggi noodles
when the data from second source suystem arrives, as there exist this records with same key(2000), it checks for the other fiels
short text will be over written with the value in second system (according to rules its in overwrite mode)
Long text will not be updated as the rule says no update.
hope this helps,
Cheers,
Srinath.
Cheers,
Srinath. -
Update rule for COSTCENTER master data
Hello All,
Cost Center is not an attribute of 0EMPLOYEE, neither a field provided by the table PERSON.
0COSTCENTER gets data from the MASTER Datasource 0COSTCENTER_ATTR. When writing an update rule for this characteristic, what code should be written?
and Which fields should be considered from the table /BI0/MCOSTCENTER.
Thanks in advance.
Regards,
KPHello,
Lets consider a ZINF infoObject with time dependent attribute as ZDEPART.
When writing an update rule, I do a lookup on ZINF. Do I have to write a code for this llokup (mapping this infoObject)?
After writing a code for a lookup on ZINF, will this InfoObject be available for selection in "Master data attribute of"?
Kindly reply.
Regards,
KP -
Error handling for master data with direct update
Hi guys,
For master data with flexible update, error handling can be defined in InfoPackege, and if the load is performed via PSA there are several options - clear so far. But what about direct update...
But my specific question is: If an erroneous record (e.g invalid characters) occur in a master data load using direct update, this will set the request to red. But what does this mean in terms of what happens to the other records of the request (which are correct) are they written to the master data tables, so that they can be present once the masterdata is activated, or are nothing written to masterdata tables if a single record is erroneous???
Many thanks,
/ ChristianHi Christian -
Difference between flexible upload & Direct upload is that direct upload does not have Update Rules, direct upload will have PSA as usual & you can do testing in PSA.
second part when you load master data - if error occurs all the records for that request no will be status error so activation will not have any impact on it i.e. no new records from failed load will be available.
hope it helps
regards
Vikash -
Updating city file for master data creation
can someone please tell me the steps of updating an old city file that is used to confirm addresses for master data.
The answer is API_SEMBPS_CHA_VALUES_UPDATE.
-
FM for master data creation/update
Hello all,
I would like to ask you for a FM for master data creation/update.
Thanks all for your help.The answer is API_SEMBPS_CHA_VALUES_UPDATE.
-
Unable to map Update Rule with u201CMaster data attribu201D option
Hi,
Does anybody know the reason why sometimes, in update rules to an ODS, I cannot map an InfoObject with the option u201CMaster data attribu201D?
I have the characteristic in the ODS, and for another update rule, to the same ODS, I am able to map this field correctly, but for a specific rule, the u201CMaster data attribu201D field appears in blank when I press F4.
Strange this behaviouru2026
Can anybody help me with this issue?
Thanks,
Best Regards,
JoanaHi Shanthi,
I didn't insert the InfoObject as an InfoProvider.
The problem is that I have two update rules for the same ODS object. For one I can map the characteristic correctly, and for the other, when I press F4 in the "Master Data Attrib", no characteristics appear.
Thanks,
Joana -
Update rule for cube 0PY_C02
Hi ,
Please let me know the update rule for cube 0PY_C02 as I am not able to locate it in the Business content data flow or meta data repository.
thanksHi,
Check the output in the transaction LISTCUBE it will give you better picture of the data coming in the multicube.
Check whether the char in the rows of the report is coming from one of the cube only and the key figure which you are looking is coming from different cube.
Also check for the selections on the report if the selection variable is on a char having identification from only of the cube.
this can cause the filtering of data from one of the cube and you will get all the value as # for that particular field.
Take DESG characterstic into the cube 0PY_C02 also.in the update rule(of cube) for this Infoobject take Master data lookup concept.
Make the Identification mapping for the IO DESG of Multiprovider iwth the chacterstic DESG of both cubes .
Then activate the Master data 0Emlyoee_ATTR.
Reupload the data into 0PY_C02.
Hareesh -
Hello All,
I have an Infobject say 0MATERIAL which has two Navigational Attributes say MATERIAL1 and MATERIAL2.
These are part of Master Data. My objective is to have MATERIAL1 and MATERIAL2 in my cube so that I can directly report on these without having to go drilling.
I have 0MATERIAL, MATERIAL1 and MATERIAL2 in my cube, but the twist is 0MATERIAL is mapped to 0PLANT (say). Is it possible that I can escape from the LookUp or is it mandatory. I have tried the "Master Data Attribute of " option in the Update rules, this does'nt seem to work some how.
If LookUp is mandatory can some one help me with the ABAP part of the scenario.
I assure full points.Just to be sure...
1. 0MATERIAL has no Compounded attributes in the infoobject definition
2. MATERIAL1 and MATERIAL2 have no Compounded attributes either
3. MATERIAL1 and MATERIAL2 are attributes of 0MATERIAL
4. 0MATERIAL, MATERIAL1, and MATERIAL2 are all characteristics of your cube
Yes?
If this is so, then in your update rules for MATERIAL1 (and MATERIAL2), you should be able to map it as "Master data Attribute of" 0MATERIAL.
0MAT_PLANT should not factor into the equation just because 0MATERIAL is an attribute.
Does this help? -
Hi everbody,
we are extracting customer master data from an Iseries-system cia DBconnect.The relevant info object 'Customer' has attributes and texts.
Generation of the data source and loading of data worked without problems for the info object attributes (after generating the data source in the source system tree with setting 'master data attributes for 'data source type').
Now i would like to extract from the same data source the info object -texts. Problem is that the system does not allow to assign for the same info source 'customer' the source system for a second time: 'No data sources for source system 'Iseries' available/message RSAR383.
This is although I did generate the data source (below the source system tree) a second time with the setting 'master data texts' (for data source type).
While it is normal that I can connect the data source only once to an info source for transaction data, I would expect to be able to use the data source twice for master data when differentiating between 'text' and 'attributes'.
Has anybody an idea on this topic?
Thanks and best regards
MarcusHi Joe, Hi Uday,
thanks for the further clarification on the topic. The problem is now solved following your recommendations. From the source system we receive attributes and texts in one view. The corresponding data source was generated with type 'texts'. I had to manually enter the text fields 0TXTSH, 0TXTMD, 0TXTLG in info source and had to maintain mapping in the communication structure.On info provider level it was possible to create two update rules (type attribut and type text). Then-using one info package- the upload of attributes and texts worked fine.
Thanks again for your support
Best Regards
Marcus
I tried to reward due points, but I receive a message Rewarding the message failed
Please bear with me, I will figure that out and reward the points.
Message was edited by: Marcus Theviot -
I am trying ABAP for master data lookup in update rule.
Here is the scenario ---
There is a Master Data object MDABC with attributes A1 , A2 . I need to Map IO1 to A1 and IO2 to A2.
What should be the Start Routine and Update Routine . Please help with a working code.
Thanks>
sap_newbee wrote:
> Thanks Aashish ,
> Here is the code I am usind but Its not populating any result May be you could help me out in debugging
>
>
> Start Routine -
>
> DATA: BEGIN OF ITAB_MDABC OCCURS 0,
> MDABC LIKE /BIC/PMDABC-/BIC/MDABC,
> A1 LIKE /BIC/PMDABC-/BIC/A1,
> A2 LIKE /BIC/PMDABC-/BIC/A2,
> END OF ITAB_NMDABC.
>
> SELECT
> /BIC/MDABC
> /BIC/A1
> /BIC/A2
> FROM /BIC/PMDABC INTO TABLE ITAB_MDABC
> FOR ALL ENTRIES IN DATA_PACKAGE
> WHERE /BIC/MDABC = DATA_PACKAGE-/BIC/MDABC.
> ENDSELECT.
>
>
> In Update Routine for Infoobject IO1 The code Iam using is
>
>
> READ TABLE ITAB_MDABC WITH KEY
> MDABC = COMM_STRUCTURE-/BIC/MDABC
> BINARY SEARCH.
> IF sy-subrc = 0.
> RESULT = ITAB_MDABC-A1.
> ENDIF.
> RETURNCODE = 0.
>
> ABORT = 0.
>
> Please help.
> Thanks
Please use table in the select statement. Modifications in BOLD
Edited by: Ashish Gour on Oct 17, 2008 2:57 PM -
What are the tables will update while loading Master data ?
Hello Experts,
What are the tables will update while loading Master data ? And requesting you to provide more information about Master data loading and its related settings in the beginning of creation infoobjects.It depends upon the type of Master data u r loading....
In all the master data loadings, for every new value of master data an SID will be created in the SID table /BI*/S<INFOOBJECT NAME> irrespective of the type of master data.
But the exceptional tables that get updated depending on the type of master data are.....
If it is a time Independent master data then the /BI*/P<INFOOBJECT NAME> table gets updated with the loaded data.
If it is a time dependent master data then the /BI*/Q<INFOOBJECT NAME> table gets updated with the loaded data.
If the master data is of time Independent Navigational attributes then for every data load the SID table will get updated first and then the /BI*/X<INFOOBJECT NAME> table gets updated with the SID's created in the SID table (NOT WITH THE MASTER DATA).
If the master data is of time dependent navigational attributes then for every data load the SID table will get updated first and then the /BI*/Y<INFOOBJECT NAME> table gets updated with the SID's created in the SID table (NOT WITH THE MASTER DATA).
NOTE: As said above, For all the data in P, Q, T, X, Y tables the SID's will be created in the S table /BI*/S<INFOOBJECT NAME>
NOTE: Irrespective of the time dependency or Independency the VIEW /BI*/M<INFOOBJECT NAME> defined on the top of /BI*/P<INFOOBJECT NAME> & /BI*/Q<INFOOBJECT NAME> tables gives the view of entire master data.
NOTE: it is just a View and it is not a Table. So it will not have any physical storage of data.
All the above tables are for ATTRIBUTES
But when it comes to TEXTS, irrespective of the Time dependency or Independency, the /BI*/T<INFOOBJECT NAME> table gets updated (and of course the S table also).
Naming Convention: /BIC/*<InfoObject Name> or /BI0/*<InfoObject Name>
C = Customer Defined Characteristic
0 = Standard or SAP defined Characteristic
* = P, Q, T, X,Y, S (depending on the above said conditions)
Thanks & regards
Sasidhar
Maybe you are looking for
-
Help: Not Downloading Apps?
Every time I download apps it just keeps displaying the loading bar, but it won't fill up so I can use the app..? The only way I can download and use new apps is when I sync to my comp I can download them from their and install them on the phone. Has
-
Acrobat Pro 9.5.2 in OS 10.6.8
As of lately Acrobat Pro has been taking quite a while to quit and the first and only first file I open takes a while to close. I have 4gb of ram, 2 -Dual-Core Intel Xeon Processor Speed: 2.66 GHz with 148gb of free space. I tried a reinstal
-
Well, I got Encore DVD 2 in the Adobe Production Studio Suite; and I've gotta say I'm loving the whole package! Now my problem is, I have burned 25 copies of a project and they play fine in all software DVD players except WinDVD. In WinDVD, there is
-
I want to buy an MacBook Pro in Germany, but actually I don't live here, and the keyboard is totally different. Is it possible to change de keyboard (I mean, the hardware) in a authorized store?
-
Can't see hard drive icon on desktop
Just got my daughter a new MA 13" 2011...installing some software via the external superdrive when I realized that I can't see the HD icon on the desktop...am I missing something to make it visible? Other than that if functions properly...I can "see"