Sequential read vs direct read master data in Query
Hey all,
I use class cl_rsr_request to get data from a query in ABAP.
When I look at SM50 when executing my code, I see the following
Report action table
"CL_RSDM_READ_MASTER_DATA======CP" "Sequential read" "/BIC/SZINSTALL"
Why is this a sequential read?
I would expect a direct read, sequential read are much slower ....
Other tables have a direct read, example /BIC/PZADDR_NUM.
P-tables are masterdata tables and S-tables are SID tables, is this correct?
Steven
Hi,
a sequential read may be necessary due to wrong or not exisitng indexes on the SID table. In RSRV you can check your characteristic or in SE11 goto indexes. There you can see which indexes are active and generated. DOes ZINSTALL have attributes and you may want to read not all fo ZINSTALL but only where certain attributes are filled. For this you may need a special index.
You rifht P table are master data tables with all attributes of your characterisitc, S-tables are the sid tabels.
Regards,
Juergen
Similar Messages
-
Error while assigning infoobject to the read master data in rule type
Hi sdns,
I want to read the zwostd info object data from zemployee master infoobject attribute list. For that i have selected rule details of zwostd infoobject in transformation of info cube, then i am tring to select the read master data rule type. It is taking more time and then it displayed error like permitted time was exceeded. Could any one please give me the solution for this problem.
thanks
karunSometimes directly typing the infoobject name in the field helps - otherwise it tries to fetch all the infoobjects available which is possibly why the time out occurs..?
Enter the Master Data infoobject directly and then you will get the fields assigned.
However my experience with read master data has been that whenever you change the master data IOBJ by way of adding / removing Nav Attributes / attributes etc - all the transformations using the read master data for the IOBJ that is being changed will get deactivated and it is a pain reactivating and transporting them again - particularly so when you are developing something on them and the changes are stuck across multiple requests ...
IMHO use a routine instead to do the same - it involves lesser maintenance. SAP is anyway going to run a similar SQL... -
Error - InfoObject cannot be used to read master data
Hi All,
We am working on mapping objects in a transformation, on some of the transformation I am using the master data attribute to fill the infoobject. In some cases the mapping happens without incident but in others we are getting the following error
InfoObject cannot be used to read master data
Inside the long text of the message it says:
InfoObject does not have the correct attributes to be used to read master data for the target field
The object is one of the master data attributes, so we are not sure why we are recieving this error?
We have recieved it with 0COMP_CODE trying to load Fiscal Year Variant and with a non standard enhanced object ZMATERIAL which is a copy of 0MATERIAL with added attributes for Product Class, Product Group and Product Line wich come from the product hierarchy and are populated on the load of the material from product hierarchy.
Has anyone else had an issue with this error and can you tell us how you fixed it???
Thank you!
CarolineYou received this error for loading 0FISCVARNT (Fiscal Year Variant) because that InfoObject isn't an attribute of 0COMP_CODE (Company Code) and it cannot therefore determine what data to populate based on your input. Instead of using 0COMP_CODE, you may have to enter a constant value for the Fiscal Year Variant if you don't have it in your source InfoProvider.
When you created ZMATERIAL, did you use 0MATERIAL as a reference so that it would inherit the attributes and texts? If so, Product Class, Product Group and Product Line would have to be attributes of 0MATERIAL. If you didn't reference 0MATERIAL and are loading attributes directly to the custom InfoObject attributes, then Product Class, Product Group and Product Line would have to be attributes in ZMATERIAL in order to use the Use Master Data function for transformations. You may have to derive the values for these different, such as add ABAP for lookup routines. -
Problem in Read Master Data rule type in Transformation
Hi,
I have 'Tax Classification' & 'Sales Territory' as attributes for 0customer (Master data). I loaded master data for 0customer & data have come up for this 2 fields. I want this 2 fields in my DSO with data filled. As this 2 fields are not in Transaction datasource of my DSO, i added this 2 fields in the Target side in Transformation of the DSO. In Transformation, I gave the rule type as 'Read Master Data' from attribute of '0customer' & mapped KUNAG (Sold-to) to this 2 fields. Activated the Transformation & executed the DTP.
When i check the data, i could see that the Infoobject 'Sales Territory' column alone is filled but 'Tax Classification' column is blank. Tax classification has data in 0customer master data for the displayed customer values but still data is not coming in DSO.
How does this happen when both the fields have same mapping & rule type and still data not getting populated for one field alone. Am i missing anything?
Regards,
Muralihi,
the green request in MD does not means that the data in MD is activated, you need to activate it after loading everytime so that it reflects in where used list as well.
regards,
Arvind. -
Read Master Data for Process order status change (REL to CRTD)
I am unable to read master data and thus change the status of process order from REL to CRTD. (COR2)
The reason it says, error in BOM reading, Transport Requirement (TR) already generated.
Even after deleting the TR (LB02), the issue still exists.
Is there another way of changing the status or some more steps are needed for the TR deletion?
Thnx!
Abhi.Order header Status-
REL Released
MSPT Material shortage
PRT Printed
PRC Pre-costed
BASC Batch assignment complete
BCRQ Order to be handled in batches
SETC Settlement rule create.
In the error log it gives-
Diagnosis
Transfer requirements have already been generated, so therefore the bill of material cannot be read.
System Response
The system does not execute the action.
Then I deleted the TR (LB02), but still I cannot reread the master data.
The MSPT was for only 2 materials out of 6 and there is no GMPS status.
There is prod supply area and control cycle used.
and the TR generated at order release. -
Read master Data is not behaving properly
HI All,
We have upgraded BI server with SAP_BW patch 17.
we have used Read master data rule type in the transformation to ODS and its giving proper output where as expected .But at the same time it also giving some improper out put ,means for those values which are not there in masterdata it is giving some wrong value , but while testing in to trasformation it is giving message for those entries that they are not available in the master data .What we did was loaded flat file for billing type in to Z infoobject contains two more info object in to attribute tab and in to those attribute through flat file we are loading some value and during transaction load we want attribute value to be filled for those biling type which were loaded in master data through flat file.
please help
regards
GauravHello
This is further to the problem described by Gaurav.
Let me explain the proble with an example
Consider the Master data:
Doc Type(key) Attr 1 Attr 2
ZORS PRODUCT Revenue
ZORD PRODUCT Revenue
ZORP PROJECT Revenue
ZMTO PROJECT Revenue
ZCOS SERVICE Revenue
Consider Transaction data
Doc Doc Type
10001 ZORS
10002 ZORD
10003 ZORP
10005 S1
10006 ZBDN
Expected O/p in the ODS is
Doc Doc Type Attr1
10001 ZORS PRODUCT
10002 ZORD PRODUCT
10003 ZORP PROJECT
10005 S1
10006 ZBDN
10007 ZCOS SERVICE
the Observed O/p
Doc Doc Type Attr1
10001 ZORS PRODUCT
10002 ZORD PRODUCT
10003 ZORP PROJECT
10005 S1 PROJECT
10006 ZBDN PROJECT
10007 ZCOS SERVICE
We are not able to understand how Attribute values are coming for Doc No 10005 and 10006.
We have recently applied patch 17.
Is there any reason for this
Thanks
Regards
zubin Kurian -
Process Order status CRCR needs to re read master data
All,
I have an issue with re-reading the master data in process order.
I have an order which was released and control recipe was also released since we use pi sheet to record shop floor data.
After releasing the control recipe user made changes into bom and he wanted to re-read master data , on the master data tab re-read master data button is not activated not if i go menu path from the header process order-> functions-> re-read master data is active.
Neither i am allowed to set the deletion flag for the order, i am getting error message process order status CRCR does not alow to set the delection flag.
Any solution to this issue is appriciated
Either i should be able to re-read the master data or set the deletion flag...In your case Control Recipe is already created, so you need to send a process message to set the status of the control recipe to finished. "CRFI". Follow the steps below,
Transaction CO57, to trigger manually a process message with message Category PI_CRST for the process order and Control reciepe combination.
Then use Transaction CO54 to send the Message to the process order.
You can complete the PI Sheet by clicking the "complete" button in the PI Sheet also.
Now try to re read master data -
How to read master data?
Can anyone tell me the procedure how to read master data?
Hi,
I am sorry but your question is a bit vague. What do you mean by your statement? Can you please elaborate your requirement. -
Hi,
When we try to do the read master data, system throwing an error as Transfer requirement is already been generated. So BOM cannot be read.
What will be the reason for this?
Regards,
Sureshbabu G.Hi,
It means you have a pending Transfer Request for that particular order. Now, if there are existing TRs for the order, you can't do Master Data Read.
Delete the TR first, then re-read master data again.
Thanks! -
Hi All,
We are facing an issue while doing to Save data. We are suspecting that the source could be Master Data mechanism on Fly we have implemented .
For ex , User can create a new Entity in Portal and this triggers Import Master data from Flat File which creates ID and HIR and loads to BPC. This processes Hierarchy.
User also updates Master data properties in Portal .For ex: User changes Currency for Entity and this triggers Import Master Data from Infoobject and these changes flow to BPC.
So these two packages Import Master Data from Flat File and Import master data from Infoobject are always running frequently when users changes values in Portal and at this point some other users will be doing submissions.
The issue is we are suspecting that Master data loads are causing Save data to fail. Some records are saved but not all.
May I know if standard BPC allows Save Data while Import Master Data is loaded either Flat file or Import Master Data from Infoobject is running in background. These updates Hierarchy and disturbs Dimension master , not sure if Save data is possible . I am getting mixed results while reproducing this issue , so need some expert comments on this issue.
Apologies for bad scrrenshot.
The text in the screenshot is below
EPM . General Error
* Failed to Save Data
Details : Framework Message
Failed to read Master Data from Dimension Entity
Thanks,
KrishnaDear Vadim,
I know about the limitation but we have been fighting with SAP all this while and eventually it looks like we have succeeded in getting a solution for this business requirement. This appears to be a big update and I would like the Consultant world to know about this.
We have applied this
Note 1958480 Allow user logon BPC client while others are importing maste
which was hiding somewhere till now .SAP development team was under the same opinion as we are that Master data and Transaction data loads cant run in parallel but after applying this Note as suggested by one of the developer recently, it looks like both are running in parallel.
In the testing I noticed that I am able to load Import Master data from Flat File and Copy Transaction data (in cube) and Copy transaction data (cross cube) successfully. Both Master and transaction data loads are now running in parallel.
I was not able to believe but it appears to be working now as we expected .
We are going to do fully blown testing to see if we are going to face any dead blocks.
With this looks like we have a 100% working Real time Master Data loads functionality as expected by User.
Thanks,
Krishna -
Read Master Data in BW Transformation
Hi,
I am using BW 740 SP02 and I need in a transformation rule to use the option "READ MASTER DATA", In fact this enables me to use all attributes of an infoObject and affect them to my data target ( Infocube).
I was wondering if there would be any possibility to affect also master data text of an infoObject and affect them to a data target?
I know that master data text are available through Bex queries, but for my case I need to have them in my Infocube.
Best Regards,
RAFIKHi Mohamed,
Using standard rule type this is not possible
However there are two ways to achieve this:
1. you use abap routine to read the text value from text table of info object (BIC/Txxx) in transformation
2. a. add a char info object to your master data
b. create another transformation from text data source to populate this new field (which is actually text)
c. create DTP to populate this new field with text values
d. now you can easily use, 'read master data' rule in transformation and assign the text field to your target field
hope this helps,
Purvang -
Read Master Data on Process Order
Hi there,
We have a process order in status CRTD PRC APNG APRS BCRQ MANC SETC. But when user try to initiate a Read Master Data for Prod Version / Master Recipe / BOM, system is giving this error log:
No approval: production version 0001 has not been approved
Unreleased engineering change orders:
Engineering change order 500000000001 has not been released
I have checked on the Change Number for both the Master Recipe and Bill of Material and everything seems to be correct. Why does SAP prompting "No approval: production version 0001 has not been approved" and why is SAP trying to read Engineering Change Order 500000000001? This is an old one possibly the first Engineering Change Order generated...
Cheers
Edited by: patvin on Oct 18, 2010 11:44 AMDear,
As per GMP Steps are as,
The procedure in the environment requiring an approval is the following:
-> Create
1. Create new production version, without specifying recipes and bill of material.
2. Assign a change number which is valid for the recipe and the bill of material to be entered to the production version.
3. Enter recipe and bill of material in the production version or if external number assignment of the recipe is required, make no entry in the recipe group.
4. Navigate to the recipe, for example, by double-clicking on the Recipe field.
5. Maintain the recipe and the material list (bill of material) within the recipe as usual.
6. Save the recipe and, therefore, also the bill of material. (Return to the production version transaction. )
7. Save the production version.
-> Change
1. Assign a change number which is valid for the recipe and the bill of material entered or to be entered to the existing production version.
2. Navigate to the recipe and further processing as described under -> Create.
After the release of the change request, all three objects production version, recipe and bill of material are approved providing a change rule which prescribes an approval procedure was defined in the recipe header.
You need a suitable change request for defining the change rule. Providing you use the integrated maintenance via the production version as recommended, proceed as described above and assign the suitable change request to the production version.
If you want to ensure furthermore that no recipes are created without change request, use a profile set correspondingly in Customizing for the creation of recipes.
Hope clear to you. For details refer the Note 154360 - Maintain prod.vrsns+recpes i.env.requirng an apprvl
Regards,
R.Brahmankar -
Read master data on demand:
I am trying to install a cube following error occured :
<b>Read master data on demand: Attribute 0CHRT_ACCTS shown is not an attribute of 0COMP_CODE.</b>
Please help.check if 0comp_code has chart of accounts as attribute or not - delivered version has it as an attribute. It might be that you guys might have removed it - and the same value is being derived from masterdata table in the cube in the update rules - and the system is not able to find it - and is bombing out
-
hi please tell me the use of transformation ---> read master data.with example please
Hi,
Please search the forum before posting.This is again very basic question and has been discussed couple of times.
Read the below pdfs.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50357f56-5701-2e10-fd8c-a2da94bd95dd?QuickLink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/306ccc96-f000-2d10-1985-b20209f2b502?QuickLink=index&overridelayout=true
Hope it helps.
Regards,
AL -
hi guys
i tryied in everyway to use read master data in a transformation in BI 7.0
but ii always retrieve errors
"No InfoObject available for reading of master data".
source SODS with
infoobject A Master data ( Attribute Ab)
target TODS with
infoobject Ab
infoobject A Master data
i want to write in the target ODS not only the master data A but also his attribute Ab
when I go into the Transformation Rule for Ab, I choose the Rule Type "Master Data Read" and I should be able to select the A infoObject in the Source InfoObject list,
and Ab in IOassignmnt but when I try, I only get an error message saying "No InfoObject available for reading of master data".
i searched into the forum and there are other cases like this not answered
thanksI just resolved this problem on my computer running Windows 7 64 bit. \
Try the following:
Open Adobe Reader XI
Choose Edit > Preferences
A dialogue box will open with a "Categories" Column on the Left, and another broader section on the right with items to check
FROM THE LEFT COLUMN choose "Security (Enhanced)"
Now look to the right of the categories column; you will see a check box with "Enable Protected Mode at Startup" checked
Uncheck that box.
When Adobe asks you if you're sure, choose "yes"
Close Adobe and then restart the program.
Open a pdf document THAT IS NOT A SCANNED DOCUMENT
Choose View > Read Out Loud > Activate Read Outloud
Then click on a section of the doucment you want read. It will be bounded by a box and start reading.
You may also choose to read the entire document or a single page.
Hope this helps.
Maybe you are looking for
-
Error while trying to access User Management Engine
Hi, when I am trying to login to UME using J2EE_ADMIN user id and password, I am getting the following error. Unknown message (ID = java.lang.ExceptionInInitializerError at com.sap.i18n.cp.ConvertBase.CheckConverterJNIAvailable(ConvertBase.java:80)
-
How to get values of complex data type specified in webservice wsdl file
I'm trying to retreive cid from a complex data type[b] course which I'm getting as response from the webservice, it throwing that cid is not valid . <course> <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"> <syncbpelRespons
-
Profit centre line item report after transfer
Dear All, I have activated Document splitting. And it is working fine. But when i take the report at profit centre level i am not able to see the Balance sheet line items. Then i transferred the Balance sheet items to profit centre through customizin
-
How do I watch Apple TV without having iTunes account on
I know this is a basic question but I can't seem to get ATV to work without have my laptop and iTunes open. I just need to know how to sync/ what to select. Thanks for the help.
-
What is this? nokia 5800 little lock icon :S
edit: new image added (better quality) [IMG]http://i97.photobucket.com/albums/l233/Dima33/Image0015.jpg[/IMG] What is this? Little yellow lock key on the video...I'm unable to open it or copy it everything was fine for 2 weeks...i had this video as