Need to create a transformation based on Update Rules Logic

Hi,
I have an existing complex Update Rule. I need to manually create a Transformation based on this Update Rule logic. The Start Routine of the Update Rule comprises of:
1) All data declarations in the Global Area
2) The local coding area consists of various select statements from various r/3 tables used later for mapping. It also calculates and stores values in the Data Package final internal table for few infoobjects that are not present in the Source object but and are used to populated data in the target.
3) then we have the various one to one individual Infoobject mappings/constants and many individual infoobject routines that pick result from the comm_structure
I am not very clear as to where each of the above coding logic should be put in the transformation coding area...... I can see four main coding areas in the transformation....global area, 2nd Global Area, Method Start_Routine and Method Inverse_Start_Routine........... I think the global data declarations(point 1 above) should be put in the Global declaration area of the start routine. The local area of the update rule logic (point 2 above) that contains select statements should be put in 2nd Global part or should it be put in Method Start_routine????? Point 3 above for individual filed mappings will be done through Rule groups. Also can anyone let me know what is the methos inverse_start_routine used for?????
Thanks.

Hi,
Point 1 you mentioned should be put under2nd Global declaration part of start routine.
Point 2 should be put under Method Start_routine.
Point 3 as you only mentioned can be done by individual field rule mappings.
Method inverse_start_routine
      This subroutine needs to be implemented only for direct access
      (for better performance) and for the Report/Report Interface
      (drill through)
Not very clear though about Inverse routine. But definetly not being used for the case you mentioned.
Hope it helps.

Similar Messages

  • Need to Create AD LDAP based Address Book

    We need to Create AD LDAP based Address Book. Following is the scenario.
    Our Existing Network
    SMTP Domain Name1  is xyz.net hosted on O365 Exchange online with E3, E1 and KIOSK Plan for different users.
    SMTP Domain Name2 is abc.com hosted on onpremise Linux box
    Windows 2008R2 based AD Domain named abc.com
    Linux POP users get central/global address list by using AD Domain for
    abc.com LDAP address list
    Solution required for
    Exchange KIOSK user with POP connectivity need to have access to some Central/Global Address list for
    xyz.net
    We wish to
    Setup a seperate domain joined or workgroup server and use the Windows AD LDAP/ADAM service to build a Address List for
    xyz.net domain
    we DO NOT wish to replicate AD LDAP Instance from our existing Domain Controller.
    configure Exchange Kiosk pop users to use LDAP addres list by connecting it to the AD LDAP server.
    We are looking for
    steps to setup a ADLDAP/ADAM service on Win2008R2 or 2012 with a fresh AD LDAP Instance.
    The step to create a Application Directory Partition
    Populate the Application Directory Partition with users, groups, contact for the xyz.net domain either manually as well as by importing
    allow users to be able to access this application directory partition on AD LDAP server and
    allow the users to configure their pop email client [outlook 2010] to use the LDAP address book on the AD Ldap server

    Hi,
    Here i found some articles for you refering:
    How Active Directory Application Mode Works
    http://technet.microsoft.com/en-us/library/cc755705(WS.10).aspx
    AD LDS Getting Started Step-by-Step Guide
    http://technet.microsoft.com/en-us/library/cc770639(WS.10).aspx
    Active Directory Lightweight Directory Services
    http://technet.microsoft.com/en-us/library/cc731868%28WS.10%29.aspx
    Active Directory Lightweight Directory Services Operations Guide
    http://technet.microsoft.com/en-us/library/cc816635(WS.10).aspx
    Thanks.

  • Need to create a block based on view

    We can create a block based on procedure...but whats the need to do so...please can anybody explain.

    create the block with the data block wizard. Use your View as Data-Source.
    After that set all items to QUERY-ONLY, when they are not updateable. E.g. if you create a view from EMP to DEPT. Then it is not allowed to update DNAME. DNAME is set to QUERY-ONLY.

  • Need to create a block based on procedure

    We can create a block based on procedure...but whats the need to do so...please can anybody explain.

    There are several recent posts on the topic with a lot of good help & documentation.
    The Metalink note: 66887.1
    Re: Form on a procedure
    If you can't access Metalink, search here on that note. Someone posted the full text a couple days ago.
    This is also very good reference:
    Block based on procedure
    Essentially, you have a procedure, returning a table-of-records type variable, called by the block "Query Data Source..." properties.
    Name = procedure name
    Arguments = procedure parameters (IN parameter(s) Value is :block.item)
    Source Columns = the record type columns for your table-of-records
    Datatypes & sizes must match all around.
    Start very simple & get it to work first, then expand.
    You must follow the documentation very carefully. If it doesn't work at first, go through everything to verify. Also, read the Tip & Issues at the end of the Metalink note.
    Have fun. It works awsome once you get the hang of it.

  • Need to create two nodes based on one condition in message mapping.

    Hi Experts,
                    In my mapping I have two different nodes. If my condition is true then only one node should be created otherwise both the nodes should be created.
    requirement is I need to print. one header before first item record and after every 200 item records.
    i.e I need to create header node if (item recordno) is 1 or (item recordno % 200) is 1. I have tried using this condition. But Iam getting all the header records( 3 headers for 600 items) in sequece and then all  item records (600).
    i want 1 header then 200 items , then again header followed by 200 items. so on.
    Can any body help.
    Thanks&Regards,
    REYAZ HUSSAIN

    Hi REYAZ HUSSAIN,
    as graphical mapping is "target field mapping" this is not possible. The parser for graphical mapping traverses the taget message from the first element to the last!
    You need another kind (ABAP, XSLT, JAVA) of mapping.
    Regards Mario

  • Error in Transformation generated by Update rule 0SD_O01 to 0SD_C03

    Hello Friends..
    I created Update rules from 0SD_O01 to 0SD_C03, and then, generated a transformation to do loads.
    But when I do this the following error is happening in my routines
    E:The data object "COMM_STRUCTURE" does not have a component called "RATE_TYPE".
    Could you help me to solve this?
    Thanks and best Regards

    Hi,
    Follow the steps:
    1. Right click on the Cube 0SD_C03 and goto Additional functions->Create update rules.
    This option will create update rules from Cube.
    2. Enter the DSO name 0SD_O01, in the DSO option box.
    This will create your update rules.
    If you want to schedule a load from DSO to cube go to tcode RSA12 and search for your DSO 8SD_O01 and create Info Package.
    Tip: You can use either Transformations or update rules to update to data targets in 3.5 or 7.0 as well.
    If still in doubt just reply.
    Cheers,
    Satisfied!! Please reward.

  • How-to get transformations from transfer/update rules

    Hi all,
    we did an upgrade to BI 7.0 frm BW 3.5, how shall we get the new things like transformations,DTP for tha already existing cubes/ODS. is there any procedure to convert transfer and update rules to transformation.
    Thanks all,
    Regards

    Migration - Yu may wish to read below steps
    Transformation Rules
    automatic mapping without the use of an Infosource.
    steps are listed below.
    On the InfoSource Tab (Note- Ensure DataSource and Infosource have not been migrated)
    1. Right Click > Additional Functions > Create Transfer Rules
    2. Activate Transfer Rules
    3. Right Click > Additional Functions > Transformation erzeugen
    On the DataSource Tab
    4. Create Transformation (Map to DSO, should map automatically)
    5. Migrate DataSource
    6. Create InfoPackage
    7. Create DTP
    Assessing Migration Scenario's
    Transformation Rules
    Strategy toward new and 3.x datasource / infosource
    Re: Few questions on BC activation..
    Replicate NEW/3.x datasource - Methodology
    Replicate NEW/3.x datasource - Change back to 3.x datasource Methodology
    Re: Datasource Identification
    Hope it Helps
    Chetan
    @CP..

  • Feasibility of update rule logic

    I have the following scenario:
    I have a DSO which stores a number of records and stores a value for a revenue KPI.  This DSO mainly stores item data and we now would like to include the records which are in the header DSO but not the item DSO and give them a zero revenue.
    Is it best that I select all the data from the header DSO as part of the start routine logic or is there a better way in which I can collect the missing records?
    Thanks

    Hi,
    Looking up the item DSO will be too much performance oriented and may result in long time for loading.
    Do a look up on header DSO while loading the item DSO and select the records from the header which are not equal to the records in the delta package...and then populate them in the item DSO with the flag.
    But this may require you to reload the whole data in the item DSO again...may be you can do this by creating a self update rule to the item DSO and run it for once to maintain the history
    schedule the delta daily from the data source to manage the changes.
    Thanks
    Ajeet

  • Update rule logic

    I am looking at an update rule to a DSO which also consists of start routine logic.
    In the update rule a status object is derived using logic.
    In the start routine there is some logic specific to the status object the details are as follows
    Start Routine Logic (have not included definition of variables)
    ls_c-status     = <ls_c>-/bic/zstatus.
    Logic in info object in the start routine
    DATA:
    l_status   TYPE  /bic/zstatus.
    SELECT /BIC/Zstatus
      INTO l_status
        FROM /BIC/AZDSOLookup
        WHERE
          /BIC/ZKey_Field = COMM_STRUCTURE-/bic/zkey_field.
    ENDSELECT.
    RESULT = l_status.
    CLEAR l_status.
    The routine in the info object is making no reference to the variables defined in the start routine.  Is that correct?
    Thanks

    Hi Edwin,
    I think you are right I need to place in Global area/start routine I will post another question with details of requirements
    Thanks

  • Update Rule - Logic to lookup

    The daily Inventory Cube stores the values (populate via a routine in the Update Rules) of some key figures
    I want to use those key figure values in another ODS.  Can I carry out a lookup in the UR for these values if so how? Thanks

    hi Niten,
    take a look sample codes
    Is it possible to read a third ODS in update rules between two ODS?
    Restriction of data selection in update rule start routine.
    Start Routine in Update Rules to populate additional fields from ODS
    hope this helps.

  • Need help on Implementing timer based JTable update events

    greetings,
    i am writing a trap receiver that placed the entries in a jtable, and i am having a problem where the entires can arrive so fast they swamp the event thread. the solution i believe is to write a custom model that calls the table update events on timer based intervals. i have made an attempt at this, but cannot get it to work. has anyone done this, or possibly tell me where i have gon off the tracks?
    thanks in advance,
    here is my class:
    import javax.swing.event.TableModelEvent;
    import javax.swing.table.DefaultTableModel;
    public class TimerUpdateTableModel extends DefaultTableModel implements Runnable{
         Thread runner;
           int rowCtr = 0;
         public TimerUpdateTableModel(int initialDelay) {
             Thread runner = new Thread(this);
             runner.start();
         public void fireTableDataChanged(){
              //super.fireTableDataChanged();
         public void fireTableStructureChanged(){
              //super.fireTableStructureChanged();
         public void fireTableRowsInserted2(int firstRow,
                int lastRow){
              //super.fireTableRowsInserted(firstRow, lastRow);
         public void fireTableRowsInserted(int firstRow,
                int lastRow){
              //super.fireTableRowsInserted(firstRow, lastRow);
         public void fireTableRowsUpdated(int firstRow,
                int lastRow){
              //super.fireTableRowsUpdated(firstRow, lastRow);
         public void fireTableRowsDeleted(int firstRow,
                int lastRow){
              //super.fireTableRowsDeleted(firstRow, lastRow);
         public void fireTableCellUpdated(int row,
                int column){
              //super.fireTableCellUpdated(row, column);
         public void fireTableChanged(TableModelEvent e){
              //super.fireTableChanged(e);
         public void run() {
              while (true) {
                   try{
                        rowCtr = TimerUpdateTableModel.this.getRowCount();
                        System.out.println(rowCtr + "    " + (TimerUpdateTableModel.this.getRowCount() - 1));
                        //super.fireTableRowsInserted(0, TimerUpdateTableModel.this.getRowCount() - 1);
                        //super.fireTableDataChanged();
                        int nRowCount = getRowCount();
                        super.fireTableChanged (new TableModelEvent (TimerUpdateTableModel.this, 0,
                            nRowCount - 1,
                            TableModelEvent.ALL_COLUMNS,
                            TableModelEvent.UPDATE));
                   }catch(Exception e){
                        e.printStackTrace();
                   try {
                        Thread.sleep(5000);
                   } catch (InterruptedException ie) {
                   }catch(Exception e){
                        e.printStackTrace();
                   System.out.println("done");
    }

    i am having a problem where the entires can arrive so fast they swamp the event thread
    super.fireTableChanged Well, if you are using the above code every time you receive an update, then I suspect you would be having problems. The fireTableChange() event is an expensive method. It means you need to recreate the TableColumnModel and repaint the entire table every time.
    You should simply be using method like model.addRow(...), model.setValueAt(...) to make updates to the table.

  • Need to Create Search Help Based on Condtions from one table to another tab

    Hi All,
    I have a table like ZGROUP Which contains the data below
    Filed name Filed Name Filed Name
    ZGROUP ZTYPE ZTEXT
    Entries
    ABC P TEXT FOR
    C P SDFNSDFKLN
    DDDD PSG TEPRTPERERTWERT
    DEF P TEST
    FFFFF PSG
    SEF PS SDFSDFLASLDFNASDLFN
    XYZ PS TESTING
    Whree P is Product , PS- Point of Sales, PSG-Sales Group
    Now i am going to crate another ZPROUDCT TABLE
    FIELDNAME FIELDDESCRITPON
    PRODUCT PROD_DESC
    Entry
    abc pRELATED ENTRY
    My Questions
    1) ZGROUPS table has 3 kinds of data P, PSG, PS type records,
    1) In Table ZPROUDCT , I want to create search help only P records for Table Zproduct of the field Product FROM zGROUPS table
    2) In Table Zsales , I want to create search help only PS records from ZGROUPS table
    3) In Table ZPSG, I want to create search help only PSG records from table ZGROUPS
    is it possible to create search help from One Master Table(ZGROUPS) table to other tables based on conditions.
    Please help me.
    very urgent
    Regards,
    Raju

    if  <condition>
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR <field>
    SELECT <field>
             FROM <table>
             INTO TABLE i_tab
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'                  "function module to provide f4 help to sold-to-party
        EXPORTING
          retfield        = "XXXX"
          dynpprog        = sy-repid
          dynpnr          = sy-dynnr
          dynprofield     = '<field name>'
          value_org       = 'S'
        TABLES
          value_tab       = i_tab
    endif.
    lkike this u can check the condition and selec the data from table and assign it into one internal table and then call the FM it will give the f4 help to particular field
    reward if helpful
    regards,
    Khan.

  • Need to create a new MP with 2 rules

    I am very new to SCOMM and I have a request to set up a managment pack that will monitor only one server, read only the avaliable disc space and report when the conditions of 85% use and then again at 95% use.  Is this possible?
    TIA for your support.
    David
    David Qualls

    To create an override go into the Authoring space then click on Monitors. For this example we will will do an override for Logical Disk Free Space % for Windows 2003 servers, so in the find window look for Windows Server 2003 Logical Disk Free Space. You
    may need to expand out the Windows Server 2003 Logical Disk grouping to find what you are looking for. When you get to it Right click on it and Select Overrides, then Override this Monitor, then For all objects of class: Windows Server 2003 Logical Disk.
    take a look at this - http://jimmoldenhauer.blogspot.in/2012/11/scom-2012-creating-overides.html
    some of the best practices for Overriding can  be found in below links
    http://blogs.technet.com/b/danstolts/archive/2011/06/07/how-to-create-windows-server-2008-r2-guest-on-hyper-v-with-differencing-disk-and-sysprep-image.aspx
    http://support.microsoft.com/kb/943239/en-gb
    Hope this helps
    Faizan

  • Need help creating a smart playlist with multiple rules

    I'd like to make a smart playlist that:
    has the word 'Anime' in its Name, or Album title
    has the word 'Cover' in its Album title
    does not have the word 'OST' in its Album title
    Thanks in advance!

    Create a new smart playlist, click the + symbol, then the second ellipsis ... then the last + symbol. This will give you the rule structure as shown below, edit the parts accordingly.
    tt2

  • Conversion of Update rule to new Transformation

    Hi All,
    I'm using BI 7.0 SP9. I have a scenerio where in I need to load standard cube 0SD_C03 cube from the standard extractors like 2LIS_11_VAITM etc..
    Based on the the thread below I have done the follwoing steps.
    how to migrate old transfer rule/update rule to new transformation?
    - Activated Business content cubes, update rules, infosources etc...
    - Done all the required work in Source system.
    - Later migrated data sources.
    - Now the problem comes, Based on the above tread I have gone to the context menu and selected "Tranforamation erzeugen". It asks to create new Infosource created a new infosource and the the transformation came up. But I can see its not mapped to Source system datasource. I mean its not linked to the datasource in Source system. Its just created in BW and when i load nothing happen. I understand this is not correct process.
    But when it pops up for Infosource If I select existing Infosource I dont see the old one's just because they were migrated already.
    Now how do I link with the source system with out creating transformation manually. because there are lots of standard routines in update which cant be rewriten in new transformation manually.
    Please let me know if there is a way to directly copy them and also correct me If i'm doing some thing wrong.
    Thanks in advance,
    Reagrds,
    Prashanth Reddy

    As Alex said delete the existing datasources and try to replicate it again as 3.x datasources. The process will work fine.
    When you replicate datasources it will pop-up screen for you to replicate as 3.x datsources or as a new datasource.
    Whenever you will plan to migrate from 3.x to new one, do migrate update rule, and transfer rules first. As when you migrate datasource, it deletes existing update rules/transfer rules also. For each update rule/ transfer rule it will create transformation for you after migration.
    After migration your scema will look like:
    datasource (new)-> transformation( replacement for transfer rule)->infosource(new)->transformation (replacement for update rules)->data target.
    Anyways when you will createmodel from scratch in 2004s system,  i hope you know infosource is now more mandatory in 2004s system.

Maybe you are looking for

  • Mac book pro hard drive

    I have a MacBook Pro 2.4 GHZ Core Duo (Late 08 edition). How big of a hard drive can I install into it and how much memory can also put in it? Thanks.

  • Please need help in ora-03134

    Good Day i'm using oracle database Release 10.2.0.1.0 and need to connect to release 8 when config the Net Configuration Assistant and connect to sql*plus error ora-03134 ,then download patch 10.2.0.5.0 PATCH SET FOR ORACLE DATABASE SERVER and the er

  • JTextArea Not Readable By Jaws - Please Help

    Does anyone know why Jaws can't read the text displayed in a JTextArea. I've tried playing with different settings and properties but nothing sseems to work. The AccessibleText returned by the JTextArea is not null so according to the documentation,

  • Need help with .mov files that won't open

    Here's the situation... I have 2 dvdr's with 4 .mov files on them. when i try to copy them to my desktop it tells me that "the finder cannot complete the operation because some data in "BonJovi_Who_SaysDV NTSC.mov" could not be read or written. (Erro

  • ITunes errors (1603 and 1714)/Unable to Install iTunes/Uninstall Old iTunes

    Help! Technically challenged here. I was running iTunes version 5.0 but that has become a problem, and when I went to install the newest version, I get the following error messages: 1. "Error 1714: The older version of iTunes cannot be removed. Conta