Define transfromation-As master data attribute
Hello experts,
I have a 3.5 data flow DS> TR> CS-> UR-> ODS.
In this flow there is a field 0WBS element mapped to POSID from source in TR and in the UR its a straight map to 0WBS element in the ODS.
I also have a ZFIELD in the ODS which has an UR as Master data attribite of above 0WBS element.
Problem faced:
Now I need to map the same in a new BI 7.0 System using transfromation (Creation of DSO done exactly as in 3.5 ).
DS--> TRANS-> DSO
Looking at the transfer rules and the Update rules I incorporated all the same as in the 3.5 system.
Now I face only problem with the ZFIELD taking master Data attribute of 0WBS ELEMWNT when I check my transfromations.
In the Transfromation 7.0 I directly mapped POSID to my 0WBS element and then for ZFIELD I am mapping to have the rule as attribute of 0WBS_ELMENT in the rule details.
I am getting the following error.
InfoObject 0WBS_ELEMT cannot be used to read master data
Message no. RSTRAN066
Diagnosis
InfoObject 0WBS_ELEMT does not have the correct attributes to read master data for the target field.
System Response
The entry is deleted and the rule is invalid.
Procedure
Enter an InfoObject that has the InfoObject from the target as an attribute.
When I check my 0WBS info obj I see my ZFIELD is available as the attribute..
Could anyone help me to fix this transfromation.
Regards,
Hi,
The scenarion you explained is very much possible in BI 7.0. There must be something which might be missing.
Check here>
http://help.sap.com/saphelp_nw04s/helpdata/en/e5/f913426908ca7ee10000000a1550b0/content.htm
Thanks.
Similar Messages
-
Using master data attribute in BEx Query u0096 formula
Hello,
I want to use the master data attribute (Eg. Customer master 0CUSTOMER, 0ALTITUDE (Geo Location Height)) in query formula calculation. How do I do this?
Please help me.
Thank you
SubbuHi Subramaniam,
You can definately use the master data attributes in the formula calculation if that is a numeric value (logically u can use a characteristic in formula).
for e.g Net weight from 0MATERIAL can be used through formula variable in formula but Color is a characteristic and there is no point in using that in a formula. -
Map My Update Rule from a Master Data Attribute
Hello experts,
I haven't tried this scenario yet, hope you can help me, the Issue is this
I have 2 InfoObjects ZPSCHRCHY and 0PROFIT_CTR from InfoCube WBS cost and allocations I want both the InfoObjects to be mapped to 0PROFIT_CTR attribute of 0WBS_ELEMT master data object, I have tried the Master Data Attribute but only 0PROFIT_CTR is an attribute of the Master Data.how can I mapped ZPSCHRCHY and 0PROFIT_CTR to 0PROFIT_CTR?, Is creating a start routine for it must be used? Thank you very much
Regards and Thanks
ChrisPROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TYPES:
BEGIN OF r_MD_WBS_ELEMENT,
WBS_ELEMT like /BI0/PWBS_ELEMT-WBS_ELEMT,
OBJVERS like /BI0/PWBS_ELEMT-OBJVERS,
PROFIT_CTR like /BI0/PWBS_ELEMT-PROFIT_CTR,
END of r_MD_WBS_ELEMENT.
DATA: t_MD_WBS_ELEMENT TYPE STANDARD TABLE OF r_MD_WBS_ELEMENT,
wa_MD_WBS_ELEMENT TYPE r_MD_WBS_ELEMENT.
$$ end of global - insert your declaration only before this line -
The follow definition is new in the BW3.x
TYPES:
BEGIN OF DATA_PACKAGE_STRUCTURE.
INCLUDE STRUCTURE /BIC/CS8ZPSG030.
TYPES:
RECNO LIKE sy-tabix,
END OF DATA_PACKAGE_STRUCTURE.
DATA:
DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
WITH HEADER LINE
WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
FORM startup
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
DATA_PACKAGE STRUCTURE DATA_PACKAGE
USING RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
to make monitor entries
REFRESH: t_MD_WBS_ELEMENT.
SELECT WBS_ELEMT
OBJVERS
PROFIT_CTR
INTO TABLE t_MD_WBS_ELEMENT
FROM /BI0/PWBS_ELEMT
FOR ALL ENTRIES IN DATA_PACKAGE
WHERE WBS_ELEMT = DATA_PACKAGE-WBS_ELEMT.
IF sy-subrc EQ 0.
Do nothing
ENDIF.
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM. -
How to extract master data attribute from r/3 to bw give steps details
how to extract master data attribute from r/3 to bw give steps details screenshots
Hi
Go through the below process to extract Master Data Attribute from R/3
Hi,
Maintaining Generic DataSources
Use
Regardless of the application, you can create and maintain generic DataSources for transaction data, master data attributes or texts from any transparent table, database view or SAP Query InfoSet, or using a function module. This allows you to extract data generically.
Procedure
Creating Generic DataSources
1. Select the DataSource type and specify a technical name.
2. Choose Create.
The screen for creating a generic DataSource appears.
3. Choose the application component to which you want to assign the DataSource.
4. Enter the descriptive texts. You can choose any text.
5. Select the datasets from which you want to fill the generic DataSource.
a. Choose Extraction from View if you want to extract data from a transparent table or a database view. Enter the name of the table or the database view.
After you generate the DataSource, you have a DataSource with an extraction structure that corresponds to the database view or transparent table.
For more information about creating and maintaining database views and tables, see the ABAP Dictionary Documentation.
b. Choose Extraction from Query if you want to use a SAP Query InfoSet as the data source. Select the required InfoSet from the InfoSet catalog.
Notes on Extraction Using SAP Query
After you generate the DataSource, you have a DataSource with an extraction structure that corresponds to the InfoSet.
For more information about maintaining the InfoSet, see the System Administration documentation.
c. Choose Extraction Using FM if you want to extract data using a function module. Enter the function module and extraction structure.
The data must be transferred by the function module in an interface table E_T_DATA.
Interface Description and Extraction Process
For information about the function library, see the ABAP Workbench: Tools documentation.
d. With texts you also have the option of extracting from fixed values for domains.
6. Maintain the settings for delta transfer, as required.
7. Choose Save.
When performing extraction, note SAP Query: Assigning to a User Group.
Note when extracting from a transparent table or view:
If the extraction structure contains a key figure field that references a unit of measure or a currency unit field, this unit field has to be included in the same extraction structure as the key figure field.
A screen appears on which you can edit the fields of the extraction structure.
8. Edit the DataSource:
○ Selection
When you schedule a data request in the BI scheduler, you can enter the selection criteria for the data transfer. For example, you can determine that data requests are only to apply to data from the previous month.
If you set the Selection indicator for a field within the extraction structure, the data for this field is transferred in correspondence with the selection criteria in the scheduler.
○ Hide field
You set this indicator to exclude an extraction structure field from the data transfer. The field is no longer available in BI when you set the transfer rules or generate the transfer structure.
○ Inversion
Reverse postings are possible for customer-defined key figures. Therefore inversion is only active for certain transaction data DataSources. These include DataSources that have a field that is marked as an inversion field, for example, the update mode field in DataSource 0FI_AP_3. If this field has a value, the data records are interpreted as reverse records in BI.
If you want to carry out a reverse posting for a customer-defined field (key figure), set the Inversion indicator. The value of the key figure is transferred to BI in inverted form (multiplied by 1).
○ Field only known in exit
You can enhance data by extending the extraction structure for a DataSource by adding fields in append structures.
The Field Only Known in Exit indicator is set for the fields of an append structure; by default these fields are not passed to the extractor from the field list and selection table.
Deselect the Field Only Known in Exit indicator to enable the Service API to pass on the append structure field to the extractor together with the fields of the delivered extract structures in the field list and in the selection table.
9. Choose DataSource ® Generate.
The DataSource is saved in the source system.
Maintaining Generic DataSources
● Change DataSource
To change a generic DataSource, in the initial screen of DataSource maintenance, enter the name of the DataSource and choose Change.
You can change the assignment of a DataSource to an application component or change the texts of a DataSource. Double-click on the name of the table, view, InfoSet or extraction structure to get to the appropriate maintenance screen. Here you make the changes to add new fields. You can also completely swap transparent tables and database views, though this is not possible with InfoSets. Return to DataSource maintenance and choose Create. The screen for editing a DataSource appears. To save the DataSource in the SAP source system, choose DataSource ® Generate.
If you want to test extraction in the source system independently of a BI system, choose DataSource ® Test Extraction.
● Delta DataSource
On the Change Generic DataSource screen, you can delete any DataSources that are no longer relevant. If you are extracting data from an InfoSet, delete the corresponding query. If you want to delete a DataSource, make sure it is not connected to a BI system.
NR -
No Master Data Attributes Value Loaded
Hi
I have a custom Master Data Info Object which gets it feed for a simple master data attribute data source.
However none of the Master Data Attributes actually are populated though my request load is successful.
I get 144913 records transferred but only 78596 added. Despite this I have not a single attributes value populated.
Could the reason the data is dropping because I have 3 key fields in my datasource VIEW but only 1 Key defined in the Update Rule ? If yes, how can I change the Update Rule to include more Key Fields ?Hi Chris
I request you to check the transforamtion between your data source and data target once again.
When loading to data target, according to your transformation only the records will be updated to your data target. But all the records will get populated.
Yes, Key fields are also one reason, if the duplicate rows being populated.
Compare your data target data & RSA3 Extractor checker.Whether the duplicate records being added together or not
Regards
Saravanan.ar -
Master data, attributes, texts: ETL process
Hi,
I am new to SAP BW and have a question concerning the difference between master data attributes and texts. I am currently learning with the "sflight" example provided by SAP. There I have, e.g., a table like this:
CARRID CARRNAME CURRCODE
AA American Airline USD
AB Air Berlin EUR
AC Air Canada CAD
These are my master data because these data won't change often - correct?
What are then my attributes and texts?
Thanks!Thanks Choudhary.
I am Karthik, new to both, the community and SAP BI. I have a doubt similar to the main question, that goes like this.
CARRID CARRNAME CURRCODE TIME COUNTRIES_OPERATION
AA American Airline USD 9:00 AM America
AB Air Berlin EUR 10:00 AM Germany
AC Air Canada CAD 11:00 AM Canada
Similar to the above table, if suppose there are two other columns TIME and COUNTRIES_OPERATION,
1. Will TIME be included as "attributes" or "time characteristics" as TIME is an additional information of the master data key and there is dimension table where we can define TIME ?
2. Will COUNTRIES_OPERATION be included as "attributes" or can this be included in "hierarchy"
3. If not what can be used into "hierarchy" from the above table.
Kindly excuse if my question is silly or if it does not make sense. I am very new to these terms and still in the learning curve.
Thanking you in advance,
Karthik. -
Is it possible to update master data attributes from an ODS?
HELLO ALL,
we have records coming into our ods like the following:
costcenter1, subcostcentera, subcostcenterb, manager responsible, costs (kf).
This is a custom flat file load from a legacy system.
We would like to just create an update rule from the ODS to the cost center mater data characteristic attributes.
Is this possible?
thank youYes its possible to update the master data attributes from an ODS.
Define your master data characteristics as a infoprovider.
Create a update rule on Characteristic with ODS as a source and do general mapping.
For step by step, pls refer..
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/business-intelligence/g-i/how%20to%20implement%20flexible%20master%20data%20staging -
About delta loading for master data attribute
Hi all,
We have a master data attribute loading failed which is a delta loading. I have to fix this problem but I have two questions:
1. how can I find the those delta requests because I need to delete all these failed requests first, am I right ? Master data is not like cube or ods that we can find the requests in Manage, for master data how can we find them ?
2. Could you please let me know the detailed procedures to perform this delta loading again ?
Thanks a lotHi...
1. how can I find the those delta requests because I need to delete all these failed requests first, am I right ? Master data is not like cube or ods that we can find the requests in Manage, for master data how can we find them ?
Look.....for master data.....no need to delete request from the target..........just make the status red.......and repeat the load.....But problem is that master data sometimes does'nt support Repeat delta..........if u repeat......then load will again fail with Update mode R.........in that case u hav to do re-init.......
1) delete the init flag.......(In the IP scheduler >> in the top Scheduler tab >> Initialization option for source system)
2) Init with data transfer(if failed load picks some records)..........otherwise .....init without data transfer.....if the last delta failed picking 0 records.......
3) then Delta.......
2. Could you please let me know the detailed procedures to perform this delta loading again ?
1) Make the QM status red.........to set back the init pointer.......
2) Repeat the load.....
After that.........if again load failed with Update mode R.....
1) delete the init flag.......
2) Init with data transfer(if failed load picks some records)..........otherwise init without data transfer.....
3) then Delta.......
Regards,
Debjani..... -
Force read/refresh of master data attributes on query
Hi there,
We're having troubles with one input ready query that changes and attribute value (KYF) of one characteristic. That works fines and whe can save changed data on the infoprovider via DTP. Problem is when data is saved we need to refresh query as whe have both values on screen (original value as char attribute on rows) new value as input ready KYF, so after save we would like to see that both values are the same.
Is there any way of force query no to read from caché as whe are changing master data attributes. I read something about IF_RSMD_RS_ACCESS class that can be implemented on Master Data access and force it there but sounds really hard so if this is the way can some of you guys give us some help.
I hope I make myself clear on the explanation...
Thanks in advance,
Regards
CarlosDear All,
The recent days that I tried working on changing master data attributes through BPS didn't work out.The Primary reasons was that some of the attributes that I needed to change were not present in the transaction or planning cubes and the characteristics that are not part of your cube on which the planning area is based then you can not do changes on them.
This is my undestanding .Please correct me if I am wrong.
Besides , I was also thinking if we can do the same through portal.i.e retriving the master data infoobject ( based on the value seleceted for that infoobject by the user ) and its attributes in the portal , edit them and save them back so that the updated values goes back to BW master data infoobject data base tables and updates the value.
Eg . I have Natural Account master data infoobject in the BW with attributes fucntional area and expense center.Based on the user selection of any values for the Natural account lets say 01110 , then for 01110 natural account the portal should display the correspoding attributes values of fucntional area and expense center.Lets take this values as 10 , 20 respectively for fucntional area and expense center . What I want to do now is to change these attrbute values to 30 and 40 and I would like to save it back as the changed attribute values for that natural account for 01110 with new attribute values 30 & 40 respectively for fucntional area and expense center .
Is this possible through portal and BW?
Any idea on this would be appriciated.
Regards,
Ankit
Edited by: Ankit Bhandari on Nov 21, 2008 12:21 PM
Edited by: Ankit Bhandari on Nov 21, 2008 12:32 PM -
Error while uploading master data attributes thru flat file
while uploading master data attributes thru flat file i am facing the below errow. can nyone let me know plz.
Error 8 when compiling the upload program: row 227, message: Data type /BIC/CCDEIO_MAT5_ATTR was found in a newThis just means that you changed the transfer rules/transfer structure and have not refreshed the workbench yet. The infopackage data hasn't been updated ... this is similar to a datasource update, where you need to replicate to make sure BW knows the latest version.
The best way to correct this error is to reload RSA1. Every time I make a change to the tr/ts, I always run /nrsa1 to refresh the workbench.
Brian -
Webi error for master data attributes if universe is on top of BI query
Hi All,
We are using BO XI R2 SP5 integrated with SAP BI 7.0.
We have built a universe on top of a BI query and when we try to build a web intelligence report that includes master data attributes like Customer City,Customer Region etc BO throws the following error:
Error 1:
Database error: [SOFA Driver] : Error getting members for hierarchy (level=ZFI_I03/ZFI_I03_Q0003, member=[ZFI_I03___F172], opcode=[ZFI_I03___F172]) . System error in program CL_RSDM_READ_MASTER_DATA and form VALUEREAD-02- (see long text). Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)
For a universe built on a different BI query with master data attributes mentioned above,a different error occuring.
Error 2:
Your Web Intelligence session has timed out. Log out and log in again to InfoView. (Error: WIJ 77778)
We have tried:
1) We have executed the function module BAPI_MDPROVIDER_GET_DIMENSIONS with necessary inputs query/cube and we got correct output, like members, optional properties, selected properties and restrictions.But, still our problem remains same.
2) Transaction u201CRSRTu201D and executed the query,transaction RSRV to check SID-tables and the related masterdata.
Above steps we performed in response to SAP tickets 541052 / 2009,541131 / 2009 based on logs generated,but still the error persists.
What is working:
If a universe is built on top af an infocube directly, then there is no problem with master data attributes in webi report.
Please let us know if you need more details to help us resolve this issue.Hi Naresh,
based on the MDX you can identify that those are navigational attributes and thats why the issue is not happening when talking to the cube directly because when you connect to the cube directly the navigational attributes are not available.
Take a look at note : 996197
not sure if it will solve the problem because there are other notes when you search for the error message but this was most of the times the one that resolved the issue.
the issue is in the BAPI functions
Ingo -
Error while loading to Master data attribute 0product
Hi experts,
While loading the data from 0material to 0product master data attribute i am getting a error ' 0MATERIAL : Data record 2421 (''300000072 '):Version '300000072 ' is not valid. I request u all to help me to solve this error.
Diagnosis
Data record 2421 & with the key '300000072 &' is invalid in value
'300000072 &' of the attribute/characteristic 0MATERIAL &.
System Response
The system has recognized that the value mentioned above is invalid, and
has processed this general error message. A subsequent message may give
you more information on the error. This message refers to the same
value, even though it does not state this explicitly.
Procedure
If this message appears during a data load, maintain the attribute in
the PSA maintenance screens. If this message appears in the master data
maintenance screens, leave the transaction and call it again. This
allows you to maintain your master data.
Please let me know what could be the problem....
Regards,
Prashanth
Edited by: Prashanth Shetty on Jul 16, 2008 7:42 AMHi,
The issue is due to errorneous record.
Delete the request in Master data and Try the following.
1) Goto PSA --> filter the Status (Red or Green)
Select the Red records and correct the data in which error is throwm.
After correcting the data, save and Right click PSA and give Start update immediately.
2) Load via Infopackage only to PSA and later update from PSA and check.
Any one of the above 2 methods will solve the issue.
Regards,
Balaji V -
Error when scheduling the infopackage for loading Master data attributes
Hi,
Iam getting the following error message when scheduling this Master data Attributes ZIP_0PLANT_ATTR_FULL..( Flexible update of Master data info objects)..
In Data load monitor error i got this following error message.
Error message when processing in the Business Warehouse
Diagnosis
An error occurred in the SAP BW when processing the data. The error is documented in an error message.
System response
A caller 01, 02 or equal to or greater than 20 contains an error meesage.
Further analysis:
The error message(s) was (were) sent by:
Update rules
ThanksHI,
A caller 01, 02 or equal to or greater than 20 contains an error meesage This is an Idoc error. Please check the Idocs :
1) SM37 job log (In source system if load is from R/3 or in BW if its a datamart load) (give request name) and it should give you the details about the request. If its active make sure that the job log is getting updated at frequent intervals.
Also see if there is any 'sysfail' for any datapacket in SM37.
2) SM66 get the job details (server name PID etc from SM37) and see in SM66 if the job is running or not. (In source system if load is from R/3 or in BW if its a datamart load). See if its accessing/updating some tables or is not doing anything at all.
3) RSMO see what is available in details tab. It may be in update rules.
4) ST22 check if any short dump has occured.(In source system if load is from R/3 or in BW if its a datamart load)
5) Check in SM58 and BD87 for pending tRFCs and IDOCS.
Once you identify you can rectify the error.
If all the records are in PSA you can pull it from the PSA to target. Else you may have to pull it again from source infoprovider.
If its running and if you are able to see it active in SM66 you can wait for some time to let it finish. You can also try SM50 / SM51 to see what is happening in the system level like reading/inserting tables etc.
If you feel its active and running you can verify by checking if the number of records has increased in the data tables.
SM21 - System log can also be helpful.
Thanks,....
Shambhu -
Error while creating Data Source for master data attributes
Hi BI Experts,
Well its been some time for me that I have been part of Extraction in BI.I primarily handled reporting in my last assignments.
I was trying extraction with flat files in SAP BI 7(new to sap bi 7 but very much familiar with BW3.5) but failed in the activity during master data attributes and text upload in infoobject (say IOSP_Mat).
Here is the procedure that I did after creation of characteristic IOSP_Mat.I created a source system for flat file followed by data source for Master data attributes, i selected all the parameters correctly.i.e. csv file format, data seperator as ,
and other settings, now when i am trying to look at the proposed data in the next tab using Load example data.its not showing the desired result.The columns that I have maintained in Flat File is MAT_NUMBER and MAT_NAME (with say 100 data in the file)
same is the result when I am trying to load the text data too columns maintained are
(LANGUAGE MAT_NUMBER Short Description)(same 100 data).
now i used to rsa1old transaction to upload the file using 3.5 version.i created info source for master data/text/hierarchies for IOSP_Mat
now when trying to upload it using info package for master and text data,I observe its(the data) not maintained in the characteristic IOSP_Mat.
When I monitored ,I figured the data has not been even uploaded to the PSA level.
Can you BI experts tell me the answer for this.
Thanks,
Srijithapologies to all of you for late response,
was busy with some other activities.
I don't remember the exact message,but I remember it was not loaded to even the PSA level.I will try it again and post the exact message.
Thanks again for your quick response.
Once again sorry to all of you for my late response
Thanks,
Sri -
Where to set lock while loading master data attributes
Hello Experts,
I have two different datasources from ECC which loads into 0CUST_SALES attributes. I'm using two different DTP & transformation which are loading data in the this infoobject attributes.
When i try to load data, the DTP fails with an error message at "Updating attributes for InfoObject 0CUST_SALES Processing Terminated" & the job log says: "Lock NOT set for: Loading master data attributes".
Here what exactly LOCK means?
Thanks in advance.
Zakir Khan.Hi,
The lock means that some program is updating the master data (a table) and at the same time other program can not update that same master data. When the first program completes the updation it will release the lock so that the other program can update this.
In your case you and schedule the DTP one after another.
Thanks
Maybe you are looking for
-
Why my Local Adapter Engine not showed in SLD and Integration Directory?
Hi guru, I have installed one Local Adatper Engine on Host B, then an XI is installed on Host A, but After I installed the local adapter engine and follow the standard configration step mentioned in this document:https://www.sdn.sap.com/irj/sdn/go/po
-
Jtds and SQL server 2000(Personal Edition) problem
My application need to work in standalone mode without being connected to the network. I've installed SQL Server 2000(Personal Edition) on Windows XP platform. I've Tomat 4.1 installed on the same machine. My applciation based on jsps and servlets ru
-
My genius recommendations have not updated in 3 months in the Itunes store so clearly they no longer care to sell music. Does anyone know of a manual way to update the recommendaions? Thx
-
i bought ipod touch 4G from dubai but i stay in india. facetime is missing from my ipod. how should i get it? people pls help.
-
When is iTunes 11.2.2 finished syncing a connected iPad?
It's been a long while since I synced my iPad 2 with my MacBook Pro. In the meantime, I have upgraded to iOS 7 on the iPad and am using version 11.2.2 of iTunes. When I started syncing the iPad, everything went as I expected. A progress bar and mes