DPS transformation question

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 ..

Similar Messages

  • 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 ..

  • Transformation Question

    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 Sharma

    Yes, 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

  • BODS ABAP transform question

    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,
    Scott

    Hi,
    Are you checking for ABAP Dataflows or Custom ABAP transformations?
    Regards.

  • DPS: transform attribute value - more than sub-string - more like awk/sed

    We have been working on using DirProxy to transform telephoneNumber from "(XXX) YYY-ZZZZ" format to a "Y-ZZZZ" for our VoIP call manager and and have been successful.
    How we find out that our VoIP phones have feature that lets users search by phone number. The problem is that there is no way to input a dash (-) character on the phone so we would like to be able to translate from the "(XXX) YYY-ZZZZ" format that is stored in LDAP to "YZZZZ",
    Anyone have suggestions on how to do this? (We know we can create a local attribute in the LDAP master in the format YZZZZ and have DPS return that attribute as telephoneNumber, but we are hoping we can do the transformation on the fly.)
    Thanks.

    I'm on the roads for a few weeks and have limited bandwith but here is what I did recently with the DPS version not released yet. Hope this works with DPS 6.3
    I created 3 transformations and associated them with the dataview, assuming phoneNumber looks like (XXX) YYY-ZZZZ
    In the example below, reworked number is returned in attr yz
    - step1 : extract trailing Y
    - attribute name : y // temp attr
    - model : mapping
    - transformation: add value
    - viewValue : substring(${phoneNumber}, 7, 8)
    - internalValue: ${xxxx} // dont care
    -step2 : extract ZZZZ
    - attribute name : z // temp attr
    - model : mapping
    - transformation: add value
    - viewValue : substring(${phoneNumber}, 10)
    - internalValue: ${zzzz} // dont care
    - viewValue : substring(${phoneNumber}, 7, 8)
    - internalValue: ${xxxx} // dont care
    -step3 : reconstruct
    - attribute name : xz // temp attr
    - model : mapping
    - transformation: add value
    - viewValue : ${y}${z}
    - internalValue: ${y}${z}
    Note that this would work for searches only, and when the reworked attr is not present in the search filter.
    Hope this helps
    -Sylvain

  • XSLT Transformation Question

    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,
    Anton

    Hi,
    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
    Mathieu

    LastUpdatedDate 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!
    -SN

    Transformation 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                                                                                                                                                                                                                                                                                                                                                                           

  • Transform question

    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?

  • BPM Transformation Question

    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,
    martin

    Hi,
    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

  • 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

  • Transformer question

    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.
    Eddie

    Thanks,
    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.

  • Transform questions

    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

Maybe you are looking for