BI 7.0 - Add RULE Type in Transformation

Hi All,
I've tried to load a transactional data to info cube.
In my Transformation i've mapped 3 fields to 3 Info Objects ( 2 char and 1 keyfigure) .After this i've created DTP and loaded the data. in  my infocube the values are loaded successfully , but for key figure it shows with "0" only. not actual value.
Whats the actual problem over here?
How to solve this one?
Regards,
Arun.M.D

Hi PV,
when you are seeing two different versions of code in the routine(  differnece in code from display to change mode), it means that the routine was  not saved properly.
Here is what you can do.
Go the the transformation in the change mode,
click on the routine and see if the code is available... do a syntax check and save the routine. if the code has disappeard then write back the code, syntax check  until you find no errors and save it.
Come back and do a syntax check on the transformation. activate it if no errors found.
Open another session and go to the same transformation (to double check the code.....). verify the code in both display mode and change mode of the transformation to make sure that the code is not corrupted/missed.      I'm sure the code does matches in both the modes.
Collect it and transport it to the next system, this time it will not fail.
Regards,
Sudheer.
Edited by: Sudheer Kumar Kurra on Feb 1, 2011 3:34 PM
Edited by: Sudheer Kumar Kurra on Feb 1, 2011 3:57 PM

Similar Messages

  • Routine  rule type in transformations

    Hello Experts,
    Can some one throw light on <b>Routine</b> as a rule type in transformations featured in BI 7.0. All mention some scenarios. Thanks in advance.
    Regards,
    KS

    Hi dear,
    look here for rule types:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e5/f913426908ca7ee10000000a1550b0/content.htm
    and here for a lot of examples/samples:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/732c42be6fde2ce10000000a1550b0/frameset.htm
    Hope it helps!
    Bye,
    ROberto

  • Problem in Read Master Data rule type in Transformation

    Hi,
    I have 'Tax Classification' & 'Sales Territory' as attributes for 0customer (Master data).  I loaded master data for 0customer & data have come up for this 2 fields.  I want this 2 fields in my DSO with data filled.  As this 2 fields are not in Transaction datasource of my DSO,  i added this 2 fields in the Target side in Transformation of the DSO.  In Transformation, I gave the rule type as 'Read Master Data'  from attribute of '0customer' & mapped KUNAG (Sold-to) to this 2 fields.  Activated the Transformation & executed the DTP.
    When i check the data, i could see that the Infoobject 'Sales Territory' column alone is filled but 'Tax Classification' column is blank.  Tax classification has data in 0customer master data for the displayed customer values but still data is not coming in DSO.
    How does this happen when both the fields have same mapping & rule type and still data not getting populated for one field alone.  Am i missing anything?
    Regards,
    Murali

    hi,
    the green request in MD does not means that the data in MD is activated, you need to activate it after loading everytime so that it reflects in where used list as well.
    regards,
    Arvind.

  • Transformation Rule Type "Read from DataStore

    Hi All,
    i have two DSO's (Header and Item) my requirement is in the Item DSO i have a field Bill-to party in the same way in my header DSO also Bill-to party
    i need to fill Bill to party field in header DSO with Item DSO Field Bill-to party by using the rule type Read from Data store
    in the item DSO i have two key fields. in both the DSO's (header and item) only one common key field Document Num .i am assigning Docnum in transformation but i am failed to fill bill-to(Error-Cannot read from Datastore ). Please guide me how to achieve this.

    Hi.
    I think the problem is that the transformation rule needs the full target key fields (at item level) to be mapped in order to get the result value. Elsewhere, if more than one record are found more than one result values are to be found as well.
    It would work if you are reading Header DSO as all Items will get just one record as result.
    This can be solved using start/end routines ABAP programming.
    Hope this helps.
    regards.

  • Rule missing in Transformation

    Hi Experts,
    When i was created the transformation (for cube in bi.7) the following error occured, plz give me proper solution.
    Rule 3 (target field: Z_PRI): Field /BIC/Z_PRI must be assigned to an InfoObject
    Message no. RSTRAN526
    Diagnosis
    No InfoObject is assigned to field /BIC/Z_PRI. This is mandatory if you want to use the corresponding rule type.
    System Response
    The rule is invalid.
    Procedure
    Assign an InfoObject to the field
    Thanks
    David

    Hi,
    In Transformation you have to select rule detail and write routine like for exp:
    My fields are z_prc & z_qty i have to calculate revene.
    Routine:
    go to revene field in traformations -> select Rule Detials -> Select Routine
    Write Routine:
    Result = source_fields-/bic/z_prc * source_fields-/z_qty.
    like you have to write routine your problem is solved.
    Thanks & Regards,
    Venkat.

  • Where to check UPDATE TYPE in Transformation in BI

    Hi All
    In BI , Where to check UPDATE TYPE( Like whether the filed/infoobject is overwrite or Addition ) in Transformation in BI.
    In BW 3.5 we can check this in UPdate Rule Maintanenance,but in BI where do we check the same.
    Shankar

    Hi,
    you can check Update type in transformation :-
    -->in target, double click on first Column (Rule Type)
    -->Aggregation
    -->you can see both Option (Overwrite, Summation)
    but when target is DSO. in case of Cube, you will have only Summation
    you can check the Update Type in DSO Update Rule as well:-
    -->in Update Rule, Single Click on Key Fig (Amount, Qty....)
    -->Update Rule :Details will come
    -->in that you can see, the Update Type Section has three option (Addition, Overwrite, no update)
    in case of cube you only have ( Addition, no update)
    Best Regards
    Obaid

  • Error while assigning infoobject to the read master data in rule type

    Hi sdns,
    I want to read the zwostd info object data from zemployee master infoobject attribute list. For that i have selected  rule details of zwostd infoobject in transformation of info cube, then i am tring to select the read master data rule type. It is taking more time and then it displayed error like permitted time was  exceeded. Could any one please give me  the solution for this problem.
    thanks
    karun

    Sometimes directly typing the infoobject name in the field helps - otherwise it tries to fetch all the infoobjects available which is possibly why the time out occurs..?
    Enter the Master Data infoobject directly and then you will get the fields assigned.
    However my experience with read master data has been that whenever you change the master data IOBJ by way of adding / removing Nav Attributes / attributes etc - all the transformations using the read master data for the IOBJ that is being changed will get deactivated and it is a pain reactivating and transporting them again - particularly so when you are developing something on them and the changes are stuck across multiple requests ...
    IMHO use a routine instead to do the same - it involves lesser maintenance. SAP is anyway going to run a similar SQL...

  • New selection disappears from sectionlist when I add rules (was: New section in CSS)

    When I try to make a nex CSS for a section it disapeasr from the sectionlist before I start to add rules. Why?
    And why does my (succeded) CSS rules not show up in the codesection?
    <!doctype html>
    <html>
    <head>
    <meta charset="UTF-8">
    <title>ATL Webside</title>
    <link href="ATL WEBside.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <div id="Wrap">
      <header id="Topp">Content for  id "Topp" Goes Here</header>
      <nav id="Nav">Content for  id "Nav" Goes Here</nav>
    <aside id="Side">Content for  id "Side" Goes Here</aside>
      <section id="foto">Content for  id "foto" Goes Here</section>
      <section id="sek 1">Content for  id "sek 1" Goes Here</section>
      <section id="sek 2">Content for  id "sek 2" Goes Here</section>
      <section id="sek 3">Content for  id "sek 3" Goes Here</section>
      <section id="sek 4">Content for  id "sek 4" Goes Here</section>
      <section id="sek 5">Content for  id "sek 5" Goes Here</section>
      <section id="sek 6">Content for  id "sek 6" Goes Here</section>
      <section id="sek 7">Content for  id "sek 7" Goes Here</section>
    <section id="sek 8">Content for  id "sek 8" Goes Here</section>
    <section id="sek 9">Content for  id "sek 9" Goes Here</section>
    </div>
    </body>
    </html>
    BR Nille

    I ment new "Selection" :-)

  • BAPI_BUPA_HOURS_CHANGE combined rules type RO problem

    Hi.
    I´m facing a problem trying to assign a partner to rule type RO. By example, I have a parner XXXXXX schedule type = 'A' and combined rule itab with next structure:
    RULE_ID                        05_J6DSTD94BJHX00002WAQ5W
    TYPE                             RO
    START_DATE               10.08.2010
    END_DATE                    31.12.9999
    CONFLICTS                   0
    FCALID
    HCALID
    INFO_DEL
    RULE_INDEX
    RULE_REF                     1
    RULEID1                        05_J6DGFD94BJHX00002WAQ5W
    RULEID2                        05_J6DI8T94BJHX00002WAQ5W
    Rules have been created ok, but when check BAPI_BUPA_HOURS_CHANGE -> BUPH_BUPA_HOURS_MAINTAIN -> APPT_RULE_CONSISTENCY_CHECK return error: Structure Rule Error: Rule type invalid. I saw that check rule type beggins with W, D, M, T, F, and as begins with R, send error.
    Some body can help me please?
    Thanks in advanced.
    Regards.

    Solved.
    I must add all rules assigned to combined rule (RO or RN), by example, W, T, etc.
    Regards.

  • Auth.log - Rejected send message, 2 matched rules; type="method_call"

    Hi,
    i'm checking the /var/log/auth.log and I found out that there is this error message
    Jun 9 20:19:56 localhost polkitd(authority=local): Registered Authentication Agent for unix-session:/org/freedesktop/ConsoleKit/Session2 (system bus name :1.23 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
    Jun 9 20:19:57 localhost dbus[513]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.23" (uid=1000 pid=861 comm="/usr/bin/gnome-shell ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=654 comm="/usr/sbin/console-kit-daemon --no-daemon ")
    Jun 9 20:19:57 localhost dbus[513]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.23" (uid=1000 pid=861 comm="/usr/bin/gnome-shell ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=654 comm="/usr/sbin/console-kit-daemon --no-daemon ")
    Jun 9 20:19:57 localhost dbus[513]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.23" (uid=1000 pid=861 comm="/usr/bin/gnome-shell ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.1" (uid=0 pid=654 comm="/usr/sbin/console-kit-daemon --no-daemon ")
    if think the problem is in /etc/dbus-1/system.conf
    <deny send_type="method_call"/>
    I'm tempted to change this to allow,  but I won't as long as I don't understand why this deny-rule is implemented.
    Last edited by miky76 (2012-06-09 20:41:06)

    That deny rule is the default. Things in /etc/dbus-1/system.d override it. There's a ConsoleKit.conf file in there that describes what interaction ConsoleKit actually allows.
    That said, ConsoleKit.conf also denies this access:
    <deny send_destination="org.freedesktop.ConsoleKit"
    send_interface="org.freedesktop.DBus.Properties" />
    I don't know why this is denied - most likely it's to prevent private data from being stolen from console-kit-daemon in this way. I don't see any such private data stored in properties on ConsoleKit, though:
    $ dbus-send --print-reply --system --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Session1 org.freedesktop.DBus.Introspectable.Introspect
    method return sender=:1.5 -> dest=:1.14 reply_serial=2
    string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
    "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
    <node>
    <interface name="org.freedesktop.DBus.Introspectable">
    <method name="Introspect">
    <arg name="data" direction="out" type="s"/>
    </method>
    </interface>
    <interface name="org.freedesktop.DBus.Properties">
    <method name="Get">
    <arg name="interface" direction="in" type="s"/>
    <arg name="propname" direction="in" type="s"/>
    <arg name="value" direction="out" type="v"/>
    </method>
    <method name="Set">
    <arg name="interface" direction="in" type="s"/>
    <arg name="propname" direction="in" type="s"/>
    <arg name="value" direction="in" type="v"/>
    </method>
    <method name="GetAll">
    <arg name="interface" direction="in" type="s"/>
    <arg name="props" direction="out" type="a{sv}"/>
    </method>
    </interface>
    <interface name="org.freedesktop.ConsoleKit.Session">
    <method name="SetIdleHint">
    <arg name="idle_hint" type="b" direction="in"/>
    </method>
    <method name="GetIdleSinceHint">
    <arg name="iso8601_datetime" type="s" direction="out"/>
    </method>
    <method name="GetIdleHint">
    <arg name="idle_hint" type="b" direction="out"/>
    </method>
    <method name="Unlock">
    </method>
    <method name="Lock">
    </method>
    <method name="Activate">
    </method>
    <method name="GetCreationTime">
    <arg name="iso8601_datetime" type="s" direction="out"/>
    </method>
    <method name="IsLocal">
    <arg name="local" type="b" direction="out"/>
    </method>
    <method name="IsActive">
    <arg name="active" type="b" direction="out"/>
    </method>
    <method name="GetLoginSessionId">
    <arg name="login_session_id" type="s" direction="out"/>
    </method>
    <method name="GetRemoteHostName">
    <arg name="remote_host_name" type="s" direction="out"/>
    </method>
    <method name="GetDisplayDevice">
    <arg name="display_device" type="s" direction="out"/>
    </method>
    <method name="GetX11DisplayDevice">
    <arg name="x11_display_device" type="s" direction="out"/>
    </method>
    <method name="GetX11Display">
    <arg name="display" type="s" direction="out"/>
    </method>
    <method name="GetUnixUser">
    <arg name="uid" type="u" direction="out"/>
    </method>
    <method name="GetUser">
    <arg name="uid" type="u" direction="out"/>
    </method>
    <method name="GetSessionType">
    <arg name="type" type="s" direction="out"/>
    </method>
    <method name="GetSeatId">
    <arg name="sid" type="o" direction="out"/>
    </method>
    <method name="GetId">
    <arg name="ssid" type="o" direction="out"/>
    </method>
    <signal name="Unlock">
    </signal>
    <signal name="Lock">
    </signal>
    <signal name="IdleHintChanged">
    <arg type="b"/>
    </signal>
    <signal name="ActiveChanged">
    <arg type="b"/>
    </signal>
    <property name="idle-hint" type="b" access="readwrite"/>
    <property name="is-local" type="b" access="readwrite"/>
    <property name="active" type="b" access="readwrite"/>
    <property name="x11-display-device" type="s" access="readwrite"/>
    <property name="x11-display" type="s" access="readwrite"/>
    <property name="display-device" type="s" access="readwrite"/>
    <property name="remote-host-name" type="s" access="readwrite"/>
    <property name="session-type" type="s" access="readwrite"/>
    <property name="user" type="u" access="readwrite"/>
    <property name="unix-user" type="u" access="readwrite"/>
    </interface>
    </node>
    Note those properties at the end of that list, which are the same things you can learn by running ck-list-session.
    If you want to change the deny to allow, you may as well do it in the ConsoleKit.conf line, so it's specific to this usage, rather than allowing any method call in the world called through dbus.
    FWIW, I can reproduce this same error, trying to do it "by hand", though I don't use GNOME, as you do:
    $ dbus-send --print-reply --system --type=method_call --dest=org.freedesktop.ConsoleKit /org/freedesktop/ConsoleKit/Session1 org.freedesktop.DBus.Properties.GetAll string:org.freedesktop.ConsoleKit.Session
    Error org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.17" (uid=1000 pid=13892 comm="dbus-send --print-reply --system --type=method_cal") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.ConsoleKit" (uid=0 pid=751 comm="/usr/sbin/console-kit-daemon --no-daemon ")

  • How do I add a type tag to my enclosure with iWeb?

    I encode my video with QuickTime, manage my website with iWeb, and upload it to the web with Transmit.
    A few episodes ago, my podcasts stopped updating on Podcast Alley. Tech support pointed out the problem: There are no type tags on any of my enclosures.
    From what I gather, the type tag tell you what kind file it is - ie, a .m4v
    I don't have any idea how to add a type tag to an enclosure using iWeb, and I don't even know if its possible. I would think that iWeb would do it automatically.
    Also, how do I change my feed? I originally just used the feed iWeb created:
    http://www.leilajones.com/jonescast/...esCast/rss.xml
    But then set up a feedburner feed - which I now submit when I submit anywhere new.
    http://feeds.feedburner.com/jonescast
    But how do I change the rss feed on my website with iWeb... I love the simplicity of it, but it's so limiting...
    Also, how do I change the feed in iTunes to the Feedburner feed?
    Thanks for your help,
    http://www.jonescast.com

    Page 215 might help:  http://manuals.info.apple.com/en_US/iPhone_iOS4_User_Guide.pdf

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

  • Alert configuration Add Rule Not Working in IE but working in FireFox

    I am running into same issue with the Alert configuration Add Rule being disabled in IE. We're on SP 16. I can create the alert classification and alert categories through ALRTCATDEF.
    But through IE, when i go into the Runtime workbench->Alert Configuration, though i can see the alert categories i created, i am not able to select any of them. So the Alert rules "Add Rule" and "Change Rule" are always disabled. How did you fix the issue in IE?
    There are two posts about this issue. 
    alert configuration  add rule  is disabled
    creating rule in alert rwb
    The second one post says to that this was working in FireFox and not IE.  Has anyone run into this with IE and then gotten it to work.  We have given all of the necessary roles to the user.
    Thanks,
    Jay malla
    Licensed To Code

    Hi Jay Malla,
    I am not sure if you might have tried this, but to Add Rule, in your Alert Configuration, you first need to select your Alert Category.
    At the bottom , on the left for every ALERT Category, you will find a rectangualr box. When you click on this, your ADD rule button gets enabled.
    Regards,
    Bhavesh

  • How to add Material type(MTART) field on Selection screen of MB5B transaction code.

    Hi All,
        Please let me know how to add material type field on selection screen of MB5B transaction
    For that i made copy ZMB5B_COPY of original report RM07MLBD.
    Thanks in adv .
    Samadhan

    Hi,
    Once you copied the standard report to Z report, you can MTART in selection screen like below.
    and in order to inlcude the same in programming logic, we have three option.
    1) Check all related select queries, and include MTART in SELECT query using inner join with MARA.
    2) In START-OF-SELECTION event fill MATNR as shown below.
    3) If user entered any value in MTART, then before displaying the report just check material type of each material in the final internal table(which is used to display report) delete enteries from internal table accordingly.
    START-OF-SELECTION.
    IF MTART[] IS NOT INITIAL AND MATNR[] IS INITIAL.
        SELECT MATNR FROM MARA INTO MATNR-LOW WHERE MTART IN MTART.
          MATNR-OPTION = 'EQ'.
          MATNR-SIGN = 'I'.
          APPEND MATNR.
          CLEAR MATNR.
        ENDSELECT.
    ENDIF.
    The above option has one limitation: The selection screen variables has some restriction, please read the below thread.
    Facing problem in select statement dump DBIF_RSQL_INVALID_RSQL CX_SY_OPEN_S
    Getting Dump in the select query has more than 2000 entries
    Hope this will work for you .
    regards,
    Rajesh Sadula.

  • I want add Document type and Document text std report S_ALR_87012357

    Hi Gurus
    I want add Document type(BLART) and Document text(BKTXT)  for std report S_ALR_87012357  .how can i pull these fields .do i need to change the code .
    Please help me
    Thanks & Regards
    Sandya
    Edited by: sandya rani on Feb 3, 2010 1:36 PM

    Hi
    Suggest you to ask the help of the ABAPER & Debug the report  S_ALR_87012357
    Please also check field HWBAS(Tax Base Amount in Local Currency)  in Table BSET  (Tax Data Document Segment)
    Regards
    Praveen P C
    Edited by: Praveen Chirakkel on Apr 20, 2011 6:13 AM

Maybe you are looking for