Rule+ in transformations

hi,
    can any body explain me what is rule+ and what is rule- in transformations and what is the use?. i have tried adding the object and its populating to the target . but what is the use of it?
regards,
manju

Hi Manjunath,
              Rule+ is used to create a new rule.
Rule- is used to delete a rule. Using Rule+ you can create new rule for a keyfigure.
Thanks,

Similar Messages

  • Convert ABAP code in start routine/update rule to transform. start routine

    Dear BW ABAPers,
    I have created a custom purchasing info cube (YCP_PURC1) based on 0CP_PURC1 standard cube. I would like to convert this new data flow to BI7 (from 3.x), and convert the standard update rule to transformation. I would need to rewrite the below start routine from the standard update rule to a start routine ABAP code in the newly created  transformation / start routine. My ABAP knowledge is limited. Will you please help?
    *this is the start routine from the update rule. As a side note, the data source is 2LIS_02_SCL.
    LOOP AT SOURCE_PACKAGE.
        IF (     SOURCE_PACKAGE-cppvlc  EQ 0
             AND SOURCE_PACKAGE-cppvoc  EQ 0
             AND SOURCE_PACKAGE-cpquaou EQ 0 ).
          DELETE SOURCE_PACKAGE.
          CONTINUE.
        ENDIF.
    no_scl is initial ( e.g. for good receipts, billing)
    value has to be set depending on storno
        IF SOURCE_PACKAGE-no_scl IS INITIAL.
          IF SOURCE_PACKAGE-storno = 'X'.
            SOURCE_PACKAGE-no_scl = -1.
          ELSE.
            SOURCE_PACKAGE-no_scl = 1.
          ENDIF.
          MODIFY SOURCE_PACKAGE.
        ENDIF.
      ENDLOOP.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    Many thanks and look forward to your kind feedback.
    Kind regards,
    Csaba

    Dear All, Durgesh,
    thanks to you all for your valuable input. Mainly the ABAP part was more interesting for me.
    Durgesh, thanks for your input, it was useful. I just had to change the info objects to data source fields and add the lines before the loop:
    DATA: I_PACKAGE TYPE TYT_SC_1.
        FIELD-SYMBOLS <i_package> TYPE tys_sc_1.
        I_PACKAGE[] = SOURCE_PACKAGE[].
        LOOP AT SOURCE_PACKAGE assigning <i_package>.
          IF ( <i_package>-BWGEO EQ 0
          AND <i_package>-BWGEOO EQ 0
          AND <i_package>-BWMNG EQ 0 ).
            DELETE SOURCE_PACKAGE index sy-tabix.
            CONTINUE.
          ENDIF.
    no_scl is initial ( e.g. for good receipts, billing)
    value has to be set depending on storno
          IF <i_package>-NOSCL IS INITIAL.
            IF <i_package>-ROCANCEL = 'X'.
              <i_package>-NOSCL = -1.
            ELSE.
              <i_package>-NOSCL = 1.
            ENDIF.
          ENDIF.
        ENDLOOP.
    Points have been assigned accordingly.
    Thanks,
    Csaba

  • Why not allow Business Rule Design Transformer to overwrite existing BRDDs

    Hi,
    It can be quite annoying during development to continually having to remove the BRDD Trigger and PL/SQL Definition when running the BR Design Transformer reveals missing information in the BR Analysis definition. It seems that it would be practical to have at least the option to have the Business Rule Design Transformer overwrite an existing Business Rule Design Definition.
    You could think of an additional parameter in this utilily labeled "Overwrite existing BRDD?" with allowable values Y(es) and N(o) with No as default (so that the default functionality is the same as before).
    Below you find the code that can be added to the HSU_BRTR package to realize such a functional improvement. Maybe you can consider it for a next release...?!
    best regards,
    Lucas Jellema
    AMIS Services BV
    code to add to HSU_BRTR to provide a parameter that allows the user to specify whether or not the HSU_BRTR is allowed to overwrite an existing BRDD:
    in the revision history:
    09-jan-2003 Lucas Jellema
    6.5.2.3AMIS1.1 Added new parameter and supporting code that allows user to indicate
    whether existing Business Rule Design Definitions may be/should be overwritten
    at the end of procedure install
    hsu_install.add_parameter
    ( PACKAGE_NAME -- package name
    , 40 -- sequence
    , 'Overwrite existing BRDDs?' -- prompt
    , 'N' -- default value actual
    , 'No' -- default value displayed
    , 'Y' -- mandatory
    , 'N' -- allow multi-select
    , 'N' -- include shared elements
    , '' -- element type short name
    , '' -- sql expression actual
    , '' -- sql expression displayed
    , null -- where clause
    , null -- synchronize with
    , null -- foreign key column
    , -- help text
    'Choose whether you want this utility to overwrite existing Business Rule Design Definitions.'
    hsu_install.add_allowable_value
    ( PACKAGE_NAME -- package name
    , 40 -- parameter
    , 1 -- sequence
    , 'Y' -- actual value
    , 'Yes' -- displayed value
    hsu_install.add_allowable_value
    ( PACKAGE_NAME -- package name
    , 40 -- parameter
    , 2 -- sequence
    , 'N' -- actual value
    , 'No' -- displayed value
    --------6.5.2.3AMIS1.1
    Just before procedure transform_stage2
    procedure delete_brdds
    ( p_tbl_id in ci_table_definitions.id%type
    , p_br_name in varchar2
    -- Purpose Delete existing Business Rule Design Definition
    -- Usage from run procedure
    -- Remarks Find PL/SQl Module Definition based on Business Rule Label
    is
    cursor c_brdd
    ( b_tbl_id in ci_table_definitions.id%type
    , b_br_name in varchar2
    is
    select trg.id trg_id
    , trg.name name
    , plm.id plm_id
    from ci_database_triggers trg
    , ci_plsql_modules plm
    where trg.table_definition_reference = b_tbl_id
    and trg.plsql_module_reference = plm.id
    and plm.name = b_br_name
    begin
    -- loop over journalling busrules of this application
    <<brdd>>
    for r_brdd in c_brdd(p_tbl_id, p_br_name) loop
    -- delete busrule (delete of trigger is since 6i not enough anymore, so
    -- explicitly delete PL/SQL module also)
    bllog.write
    ( 'Deleting trigger '||r_brdd.name||' and PL/SQL module '
    ||hsu_name.get_name_and_path(r_brdd.plm_id)
    ||', a new business rule design definition overwrites this old one.'
    , bllog.information
    bltrg.del(r_brdd.trg_id);
    blplm.del(r_brdd.plm_id);
    end loop brdd;
    end delete_brdds;
    inside procedure transform_stage2
    (just before the comment: -- check if BRDD with this plm_name already exists)
    if p_overwrite_br = 'Y'
         then
    delete_brdds
    ( p_tbl_id => g_trg_tbl(i).tbl_id
    , p_br_name => l_plm_name
         end if; -- find_trg and overwrite =Y
    A new parameter in procedure transform_br_fun
    procedure transform_br_fun
    , p_overwrite_br in varchar2 default 'N' -- 6.5.2.3AMIS1.1
    use the parameter p_overwrite_br in the call to transform_stage2
    transform_stage2
    ( p_fun_id => p_fun_id
    , p_fun_label => r_fun.fun_function_label
    , p_fun_short_definition => r_fun.fun_short_definition
    , p_msg_prefix => p_msg_prefix
    , p_msg_language => p_msg_language
    , p_rule_type => l_rule_type
                   , p_overwrite_br => p_overwrite_br -- 6.5.2.3AMIS1.1
    new parameter p_overwrite_br in the procedure run
    NOTE: in both PACKAGE SPECIFICATION and BODY
    , p_overwrite_br in varchar2 default'N' -- 6.5.2.3AMIS1.1
    use the parameter p_overwrite_br in all calls to transform_br_fun inside procedure run
    transform_br_fun
    ( p_fun_id => r_fun_tree.id
    , p_msg_prefix => p_msg_prefix
    , p_msg_language => p_msg_language
    , p_create_att_usages => p_create_att_usages
    , p_overwrite_br => p_overwrite_br -- 6.5.2.3AMIS1.1

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

  • How to upgrade Update rules to Transformations

    Hi
      My is to Update/Upgrade UPDATE RULES to TRANSFORMATIONS
      How can i do it in BI 7.0.
      Is there any programe that will upgrade the update rules to transformations
    Thanks

    Hi,
    Right click on your update rule
    Goto -> additional functions
    say create transformations.
    It will automatically convert your update rule into BI 7.0 transformation.
    Regards
    Githen

  • Business Rule Design Transformer fails with ORA-00001

    I'm stuck with the Business Rule Design Transformer Utility of Headstart. After running this utility over one BR it is impossible to run it over other BR's because of violation of the unique constraint HST65.QMS_MSP_PK (table QMS_MESSAGE_PROPERTIES). The problem is that the utility tries to insert a record (message, specified in the Notes property of Designer) into QMS_MESSAGE_PROPERTIES with the code "ABI-10000", that was already created by running the utility for the first time.
    Exact error message: "Activity aborted with ORACLE internal errors.
    -1 ORA-00001: unique constraint (HST65.QMS_MSP_PK) violated"
    I'm using Designer 6i (6.5.52.1.0) and Headstart 6.5.1.3
    If someone has any clue about this I would be very grateful
    Cheers,
    Dimce

    Jan,
    The name of the business rule is already in the CONSTRAINT_NAME of the QMS_MESSAGE_PROPERTIES table.
    I already tested by deleting the records in the two tables, QMS_MESSAGE_PROPERTIES and QMS_MESSAGE_TEXT, and ran the utility, but it didn't help either. I can run the utility for one rule, but when I want to run it again at some later point, it fails with this error.
    But, I managed to create rule definitions using the HSU Create Business Rule Design Definition, rule by rule. I only had to add references in the business rule to the used module.
    Dimce

  • Migration of update rules to transformations

    Hi Experts,
    We are in process of migrating update rules to Transformations.
    We have following data flow for one info cube.
    *Existing*
    Data source -
    >transfer Rules--->info source->update rules--
    >cube
    New
    Data source -
    >transformations----
    >cube
    When I am trying to create transformations, I am not able to read master data properties for all info objects.
    It gives error that No info object is available.
    Now my question is
    it is not possible to read mster data in one transformation?
    If I change my new scenario to this then it workes.
    Data source -
    >transformations----->info source(new BI7)--
    >transformations -
    >cube
    But then I need to convert All existing info source to new one in BI7 then only I can use read from master data functionality.
    Please advice.
    <removed by moderator>
    Edited by: Siegfried Szameitat on Nov 25, 2008 9:05 AM

    In the Transformation maintenance, open the rule details.
    Here you see the source fields of the rule.
    Update 'IOAssgnmnt' with the InfoObject corresponding to the field from the source system.
    Example
    Field PERNR
    Description Personnel No.
    Type NUMC
    Length 8               
    Conversion
    IOAssgnmnt 0EMPLOYEE  <-- Entered manually
    Then you should be able to use the 'Read master data' functionality.
    Regards,
    Lars

  • Rule-based transformations perfomance

    Hello.
    Oracle 9.2.0.8.
    We were tuned a replication on Oracle Streams.
    There are 1 capture process and more than one apply processes.
    We need to hide some columns in apply databases, for example, replace it with *.
    Now we use triggers on apply schemas, which replace column value with * before insert. But with update and delete operations there are problems, because apply process generate errors - 'no data found' and put transactions in error queue.
    Optimal variant is to use rule-based transformations on the capture process on a table, where are columns, which need to hide.
    We wrote pl/sql transformation function and create rule with action_context associated with this function, but see, that processor loading of capture process increase doubly.
    Please tell me, who work with transformations. Are really transformation hardly load capture machine or it is mistake? And how I can do aforesaid task with other methods?

    Hello Kinney,
    From what I've seen in your code, your code appears to be incorrectly written.
    1. The transformaiton function should not execute the LCR, it just have to do the necessary modifications for the LCR. The apply process would execute the LCR and commits the transaction when all the LCRs executed.
    2. You should not perform COMMIT in the transformation function. You need to eliminate the COMMIT from the code. The transformation function should not execute and COMMIT the LCR. The apply process would execute and COMMIT the transaction when it receives a commit lcr.
    Please eliminate the following from the function and re-create the function:
    lcr.EXECUTE(true);
    commit;
    Please test and see if the function is working as expected.
    Thanks,
    Rijesh

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

  • BI : ABAP Rule in transformation

    Hi Experts ,
    I have problem in the ABAP rule. there is an 3x update rule which contains the routine.
    In the transformation when i create and check the routine  , I am getting the below error :
    "E:The field "SOURCE_FIELDS-PEINH" cannot be changed. -". Kindly advise.
    thanks & regards,
    M.S
    Edited by: M.S on Oct 19, 2009 11:52 AM
    Edited by: M.S on Oct 19, 2009 11:52 AM

    Hi Experts ,
    I am doing transfromation from 3.x update rule which contain the update routine as shown below. Can you please advise me what could be the syntax for this in BI 7.0 transformation. While doing it I am getting lots of errors.  Kindly advise.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    INCLUDE rs_bct_mm_update_rules.
    data g_price_unit type ref to data.
    field-symbols <price_unit> type any.
    constants c_price_unit type string value
      '/BIC/CS2LIS_02_ITM-price_unit'.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS2LIS_02_ITM
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BI0/APUR_O0100-NETPRICE
               RETURNCODE LIKE SY-SUBRC "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    see OSS note 592090
    result value of the routine
    1. transfer of net_po_val from order currency into local currency
      PERFORM LOC_CURR_CONVERT
        USING   COMM_STRUCTURE-NET_PO_VAL
                COMM_STRUCTURE-ENTRY_DATE
                COMM_STRUCTURE-ORDER_CURR
                COMM_STRUCTURE-LOC_CURRCY
                COMM_STRUCTURE-EXCHG_RATE
       CHANGING RESULT.
    2. consideration of price unit, OSS note 731769
      create data g_price_unit type (c_price_unit).
      assign g_price_unit->* to <price_unit>.
      <price_unit> = COMM_STRUCTURE-price_unit *
                     COMM_STRUCTURE-numerator / COMM_STRUCTURE-denomintr.
    3. transfer of order_quan from order unit into base unit of measure
      RESULT = RESULT /
        ( COMM_STRUCTURE-order_quan * COMM_STRUCTURE-numerator /
                                      COMM_STRUCTURE-denomintr )
    <price_unit>.
    This is necessary because we need the net price in
    local currency / base unit of measure
    if the returncode is not equal zero, the result will not be updated
    if abort is not equal zero, the update process will be canceled
    see OSS note 571974
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.

  • How to get Transfer rules or Transformations from SRM Datasources to Infoso

    Hi
    We are in SRM 7.0 and BI 7.0. We have all the datasources activates from SRM and replicated in BI side. Now we have all of the content in Dataflow ,, from Datasources to DSOs, Cubes and Multiproviders,,,
    Except Transdormations from Datasources 0SRM_TD_CF, 0SRM_TD_IV,  0SRM_TD_PO_ACC, 0SRM_TD_PO in SRM EBP to respective Infosources.
    I have activated the datasources and tried both in 3.5 and 7.0. But I couldn't find the business content transfer rules/ Transformations.

    Hi there are trnasfer rules please have a look under BI content >object type> transfer rule search
    0SRM_TD_CF                    DE3_630     from SRM CF Transactional for DE3 Client 630
    0SRM_TD_IV                    DE3_630     from SRM IV Transactional for DE3 Client 630
    0SRM_TD_LA                    DE3_630     from SRM LA Transactional for DE3 Client 630
    0SRM_TD_PO                    DE3_630     from SRM PO Transactional for DE3 Client 630
    0SRM_TD_PO_ACC           DE3_630     from SRM PO Accounting for DE3 Client 630
    let me knw whether it ws helpful

  • Migration of Transfer Rules ( Create Transformation)

    Iam loading master data using direct update through 3.5 datasource. Now i want to migrate the data-source as well as the transfer rules.
    First thing i do is right click on the transfer rules Additional Functions--> Create transformation
    I get the following message
    " Initial error occurred during generation of the transformation "
                      Message no. RSTRAN667
    I tried deleting the transfer rules and recreating it, i get the same problem. I think first i need to create transformation against the transfer rules then i need to migrate the datasource.
    I also tried just migrating the datasource and the transfer rules are gone.
    The same procedure i tried with Business Content master data datasource and that one works.
    Note: we are on Suport pack 12.
    Please let me know if iam missing anything.
    Your suggestions are highly appreciated..
    Thanks

    Thanks for your message..
    But the thing iam doing is Iam migrating 3.5 stuff to 7.0 iam not creating transformations on the datasource.
    In order to attain that migration ,first iam migrating the transfer rules as iam using direct update for master data. While iam doing that Iam getting the error message.
    Voodi I'll look at that option and see if i can accomplish my migration by first migrating DS and then transfer rules....
    But did u get this message for direct update of the master data...
    I tried creating a generic master datasource even for that one also iam getting the same message ...while migrating the transfer rules....

  • 0py_c02 do not have the update rules or transformations in business content

    Dear All,
    I ma installing the Business content 0py_c02 cube with before data floe option , i found the infosource and transfer rules between Data source and info source but i can not found the Update rules betweeen the infosource and target.
    Even if u consider the data source replicated in RSDS update mode, but ther is no transformations. how we can resolve this issue , if any body faced the same issue please update the same.
    For creating mannully also there are routines in that update rules( checked same in IDES version) , i can do it same, but why the SAP not delivered the same, or i am going wrong in some where pls.
    Any update please , Not received any replies pls.
    Please any updates pls on this,  The  issue is open and waiting for responce from Experts.please can anybody update me.
    Thansk in Advance,
    Sathish
    Edited by: sathish kakumudi on Apr 21, 2010 8:48 AM
    Edited by: sathish kakumudi on Apr 21, 2010 10:34 AM
    Not delivered by SAP and SAP raised the same to Development team
    Edited by: sathish kakumudi on Jun 13, 2010 10:07 AM

    Hi Satish,
    Did you get any update from SAP-team on the same.
    Thanks,
    SC

  • Error during converting update rule into transformation

    Hi,
    I'm convertng update rule 2lis_03_bx in to transformation. Not all the keyfigure abap routine are changed in ABAP 00.
    Like 0RECVS_VAL, 0ISSVS_VAL are not converted where as some of them are converted. Will i need to make changes manually..
    Sachin K

    Hi Sachin,
    Please take a look at this OSS note - 981194.
    Hope this helps,
    Bye...

  • Update rule to transformation migration error

    Error produced during update rule (BW3.5) to transformation migration. During start routine validation check it states that ' The data object 'COMM_STRUCTURE' has no component called 'BIC/ZCH_FABC1'  but there is a component called 'BIC/ZCH_FAAC1'.
    Even though this component is exist as part of communication structure, migration setup is producing an error.
    System is BI SP 16 level. OSS message is created, if you have experienced any similar issues, pls. share and let us know.
    Thanks, Vijay Rama.

    Hi VJ,
               The ideal best practice is to replace the Routines manually. As BI 7.0 wont hold Comm. structure, You are facing this problem.
    So you replace Comm.Structure to with Source_Fields.
    So while migrating the routines do it manually.
    You can find a lot of info in SDN if you search using the related terms
    regarding Migration.
    Hope this Helps
    Regards
    Karthik

  • OIM Reconciliation Rule Tokenize Transform

    Could someone please explain the three rule element properties for the Tokenize transform for me. This is my best understanding.
    1. Delimiters - The characters used to delimit parts of the input string
    2. Token Number - the token to be used in the compare operation (numbering starts at 1)
    3. Space Delimiter - No Idea
    I currently have this working without setting the Space Delimiter, but the rule is not marked as valid.

    What's the OIM version which you are working on? If 11G then be sure to click the "Create Recon Profile" on the resource object to make the rule work.
    -Bikash

Maybe you are looking for

  • How to handle varchar(4000) field in reporting?

    Hello, I am having a Oracle database, the data in tables of which is being stored from a web application. One of the fields of a table is having varchar(4000) datatype. The data in this field is text which may contain carriage returns also. I have to

  • Mirroring Option with AppleTV and iMac

    I am interested in the mirroring option with the AppleTV.  From what I have read, only the newer macs have the capability to stream to a TV using AppleTV.  My iMac is a mid 2011 but is only running on Lion 10.7.3.  If I were to upgrade to the latest

  • Personalization: can I reference an item value (like :LINE.ORDERED_QUANTITY) on a different order line?

    I am constructing a forms personalization for the "Sales Orders" form. I would like to be able to reference item values on order lines other than the current line.  Is this possible? Thanks, Bill

  • PHP Form - Required Fields

    I've got my form working great thanks to Joe and David (and others) in this group. I want to take it a step further by requiring three fields to be filled out. So I found this code to use in my thankyou2.php page: if (!($frmName && $frmemail && $frmp

  • Unable to select Create checkbox

    Hello everyone, I created an entity object and selected create,remove,validate checkboxes in java tab for EOImpl class but after I click appy and go to EOImpl class, I dont see any create() in EOImpl. I went ahead and clicked edit EO, and then unchec