Row_Generation transform in DI

What is the use of row_generation transform in Data Services ? It will just generate specified no. of rows for the columns. So in which situations we can use this transform.
What is the use of Row_generation transform in realistic way
-Regards
blanc
Edited by: blanc. on Jan 5, 2012 8:02 AM

Hi Cindy,
To achieve this in Apex you will simply write a query that does this.
If you google "Oracle Pivot" or search the SQL and PL/SQL forum for pivot you will get plenty of hits.
11g has a specific PIVOT key word. If you are using and earlier version you will also see many examples of how to achieve this.
Regards
Andre

Similar Messages

  • Function Module - SAP ECC to BODS

    Hi Experts - I have one function module in ECC system which is RFC enabeled and I have imported that in BODS.
    Its showing me under function under ECC Data Store.
    I am not able to drag it into normal data flow  ,,,, Why ?
    Is there any special data flow is required to use this.
    I want to put the output of this function module in a flat file ? can i achieve this ? so function module to transform and then flat file.
    Thanks
    R

    You need to call the function via a Schema Out function within a Query transform just like you would call a custom function, i.e. right-click in the Schema Out panel and select 'New Function Call' then in the function wizard you must select your ECC datastore from the 'Function Categories' list and then you should see your imported function on the right, then follow the wizard to define the input parameters and choose which output parameters you want output as colums in the query (and can then write to a flat file).  Just be aware that if one of the output parameters is a table then you will need to unnest the table schema in a second query transform before wrtiting to the file.  Oh and just use a 'Row_Generation' transformation to generate one dummy row as a source.

  • ECC to BODS - Standard Extractors

    Hi Experts - We are using DS 3.2 SP - 3.
    We need to pull the data from ECC system through standard extractors to the Flat File.
    Does DS 3.2 supports the Standard extractors from ECC.
    Thanks
    R

    You need to call the function via a Schema Out function within a Query transform just like you would call a custom function, i.e. right-click in the Schema Out panel and select 'New Function Call' then in the function wizard you must select your ECC datastore from the 'Function Categories' list and then you should see your imported function on the right, then follow the wizard to define the input parameters and choose which output parameters you want output as colums in the query (and can then write to a flat file).  Just be aware that if one of the output parameters is a table then you will need to unnest the table schema in a second query transform before wrtiting to the file.  Oh and just use a 'Row_Generation' transformation to generate one dummy row as a source.

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

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

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

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

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

    This 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 help

    yoiu 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
    prasanna

    Thank 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 Karan

    Might 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,
    Sunder

    Dear anand,
    thankyou
    Regards,
    sunder
    Edited by: sundersham on Mar 28, 2010 12:34 PM

Maybe you are looking for

  • Possible to have 2 soundcard

    Ok, so as the topic says is it possible to have 2 soundcards ? I currently have SB X-FI Extremusic and my old Audigy 2 ZS. I'm using my X-FI card atm, but I would need to use my Audigy 2 ZS to play Ravenshield. So is it possible to have both card ins

  • NTSC 5:4 to PAL 16:9

    Hello. I have NTSC and PAL clips in the same sequence. In the final project I would like it to be PAL 16:9. So the question is simple. Is there a way to convert those NTSC 5:4 clips to PAL 16:9 ? I use FCE. Thanks

  • Using a chart as a template

    In Excel, I can easily take an existing chart/graph, copy and paste it into the current worksheet or even another worksheet and then open the menu for chart data to easily change the series data. This allowed all the attributes (scale, legend, font,

  • Extra customer group 6 in customer master possible or not

    hi sd experts, my client asking for additional wants additional field in customers master >extras>additional data > one extra additional customer data (S&D) - existing 5 groups already using. img>sd>master data>business partners>customers>sales>maint

  • Servlet class not found error deploying a WAR on Web Logic Server 8.1

    I'm re-deploying an updated web application to a web logic server, but when I navigate to the login page of the web application to test it, I get a class not found error for my login servlet. I have both the web.xml and the weblogic.xml descriptors i