CMR between three (transient) connected tables

Hi,<br><br>
we have taken over an existing programm using ejb1.1 with bea wl6.1.<br><br>
Due to performance-reasons we decided to migrate this to ejb2.0 using bea wl8.1. <br>
However it showed up that wl8.1 with ejb2.0 seems to change the sequence of storing dependend EntityBeans so that we received some ForeignKey-Constraint-Violations.<br>
Therefor we introduced CMR to enable the container to get control over the relations. We managed to get all the CMRs right except one:<br><br>
Tables are:<br>
Table A(<u><b>a</u></b>,<u><b>b</u></b>,c,d) PK a,b<br>
Table B(<u><b><i>a</u></b></i>,<u><b><i>b</u></b></i>,<u><b>m</u></b>,n) PK a,b,m <br>
Table A(<u><b><i>a</i></b></u>,<u><b><i>b</i></b></u>,<u><b>x</u></b>,<b><i>m</i></b>) PK a,b,x <br><br>
Foreign keys are:<br>
FK B->A using a & b<br>
FK C->A using a & b, C->B using a, b & m<br>
(in words: B extends A, C extends A, C may extend B must does not have to)<br><br>
The FK C->B I do not know how to manage via CMR.<br>
If I try to set the Reference to B within the ejbPostCreate() using setParent(B) I get this Error:<br>
[EJB:010146]The setXXX method for a cmr-field that is mapped to a primary key may not be called. The cmr-field is read-only.<br><br>
If I try not to use the setParent(B) but to set an Reference using setM(m) I get this Error:<br>
[EJB:010145]When a cmp-field and a cmr-field (relationship) are mapped to the same column, the setXXX method for the cmp-field may not be called. The cmp-field is read-only.<br><br>
Is there any way to solve this Problem without changing the Database?<br><br>
And yes I know, you should not use compound Keys in EJB...;-)<br><br>
Thanks in advance,<br>
Stephan

Hi Pooyan,
thanks for having an look and answering. I agree, using hibernate could help...
But I was interested in an solution that is will not result in changing the persistance-layer of the whole application (at least not at this moment).
So far we are getting no errors not using cmr for this particular relation, so we are not forced to solve it.
But there is no solution (beside changing the persistance to e.g. hibernate) for such an constellation?
cheers,
Stephan

Similar Messages

  • When i add CMR between 2 CMP, it show ORA-00904

    i create 2 "CMP from table" without foreign key. i can create both instance by home.create() . after i add CMR between both. i can create master but can't create detail. when i create the detail, it show ORA-00904.
    anyone can help me?
    master table is
    CREATE TABLE KAY_TMP_1 (
    ID VARCHAR2 (2) NOT NULL,
    KAY_NUM NUMBER (9,2),
    KAY_NAME VARCHAR2 (10),
    KAY_DATE DATE,
    PRIMARY KEY ( ID ) ) ;
    detail table is
    CREATE TABLE KAY_TMP_2 (
    ID2 VARCHAR2 (2) NOT NULL,
    SUB_ID2 VARCHAR2 (2) NOT NULL,
    KAY_NAME2 VARCHAR2 (10),
    PRIMARY KEY ( ID2, SUB_ID2 ) ) ;
    ejb-jar.xml
    <?xml version = '1.0' encoding = 'GBK'?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <description>Entity Bean ( CMP )</description>
    <display-name>Kay_tmp_2</display-name>
    <ejb-name>Kay_tmp_2</ejb-name>
    <home>fehd.web.util.Kay_tmp_2Home</home>
    <remote>fehd.web.util.Kay_tmp_2</remote>
    <local-home>fehd.web.util.Kay_tmp_2LocalHome</local-home>
    <local>fehd.web.util.Kay_tmp_2Local</local>
    <ejb-class>fehd.web.util.impl.Kay_tmp_2Bean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>fehd.web.util.Kay_tmp_2PK</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>Kay_tmp_2</abstract-schema-name>
    <cmp-field>
    <field-name>id2</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>sub_id2</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>kay_name2</field-name>
    </cmp-field>
    </entity>
    <entity>
    <description>Entity Bean ( CMP )</description>
    <display-name>Kay_tmp_1</display-name>
    <ejb-name>Kay_tmp_1</ejb-name>
    <home>fehd.web.util.Kay_tmp_1Home</home>
    <remote>fehd.web.util.Kay_tmp_1</remote>
    <local-home>fehd.web.util.Kay_tmp_1LocalHome</local-home>
    <local>fehd.web.util.Kay_tmp_1Local</local>
    <ejb-class>kaytmp.Kay_tmp_1Bean</ejb-class>
    <persistence-type>Container</persistence-type>
    <prim-key-class>java.lang.String</prim-key-class>
    <reentrant>False</reentrant>
    <cmp-version>2.x</cmp-version>
    <abstract-schema-name>Kay_tmp_1</abstract-schema-name>
    <cmp-field>
    <field-name>id</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>kay_num</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>kay_name</field-name>
    </cmp-field>
    <cmp-field>
    <field-name>kay_date</field-name>
    </cmp-field>
    <primkey-field>id</primkey-field>
    </entity>
    <relationships>
    <ejb-relation>
    <ejb-relation-name>kayTmp1_kayTmp2</ejb-relation-name>
    <ejb-relationship-role>
    <ejb-relationship-role-name>kayTmp1-have-many-KayTmp2</ejb-relationship-role-name>
    <multiplicity>One</multiplicity>
    <cascade-delete/>
    <relationship-role-source>
    <ejb-name>Kay_tmp_1</ejb-name>
    </relationship-role-source>
    <cmr-field>
    <cmr-field-name>kayTmp2</cmr-field-name>
    <cmr-field-type>java.util.Collection</cmr-field-type>
    </cmr-field>
    </ejb-relationship-role>
    <ejb-relationship-role>
    <multiplicity>Many</multiplicity>
    <relationship-role-source>
    <ejb-name>Kay_tmp_2</ejb-name>
    </relationship-role-source>
    </ejb-relationship-role>
    </ejb-relation>
    </relationships>
    </ejb-jar>
    orion-ejb-jar.xml
    <?xml version = '1.0' encoding = 'GBK'?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar>
    <enterprise-beans>
    <entity-deployment name="Kay_tmp_1" copy-by-value="false" data-source="jdbc/iasdbDS" exclusive-write-access="false" table="KAY_TMP_1">
    <primkey-mapping>
    <cmp-field-mapping name="id" persistence-name="ID" persistence-type="VARCHAR2(2)"/>
    </primkey-mapping>
    <cmp-field-mapping name="id" persistence-name="ID" persistence-type="VARCHAR2(2)"/>
    <cmp-field-mapping name="kay_num" persistence-name="KAY_NUM" persistence-type="NUMBER(9,2)"/>
    <cmp-field-mapping name="kay_name" persistence-name="KAY_NAME" persistence-type="VARCHAR2(10)"/>
    <cmp-field-mapping name="kay_date" persistence-name="KAY_DATE" persistence-type="DATE"/>
    </entity-deployment>
    <entity-deployment name="Kay_tmp_2" copy-by-value="false" data-source="jdbc/iasdbDS" exclusive-write-access="false" table="KAY_TMP_2">
    <primkey-mapping>
    <cmp-field-mapping>
    <fields>
    <cmp-field-mapping name="id2" persistence-name="ID2" persistence-type="VARCHAR2(2)"/>
    <cmp-field-mapping name="sub_id2" persistence-name="SUB_ID2" persistence-type="VARCHAR2(2)"/>
    </fields>
    </cmp-field-mapping>
    </primkey-mapping>
    <cmp-field-mapping name="id2" persistence-name="ID2" persistence-type="VARCHAR2(2)"/>
    <cmp-field-mapping name="sub_id2" persistence-name="SUB_ID2" persistence-type="VARCHAR2(2)"/>
    <cmp-field-mapping name="kay_name2" persistence-name="KAY_NAME2" persistence-type="VARCHAR2(10)"/>
    </entity-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    <default-method-access>
    <security-role-mapping impliesAll="true" name="&lt;default-ejb-caller-role>"/>
    </default-method-access>
    </assembly-descriptor>
    </orion-ejb-jar>

    Have a look at the orion-ejb-jar.xml which is generated by oc4j in the application-deployments dir.
    Oc4j takes your orion-ejb-jar.xml and generates its own basing on your version.
    In the generated file you should be able to see the select statements which will be executed.

  • Three different output tables

    Hi Experts,
    what has to be done if you have three different output tables which you would like
    display by the ALV.  How can you change between those three  tables .
    If possible I wold like to use the same alv reference.
    data ref_alv TYPE REF TO cl_gui_alv_grid.
    If this is not possible
    please tell me the other way ?
    Regards
    sas

    hi,
    maybe it helps to understand me better!
    <outtab2>
    <outtab3>
    might be also dislayed as like as  <outtab>
    PROCESS BEFORE OUTPUT.
      MODULE alvgrid_out.
    PROCESS AFTER INPUT.
      MODULE user_command_0600.
    MODULE alvgrid_out OUTPUT.
      PERFORM init.
    ENDMODULE.                 " ALVGRID_OUT  OUTPUT
    FORM init.
      IF NOT r_nsize IS INITIAL AND NOT r_normes IS INITIAL AND gv_flag IS INITIAL.
        PERFORM alv_size.
        gv_flag = 'X'.
      ENDIF.
      IF NOT r_slim IS INITIAL AND NOT r_slimes IS INITIAL AND gv_flag IS INITIAL.
        PERFORM alv_slimsize.
        gv_flag = 'X'.
      ENDIF.
      IF NOT r_stocky IS INITIAL AND NOT r_stomes IS INITIAL AND gv_flag IS INITIAL.
        PERFORM alv_stockysize.
        gv_flag = 'X'.
      ENDIF.
      IF NOT r_nsize IS INITIAL AND NOT r_normes IS INITIAL AND gv_paiflag EQ 'NO'.
        PERFORM alv_size.
      ENDIF.
      IF NOT r_slim IS INITIAL AND NOT r_slimes IS INITIAL AND    gv_paiflag EQ 'SL'.
        PERFORM alv_slimsize.
      ENDIF.
      IF NOT r_stocky IS INITIAL AND NOT r_stomes IS INITIAL AND   gv_paiflag EQ 'ST'.
        PERFORM alv_stockysize.
      ENDIF.
    ENDFORM.                    "init
    MODULE user_command_0600 INPUT.
      IF NOT r_nsize IS INITIAL AND NOT r_normes IS INITIAL AND sy-ucomm EQ 'NO'.
        gv_paiflag = 'NO'.
      ENDIF.
      IF NOT r_slim IS INITIAL AND NOT r_slimes IS INITIAL AND sy-ucomm EQ 'SL'.
        gv_paiflag = 'SL'.
      ENDIF.
      IF NOT r_stocky IS INITIAL AND NOT r_stomes IS INITIAL AND sy-ucomm EQ 'ST'.
        gv_paiflag = 'ST'.
      ENDIF.
      FREE: ref_alv, ref_container.
    ENDMODULE.                 " USER_COMMAND_0600  INPUT
    FORM alv_size .
      CHECK ref_alv IS INITIAL.
      CREATE OBJECT ref_container
        EXPORTING
          container_name = 'ALV'.
      gv_layout-no_toolbar = 'X'.
      CLEAR: gs_fcat, gs_zpd.
      READ TABLE lt_sgroup INTO ls_sgr INDEX 1.
      gs_fcat-fieldname = 'ORG_SIGN'.
      gs_fcat-coltext = ''.
      gs_fcat-outputlen = 2.
      APPEND gs_fcat TO gt_fcat.
      CLEAR gs_fcat.
      gs_fcat-fieldname = 'DESCRIPTION'.
      gs_fcat-coltext =   ls_sgr-sizegroup_name.
      gs_fcat-outputlen = 30.
      APPEND gs_fcat TO gt_fcat.
      CLEAR gs_fcat.
      SORT r_nsize BY low.
      DELETE ADJACENT DUPLICATES FROM r_nsize.
      LOOP AT r_nsize.
        CONDENSE r_nsize-low NO-GAPS.
        gs_fcat-fieldname =  r_nsize-low.
        gs_fcat-coltext   =  r_nsize-low.
        gs_fcat-outputlen = 5.
        APPEND gs_fcat TO gt_fcat.
      ENDLOOP.
      CLEAR gs_fcat.
      LOOP AT gt_fcat INTO gs_fcat WHERE  fieldname NE refer.
        gs_fcat-edit = 'X'.
        MODIFY gt_fcat FROM gs_fcat TRANSPORTING edit.
      ENDLOOP.
      CLEAR gs_fcat.
      LOOP AT gt_fcat INTO gs_fcat WHERE  fieldname EQ 'DESCRIPTION'.
        gs_fcat-edit = ' '.
        MODIFY gt_fcat FROM gs_fcat TRANSPORTING edit.
      ENDLOOP.
      CLEAR gs_fcat.
      LOOP AT gt_fcat INTO gs_fcat WHERE  fieldname EQ 'ORG_SIGN'.
        gs_fcat-edit = ' '.
        MODIFY gt_fcat FROM gs_fcat TRANSPORTING edit.
      ENDLOOP.
      FIELD-SYMBOLS: <lt_ss> TYPE table,
      <test> TYPE ANY.
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = gt_fcat
        IMPORTING
          ep_table        = new_table.
      ASSIGN new_table->* TO <outtab>.
      CREATE DATA new_line LIKE LINE OF <outtab>.
      ASSIGN new_line->* TO <l_line> .
      SORT r_normes BY low.
      DELETE ADJACENT DUPLICATES FROM r_normes.
      LOOP AT r_normes.
        ASSIGN COMPONENT 2 OF STRUCTURE <l_line> TO <test>.
        <test> = r_normes-low.
        APPEND <l_line> TO <outtab>.
      ENDLOOP.
      CLEAR gs_cpmpon.
      REFRESH: gt_compon, gv_comp
      PERFORM read_comp
        TABLES gv_comp
         USING
            'zpd'
            <l_line>.
      CREATE OBJECT ref_alv
        EXPORTING
          i_parent      = ref_container
          i_appl_events = 'X'
        EXCEPTIONS
          OTHERS        = 5.
      CALL METHOD ref_alv->register_edit_event
        EXPORTING
          i_event_id = cl_gui_alv_grid=>mc_evt_enter.
      CREATE OBJECT ref_alv_events.
      SET HANDLER ref_alv_events->handle_data_changed FOR ref_alv.
    * <outtab2>
    * <outtab3>
    * might be also dislayed
      CALL METHOD ref_alv->set_table_for_first_display
        EXPORTING
          is_layout            = gv_layout
          it_toolbar_excluding = it_toolbar_excluding  " TYPE UI_FUNCTIONS
        CHANGING
          it_fieldcatalog      = gt_fcat
          it_outtab            = <outtab>
        EXCEPTIONS
          OTHERS               = 4.
      CALL METHOD cl_gui_cfw=>flush.
    ENDFORM.                    " ALV_SIZE

  • Relation between BKPF and EKBE table for reversing document?

    Is there any relation between BKPF and EKBE table for reversing document when STBLG is blank in BKPF.
    AND
    How to differentiate Old Accounting document / Reverse document / New document when in BKPF-STBLG is blank for all three document and BKPF-XBLNR are same for all.

    Hi Varun,
    Table Document no (BKPF-BELNR) is link between Material document no (EKBE-BELNR). If you are looking for validating Material reversal document then please use following logic for your requirement.
    Material Document (MBLNR) & Material Document Year (MJAHR). Pass material document (MBLNR) to MSEG-SMBLN to read MSEG-MBLNR with MSEG-MJAHR to MSEG-SJAHR, if record found delete both the documents i.e. MSEG-SMBLN & MSEG-MBLNR (donu2019t consider these documents in the logic) and display Material Document No. (MSEG-MBLNR)
    Regards,
    Santosh

  • Synching between three macs WITHOUT using .mac

    Is there a way to synch between three different computers? I have two at home (a main one, and a laptop), and I need to be able to make one the 'master' and have it mirrored to the laptop occaisionally. I can connect them via the network.
    Same question for the remote (work) mac - can I ftp or email the synch files? Can this be done? .mac would probably be best, but since Apple charges a 40% surcharge simply because I live in Canada, I refuse to buy it.(As of now, we should be getting a 'discount'. Would be easiest if they just charged everything in US dollars, and let the finance companies do the conversion.)
    Same question for mail as well as address book.

    Get a copy of Folderssynchronizer for each Mac. Choose which folders you want to keep synced - Documents, presumably, and any others. You can do this with Address Book but Mail might be problematic - certainly if you are using different versions. If they are the same you could probably sync the ~/Library/Mail folder, but it could be pretty large. See below for another method.
    Get a large capacity USB drive - you can get them up to 4MB. Create an empty folder with the same name for each of the folders you want to sync. Now you can carry out a sync from you main Mac to the USB stick, and from the USB stick to the other computers in the same way
    You need to sync each computer at the beginning and end of a session, and operate a rule which is that the computer which is currently between these syncs is the only one to have files modified (if you modify the same file on two computers one of them will get overwritten).
    You could do this over the network, but for the work computer it might prove too difficult and slow to be worth it.
    Syncing Mail may be better done by setting each machine to leave messages on the server for one week (or whatever): then each message gets downloaded to each machine (which can be a bit confusing). You could Bcc replies to yourself and use Rules to route these to the 'Sent' folder. Of course the best way to sync mail is to use IMAP.

  • Difference between closing the connection before and after committing user transaction?

              I was wondering what's the difference between closing the connection before committing
              the transaction versus closing the connection after committing the transaction?...
              for e.g....
              Scenario 1.........
              UserTransaction useretran;
              usertran.begin();
              Connection con = datasource.getCOnnection();
              // do bunch of stuff...
              conn.close();
              usertran.commit()
              Scenario 2...
              UserTransaction useretran;
              usertran.begin();
              Connection con = datasource.getCOnnection();
              // do bunch of stuff...
              usertran.commit()
              conn.close();
              thanks....
              Srini
              

    Hi. As long as you're sure there's a transaction going on, and the connection
    is a transaction-aware object (from a TxDataSource), either will be fine.
    In the first scenario the actual semantics of the close() call are less than
    normal, because we really don't close the connection or return it to the
    pool until the actual transaction commits, and in the second case, we have
    already taken the connection out of your service as of the commit().
    The second scenario is the usual coding style. If there's ever a chance your
    code will get non-transaction-aware connections, it is crucial to close
    connections, and I always recommend putting the close() in a finally block
    so it's guaranteed to happen.
    Joe
    srinivas wrote:
    I was wondering what's the difference between closing the connection before committing
    the transaction versus closing the connection after committing the transaction?...
    for e.g....
    Scenario 1......... UserTransaction useretran; usertran.begin(); Connection con =
    datasource.getCOnnection(); // do bunch of stuff... conn.close(); usertran.commit()
    Scenario 2... UserTransaction useretran; usertran.begin(); Connection con = datasource.getCOnnection();
    // do bunch of stuff... usertran.commit() conn.close();
    thanks....
    Srini

  • How do you set defaults in pages such as font and moving between cells in a table?

    How do you set defaults in Pages such as font and moving between cells in a table?

    Default layout and styles can be set by setting up a sheet with your settings and saving as a user template (File > Save As Template).  I don't know of a way to set defaults for moving between cells in a table.

  • HT204400 My wireless key password is three words connected by a - but the keyboard  on the Apple TV menu does not have this symbol! Help please

    Can anyone help- I am trying to connect the wireless network to the Apple TV and the keyboard letter/icons does not have the option of the - symbol. It's not under score in my wireless password it's three words connected with a -   I am either thick or well probably! Help

    Welcome to the Apple Community.
    Change the character screen by using the ' #+= ' button on the top row of characters, you'll find the ' - ' charcter at the end of the 5th row.

  • To Identify Relationship between records in a table

    Hi
    I need to write a query to identify what relationship exists between records in a table.
    For example,In our system a manager can have more than 1 subordinate as well as an employee can also have more than 1 manager.
    I need to provide the relationship for a given set of employee-ids whether it is
    1 is to 1,
    1 is to many,
    many is to 1,
    many to many.
    Employee     Relationship     Relationship Description
    John     1 is to M     Implies John is reporting to multiple managers who have only one subordinate
    Stuart     1 is to 1     Implies Stuart is reporting to only one manager who has only one subordinate
    Robert     M is to 1     Implies Robert is reporting to only one manager who has multiple subordinates
    Martha     M is to M     Implies Martha is reporting to multiple managers who have multiple subordinates
    Can you please help me with this query?
    Regards
    Kapil

    To make things simple lets assume the following table structure and data
    CREATE TABLE EMP
    ENAME VARCHAR2(10),
    MNAME VARCHAR2(10)
    Data for M:1 Relationship
    INSERT INTO EMP VALUES ('John','Linda');
    INSERT INTO EMP VALUES ('Robert','Linda');
    Data for 1:M Relationship
    INSERT INTO EMP VALUES ('Peter','Stuart');
    INSERT INTO EMP VALUES ('Peter','Linda');
    Data for 1:1 Relationship
    INSERT INTO EMP VALUES ('Mary','Tim');
    Data for M:M Relationship
    INSERT INTO EMP VALUES ('Chris','Roger');
    INSERT INTO EMP VALUES ('Tom','Roger');
    INSERT INTO EMP VALUES ('Stephen','Roger');
    INSERT INTO EMP VALUES ('Stephen','Zoe');
    Now if I search for Chris and Mary I should get the result as:-
    Chris M:M
    Mary 1:1
    Hope this clarifies ;-)

  • Linking between PP and SD tables

    Hai friends,
    I want one link between PP and SD tables. My requirement is i have planned order PLAF table. i want to link Sales table. Please guide me.
    Thanks and Regards
    visvanath

    Hi
    You can simply link the Sales order No and ITEM
    VBAP-VBELN and VBAP-POSNR with the PP order item table
    AFPO-KDAUF and AFPO-KDPOS and get the Pp related info
    or in Sales tables there is a field called AUFNR in VBAP
    use that for PP order number
    SD tables
    http://www.erpgenie.com/abap/tables_sd.htm
    PP tables
    http://www.erpgenie.com/abap/tables_pp.htm
    Regards
    Kiran Sure

  • Switching between the firewire connection and USB 2.0 Connection

    Is it possible to switch between the firewire connection and USB 2.0 Connection on a portable external hard drive? I've tried unsuccessfully to use the firewire connection on my external hard drive after using the 2.0 connection. No machine will read the drive if it is connected via the firewire port. Using USB 2.0 it works as intended.

    Hello Grizzly Marmot,
    Thank you for the feedback. So probably my old MAXTOR enclosure is playing me tricks ....
    Last night the backup on my USB 2.0 was terribly slow ??? The incremental duplication of my hard drive (372.9 MB of data from 35GB of complete data) gave me these stats:
    Copied : 6232 files, 372,9 Mo
    Average : 8,8 Mo/minute (4,5 copying, 148,1 verifiying)
    Just to analyse the drive it takes ±45 minutes ??? Also could the energy saving mode be a slow down factor (the suspension of the computer is NEVER) ???
    I still wonder what speed I could experience for a wireless backup to a NAS drive ??
    Thanks for helping.
    Robert

  • Only one connection established between TT Cache Connect and Oracle10g

    When I use AWT, I found in a TT datastore only one connection established between TT Cache Connect and Oracle10g .
    In our project, the massive real-time data in TT need to be propagated to Oracle10g, but the data are blocked beacuse the slower Oracle10g DB. Can I establish a connection pool that have multiple connections between TT Cache Connect and Oracle10g?
    Thanks for your help.

    Hi,
    I'm afraid that the current implementation of AWT uses just one connection to Oracle and there is no way to change that. This is indeed a significant bottleneck...
    One possible workaround is to split your data across multiple datastores as each datastore will have its own AWT connection to Oracle. Not very nice but about your only option with AWT...
    Sorry, Chris

  • Relation between different GUID and tables in RPM

    Hi All,
    can you tell me the relation between different GUID and tables in RPM. Many thanks.
    Regards,
    J B

    Hi Deepesh,
    Try the foll. join :
        SELECT  fragment_guid  INTO  (some internal Table)
             FROM  comm_pr_frg_rod
             WHERE  product_guid  = (your product guid list)
    This should give u a complete match of the products.
    Hope this helps.
    Regards,
    Raviraj

  • What is defference between RT and CRT table in ABAP HR

    Hi Experts,
    What is defference between RT and CRT table in ABAP HR

    The RT (results table) will give you the payroll results for one specific run of payroll. It includes all wage types that were processed during the payroll run. The CRT (cumulated results table) contains payroll results only for cumulated wage types that have been processed in payroll runs so far for the year. It contains month-to-date, quarter-to-date, and year-to-date totals for those wage types. Not all wage types found in the RT will be available in the CRT. You will have to check the configuration for a specific wage type to determine if it is available in both
    You can check all RT WT in PC00_Mxx_CWTR where "xx" is youre molga. Also, you can check RT, CRT and other payroll results in PC_Payresult.
    Report RPCEDTx0 prints out payroll results (x=country indicators).
    use t-code PT66 to display the cluster details that is results table

  • Difference between use of decision table and if/then in business rules

    Hello ,
    Could some one please explain me difference between use of decision table and if/then in business rules in short.
    - Shirish

    Hi,
    They are equivalent, pretty much what you can do with a decision table you can also do with if/then...
    However, decision tables provide automated features that can reduce the number of required rules, as compared to the if/then rules (this is called rule coalescing).
    Have a look on this document... Search for 5.1.1 What is a Decision Table?
    http://docs.oracle.com/cd/E23943_01/user.1111/e10228/decision.htm#CJHFIAHG
    Cheers,
    Vlad

Maybe you are looking for