Expert - Generating SCD Type2 Mapping for a Table Operator - To Share

Hi All,
I have created an Expert which generates a SCD Type2 Mapping for a Table Operator being used as Dimension.
Let me know how I can share this expert. This forum has helped answer many questions and I would like to contribute.
Thanks,
Sam.

Hi David,
I am trying to follow the steps as on that page. But I am stuck at step 5 - to upload the zip file. I cannot find the "Add an Attachment" link in the page toolbox.
The steps on that page are
1)Use the link in the "Page Toolbox" (right-hand column) to add a new page, with a title describing the expert or script.
2)In the keywords for the page, enter "OWB USER CONTRIBUTED EXPERT".
3)On that page, describe the expert or other script, the version of OWB it was developed for (including patch level), how to install and use it, and who to contact with any questions.
4)Package the Expert files in a Zip file.
5)Use the "Add an Attachment" link in the Page Toolbox to upload your Zip file as an attachment to the page for your expert. Alternatively, post a link to your own web site where the expert can be downloaded.
Thanks,
Sam.

Similar Messages

  • Generating an XML schema for a TABLE

    Hi,
    I know I can easily export DATA into an XML file, but Sql Developer can also generate an XML schema for a table LAYOUT. Does anyone know how this is done?
    I did it some time ago and have been unable to do it again.
    Thanks

    Hi Thanks for the response. Yes, what you say is the type of thing I mean. The snippet below was actually created using SqlDeveloper, but I just can't seem to be able to do it again :-(
    <?xml version='1.0' encoding='Cp1252' ?>
    <results>
         <row>
              <Column_Name><![CDATA[AD_UNIT_ID]]></Column_Name>
              <Data_Type><![CDATA[NUMBER(5,0)]]></Data_Type>
              <Nullable><![CDATA[Yes]]></Nullable>
              <Data_Default><![CDATA[]]></Data_Default>
              <COLUMN_ID><![CDATA[1]]></COLUMN_ID>
              <Primary_Key><![CDATA[]]></Primary_Key>
              <COMMENTS><![CDATA[]]></COMMENTS>
         </row>
         <row>
              <Column_Name><![CDATA[AD_UNIT_NAME]]></Column_Name>
              <Data_Type><![CDATA[CHAR(30 CHAR)]]></Data_Type>
              <Nullable><![CDATA[Yes]]></Nullable>
              <Data_Default><![CDATA[]]></Data_Default>
              <COLUMN_ID><![CDATA[2]]></COLUMN_ID>
              <Primary_Key><![CDATA[]]></Primary_Key>
              <COMMENTS><![CDATA[]]></COMMENTS>

  • Execution Errors while running a mapping having external table operator

    when I am executing a mapping with external table operator, I am getting the following error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA-29400: data cartridge error KUP-04040: file testdoc.txt in CONN_FLAT_FILE not found
    Here CONN_FLAT_FILE is the connector.
    The flat file location has been registered with the user name (as used for Windows login), password (as used for Windows Login) and host name as the name that is used for accessing my machine in the network. The path to the file name is given from the root folder like C:\.....
    Please let me know things that I need to check.
    Regards

    If you're using an external table check if you can see the data by querying that table. Possible errors: wrong directory or wrong file structure.
    Regards,
    Jörg

  • SQL Developer generating an XML Schema for a table

    I hope I've put this question in to correct area of the forum!
    My question is how do you generate an XML schema of a table layout in SQL Developer?
    You can generate an XML schema for the DATA, but I just want to generate one with all the column definitions etc.
    The annoying thing is I managed to do this the other day, but after attempting again for several hours I've forgotten how to do it :-(
    Thanks and regards, Adrian

    A more specific answer, using SqlDeveloper itself, can be found at
    Re: Generating an XML schema for a TABLE

  • Any easy way to generate unique primary key for database table?

    I'm currently playing with the J2EE reference implementation from Sun which comes with the IBM Cloudscape database. This Cloudscape database supports the use of an AutoIncrement field.
    First question: Can I use CMP and assume that the database will generate a proper key for me? Anyone tried it out successfully before?
    Also, based on what I've heard so far, it seems that generating database primary key is not really well-supported by J2EE using CMP in that a lot of J2EE developers have to resort to workarounds like using a session bean, JDBC and (1) some seed numbers for ID implanted in the database itself (as in the J2EE tutorial DukesBankApp example) or (2) using the SQL MAX aggregation command + 1. Usign seed number is contradictory to good database design and using MAX is dangerous for heavy traffic application if 2 beans try to insert themselves into the database at the same time (synchronizarion problem).
    Anyway I find it dumb that we still have to go back to JDBC and SQL which was the reason why the concept Entity Bean was introduced; to make database persistence transparent! Now it seems that J2EE makes it worse and more troublesome than before.
    Second Question: Is there any easy (hopefully transparent/automatic) way of generating primary key ID?

    if you want to rely on your container or database then go hard, will probably be faster.
    to make a cross container/db soln I used a CMP Entity bean called Sequence with one field for uid
    I use one instance and increment the field each time.
    To do the logic, I have a utils class with static method, no need for session bean overhead
    I reckon this approach is OK considering all things

  • Button parameter mapping for tree tables (nw04)

    I've successfully implemented a table including a master column, which is bound to a context tree node. The table has property selectionMode: none
    Next to the master column I have a couple of columns, one containing a button. This button has property onAction: ShowInfo.
    In the corresponding method 'onActionShowInfo' I want to show a dialog containing information belong to the row of the pressed button. How can I obtain some kind of reference to the corresponding row of the clicked button?
    Grtz,
    Chris

    Hi,
    Do the source mapping in wdDoModifyView as below to the button UI element you created in second column.
    IWDButton button = (IWDButton) view.getElement("Button");
    button.mappingOfOnAction().addSourceMapping("nodeElement", "element");
    Note: Here "Button" is the Id of the Button UI element.
    After this for example you binded "TestValuesNode" to the table (which is having master column) then for 'onActionShowInfo' action add that node element as arguement with arguement name as "element" (this is must - bcause we did the source mapping with the name "element" ) as below.
    public void onActionShowInfo (com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, IPrivateTestView.ITestValuesNodeElement element )
        //@@begin onActionViewProposalDetails(ServerEvent)
          wdComponentAPI.getMessageManager().reportSuccess(element.getValue());
        //@@end
    Regards,
    Charan

  • Generate dbsequnce for a table using a bean

    Is it possible to generate the next dbsequence for a table using bean?
    Thanks

    If you are only interested in the number in the bean, you should implement a service method in out application module, expose it to the client interface and call this via the binding layer.
    public oracle.jbo.domain.Number getSequenceNumber()   {
            try    {
                String seq = "YOUR_DB_SEQUENCE_SEQ";
                oracle.jbo.server.SequenceImpl empSeq =
                    new oracle.jbo.server.SequenceImpl(seq, getDBTransaction());
                oracle.jbo.domain.Number zSerienNrSeq = empSeq.getSequenceNumber();
                return zSerienNrSeq ;
            catch (Exception e)        {
                e.printStackTrace();
            return null;
    }Timo

  • DML Error Logging for underlying tables autocreated for dimensions

    Hi,
    I have problems with logging errors during mapping for underlying tables that are automatically generated for creating dimensions. I know that DML Error Logging is supposed to work only on tables, views and materialized views, and I have tried it out using a pure table in a mapping without any reference to a dimension and specifying the error table name for it. This works perfectly. The error rows were captured correctly in the error table and the correct rows were also loaded successfully to the target table.
    However when it comes to mapping to a dimension, I have some issues with that. I specified the shadowtable name for the underlying table(right clicking on the table in design center and then choosing configure), and after deploying I did check that the error table/shadow table and also the target table were indeed created in the database.
    The problem lies now in the mapping because I am actually mapping to a dimension and not the underlying table the dimension references to. It seems that the mapping did not manage to capture details of the error table for the underlying table that the dimension was referencing to and thus were unable to capture the errors. Only the corrected rows get loaded and there were no error messages during the loading that suggests that the incorrect rows were detected.
    Would appreciate some assistance here.
    Thanks!
    WY

    Hi
    The DML error logging feature in 10gR2 and 11gR1 was restricted purely to tables, so the dimension operator did not support it. This is now supported in OWB 11gR2 (plus there is the orphan management functionality).
    Cheers
    David

  • Need urgent help to generate SPL Data Sources for Line Items

    Hi All,
    I am trying to extract the Special Purpose Ledger Data from R/3 into BW. To do this, I am following the steps to generate the Data Sources for Totals table and Lien Items Table.
    Using Transaction BW01 and BW03 on the R/3 side, I am able to generate the Totals Record-DataSource   successfully.
    But I am not able to generate the Line Items-DataSource. I am using the same procedure.
    Can someone please help me or point me in the right direction. Are there any other settings I need to make to generate the Line Items-DataSource. Interestingly, I am able to generate the Line Items-DataSource  for some other old ledgers in the System like ZZ and ZX. But I need the Line Items-DataSource  from a ledger called ZP for which I am having trouble.
    I would greatly appreciate if someone can get back to me ASAP.

    During BW01, The Generate extract structure is fine for both Total and Line Item Table.The issue is when we run tcode bw03 where you assign the datasource to a ledger.
    Here, I can assign only for the Total Records data source and NOT for the Line Items-DataSource.
    I hope I could explain the issue. Looking forward for some advice.

  • How to generate alert from Mapping

    Hello,
    I know how to generate alrets by configuring ALRTCATDEF, Alert Configuration.
    I want to know how we can generate alert from mapping for ex..
    If a=b then send the message
    and if a!=b then failed the message and throw and alert.
    In java or XSLT mapping
    Thnaks and Regards
    Hemant

    Hi Hemanth,
    Bhavesh Blog explied to raise alert using UDF,if you want using JAVA or XSLT converth the same code in to JAVA Map,I think it will work.
    I had done similar requirement using Mial adapter using Java Mapping.
    Regards,
    Raj

  • How to maintain default values for custom table fields --  Urgent

    Hi all,
    I've a requirement wherein i need to create a Z table (with maintainence view) in which i'll have date and time as two of its field which should have current date and current time as default value. Can somebody suggest as how am i to maintain the date and time fields defaulting to current date and current time.
    Incase if someone is unable to intrepret what i'm trying to say, please query me, i'll elaborate it further.
    Please give in your quick inputs which is highly valuable to me and also will be highly appreciated.
    Thanks in advance,
    Vaishnavi Varadarajan

    We have a following custom table which contains the fields “Date on which record was created” and “Name of the person who created the object”. We would like to have these to be filled up with SY-DATUM and SY-UNAME respectively.
    Using the events, we can achieve this.
    Please refer the following link:
    http://abapliveinfo.blogspot.com/2007/12/events-in-table-maintenance-in-sap.html
    Also,
    Write a form routine in table maintanance generator.
    1. SE11 > utilities > table maintenance generator
    2. environment > modification > event
    define the event and form routine to make use of the tigger. in the form routine define an object for the class and call the relevant method.
    Or u can do it as:
    Table maintenance generator is basically used to do table operations like (insert, delete, modify...).
    if you create table maintenance for your table it will build a module pool program, by using you do the above operations.
    below is the procedure to create table maintenance generator.
    1) Create one function group.
    2) after activating your Ztable, choose 'Utilities'----> 'Table maintenance genrator'.
    3) then give the authorization group and function group created abobe in the next screen.
    4) Then choose the "create" button in your application tool bar, which will creates the module pool program.
    5) then create one Tcode by chosing "Transaction with parameters( parameter transaction)".
    6) in transaction field give "SM30", select the check box "Skip initial screen".
    7) in the below of that screen you can find the "Default values" frame.
    8) there under the "name of screen field" select the "View name' and 'update".
    9) in value column against to "view name" give you table name, and against to "Update" put 'X' in capital letters.
    save it then you can straight away use this newly created Tcode to maintain your table.
    Note:- 1) make the modification while saving the data into your table using this newly generated program to carry out your validation (even though it looks like standard program; no need to enter the access key).
    2) if you do any changes to your table and press the activate button automatically the table maintenace generator will be goes off, you need to create this again.
    cheers,

  • Partition name length problem at DML in Table operator

    Hello experts
    In our datawarehouse we have a table with a high number of partitions (each partition corresponding to a different business object) for solving an issue with data quality. Every time the data quality mapping is run, a truncate on the corresponding partition is performed. But Insert operations on that table are not set on a particular partition and, therefore, lock the table and have a conflict with the truncates if parallel operations are run.
    We would like to used the Partition DML functionality at the Table Operator in order to insert just into one partition and prevent locking all of them. Although none of the partition names are longer than 30 characters, OWB (even at the GUI) adds the string "partition: " in front of each name, which causes the length limit to be surpassed.
    Any idea about how could we use this functionality without renaming the partitions?

    Hey there,
    I'm a colleague of the thread starter and like to jump in as this is an issue for us which we need to solve.
    Some more infos which might help:
    We are running the OWB 11.2.0.3.0 on Windows 32 Bit
    We have the following patches installed:
    13257502
    13473205
    None of the later patches has been installed, since none of the Bugs that were fixed affected us.
    In a Mapping on a table-Operator we'd like to use "PARTITION DML" for an Insert.
    On the GUI when selecting the Partition the data should be inserted to (Field: DML Partiton Name), we get the following error (in this instance the partition name is 24 characters long)
    "API0407: The minimum length of this filed is 0 and its maximum length is 32. You have 35 characters."
    In the Drop-down Menu of DML Partition Name it says "Partition: " in front of every partition there is. Together with a Partition name of 24 Characters it sums up to 35 characters.
    So it appears that the maximum length of the partition is limited to 21 characters only because "Partition: " is put in front of it.
    This error also appears when editing the Properties of the table operator by OMB*PLUS (from tcl) with
    OMBALTER MAPPING 'mapname' MODIFY OPERATOR 'operatorname' SET PROPERTIES (DML_PARTITION_NAME, DML_PARTITION_TYPE, PARTITION_KEY_VALUE_LIST, IS_PARTITION_INDEXED_BY_NAME) VALUES ('$partition', 'PARTITION', '$someEmptyList', 'true')
    where it does not make a difference whether $partition is of the form
    set partition "Partition: SOMEPARTITIONNAME"
    or
    set partition "SOMEPARTITIONNAME"
    Renaming the Partitions is not an option for us, since our warehouse is running in multiple productive systems and became quite large in the last years.
    Is it necessary, that "Partition: " is put infront of the partition name? Is there a way around this? Isn't the field DML_PARTITION_TYPE supposed to store the Information whether it is a partion or a subpartition?
    If you wanted to use subpartitions, does the name of the subpartition then need to be even shorter since "Subpartiton: " is put infront?
    Thanks in advance for any help or suggestions. If you need further Information, feel free to ask, I am more than happy to supply it.
    Best Regards
    Thorsten

  • Consumption is happenign for all the operation in PI sheet

    Hi experts,
    The consumption is happening for all the operations in the pi sheets evethough the Process message characterstic for consumption is assigned only to one of the Operation in master recipe. I, also tried removing the backflush indicator but this is not helping me and it is failing with below error. Can any one of you help me in solving this.

    Hi Sandesh,
    Please check Generation scope & Filter in the configuration "Process Instructions to be generated" inside set up Control Recipe destinations.
    If you are using same CRD for more than one operation, it might be the issue.
    Please check & revert with screen shots of "Set up Control Recipe Destinations".
    BR
    Rahul

  • Generate script for filling table

    Hi all,
    I've got table at test Oracle server table1 with columns ID, BTYPE, MYDESCRIPTION. Rows of this table have been inserted manually. Now my need is to write script for creating table (structure + data). I think about writing something like
    CREATE TABLE table 1
    AS
    SELECT 1 AS ID, 'TYPE1' AS BTYPE, 'SOME TEXT' AS MYDESCRIPTION
    UNION ALL
    SELECT 2 AS ID, 'TYPE2' AS BTYPE, 'SOME TEXT 2' AS MYDESCRIPTION
    But rows are too many to type... Could you please suggest some way of generating script for creating table at working server using existing table at test server? The problem is I don't have an access to working server.
    Thanks ahead.

    Use the view user_tab_cols
    say
    declare
    cursor c1 is
    select 'e_'||column_name ||' '||data_type||' ('||data_length||') ' col
      from user_tab_cols
      where table_name = 'DEPARTMENTS'
    union
    select 'd_'||column_name ||' '||data_type||' ('||data_length||') ' col
      from user_tab_cols
      where table_name = 'EMPLOYEES';
    v1 varchar2(500);
    begin
    v1 := 'create table new_tabl (';
    for i in c1 loop
    v1 := v1||i.col||',';
    end loop;
    v1 := substr(v1,1,length(v1)-1);
    dbms_output.put_line(v1||')');
    end;
    /i am using employees and departments table of hr schema.
    now as both the tables have some column column so i have used e for employees and d for departments
    just do one thing remove the length for date data type in o/p i dont know why it is not working.
    this will give you structure for data use any sql stmt
    Edited by: 810345 on Jun 9, 2011 9:58 PM

  • Need you help !!! -- datasource field to ECC table mapping for 0material

    Dear experts:
    Recently we need to get a quick turnaround on the fields we would be bringing into BW through standard extractors for the tables MARC and MBEW. My idea is to look at those master data extractors like 0MATERIAL, 0PLANT and then try to find how fields in datasource mapped to ECC table.
    So now I have 2 questions need your suggestion:
    1. Is my way above feasible or any other way to get the fields mapping information for one specific table (Not datasource) ?
    2. For 0MATERIAL_ATTR, I can neither find the table of origin for those datasource fields in SAP Library, nor in Tcode LBWE (Seems LBWE only for transaction data?). Can anybody give me a link for the fields mapping of 0MATERIAL and 0PLANT? or let me know where I can find those mapping information?
    Any reply would be appreciated and thank you all in advance !
    Best Regards
    Tim

    Well, the idea is simple. If you are using master data, then the easiest way is to find out which table is the master data stored. For eg. Material master data is stored in MARA table. Therefore 0MATERIAL_ATTR fetches data from the MARA table.
    The next option is to check the function module.
    1) Goto RSO2, and enter the data source name->display. The system wil throw a warning giving you the FM.
    2) For eg. 0MATERIAL_ATTR will throw the error "DataSource 0MATERIAL_ATTR is extracted using functional module MDEX_MATERIAL_MD".
    3)Go to SE37, and put the FM->display. Then go to the tables tab. You will see tables like BIW_MARA_S. The middle term is usually the table.
    Another option is go to table RSGENFIELDMAP and put the field in the field selection. This would give the mapping.
    Regards.

Maybe you are looking for

  • IPad Syncing issue. Not enough space???

    My iPad storage says it has 4.9 GB available under "settings", but when I try to put something on it (sync my iPad), I get the not enough space error message. What's up?

  • Dynamic codes

    Hi, I'm havinging these p_rt in out pkg_my.rec_set) is begin      open p_rt for v_sql||v_sql2      using v_seq, to_date(v_date,'yyyymmddhh24misssss'), v_my_NAME; and have got this PLS-00455: cursor 'P_RT' cannot be used in dynamic SQL OPEN statement

  • Apps not installing on 3gs

    Help my apps not installing on iPhone 3gs. ?

  • Volume not displayed when controlling iPod from locked phone.

    When my screen is locked and I am controlling the iPod, the volume controls on screen do not work and do not display the current volume. The headset and the on phone buttons work fine.

  • Printing Issue for Smartform

    Hi All.. The smartform has been created and activated without any Errors. All the data are appearing in the Print Preview in a desired format. But when i take the Print, the icon is not getting printed. Instead of icone being printed, few dark lines