How to change the merge condition in OWB generated code

Hi,
This is regarding the OWB generated code for cubes. We required to change the ON condition of MERGE statement. OWB merge the records on the basis of dimension keys only. Is there any ways to provide the customised merge condition or is it possible to add a measure of the cube to be used in ON condition of the merge?

Hi,
cant´t you customize the generated Code in the Database?
I know that owb has the trait to do the following:
If you create a Mapping, etc. the generated Code will be deployed as PL/SQL Package in the Database Schema.
Now you can edit the Code as Schema User right in the Database.
Don´t edit it in the Metadata, only in the Databse.
If you run now any Process in OWB, he´ll execute your edited Code,
´cause he just takes whats still there. :-)
It´s not realy clean, but in most Times that works.
LoneWolf

Similar Messages

  • How to change the manual condition type value in change sales order BAPI

    Hi All,
    My scenario here is, i want to either add/change the manual condition type value during change of SO.
    When i'm trying to pass the  order_conditions_in and  order_conditions_inx tables in  'BAPI_SALESORDER_CHANGE'.
    Condition type is coming at item level but the value is setting to zero. Pls. help if anyone has any idea how to handle this.

    Siva,
       I guess you posted in Wrong Thread. You need to post in WAS section.
       check for any BAPI's available in CRM.
    Nagesh Ganisetti.

  • How to Change the Document Condition Values in PO print

    HI,
    I have a requirement to change the document condition values in PO printout. We are using the copied form of MEDRUCK.
    Please tell me how can i change the Document Condition Values at run time.
    Thanks....

    hi
    hence you have copied standard script you cant able to change the driver program for this you have to use itcsy structure.
    go to the page window and select the window which you have the amount field. open the text editor of the windoiw here write
    /:           PERFORM CONTACT IN PROGRAM ZAMOUNT_ZF110_IN_AVIS1_C
    /:           USING &REGUH-ZALDT&
    /:           CHANGING &DT&
    /:           ENDPERFORM
    now create a report program with name  ZAMOUNT_ZF110_IN_AVIS1_C.
    and follow as the example program is .
    *&      Form  CONTACT
          text
         -->IN_TAB     text
         -->OUT_TAB    text
    FORM contact TABLES in_tab STRUCTURE itcsy
                       out_tab STRUCTURE itcsy.
      DATA : v_telf1 TYPE telf1.
      DATA : v_telfx TYPE telfx.
      DATA : v_adrnr TYPE ad_addrnum.
      DATA : v_flagcomm6 TYPE ad_flgcm06.
      DATA : v_datum(10) TYPE c.
      DATA : v_sydatum TYPE sy-datum.
      DATA : v_lifnr TYPE lifnr .         " Santosh Rawat , 19th Feb
      DATA : v_email TYPE ad_smtpadr .   " Santosh Rawat , 19th Feb
      LOOP AT in_tab.
        IF in_tab-name = 'REGUH-LIFNR'.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' " Santosh Rawat , 19th Feb
            EXPORTING
              input  = in_tab-value
            IMPORTING
              output = v_lifnr.
          SELECT SINGLE telf1 telfx adrnr FROM lfa1
            INTO (v_telf1, v_telfx, v_adrnr)
            WHERE lifnr = v_lifnr.
          SELECT SINGLE smtp_addr FROM adr6    " Santosh Rawat ,19th Feb
         INTO v_email WHERE ADDRNUMBER = v_adrnr. " Santosh Rawat ,19th Feb
         SELECT SINGLE flagcomm6 FROM adrc INTO v_flagcomm6
           WHERE addrnumber = v_adrnr.
        ELSEIF
          in_tab-name = 'REGUH-ZALDT' OR in_tab-name = 'REGUP-BLDAT'   .
          MOVE in_tab-value TO v_datum.
          REPLACE ALL OCCURRENCES OF '.' IN v_datum WITH ' '.
          CONDENSE v_datum.
          MOVE v_datum TO v_sydatum.
    *CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
    EXPORTING
       input         = V_DATUM
    IMPORTING
      OUTPUT        = V_DATUM
          CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
            EXPORTING
              date_internal            = v_sydatum
            IMPORTING
              date_external            = v_datum
            EXCEPTIONS
              date_internal_is_invalid = 1
              OTHERS                   = 2.
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
        ENDIF.
      ENDLOOP.
      LOOP AT out_tab.
        IF out_tab-name = 'TEL'.
          MOVE v_telf1 TO out_tab-value.
        ELSEIF out_tab-name = 'FAX'.
          MOVE v_telfx TO out_tab-value.
        ELSEIF out_tab-name = 'EMAIL'.
          MOVE v_email TO out_tab-value.        " Santosh Rawat , 19th Feb
        ELSEIF out_tab-name = 'DT'.
          MOVE v_datum TO out_tab-value.
        ENDIF.
        MODIFY out_tab FROM out_tab.
    *MODIFY TABLE OUT_TAB .
      ENDLOOP.
    ENDFORM.             }
    reply for any query.
    regards,
    venkat.

  • How to Change the PDF's that are generated once the Payment run completes

    Hello All,
    After the Payment run completes, it creates a bank file, and check registry etc.  Our system also creates a PDF which is sent out to the vendors via email.  I need to make some changes to this PDF that is being generated.  Where can I do this?  The pdf sits in the Business Workplace.   Any ideas?
    Thanks,
    Rashad

    It is not possible to change the PDF manually.
    You need to change the form assigned for payment advice in FBZP settings.
    However, these settings are uniform and across all the vendors.
    You cannot put different rules for different vendors.
    Regards,
    Ravi

  • How to change the Charge Account in Requsitions Generated by Min-Max

    Hi
    I want to change the default account coming in all requsitions which are generated in result of a min-max report.
    please help.
    thanks
    Malik Asif Joyia

    What is your costing method?
    If it is average, the account comes from the organization and not from subinventory and you cannot change the account if the destination is inventory.
    If it is standard, you can have the account from subinventory, but again you cannot change it if the destination is inventory.
    Why do you want to change account if you are receiving into inventory?
    And Min-Max Planning is to replenish the inventory hence I would assume it is not expense destination.
    Thanks
    Nagamohan

  • How to change the Tab Strip name in T-Code CJ20N?

    Dear All,
    I have done one Screen Exit to add 5 additional fields in the T-Code CJ20N using Enhancement CNEX0007.
    I got one extra tab "Cust. enhancement" in T-Code CJ20N.
    Now my requirement is that the name of the Tab Strip "Cust. enhancement" should be changed into "User Tab2".
    Can any one guide me how to do that?
    Thanks & Regards,
    Neeraj

    hi niraj
    how u add fields in cj20n
    please dive me steps
    of that.
    Thanks in advance
    chetan

  • How to change the name of function module ,generated by SMARTFORMS

    Dear All,
    As you all know, SMARTFORMS generates one function module.
    The default name is somewhat like    /1BCDWB/SF00000099
    instead of, i want to give some specific user defined name.
    how to do???

    Hi,
    I think its not possible to give it a user defined name, but you can assign it to a variable and use that variable name instead.
    Please see the code below
    Data: V_FMNAME type RS38L_FNAM.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
                 EXPORTING
                   formname                 = 'ZSMARTFORM'
                  VARIANT                  = ' '
                  DIRECT_CALL              = ' '
                IMPORTING
                  FM_NAME                  =  V_FMNAME
                EXCEPTIONS
                  NO_FORM                  = 1
                  NO_FUNCTION_MODULE       = 2
                  OTHERS                   = 3
               IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
               ENDIF.
              CALL FUNCTION V_FMNAME
               EXPORTING
                ARCHIVE_INDEX              =
                ARCHIVE_INDEX_TAB          =
                ARCHIVE_PARAMETERS         =
                CONTROL_PARAMETERS         =
                MAIL_APPL_OBJ              =
                MAIL_RECIPIENT             =
                MAIL_SENDER                =
                OUTPUT_OPTIONS             =
                USER_SETTINGS              = 'X'
                  wa_itab1                   = wa_itab1
                  wa_itab2                   = wa_itab2
                  wa_itab3                   = wa_itab3
                  wa_itab4                   = wa_itab4
                IMPORTING
                DOCUMENT_OUTPUT_INFO       =
                JOB_OUTPUT_INFO            =
                JOB_OUTPUT_OPTIONS         =
                TABLES
                  i_itab1                    =  i_itab1
                  i_itab2                    =  i_itab2
                  i_itab4                    =  i_itab4
                  i_itab3                    =  i_itab3
              EXCEPTIONS
                FORMATTING_ERROR           = 1
                INTERNAL_ERROR             = 2
                SEND_ERROR                 = 3
                USER_CANCELED              = 4
                OTHERS                     = 5
              IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF.
    Regards,
    Manish

  • Changing the pricing condition table

    Hi Gurus,
    As there is a shortage free tables I want to change the existing condtion table and to add new field to fulfill the requirement.Currently we have the table sales area/PH1-PH6 and I need to change it to sales area/PH1-PH6/material group2.While i am trying to change in V/04 system is not allowing and its showing the  following messages "Carry out repairs in non-original system only if they are urgen" andt "function code not allowed". Please let me know how to change the existing condition table.
    Regards,
    Hari CHalla.

    Hi
    I think you need to get the acces key to change the standard table from SAP in service market place.
    Regards
    Yatin Thakkar

  • How to change the Control icon in window

    hi to all
    this is my first post to thiss forum and im using java swing for desktop application im facing a little problem is that how to change control icon on window created by java swing example is here
    http://i108.photobucket.com/albums/n15/zerocool_007/window.jpg
    how to change the red circuled icon any simple code tips will help mee
    zero

    myJFrame.setIconImage(img);
    where img is an Image object.
    The easiest way to create an Image is the following:
    Toolkit toolkit = Toolkit.getDefaultToolkit();
    Image img = toolkit.getImage("myImage.jpg");
    remember you need to import java.awt.Toolkit at the top of your class.
    Good Luck,
    Eugene

  • How change the if condition ?

    Hi,
    Now i have a jsp page which is already developed. Now i have to change my jsp code. My problem is how to change the follwoing if condition into normal jsp if condition
    this is my code
    <c:if test="${runtimeForm.queryCount > 1}">
    <input type=image value="client" src="./images/bt_submit.gif" onClick="submitNewQuery(null)" onmouseover="this.src='images/bt_submit1.gif'" onmouseout="this.src='images/bt_submit.gif'"> 
    </c:if> This tell me how to chagne the if conditon into normal one
    thanks
    MerlinaRoshine

    Most people would want to do the reverse - change scriptlet code to jstl. Anyways it is not that difficult if you know that the attribute values are just scoped variables. And the '.' and [] notations are used to access the javabean style properties of the scoped objects.
    <%
    <RunTimeFormClass> runtimeForm = <RunTimeFormClass>pageContext.findAttribute("runtimeForm");
    if(runtimeForm.getQueryCount() > 1){ %>
    <input type=image value="client" src="./images/bt_submit.gif" onClick="submitNewQuery(null)" onmouseover="this.src='images/bt_submit1.gif'" onmouseout="this.src='images/bt_submit.gif'">
    <%}%>In the above code replace <RunTimeFormClass> with the actual class name in your application.
    ram.

  • How to change the 'Default operating mode' of a mapping on the repository and not from the client

    Hi everybody,
    I am using OWB 11.2.0.3 and under the mapping's configuration property, I have the necessity to change the Run time parameter "Default operating mode" to SET_BASED in almost all my mappings.
    Because I have 745 mappings in which the Default operating mode is different from SET_BASED, instead to open 745 times the 'Configure' and update manually the value, is there a way to update safely these values (with an oracle predefined script) directly on the repository ?
    I know that exists a view called CMPSTRINGPROPERTYVALUE_V based on a table called CMPSCOPrpClasses, but changing this table it's very complicated for me because contains only keys and then I don't know in which way is connected with all the other structures....
    If somebody knows a method more efficient to do these updates on the repository and not from OWB client I will appreciated it!
    Thanks in advance
    Alessandro

    Urgent... help!!! Thanks
    in short, my server log says transaction access mode is "read only", so my calling home.create() always triggers a transaction rollback. How to change the access mode to "read write"?
    Is possible to work out through one of the descriptor files? Or ini settings of the underlying pointbase database? Or any other way around?

  • How to change the midp version in ktoolbar of wireless toolkit 2.1

    Hi
    How to change the version of midp in ktoolbar of wireless tool kit 2.1
    though i tried to change the platform by selecting midp1.0 from settings
    dialog box iam geeting alert:BadVersion Error
    and the application is terminated abruptly
    do i need to change any configuration files
    please suggest me
    as it is very urgent

    The version of Java inside the database? If so - Not recommended at all ... the environment is NOT the same as your grandfathers JRE and there are a few noteworthy conditions.
    How much of the Oracle Java Developer's Guide have you reviewed? http://www.oracle.com/pls/db102/to_toc?pathname=java.102%2Fb14187%2Ftoc.htm&remark=portal+%28Books%29

  • How to change the images dynamically in a table.

    Hai,
                     How to change the images dynamically in a table based on the condition in webdynpro abap.
    Edited by: Ravi.Seela on Oct 13, 2011 2:17 PM

    This has been much discussed earlier. Do search posts.
    For your scenario i would do the following.
    inside your node which is binded to the table, i create a new node image with cardinality 1 ..1 and a attribute called path of type string.
    create a  supply function for the node image .
    Supply method now has a Element (Parent element ) and node.
    Based on your record in element, set the right image source to path attribute and bind the node.
    This will make sure that the framework calls the image supply function for every row in a table.

  • How to change the price of a material in PO

    Hi,
      Please tell me how to change the price of a material while raising a  PO,for example  i am raising a PO and in conditions  the price is 100 and i wanna update it to 110.Please help me

    HI,
    If you are using condion record, you can change the value for the required condition type so that it will flow to PO. IF you are not using that, you can change the price at the line item level in PO itself.
    Regards
    Ram

  • How to change the QueryRowSet in early access 2?

    hi everybody,
    I do know how to change the query but I want to add a condition on a variable got from a text field, and use by button action.
    I don't know where to initialize this variable exactly?
    provided that the query is created in the session bean.
    please, reply as soon as possible.
    thanx.

    Hi,
    The tutorials under the section Access Databases will answer your question. In particular the tutorial "Using Databound Components to Access Databases". These tutorials can be found at:
    http://developers.sun.com/prodtech/javatools/jscreator/ea/jsc2/learning/tutorials/index.html
    Please post any further Creator 2 EA 2 related queries at:
    https://feedbackprograms.sun.com/login.html
    Cheers
    Giri

Maybe you are looking for