BI 7.0 Transformation?
Hi experts, I have this problem:
I am in a 7.0 BI release, but when I try to install any Object, for example an InfoCube with data flow before grouping, the system proposes the old type objects (update rule for example) but I can't see the Transformations!!..and if I search them in Transformations' objects selection, I can't find them!!
It is normal? How can I install the Transformation?
I have migrated datasource from 3.x to 7.0, but it's the same; and if I try to create manually the transformation, this message occurs: "Cannot generate proposal"..I must link all fields manually????
Thanks in advance..
Regards.
Hi,
I am in a 7.0 BI release, but when I try to install any Object, for example an InfoCube with data flow before grouping, the system proposes the old type objects (update rule for example) but I can't see the Transformations!!..and if I search them in Transformations' objects selection, I can't find them!!
It is normal? How can I install the Transformation?
*Yes. It is normal that it proposes the old content also. Transformation can be installed thru business
content object by types*
I have migrated datasource from 3.x to 7.0, but it's the same; and if I try to create manually the transformation, this message occurs: "Cannot generate proposal".
If you are calling the transformation for the first time it does not have any field mappings are done before right so that it gives as "Cannot generate proposal".
.I must link all fields manually????
Yes . You need to do manual mappings with appropriate rule details.
Hope it helps
Similar Messages
-
Not all fields are getting updated in transformation
Dear all,
Please help me in the following issue:
I have the following scenario:
DSO1 and CUBE1. From DSO1 to CUBE1 I have transformation. Fields are mapped one to one.
Some of the fields are getting updated in transformation (22 fields) and some of them are not updated in transformation. (2 - storage location and steel grade).
The fields exist in DSO 1 but don't go into cube.
I did the following:
1. deleted transformation and dtp, recreate = > not working
2. copied the cube, and create new transformation and DTP...not working.
Any help would be appreciated
Thank you
RamonaHi Ramona,
Storage location (standard infoobject 0STOR_LOC) has plant as compunding object, check whether this is the issue ? (may be check with Steel grade infoobject also).
Else, do some RSRV checks on the DSO and Infoobject, if it doesn't bring up any issue, raise a message with SAP.
Check your BW Support Pack level , is it the latest ? Give more details about the scenario ?
Cheers,
CK -
Transformation Issue: HR - PA
Hi,
I'm working on SAP HR-PA stuff.
In standard data flow, 0HR_PA_0 & 0HR_PA_1 datasources feeding data to 0PA_C01 Cube.
Our detailed reporting requirements demands me to insert a DSO in between. I created a DSO with same fields as cube, and copied all the routines in the update rules and loaded data and everything is working fine.
Now, I wanted to use BI 7.0 functionality, So, i selected update rules -> Additional functions -> Create Transformation. .
This will convert all 3.5 routines into BI 7.0 routines, I guess.
But, after the data loads, surprisingly these transformation populating wrong data into DSO.
Is this the right way to create transformation from update rules?
Thanks,
VHi Vas,
I just read your thread on sdn for 0PA_C01 cube.
I need a small help from you.
I am also working on the same cube, same like you I am migraitng the data flow from 3.5 to 7.0. I have few routines in the update rules which i need to convert it to oops abap in bi7. You have this cube in 7.0 already. So, can you please send me the routine code you have. Actually i am not a abaper and my client also dont have any bw-abap person. I need to do some manual changes in the code. My data flow is exactly same as your data flow. I am unable to solve this problem from long time.
And also I need to put dso inbetween the flow as per our clients requirements. So where did yu out the start routines and infoobject routines in update rules of 3.5 to 7.0, i mean at what stage?, before dso or after dso? Also I have the INCLUDE in my routines that I am worried about.
If you provide me the code, i will really appreciate it. And in future we can share the knowledge as well.
Thanks.
Regards,
Harshal Panchal -
Transformation - Fields Missing!!
Hello Experts,
I am facing a strange issue in the transformation beteen DSO to Cube.
My DSO Contains 148 fields while in the transformation I can see only 131 fields.
IN thedevelopment Box the transformation appears fine but in the Acceptace box the mentioned problem
occurs.I tried regenerating the export datasource, activated & transported the DSO but all in vain.
PLease help.
Thanks,
SuyogHi,
Go to RSA1--> Data sources Choose source system as BI and find for data source with 8<DSO name>. Once you get the data source ,select change from context menu --> go to Fields tab and check under column Transfer (5th Column) for all fields . If any field is unchecked then check and activate data source to see all fields in Cube transformations.
hope it helps...
regards,
Raju -
Regarding Field Missing in Dso Transformation
Hi
Folks
I am facing the issue like
In Datasouce to DSO transformation i can see the 55 objects in DSO table, and in DSO to Cube Transformation i can see 54 fields in DSO table, one field is missing , the object 0TXTSH(short discription) is mapped to field 0TXZ01in DS to DSO transformation.
so How can i get the field in DSO to Cube transformation.??
any settings have to be change???
waiting for yours Valuable answers
Regards
AnandHi,
Please identify the object and check it whether it is an attribute or a characteristic, if it is attribute only disable that option then check it.
Regards,
Srinivas -
How can I display XSLT transformer errors on a web page ?
Hi,
I have some JSP pages that access DB, create an XML based on DB data and then transform it into HTML through an XSLT stylesheet. Developing the XSL code it's easy to make mistakes and generate errors on trasformation, but what I receive on the web page is only a "Could not compile stylesheet" TransformerConfigurationException, while the real cause of the error is displayed only on tomcat logs. This is the code for transformation:
static public void applyXSLT(Document docXML, InputStream isXSL, PrintWriter pw) throws TransformerException, Exception {
// instantiate the TransformerFactory.
TransformerFactory tFactory = TransformerFactory.newInstance();
// creates an error listener
XslErrorListener xel = new XslErrorListener();
// sets the error listener for the factory
tFactory.setErrorListener(xel);
// generate the transformer
Transformer transformer = tFactory.newTransformer(new SAXSource(new InputSource(isXSL)));
// transforms the XML Source and sends the output to the HTTP response
transformer.transform(new DOMSource(docXML), new StreamResult(pw));
}If an exception is thrown during the execution of this code, its error message is displayed on the web page.
This is the listener class:
public class XslErrorListener implements ErrorListener {
public XslErrorListener() {
public void warning(TransformerException ex) {
// logs on error log
System.err.println("\n\nWarning on XEL: " + ex.getMessage());
public void error(TransformerException ex) throws TransformerException {
// logs on error log
System.err.println("\n\nError on XEL: " + ex.getMessage());
// and throws it
throw ex;
public void fatalError(TransformerException ex) throws TransformerException {
// logs on error log
System.err.println("\n\nFatal Error on XEL: " + ex.getMessage());
// and throws it
throw ex;
}When I have an error in the XSL stylesheet (for examples a missing closing tag), I can find on tomcat logs the real cause of the error:
[Fatal Error] :59:10: The element type "table" must be terminated by the matching end-tag "</table>".
Error on XEL: The element type "table" must be terminated by the matching end-tag "</table>".but on my web page is reported just the TransformerConfigurationException message that is:
"Could not compile stylesheet".
How can I display the real cause of the error directly on the web page?
Thanks,
AndreaThis code is part of a bigger project that let developers edit XSL stylesheets through a file upload on the system and we can't impose the use of any tool for checking the xsl. So, I need to display the transformer error on the web page.I see. This code is part of an editorial/developmental tool for developers to create and edit XSL stylesheets.
As part of the editorial process, XSL errors during editing can be considered a normal condition. In other words, it is normal to expect that the developers will generate XSL errors as they are developing stylesheets.
In this light, handling the XSL transformation errors is a business requirement that you need to handle. Using the Java Exceptions mechanisms, e.g. try / catch are inappropriate to handle business requirements, in my opinion.
I suggest that you look at how you handle the occurence of XSL errors differently than what you currently have. You need to:
(1) capture the Transformation exception on the server;
(2) extract the message from the exception and put it into a message that can be easily understood by the user;
The current error message that you have going to the web browser is not useful.
And you should not have the Transformation exception sent to the web browser either.
What you are attempting to do with the exception is not appropriate.
Handle the Transformation exception on the Business tier and use it to create a useful message that is then sent to the Presentation tier. In other words, do not send Java exceptions to web browser.
/> -
How to delete the rule in transformation
Hi all ,
I have remodeled the info-cube and added one characteristics ZRMACTTRS. This characteristics got updated in transformation rule..Now i want to delete it from transformation but i am unable to do so ..
I tried deleting the rule and message was populated "one rule is successfully deleted " but yet it is not removed from transformation structure (this rule has a key,can i remove key from rule ?).
I have tried to remove the characteristics through remodeling but delete characteristics request is not getting active...
Please helpyoiu can try by putting the rule to 'initial' (in rule details)...ignore the subsequent warning and delete the arrow with a right-click. Then activate your rule again...maybe this will work.
M. -
Error while assigning constant to infoobject in open hub transformation
While assigning constants(in rule details) to infoobject in a transformation in a open hub I am getting an error "The Object Name is not allowed to be empty"
Can anyone tell my why this is happening? What should I do now?Hi,
In the transformation, have you connected that rule to any target field of your destination? If not, then do that and then try to create the routine.
Regards,
Vaibhav -
Error while activating transformation ---- Message no. RSTRAN510
Hi,
while I am Extrating Data From Flat File I encountered this Error.
I am working on <b>ECC 6.0 , BI 7.0.</b>
I am trying this one in IDES, it is newly installed server.
For Flat File Extraction I follwed the Steps
1) I created Data source -
let us assume I have created a Flat File with 3 fields
SNO SNAME MARKS
File is located in workstation
Data source created successfull , I have checked in preview.
2) I have created 2 key Figures, 1 characteristic
3) I have created Infocube
<b>here I have some doubt</b>
while I am creating Infocube, the look and Feel is very different to 3.XX
when i try to create in 3.XX , we can see the Tabs for Kef figs,chars,Time chars and we assign chars to Dimenstions.
when i am creating Infocube in BI 7.0 , I don't Find such a Tabs and how I am assign the chars to Dimension
I created Like this
select
Info Area -
> create Info cube -
given name of the cube and create (F5).
the Info cube window displayed on the Right side
Then I did like this
select
key Figures -
> Info object Direct Input
Then I inserted my two key figures SNO,MARKS
--- continue (F5)
Dimension 1 -
> Info object Direct Input
I inserted the 1 char SNAME
--- continue (F5)
Then I saved the Info cube
Info cube saved successfull and activated successfull
<b>Is it Right way For create InfoCube ?</b>
4) I created Transfomation for the Data source
Data source -
> create Transfomation
I have given
Object Type : InfoCube
Name :YSTU - i selected which I already created.
It automaticall taken these parameters
Obejct Type : DataSource
Data source : YSTU
source system :PC_FILE
create Transformation (Enter)
I got the Error
<b>Cannot generate proposal</b>
<b>Message no. RSTRAN017</b>
Then I try to activate, I got the Error.
<b>Error while activating transformation</b>
<b>Message no. RSTRAN510</b>
Before I post this , I had searched in Previous SDN post for this Error , But I can't understand the solution.
I have lot of doubts like <b>Basis Guy need to install any Patch</b> or
I did mistake any where.
Help me to Find the solution...
sure you can get the points
Thanks
prasannaThank You so much Voodi, yes you are Right , I am not concentrated on Mapping, Now Transformation is activated.
and i created Info Package too for the Data source , created successfully.
I am struck on Final step <b>creating DTP</b>
when I am creating DTP
Data Transfer Proc : here I need to give the Dtp name ex: YDTP
DTP Type : Standard (Can be sheduled)
Target of DTP
<b>Object Type</b> : Info cube
<b>Name </b> : YSTU (This is my Cube Name)
Source of DTP
<b>Object Type</b> : Data source (It automatically Taken)
<b>Data source</b> : This is Disabled
<b>Source system</b>: This is Disabled
continue (Enter)
I got the message ?
<b>Specify Name of source</b>
and courser is in <b>Data Transfer Proc </b>
Thanks
prasanna -
Error while activating Transformations
Hi gurus,
Iam facing a problem while activating Transformations.
Its a flat filre loading consisting of 4 objects , 3 are standard and one is customised key figure ZPLN_VAL Data type is Amount, currency is fixed INR.
But iam getting following errors while activating transformations.
1,RULE(target ZPLN_VAL, Group;01 standard group); Conversion type missing.
2.RULE7 (Target field:ZPLN_VAL) Field planned value must be assigned to an Infoobject.
3.RULE(TARGET FIELD ZPLN_VAL) NO SOURCE UNIT ASSIGNED.
Regards
Amar.Hi,
Map it with required Unit filed from your Source .
Mayank -
Error while activating Transformation RSO404
Hi All,
When i am activating a transformation i am getting this error. The transformation was not getting active. Can u please let me know why it was happening. There are no syntax errors in the routine or in the start routine.
regards,
mahesh.Hi Jin,
I also checked that one but it was not showing any errors. Why i got this problem is we have a start routine in this one when i am loading data into that it was getting an error that there was a problem in start routine.
So, what i have done i commented the start routine and again activated the transformation it thrown an error. again i uncommented the start routine and start doing activation it was throwing the same error. Can u please reply if u can understand my question or not.
regards,
mahesh. -
Error while activating transformation
Hi Experts,
I need to activate a transformation between a cube and DSO.
But I am getting an error message while activating the Transformation the messages are as followed.
1. Error when writing routines
Message Number. RSAA561
2. Error while activating transformation
Message Number. RSTRAN510
3. Error activating transformation.
Message number. RSO404
I have checked the transformation and each field is mapped to correct field and there are no routines its just 1:1 mapping can any body tell how to check the error on basis of Message Number as there is no other information available when we are displaying the error.
Regards
Shubh KaranMight be a problem with the time conversion routines. delete the transformationa nd try again.
Good luck,
vijay -
Error while activating Transformation CO_OM_WBS_3
Hi everybody,
i get the following error message while activating the transformation for CO_OM_WBS_3 in Dev
Error while activating transformation
Message no. RSTRAN510
Error when writing routines
i checked the routine for co_om_wbs_3 the syntex was correct.
i have checked in forum am not getting clear picture please guide me and
sap component version : SAP EHP 1 for SAP NetWeaver 7.0
SAP_BW 7010006 SAPKW70106
BI_CONT 704 0006 SAPK-70406INBICONT
Regards,
SunderDear anand,
thankyou
Regards,
sunder
Edited by: sundersham on Mar 28, 2010 12:34 PM -
Error While Transporting Transformation
Hi Gurus, I have this issue that I am getting an error while transporting Transformation. I made sure that that only transformation is sected and nothing else. I am getting this error message while importing it in BWQ environment "Formula 4AY060939P5D2NKRXKMJFECLS is already locked in the requests of other users or the system is set so that formula 4AY060939P5D2NKRXKMJFECLS can no longer be changed."
I was wondering, if this is locked by some other object or transport request, how can I find that out? Thanks in advance for all the help.Hi,
You can check if the request is locked by another transport in BWQ by using the transaction SE03.
First find the object directory entry for your object(you can take this from your transport. Go to SE03 --> 'Search for Objects in Requests/Tasks '. Under object selection enter the details as in your transport and select the check box against your new entry. Under Request/Task selection, select 'Modified' and 'Released'. Execute. You will now see a list of transport requests that contain your transformation. Check these & either release them or delete your object from the modifable transports. Re import your transport.
You can check if this object was locked by a person using the transaction SM12.
Regards,
Shilpa -
Error while Migrating the custom routines in Transformations
Dear All,
I am in the process of migrating BW 3.5 to BI 7.0.I migrated the Standard cubes and DSO's from BW3.5 to BI 7.0 flow successfully.
But while migrating the transformations which are having the custom routines,I am facing the below errors.
The data object "COMM_STRUCTURE" does not have a component called BIC/ZGROSSPRI".But the routine contains BIC/ZGROSSPRI.
I tried to change the BW 3.5 terminology to BI 7.0 terminology.(Like COMM_STRUCTURE replaced by SOURCE_FIELDS).But unable to solve.There are nearly 20 custome routines written in all transformations.
Can any one guide me who faced the same tyepe of problem?
Thanks & Regards,
DinakarHI,
We need to include Source and Target see the below article.
http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
How to Correct Routines in Transformations
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/g-i/how%20to%20correct%20routines%20in%20transformations.pdf
Thanks
Reddy -
Simple Transformation to deserialize an XML file into ABAP data structures?
I'm attempting to write my first simple transformation to deserialize
an XML file into ABAP data structures and I have a few questions.
My simple transformation contains code like the following
<tt:transform xmlns:tt="http://www.sap.com/transformation-templates"
xmlns:pp="http://www.sap.com/abapxml/types/defined" >
<tt:type name="REPORT" line-type="?">
<tt:node name="COMPANY_ID" type="C" length="10" />
<tt:node name="JOB_ID" type="C" length="20" />
<tt:node name="TYPE_CSV" type="C" length="1" />
<tt:node name="TYPE_XLS" type="C" length="1" />
<tt:node name="TYPE_PDF" type="C" length="1" />
<tt:node name="IS_NEW" type="C" length="1" />
</tt:type>
<tt:root name="ROOT2" type="pp:REPORT" />
<QueryResponse>
<tt:loop ref="ROOT2" name="line">
<QueryResponseRow>
<CompanyID>
<tt:value ref="$line.COMPANY_ID" />
</CompanyID>
<JobID>
<tt:value ref="$line.JOB_ID" />
</JobID>
<ExportTypes>
<tt:loop>
<ExportType>
I don't know what to do here (see item 3, below)
</ExportType>
</tt:loop>
</ExportTypes>
<IsNew>
<tt:value ref="$line.IS_NEW"
map="val(' ') = xml('false'), val('X') = xml('true')" />
</IsNew>
</QueryResponseRow>
</tt:loop>
</QueryResponse>
</tt:loop>
1. In a DTD, an element can be designated as occurring zero or one
time, zero or more times, or one or more times. How do I write the
simple transformation to accommodate these possibilities?
2. In trying to accommodate the "zero or more times" case, I am trying
to use the <tt:loop> instruction. It occurs several layers deep in the
XML hierarchy, but at the top level of the ABAP table. The internal
table has a structure defined in the ABAP program, not in the data
dictionary. In the simple transformation, I used <tt:type> and
<tt:node> to define the structure of the internal table and then
tried to use <tt:loop ref="ROOT2" name="line"> around the subtree that
can occur zero or more times. But every variation I try seems to get
different errors. Can anyone supply a working example of this?
3. Among the fields in the internal table, I've defined three
one-character fields named TYPE_CSV, TYPE_XLS, and TYPE_PDF. In the
XML file, I expect zero to three elements of the form
<ExportType exporttype='csv' />
<ExportType exporttype='xls' />
<ExportType exporttype='pdf' />
I want to set field TYPE_CSV = 'X' if I find an ExportType element
with its exporttype attribute set to 'csv'. I want to set field
TYPE_XLS = 'X' if I find an ExportType element with its exporttype
attribute set to 'xls'. I want to set field TYPE_PDF = 'X' if I find
an ExportType element with its exporttype attribute set to 'pdf'. How
can I do that?
4. For an element that has a value like
<ErrorCode>123</ErrorCode>
in the simple transformation, the sequence
<ErrorCode> <tt:value ref="ROOT1.CODE" /> </ErrorCode>
seems to work just fine.
I have other situations where the XML reads
<IsNew value='true' />
I wanted to write
<IsNew>
<tt:value ref="$line.IS_NEW"
map="val(' ') = xml('false'), val('X') = xml('true')" />
</IsNew>
but I'm afraid that the <tt:value> fails to deal with the fact that in
the XML file the value is being passed as the value of an attribute
(named "value"), rather than the value of the element itself. How do
you handle this?Try this code below:
data l_xml_table2 type table of xml_line with header line.
W_filename - This is a Path.
if w_filename(02) = '
open dataset w_filename for output in binary mode.
if sy-subrc = 0.
l_xml_table2[] = l_xml_table[].
loop at l_xml_table2.
transfer l_xml_table2 to w_filename.
endloop.
endif.
close dataset w_filename.
else.
call method cl_gui_frontend_services=>gui_download
exporting
bin_filesize = l_xml_size
filename = w_filename
filetype = 'BIN'
changing
data_tab = l_xml_table
exceptions
others = 24.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Maybe you are looking for
-
Ipod to TV: what's the picture quality?
Did anyone have the chance to play a downloaded video from their Video iPod onto a TV via the dock connector? I wonder what the quality is like since the video are encoded at 320x240? Feedback greatly appreciated!
-
Reading data from URG-04LX-UG01
Hi. I'm curently trying to create a vi that reads the data from a URG-04LX LIDAR laser. When I try to connect to the device through LabVIEW I can't read anything from it, if I use the Basic serial write and read example vi all I get is nothing or if
-
Appending a file using i/o
import java.io.Console; import java.io.FileWriter; import java.io.PrintWriter; import java.io.Writer; import java.io.IOException; import java.io.File; class appendfilewritter public static void main(String args[]) throws IOException Console c=System.
-
How thick paper can the 'Office Jet 150 Mobile' handle for printing and scanning?
I would like to know how thcik paper it's possible to use on the Office jet 150 Mobile - all in one printer?
-
Hai >>> What is exact meaning of SIZE CATEGORY and DATA CLASS? >>> What Is generic means of DOMAIN and DATA ELEMENT? >>> What generic meaning of FOREIGN key relationship ? >>> What is INdex? What is Buffering? Thanks with regards