Transformation Questions
Hello
I'm getting an ERROR in the following transformations rule..
Timestamp --> Date
Timestamp --> time
Timestamp --> Month
Timestamp --> Year
I though time info Objects are subjected to automatic conversions ?, why its is NOT getting converted ?
Thanks and your answers are appreciated.
Hi,
We too faced the same problem,at that case we deleted the transformation and created it again,it worked.In BI 7.0
Regards,
Prem
Edited by: Prem Venugopal on Mar 11, 2009 6:08 AM
Similar Messages
-
Hi,
I have a unique question for everyone.
In one of my data load into a DSO, i need to update a target field either as override or Summation based on a input flag field.
Is this possible. I am open to writing code in any of the transformation routines.
Thanks
Niveda SharmaYes, you may have to write an End Routine & also read the same DSO which could cause long load times. Just evaluate and see if its worth it.
The logic would be in END Routine:
For the keys of the DSO (Result_Package) read the DSO with the same keys.
Based on the input_flag, add result_package-kf to DSO-kf, if you have to sum
else overwrite result_package-kf, if you have to overwrite.
Hope this helps -
Genereting JSTL tags with an XSLT transformation question
Hi there!
I have some XML datas to display in a jsp file.
XML content is of this type:
<message>
<title>A message</title>
</message>
The most elegent way to present them is to transform XML via xslt into xhtml.
(that way I can externally change with ease the message formatting output without changing the jsp)
For that, I use the cool tag
<x:transform>
on each xml file i want to display (with x:foreEach)
The output produced for each xml file is:
<div class="message">
<h2>A message</h2>
</div>
My problem is now that I want to include custom tags in the generated content!
For exemple:
<div class="message">
<h2>A message<c:out ...></h2>
</div>
My question is:
how can I make that xslt generated tag to be executed???
Since it is the product of an xslt transformation ,I suppose it won't be executed at all...
Advices greatly appreciated! :)I'm not sure I understand what you mean when you say "how can I make that xslt generated tag to be executed???"
You've got your XML input and the XSL-T stylesheet that will transform the XML input into an XHTML stream containing JSTL tags.
I'm assuming that you're going to ask a servlet to pass the XML input to the XSL transformer and get the XHTML output stream. Once you have that, the servlet will write the XHTML to the HTTP response output stream, where it'll be rendered by the browser.
I think the key is to make sure that you tell the browser that response type is a JSP (that's the only document type in which it makes sense to put JSTL tags). When the browser gets that JSP, it'll treat it like any other: generate .java code, compile that to a .class file, and then render.
I'm not sure about efficiency, but it sure is an elegant solution. - MOD -
Hi! This is a very simple question...
I've been trying to use ABAP transforms in BODS, and I'm having some difficulty with the documentation. In particular, it's not clear how exactly the extracted information from the ABAP program makes it into the BODS dataflow.
Does anyone have a clearer picture of how this is done?
Thanks,
ScottHi,
Are you checking for ABAP Dataflows or Custom ABAP transformations?
Regards. -
Hi together!
Hope anybody can help.
I have the follow XML structure :
<asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">¶
<asx:values>¶
<IMPORT>¶
<Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<DATA>222358 1NU 480350 29102007VENDA DE MERCADORIA 30</DATA>¶
</Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<DATA>35403474</DATA>¶
</Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<DATA>35403822</DATA>¶
</Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<DATA>4480350</DATA>¶
</Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<DATA>220089</DATA>¶
</Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<DATA>3540347</DATA>¶
</Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<Y0DPL_LATAM_INV_FILE_UPLOAD>¶
<DATA>4480351 </DATA>¶
</Y0DPL_LATAM_INV_FILE_UPLOAD>¶
</IMPORT>¶
</asx:values>¶
</asx:abap>
After the XSLT Transformation i need the data in this structure :
<data>
<invoice>
<id>222358</id>
<item>35403474</item>
<item>35403822</item>
<code>4480350</code>
</invoice>
<invoice>
<id>220089</id>
<item>35403474</item>
<code>4480351</code>
</invoice>
</data>
I tried to group the data with the tag "xsl:for-each-group". But i get no result.
Regards,
AntonHi,
no one with a good hint?
Regards,
Anton -
IDM Date Transformation Question
Hello,
I have a colunm in a Oracle database with a date format : DD/MM/YY.
But when I synchronize or reconcile this resource with IDM, the date value is transform to this format YYYY-MM-DD HH:MM:SS.s in IDM.
How and where the transformation is realized ? (what form, xml file,...)
My problem is that I want to use this attribute to use "Last Predicate Search" in resource synchronization but it does not work because the date is tranform to a wrong format!
Can you help me ?
Thanks
MathieuLastUpdatedDate IS NOT NULL AND LastUpdatedDate > '$(LASTUPDATEDDATE)' , where LastUpdateddate is the colum name of SQL DB
--Laxmi -
JDeveloper BPEL Designer Tool: Transformation Question
Hello,
I am prototyping a small web service orchestration demo.
I have 3 Schema Elements - Request, IndividualResponse, and CombinedResponse
I invoke 3 web service invocations in parallel - each of which takes a Request and returns an IndividualResponse
I need to populate a single CombinedResponse with the contents of the 3 IndividualResponses.
When I try a transformation node (to map an IndividualResponse to a CombinedReponse), the IndividualResponses overwrite each other's information in a single node within the CombinedResponse. I want the contents of the IndividualResponses to go into separate nodes within the CombinedResponse.
Any ideas on how to do this in the Oracle JDeveloper BPEL Designer Tool?
Thanks!
-SNTransformation by definition converts one xml format to another. What you need to do is perform multiple assigns to copy the individual responses to the combined response.
--Nizam -
In Java, I use javax.xml.transform to transform xsl/xml.
Here is part of the xsl:
<node>
<xsl:apply-templates select="node"/>
</node>If there do not have node in the xml, then the output will be <node/> .
But here, I wanna to display <node></node>.
So, I want to ask, whether there have any method in transform class or any properties I can set in xsl.The two variations are identical as far as XML is concerned. Why is it important to you to get one of them and not the other?
-
Hi all,
i have a BPM where i have 2 subsequent Transformation Steps within one block with the following properties
Step1:
SourceMessage = aaa
TargetMessage = zzz
Step2:
SourceMessage = bbb
TargetMessage = zzz
As i have the same target message in both steps, will the content set after the first transformation still be set after performing the second transformation ?
Best regards,
martinHi,
guess you have to do it in one transformation step like in this pattern:
http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/frameset.htm
Regards
Patrick -
Hi guys,
I'm wondering if it is possible to control the parameters of the transformer object with midi events.
Let's say I want to create a button or fader that controls a specific parameter of the transformer object.
Any feedback appreciated.
EddieThanks,
I tried different meta events, but still can't figure out how to:
change the function for data-byte 1 from "thru" to "reverse" with a switcher.
Could you guide me through this, please?
Thanks Eddie
BTW could anyone please tell me, where I can find a list that tells exactly what is byte 1 or byte 2 of a specific midi event and what does it control. -
In cs5 I noticed that sometimes the Transform link does not display in control panel when I select a shape. Is there a way to enable this option?
Besides scaling and rotating a shape, how else do you use the Free Transform tool to do more than scale or rotate? Are there shortcuts to do this?I'm not sure what you mean by the Transform link in the control bar...
As to the Free Transform tool, you can do any transformation with it, scale, rotate, skew, perspective, rhomboid, etc. It's just a matter of various keys being held down (Shift, Option, Command on the Mac) after you click a handle and before you start dragging. -
XSL transform question from XML date datatype to SQL date datatype
Just to give an idea, I am reading some employee information in a CSV format and I have created the fileadapter to read it and parse it into coherent information where each comma separated value corresponds to a column in an employee table. One of the columns is of the date object in the database.
So my my variable is created with a list of employees and then fed into the invoke that calls a dbadapter that does the insert. I am using a transformation to get the values from one variable into the other simply because of namespace conflicts. However the xml date will not match the sql date object as to be expected...but how do I work around it? I have a few ideas but I am not sure they are worth mentioning.
Any suggestions?@@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
May 14 2014 18:34:29
Copyright (c) Microsoft Corporation
Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
(1 row(s) affected)
Compatibility level is set to 110 .
One of the limitation states - XML columns with a depth of more than 128 nested nodes
How do i verify this ? Thanks .
Rajkumar Yelugu -
DPS 6.3 read transformation question
I've a (non Sun) Directory where user entries are spread over several ou's .
A physical user can actually have several LDAP entries (each one with a "certificate-like" attribute)
with the same RDN, but under different ou's .
User entries under some of these ou's have a "ou" attribute, while users under the other ou's don't have one.
So, I'd like to use the DPS 6.3 read transformation feature to add a "ou" attribute for the LDAP entries located
under the ou's missing it. The virtual ou attribute 'd be computed by splitting the DN (or an entrydn such like
attribute) of the entry at a certain point .
Is this possible ? Any other way to proceed ?
(The aim is to have a "ou" attribute for each user entry, so that it can be used by DPS to map user certificates
(sent during SASL external BIND requests to DPS) to a unique user entry) .Since I've about 25 ou's, it would require 25 subordinate virtual data views and a superior data view, which looks feasible to me.
According to http://docs.sun.com/app/docs/doc/820-2765/transformation_parameters?a=view , it looks possible to split a physical attribute to build a virtual one, but my main concern is that the physical attribute is actually not an attribute, it's the entry DN. So, even if there's an entrydn like operational attribute, I don't know if DPS 6.3 allows/supports its usage in such a case...
I may have to test it by myself .. -
Validation/Transformation Question ....
We need to use the abbreviations in the Name field in the Vendor master. The incoming data may be with full name but the business requirement is to use the abbreviations for example :-
INCORPORATED must be INC
ORGANIZATION must be ORG
MANUFACTURING must be MFG
HOSPITAL must be HOSP
The above are some of the examples. The requirement is to replace the full name with abbreviations where ever that is present.
How do we handle this in MDM. I noticed in the data manager there is a tab called transformation where we can specify the Table field name then the Old value and new value but donu2019t know how to execute it. Is Data Manager is the place to handle this?.
Anybody help me with this?.Hi JP,
Yes,you are right.Datamanager is responsible to do transfomations.As you said we have to
specify the field name on which you want to create the transformation and also specify
the value to be replaced in From field and new value in the To field.
Suppose for example
Specify INCORPORATED in from field and INC in To field, then INCORPORATED is replaced
with INC.if you don't specify anything in To field, it just simply deletes the specified value
available in from field.
Token option is also availble to replace the values tokenwise.
To get more details go through below link:
Re: Transformation in matching mode in data manager
Cheers
Narendra -
I have a join view built from an LDAP secondary data view and a JDBC primary data view .
All the RDN's in the join view have the following syntax: "cn=fixed-prefix-value-variable".
So for example, I have the following RDN's in the join view:
cn=fixed-prefix-value1
cn=fixed-prefix-value2
I'd like to be able to remove the "fixed-prefix-" string from each cn attribute and RDN values in the join view,
so that the DN's look like:
cn=value1
cn=value2
I've seen any feature in DPS which would make it possible. True ? Is it planned ? If not, any suggestion on how to achieve that ?Since I've about 25 ou's, it would require 25 subordinate virtual data views and a superior data view, which looks feasible to me.
According to http://docs.sun.com/app/docs/doc/820-2765/transformation_parameters?a=view , it looks possible to split a physical attribute to build a virtual one, but my main concern is that the physical attribute is actually not an attribute, it's the entry DN. So, even if there's an entrydn like operational attribute, I don't know if DPS 6.3 allows/supports its usage in such a case...
I may have to test it by myself ..
Maybe you are looking for
-
Hi there, i have a problem while I'm adding an AR Invoice Document contented witholding Tax, using DI API 2005 SP01. i have an error message "Total Taxable amount of all rows exceeds the based amount" Seems like the base amount is never filled, becau
-
FB50 posting to internal order not possible.
I have another problem. We wanted to settle costs collected on internal orders to a balance sheet account. So I created a new order type, allocation structure, settle profile. But when I try to do fb50 and debit some expenses on this internal order I
-
going to Italy in the fall Have read that all European phones are sold unlocked. I don't want to spend a fortune on roaming. Is it better to unlock this phone and get an Italian carrier upon arrival or should I just buy a local throw-away phone wh
-
I have purchased 4 books from Google Books, which are all DRM protected, and opened them in Adobe Digital Editions. The metadata for each book as far as pages is showing 168, though the books are far longer than 168 pages. When opened in ADE I can
-
Hello, I have been trying to install Itunes the latest Itunes software (7.7 or whatever it is) but it comes up that at the end of the installation (Itunes cannot run because some of its required files are missing. Please reinstall Itunes) Well, I hav