Communication channel - standard t-code/table

Hi,
Need some help...
Is there any standard t-code by which we can start/stop/automate mass communication channel at a time ?
or
Any t-code by which we can start/stop/automate single communication channel ?
(I mean w/o going to moni_ifr -> rwb -> ...etc)
Also want master table in which communication channel and its status (like start/stop/auto/any ATP)is stored ( I did not find this info in SMPREL3/SMPPMAP3)
Note : I checked que/ans already posted and also checked "/people/gourav.khare2/blog/2007/12/12/interesting-abap-tables-in-xi-150-part-i link but did not found relevent info.
Thanks.
Ramiz...

Thanks Ibrahim/Abhishek/volker
My problem is :
we have frequent maintenance activity for our production system. and all the time we need to stop/start all cc to avoid any message failure during this maintenance. Manual stop/start from RWB requires lots of time. we have approx 100 cc(and increasing...) and all need to stop before maintenance and start after maintenance complete.
I want any standard t-code that can do this... and if not any standard then want make something in abap that can do this and we can avoid such a time consuming process.
As per the replies :
1)manual as mentioned above
-> this requires lots of time every time maintenance activities happens.
2) as mentioned by abhishek thru external controlling
-> I need to look into this but Its one cc at a time
3) And availability planning by selecting the option to control it automatically
-> we are using this functionality but during our maintenance activity this will not be useful as maintenance activity happens anytime/any day. 
As per the Volker,
Hi Ramiz!
Because almost all communication channels are part of the Java Adapter Engine you will not find a table in ABAP stack and you will also not find a transaction to control them.
But - like already mentioned by others in this thread - you can build your own tool to do this job.
Regards,
Volker
There is no abap table that stores CC...so I need to build my own tool to do this job...
But donu2019t have exact idea what/how to build !
Plz. let me know if you find anything related to this...
Thanks a lot for help.
Thanks.
Ramiz...

Similar Messages

  • Error ORA-03113: end-of-file on communication channel in droppping  a table

    Good evening,
    I am very new on Oracle and I have a problem with some tables. Without any reason, apparently, I can't drop some of my table. Oracle gives me this error:
    ORA-03113: end-of-file on communication channel
    and then close the connection of the user.
    What I should have to do?
    It is very important.
    Thanks a lot
    best regards
    Anna Zanetti

    Good morning, I still have the same problem, I can't drop a table from my database.
    The message is again:
    Re: Error ORA-03113: end-of-file on communication channel
    The alert log file says:
    Fri Nov 17 12:27:31 2006
    Errors in file /usr/oracle/admin/oracledb/udump/oracledb_ora_4369.trc:
    ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
    and in file oracledb_ora_4369.trc there is:
    Exception signal: 11 (SIGSEGV), code: 1 (Address not mapped to object), addr: 0xc, PC: [0x955c61f, 0955C61F]
    Registers:
    %eax: 0x00000000 %ebx: 0x00012d95 %ecx: 0x58301930
    %edx: 0x00000000 %edi: 0x5830d9e8 %esi: 0x00000000
    %esp: 0xbfffae1c %ebp: 0xbfffb060 %eip: 0x0955c61f
    %efl: 0x00210282
    (0x955c61f) movzw 0xc(%eax),%eax(0x955c623) cmp $30,%eax
    (0x955c626) jle 0x955c63e
    (0x955c628) xor %edx,%edx
    (0x955c62a) push %edx
    *** 2006-11-17 12:27:31.658
    ksedmp: internal or fatal error
    ORA-07445: exception encountered: core dump [0955C61F] [SIGSEGV] [Address not mapped to object] [0xC] [] []
    Current SQL statement for this session:
    drop table fiumiforjoin
    ----- Call Stack Trace -----
    calling call entry argument values in hex
    location type point (? means dubious value)
    08856247 call 0885776A 1 ? 0 ? 1 ? 1 ? 0 ? 0 ?
    08290320 call 0885605A 3 ? 0 ? 0 ? 0 ? 0 ? 0 ?
    0955C61F signal 08290320 B ? BFFFAAB0 ? BFFFAB30 ?
    0955D6BE call 0955C61F 5830F01C ? 0 ? FFFFFFFF ? 0 ?
    1 ? 5830F01C ?
    08DD1EEB call 0955CC22 BFFFB394 ? 0 ? 0 ? BFFFB348 ?
    58EAB2B0 ? C ?
    09434EF3 call 08DD1A28 BF2A8C4 ? BFFFC0C0 ?
    BFFFC0C0 ? 4 ? B6AB0300 ?
    B6ABC2E0 ?
    094106E0 call 094326D4 4 ? 0 ? BFFFC0C0 ?
    093D7BB5 call 0940FEF8 3 ? E ? BFFFC1F8 ? A4 ?
    093D630C call 093D7AC4 BFFFCDF0 ? BFFFCD08 ? 17 ?
    1 ? 0 ? A4 ?
    08293DE6 call 0850FFFF 5E ? 14 ? BFFFCDEC ?
    0A1ED44D call 08293DE6 5E ? 14 ? BFFFCDEC ? 0 ?
    08292122 call 0A1ECAE4 BF2A8C0 ? 5E ? BFFFCDEC ? 0 ?
    BFFFD6E8 ? BFFFD6E4 ?
    0941F190 call 0829193C 0 ? 0 ? BF2A8C0 ? BF83090 ?
    F1 ? 0 ?
    08293DE6 call 0850FFFF 3C ? 4 ? BFFFEB08 ?
    08291238 call 082937A8 3C ? 4 ? BFFFEB08 ? 0 ?
    0828F403 call 08291012 3C ? 4 ? BFFFEB08 ?
    08274A3D call 0828F39C BFFFEAEC ? 3C ? 4 ?
    BFFFEB08 ? B6CC017C ?
    B6C1A17C ?
    __libc_start_main() call 08274A3D 2 ? BFFFEBA4 ? BFFFEBB0 ? 0 ?
    +218 B6C1C898 ? B7600020 ?
    Any idea of what I have to do?
    Thanks for your help..
    Best Regards
    Anna Zanetti

  • Communication Channel information in abap tables

    Hi ,
    Could you let me know any abap table which contains information about communication channels in PI 7.0.
    I have checked the following link
    Re: XI--Table for communication channels
    But the table SMPREL3 is not active in our data dictionary. is there any other table which stores this information.
    My requirement is to get the list of all channels which have quality of service as EOIO in the processing tab of the comm channel.
    Let me know if there are any other ways of checking this.

    Hi,
    Some tables in following blog:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417800)ID0366444450DB00849302769976173098End?blog=/pub/wlg/2754
    Regards,
    Giuseppe

  • Editing Communication Channel Attributes

    Hi All,
    I have the following scenario.
    I would like to have dynamic Source/Target directories in Dev / QA / Prod using a combination of a variable(from a Z-table), System ID and Connection party
    e.g Source File Directory would be   "/INTERFACES/PRD/3RDPARTY" in Prod but  "/INTERFACES/DEV/3RDPARTY" in Development
    I understand I can manipulate the Integration Builder API to update these field but I want to do it using an ABAP proxy/RFC. i.e code in ABAP not java. Can somebody point me in the right direction or some sample code that I can have a look at.
    I have seen this done before on a previous project but I did no manage to obtain any source code to look through or the steps invovled.
    Any help would be appreciated

    Hi Raghu,
    I have to disagree with you as I have seen it with my own eyes. On a previous project we executed ABAP programs which called Webservices with changed Source File directories on communication channels based on Z-table configuration in the respective systems. The problem is I cannot contact the programmer and am no longer at the client site to look at the code. I would like anyone who has experience in this to assist me or to possible where to start.
    Cheers

  • Standard table that stores communication channel parameters

    Hi All,
    Can you tell me if there is a standard table that stores the parameters of communication channel?
    For example, Which table has the value of "Quality of Service" in "Processing Parameters"?
    Regards,
    Nisha

    Can you tell me if there is a standard table that stores the parameters of communication channel?
    not aware of a standard table....each communication has its own QOS.....you can check it in the log in SXMB_MONI....opne the particular message processing and look in the upper window (Window 1) where all the details are mentioned.

  • XI--Table for communication channels

    Hello Gurus,
    In which Table does Communication Channels stored?
    Can anyone explain the Few tables Related to XI.
    Thanks and Regards,
    Ravi.

    Hi
    SMPREL3 abap table contains comm channel info
    SMPPREL3: this table contains information about interfaces; here you can find information on sender (party, service, interface and namespace) and receiver (party, service, interface and namespace) as well as information on maps (their GUID and name as well as namespace).
    SXMSPFRAWH: this table contains runtime performance data for successful message and sender and receiver information is stored as address id that derive information from SXMSPFADDRESS, from this table you can find out volume and latency also.
    /people/gourav.khare2/blog/2007/12/12/interesting-abap-tables-in-xi-150-part-i

  • Error in the SOAP   Receiver communication channel

    Hi ,
            My scenario is RFC - to -SOAP (synchronous )   i have  specified the TARGET URL inthe   SOAP receiver  comminication chanel.. but  while testing  the interface   by providing the test  data from R/3 ..  I'm not getting any Respose.. ..
    If I check in the SXMB_MONI in  i'm getting the following message ..  but the URL whicjh i provided that is fine.. but my doubt  is  through XI  may be it's  not able to connect the  Target System... .. so, please suggest me...
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: www.webservicex.net</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    regards
    Jain

    By default, the SOAP adapter sends the SOAP message with the content type text/xml.
    When you check "Do not use SOAP envelope", the default contnet type is application/xml.
    You can change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and value text/xml.
    Check out this
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    One way of testing ur scenario
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible
    Also have a look here
    SAP Note 856597
    reward points if solution found helpfull
    regards
    chandrakanth

  • Convrtd to Invterval Part- ORA-03113: end-of-file on communication channel

    Hi all,
    I had a table as Interval Partitioned. In order to create XML- Xpath indexes on it, I converted it to Range Partitioned table.
    I am able to create the XPATH indexes but I get the error: ORA-03113: end-of-file on communication channel
    - When I revert the code to Interval Partitioned without the XMLIndex, it works fine(although takes time as no XML Index)
    - When I convert table to non partitioned table, create the XML Index, it works fine.
    But I need the partitons, so when I create the partitioned table I get the error.
    CREATE TABLE INT_PART_TABLE
    DB_ID VARCHAR2(10 BYTE),
    xML_mESSAGE SYS.XMLTYPE,
    LOAD_TIMESTAMP TIMESTAMP(6)
    XMLTYPE xML_mESSAGE STORE AS BINARY XML
    PARTITION BY RANGE (LOAD_TIMESTAMP)
    PARTITION MAX VALUES LESS THAN (TIMESTAMP' 2013-06-01 00:00:00')
    TABLESPACE CSTR_STG_DATA
    NOCOMPRESS
    NOCACHE
    ENABLE ROW MOVEMENT;
    BEGIN
    DBMS_XMLINDEX.dropparameter('Indx_Par');
    END;
    BEGIN
    DBMS_XMLINDEX.REGISTERPARAMETER(
    'Indx_Par',
    'PATH TABLE Table1
    PATHS (INCLUDE ( /abc:field1/xyz:field2
    /abc:field1/def:field2
    NAMESPACE MAPPING ( xmlns:abc="ABCD"
    xmlns:def="DEFG"
    xmlns:xyz="XYZA"
    end;
    create index INDX_XPATHS on "INT_PART_TABLE" (XML_MESSAGE) indextype is xdb.xmlindex
    parameters ('PARAM Indx_Par') local;
    Now if I execute the following statement in
    SELECT T.xML_mESSAGE
    FROM INT_PART_TABLE1 T
    WHERE XMLEXISTS (
    declare namespace abc="ABCD";
    declare namespacedef="DEFG";
    declare namespace xyz="XYZA";
    let $tt as xs:boolean := fn:exists($p/main/id = ("144283","9085802")])
    return if ($tt) then true()
    else ()'
    PASSING T.xML_mESSAGE AS "p");
    - Is there any other way of writing this Select statement, which may work?
    - Any other thing I need to take care of when defining the table and partitions script so that I don't get this error?

    Hi,
    I think it's time you give a clear (and working) test case so that we can safely try to reproduce the issue.
    What you've given so far has syntax error and name mismatch.
    So please :
    - database version (SELECT * FROM v$version)
    - complete sequence of DLLs
    - some sample XML documents (it doesn't have to be the real ones, but at least something realistic)
    Thanks in advance.
    declare namespace abc="ABCD";
    declare namespacedef="DEFG";
    declare namespace xyz="XYZA";
    let $tt as xs:boolean := fn:exists($p/main/id = ("144283","9085802")])
    return if ($tt) then true()
    else ()'Why all that stuff? You don't have to return a boolean.
    The following works for me on 11.2.0.3 :
    SQL> CREATE TABLE int_part_table (
      2    db_id          VARCHAR2(10)
      3  , xml_message    XMLTYPE
      4  , load_timestamp TIMESTAMP
      5  )
      6  XMLTYPE xml_message STORE AS BINARY XML
      7  PARTITION BY RANGE (load_timestamp) (
      8    PARTITION MAX VALUES LESS THAN (timestamp '2013-06-01 00:00:00')
      9  )
    10  NOCOMPRESS
    11  NOCACHE
    12  ENABLE ROW MOVEMENT;
    Table created
    SQL> insert into int_part_table values (1, xmltype('<main><id>144283</id></main>'), sysdate);
    1 row inserted
    SQL> insert into int_part_table values (1, xmltype('<main><id>9085802</id></main>'), sysdate);
    1 row inserted
    SQL> insert into int_part_table values (1, xmltype('<main><id>1</id></main>'), sysdate);
    1 row inserted
    SQL> commit;
    Commit complete
    SQL> create index int_part_table_uix on int_part_table (xml_message)
      2  indextype is xdb.xmlindex
      3  parameters (
      4  'PATH TABLE INT_PART_TABLE_PT
      5  PATHS ( INCLUDE ( /main/id ) )')
      6  local;
    Index created
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLExists(
      4         '/main[id=("144283","9085802")]'
      5         PASSING xml_message
      6       )
      7  ;
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 3517234298
    | Id  | Operation                              | Name                         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT                       |                              |     1 |   155 |    34   (6)| 00:00:01 |       |       |
    |   1 |  NESTED LOOPS                          |                              |     1 |   155 |    34   (6)| 00:00:01 |       |       |
    |   2 |   VIEW                                 | VW_SQ_1                      |     1 |    25 |    32   (4)| 00:00:01 |       |       |
    |   3 |    HASH UNIQUE                         |                              |     1 |    47 |         |             |       |       |
    |*  4 |     HASH JOIN SEMI                     |                              |     1 |    47 |    32   (4)| 00:00:01 |       |       |
    |   5 |      PARTITION SYSTEM SINGLE           |                              |     2 |    90 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  6 |       TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     2 |    90 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  7 |        INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |   8 |      COLLECTION ITERATOR PICKLER FETCH | XQSEQUENCEFROMXMLTYPE        |  8168 | 16336 |    29   (0)| 00:00:01 |       |       |
    |*  9 |   TABLE ACCESS BY USER ROWID           | INT_PART_TABLE               |     1 |   130 |     1   (0)| 00:00:01 | ROWID | ROWID |
    Predicate Information (identified by operation id):
       4 - access("SYS_P3"."VALUE"=SYS_XQ_UPKXML2SQL(VALUE(KOKBF$),2,1,0) AND
                  SUBSTRB("VALUE",1,1599)=SUBSTRB(SYS_XQ_UPKXML2SQL(VALUE(KOKBF$),2,1,0),1,1599))
       6 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
       7 - access("SYS_P3"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P3"."PATHID"=HEXTORAW('704E') )
       9 - filter("ITEM_6"=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"INT_PART_TABLE".ROWID))
    Note
       - Unoptimized XML construct detected (enable XMLOptimizationCheck for more information)
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLExists(
      4         '/main[id="144283" or id="9085802"]'
      5         PASSING xml_message
      6       )
      7  ;
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 3748936130
    | Id  | Operation                                | Name                         | Rows  | Bytes | Cost (%CPU)| Time     | Pstart| Pstop |
    |   0 | SELECT STATEMENT                         |                              |     1 |   155 |    11  (10)| 00:00:01 |       |       |
    |   1 |  NESTED LOOPS                            |                              |     1 |   155 |    11  (10)| 00:00:01 |       |       |
    |   2 |   VIEW                                   | VW_SQ_1                      |     2 |    50 |     8   (0)| 00:00:01 |       |       |
    |   3 |    HASH UNIQUE                           |                              |     2 |   180 |         |             |       |       |
    |   4 |     CONCATENATION                        |                              |       |       |         |             |       |       |
    |   5 |      NESTED LOOPS                        |                              |       |       |         |             |       |       |
    |   6 |       NESTED LOOPS                       |                              |     1 |    90 |     4   (0)| 00:00:01 |       |       |
    |   7 |        PARTITION SYSTEM SINGLE           |                              |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  8 |         TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  9 |          INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |  10 |        PARTITION SYSTEM SINGLE           |                              |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 11 |         INDEX RANGE SCAN                 | SYS117585_INT_PART__PIKEY_IX |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 12 |       TABLE ACCESS BY LOCAL INDEX ROWID  | INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |  13 |      NESTED LOOPS                        |                              |       |       |         |             |       |       |
    |  14 |       NESTED LOOPS                       |                              |     1 |    90 |     4   (0)| 00:00:01 |       |       |
    |  15 |        PARTITION SYSTEM SINGLE           |                              |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 16 |         TABLE ACCESS BY LOCAL INDEX ROWID| INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 17 |          INDEX SKIP SCAN                 | SYS117585_INT_PART__PIKEY_IX |     3 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |  18 |        PARTITION SYSTEM SINGLE           |                              |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 19 |         INDEX RANGE SCAN                 | SYS117585_INT_PART__PIKEY_IX |     1 |       |     1   (0)| 00:00:01 |     1 |     1 |
    |* 20 |       TABLE ACCESS BY LOCAL INDEX ROWID  | INT_PART_TABLE_PT            |     1 |    45 |     2   (0)| 00:00:01 |     1 |     1 |
    |* 21 |   TABLE ACCESS BY USER ROWID             | INT_PART_TABLE               |     1 |   130 |     1   (0)| 00:00:01 | ROWID | ROWID |
    Predicate Information (identified by operation id):
       8 - filter("SYS_P5"."VALUE"='9085802' AND SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1 AND SUBSTRB("VALUE",1,1599)='9085802')
       9 - access("SYS_P5"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P5"."PATHID"=HEXTORAW('704E') )
      11 - access("SYS_P5"."RID"="SYS_P3"."RID" AND "SYS_P3"."PATHID"=HEXTORAW('0BBD')  AND
                  "SYS_P3"."ORDER_KEY"<"SYS_P5"."ORDER_KEY")
           filter(SYS_ORDERKEY_DEPTH("SYS_P3"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY") AND
                  TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"SYS_P3"."RID")=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE_PT",0,7,65535,ROWI
                  D) AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_P3"."ORDER_KEY"))
      12 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
      16 - filter("SYS_P5"."VALUE"='144283' AND SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1 AND SUBSTRB("VALUE",1,1599)='144283' AND
                  (LNNVL("SYS_P5"."VALUE"='9085802') OR LNNVL("SYS_P5"."PATHID"=HEXTORAW('704E') ) OR
                  LNNVL(SYS_XMLI_LOC_ISNODE("SYS_P5"."LOCATOR")=1) OR LNNVL(SUBSTRB("VALUE",1,1599)='9085802')))
      17 - access("SYS_P5"."PATHID"=HEXTORAW('704E') )
           filter("SYS_P5"."PATHID"=HEXTORAW('704E') )
      19 - access("SYS_P5"."RID"="SYS_P3"."RID" AND "SYS_P3"."PATHID"=HEXTORAW('0BBD')  AND
                  "SYS_P3"."ORDER_KEY"<"SYS_P5"."ORDER_KEY")
           filter(SYS_ORDERKEY_DEPTH("SYS_P3"."ORDER_KEY")+1=SYS_ORDERKEY_DEPTH("SYS_P5"."ORDER_KEY") AND
                  TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"SYS_P3"."RID")=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE_PT",0,7,65535,ROWI
                  D) AND "SYS_P5"."ORDER_KEY"<SYS_ORDERKEY_MAXCHILD("SYS_P3"."ORDER_KEY"))
      20 - filter(SYS_XMLI_LOC_ISNODE("SYS_P3"."LOCATOR")=1)
      21 - filter("ITEM_2"=TBL$OR$IDX$PART$NUM("DEV"."INT_PART_TABLE",0,7,65535,"INT_PART_TABLE".ROWID))I asked in one of your other threads if /main/id was unique per XML document.
    If so, you can use a simple function-based index instead of the XMLIndex :
    SQL> drop index int_part_table_uix;
    Index dropped.
    SQL> create index int_part_table_ix1 on int_part_table (
      2    xmlcast(
      3      xmlquery('/main/id' passing XML_MESSAGE returning content)
      4      as varchar2(10)
      5    )
      6  );
    Index created.
    SQL> SELECT xml_message
      2  FROM int_part_table
      3  WHERE XMLCast(
      4          XMLQuery('/main/id' PASSING xml_message RETURNING CONTENT)
      5          AS VARCHAR2(10)
      6        )
      7  IN ('144283', '9085802');
    XML_MESSAGE
    <main>
      <id>144283</id>
    </main>
    <main>
      <id>9085802</id>
    </main>
    Execution Plan
    Plan hash value: 2864653096
    | Id  | Operation                           | Name               | Rows  | Bytes | Cost (%CPU)| Time  | Pstart| Pstop |
    |   0 | SELECT STATEMENT                    |                    |     2 |   236 |     2   (0)| 00:00:01 |       |       |
    |   1 |  INLIST ITERATOR                    |                    |       |       |            |       |  |       |
    |   2 |   TABLE ACCESS BY GLOBAL INDEX ROWID| INT_PART_TABLE     |     2 |   236 |     2   (0)| 00:00:01 |     1 |     1 |
    |*  3 |    INDEX RANGE SCAN                 | INT_PART_TABLE_IX1 |     2 |       |     1   (0)| 00:00:01 |       |       |
    Predicate Information (identified by operation id):
       3 - access(CAST(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/main/id',null,0,0,524293,1073874944) AS
                  varchar2(10)   )='144283' OR CAST(EXTRACTVALUE(SYS_MAKEXML(0,"SYS_NC00003$"),'/main/id',null,0,0,524293,1073874944
                  ) AS varchar2(10)   )='9085802')

  • ORA-03113: end-of-file on communication channel while executing a query

    Hi all,
    I am getting following error while executing one of the query.
    ORA-03113: end-of-file on communication channel
    The query involves subqueries. At one point, in the second last condition of the whole query is the cause. what makes the query to disconnect from database.
    I am pasting the whole query with highlighted part causing the error.
    select
    A.Num_Employee_Id as col_0_0_,
    A.Str_Name_For_Reports as col_1_0_
    from
    Est_Esb_employee_m A
    where
    A.num_office_id=1
    and A.Num_Employee_Id not in
    (select
    B.Num_Employee_Id
    from
    Est_Esb_Employee_Service_D B
    where
    B.Chr_Curr_Status='N'
    and
    B.Dat_Effective_Date is not null
    and
    B.Dat_Effective_Date=
    (select
    max(C.Dat_Effective_Date)
    from
    Est_Esb_Employee_Service_D C
    where
    C.Num_Employee_Id=B.Num_Employee_Id
    and C.Dat_Effective_Date is not null
    and B.Num_Transaction_Id=
    (select
    max(D.Num_Transaction_Id)
    from
    Est_Esb_Employee_Service_D D
    where
    D.Dat_Effective_Date=
    (select
    max(E.Dat_Effective_Date)
    from
    Est_Esb_Employee_Service_D E
    where
    Num_Employee_Id=D.Num_Employee_Id
    and D.Num_Employee_Id=B.Num_Employee_Id
    and B.Num_New_Office_Id=1
    order by
    A.Str_First_Name,
    A.Str_Middle_Name,
    A.Str_Last_Name
    Awaiting your valuable suggestions.
    Regards
    Vijay Kumar

    I would start by compareing the explain plan of both versions of the statement.
    Also by adding such a restriction you might change from an uncorrelated subquery to a correlated subquery. I'm not sure, because your code is hardly readably without formatting.
    In any case you seem to select again and again from the same table. Maybe you should find a way to optimize to query in terms of io (less table access). Then this problem could go away.

  • End of communication channel while running proc

    Hi ,
    As soon as i run a proc i get the following error
    BEGIN cdw_load.pa_cdw_gi_extract.pr_cdw_gi_usr_rep_extract('PL'); END;
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    Process ID: 31568
    Session ID: 963 Serial number: 693
    THE OTHER STATEMENTS /PROGRAMS in the same data base run fine.
    i checked the oracle directories are present.
    Please help
    procedure is below
    procedure pr_cdw_gi_usr_rep_extract(i_cntry_cd in varchar2)
    as
    -- Procedure PR_GI_USR_REP_EXTRACT is created to extract data for user rep extract.
    -- Modification History - None
    -- Additional Procedure included and Purpose
    -- PR_LOG_ERROR is added to handle the exceptions.
    v_file utl_file.file_type;
    v_file_name varchar2 (50);
    v_file_rec nvarchar2 (32767);
    va_strng nvarchar2 (200);
    v_errcode varchar2 (30);
    v_errmessage varchar2 (300);
    v_cntry_cd codi.dim_mrkt.cntry_cd%type;
    v_message hz_metadata.hz_job_log_detail.processor_message%type;
    v_job_seq_id pls_integer := 0;
    v_slct_cnt pls_integer := 0;
    v_mrkt_id number := 0;
    v_rec_cnt number := 0;
    v_prev_3rd_cmpgn number := 0; -- Limit the search on frp table to a max of 3 campaigns
    v_prev_2nd_cmpgn number := 0; -- LObtain the campaign previous campaign
    v_cmpgn_perd_id number := 0; -- Obtain the latest available camapign from frp ..
    --cursor for extracting the data for usr_rep
    -- Note: The search campaigns (3 camapigns) were used in an inlist as partition pruning was not happenning with BETEEEN clause
    cursor ext_usr_rep
    is
    select 1 from dual ;
    -- procedure for logging the errors during exception handling
    procedure log_error(v_message varchar2)
    as
    begin
    hz_metadata.pa_log_gsl.end_logging ('ABORT');
    hz_metadata.pa_log_gsl.log_error (p_entity_value => 'N/A',
    p_app_message => v_message,
    p_system_message => sqlerrm,
    p_reprocess_ind => null,
    p_continue_on_error => 'Y'
    commit;
    dbms_output.put_line ('Usr Rep - Extract not generated');
    end log_error;
    -- end of the log_error procedure
    -------main begin ----------------------------
    begin
    v_cntry_cd := upper(i_cntry_cd);
    v_message := 'Capture the market id';
    select distinct mrkt_id
    into v_mrkt_id
    from codi.dim_mrkt
    where cntry_cd = v_cntry_cd;
    **v_file_name := 'OMSRPT_'||v_cntry_cd ||'_USR_REP.TXT';**
    v_message := 'Logging details in to JOB LOG table';
    pa_generic.lcl_init_logging (p_module_nm => 'Extracting data for User representatives',
    p_program_nm => 'PR_GI_USR_REP_EXTRACT',
    p_entity_nm => v_file_name,
    p_job_nm => 'EXTRACT - DATA FOR USER REPRESENTATIVES',
    p_job_log_id => pa_generic.g_job_seq_id,
    p_cntry_cd => v_cntry_cd
    commit;
    execute immediate 'alter session set global_names=false';
    -- Fetch the start and end camapigns for limiting the search on fact_rep_prfrmnc
    select nvl(max(fld_sls_cmpgn_perd_id), 20040301) into v_cmpgn_perd_id from cdw.sum_mrkt_acct_sls where mrkt_id = v_mrkt_id ;
    -- Fetch the 3rd previous campaign
    v_prev_3rd_cmpgn := pa_generic.fn_get_past_cmpgn(v_mrkt_id,v_cmpgn_perd_id,3) ;
    -- Fetch the 2nd previous campaign
    v_prev_2nd_cmpgn := pa_generic.fn_get_past_cmpgn(v_mrkt_id,v_cmpgn_perd_id,2) ;
    v_message := 'Opening the file';
    v_file := utl_file.fopen_nchar ('CDW_GI_EXTRACT_' || v_cntry_cd || '_DIR', v_file_name, 'W', 32000);
    --loop and fetch the cursor ext_usr_rep1
    v_message := 'Opening Cursor ';
    for ext_usr_reprec in ext_usr_rep
    loop
    va_strng := ext_usr_reprec.cur_fet;
    utl_file.put_line_nchar (v_file, va_strng);
    v_slct_cnt := v_slct_cnt + 1;
    end loop;
    v_message := 'Closing the file ';
    utl_file.fclose (v_file);
    v_message := 'Log the successful completion message';
    hz_metadata.pa_log_gsl.end_logging ('SUCCESS');
    v_message := 'Update the stats';
    hz_metadata.pa_log_gsl.log_count (p_app_message => 'DATABASE OPERATION STATISTICS',
    p_insert_count => 0,
    p_update_count => 0,
    p_select_count => v_slct_cnt,
    p_error_count => 0
    exception
    when utl_file.invalid_path
    then
    log_error (v_message || ' due to invalid path');
    raise;
    when utl_file.invalid_mode
    then
    log_error (v_message || ' due to invalid mode');
    raise;
    when utl_file.invalid_operation
    then
    log_error (v_message || ' due to invalid operation');
    raise;
    when utl_file.write_error
    then
    log_error (v_message || ' due to write error');
    raise;
    when utl_file.internal_error
    then
    log_error (v_message || ' due to internal error');
    raise;
    when utl_file.invalid_filehandle
    then
    log_error (v_message || ' due to invalid file');
    raise;
    when no_data_found
    then
    log_error (v_message || ' due to no data');
    raise;
    when too_many_rows
    then
    log_error (v_message || ' due to more rows');
    raise;
    when others
    then
    log_error (v_message);
    raise;
    end pr_cdw_gi_usr_rep_extract;

    ORA-3113 may be caused also (or should I say mostly ?) by Oracle bugs: you need to check your database instance alert log for ORA-07445 or ORA-00600 error message and for related trace file:
    oerr ora 3113
    03113, 00000, "end-of-file on communication channel"
    // *Cause: The connection between Client and Server process was broken.
    // *Action: There was a communication error that requires further investigation.
    //          First, check for network problems and review the SQL*Net setup.
    //          Also, look in the alert.log file for any errors. Finally, test to
    //          see whether the server process is dead and whether a trace file
    //          was generated at failure time.

  • Problems in IDOC receiver communication channel

    Hi,
    I am trying to build an interface to get data from 3rd party legacy system using JDBC and post the data into ECC using IDOCS. I have IDOC built in ECC, I am able to import the metadata in IDX2 after creating port in IDX1. But after building the whole interface, I dont see the IDOC receiver communication channel which has to post IDOCS in the ECC 6.0 system.
    Please assist.
    Rgds
    Kishore

    OK in that case, we are getting the following error in the Message monitoring:
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="OUTBINDING">CO_TXT_OUTBINDING_ERROR</SAP:Code>
      <SAP:P1>-BS_AVN_TO_FILE_JDBCSERVER</SAP:P1>
      <SAP:P2>-BS_WOAV_IDOC_SENDER,urn:sap-com:document:sap:idoc:messages.ZAVENTITY01.ZENTITY</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>No standard agreement found for , BS_AVN_TO_FILE_JDBCSERVER, , BS_WOAV_IDOC_SENDER, urn:sap-com:document:sap:idoc:messages, ZAVENTITY01.ZENTITY</SAP:AdditionalText>
      <SAP:Stack>Problem occurred in receiver agreement for sender -BS_AVN_TO_FILE_JDBCSERVER to receiver -BS_WOAV_IDOC_SENDER,urn:sap-com:document:sap:idoc:messages.ZAVENTITY01.ZENTITY: No standard agreement found for , BS_AVN_TO_FILE_JDBCSERVER, , BS_WOAV_IDOC_SENDER, urn:sap-com:document:sap:idoc:messages, ZAVENTITY01.ZENTITY</SAP:Stack
    Please check and assist.
    Rgds
    Kishore

  • Adding SCP encryption to FTP in communication channel

    Hello,
    Is there an easy way to have files SCP (secure copy protocol) encrypted as they are output using FTP communication channel such that if the SCP were to fail for some reason, it would register as an adapter engine error and show up as system error in runtime workbench?
    We are currently doing this by executing a script (that does the SCP on the output file) in the command execution feature of the communication channel after the file is created on the server. However if the SCP fails, the message is still marked as complete with no error as it is not possible to capture the failure in the script and communcate back to communication channel.
    Is there some easy way that file adapter could be enhanced by adapter module development or by module processor development so as to include the SCP encryption step in the code? That way if the SCP fails, it would show up as an error in adapter engine during runtime?
    Thanks
    JB

    Hi Sabita,
    If you wish to use Port 22 only, then you can use FTPS option instead of SFTP.
    FTPS is readily available with the standard FTP adapter, Please refer the below blog:
    /people/rajasekhar.reddy14/blog/2010/04/13/how-to-configure-ftps-in-file-adapter
    But to implement this the Third part should be capable of handling Explicit FTP (FTPS) protocol.
    Please refer the below thread, this may help you:
    what is the port for FTPS communication in File Adapter
    -Supriya.

  • Custom Adapter - No content in Communication channel Monitoring for JCA

    HI,
         We have developed a Custom Adapter for our client in XI with name JCA and it is working absolutely fine.
         Issue: We are not getting any entries in Communication Channel Monitoring for success or Error Messages.
         We have used Audit log for success or Failure entries and they are coming fine in Messaging System but there coule be a standard way to get entries in Channel Monitoring.
        Our client needs the entries in CC monitoring instead of Customised Audit Logs.
        Please help.
    REgards,
    Anurag Garg

    HI Satish,
                     Thanks for answer. I am looking for this in Custom Adpater not in adapter module.
                     This log  creates a trace  File . Its not to do with getting messages in CC monitoring as we do get for File Adapter or other Adapters.
                   Like- Message Successfully put into the queue.
                         -  Successfully processed.
                     Such Messages are there in sample_ra. jar file code but they are not visible in CC Monitoring.
                   I think some extra code needs to be added to activate this in Monitoring.
                   Please suggest.
    REgards,
    Anurag Garg

  • ORA-03113: end-of-file on communication channel ERROR

    After applying Database patch 3095277 to my 9.2.0.1.0 installation
    in order to update it to 9.2.0.4.0,I'm getting ORA-03113: end-of-file on communication channel
    ERRORS when attempting various tasks. This is a local installation running on a Windows XP Workstation.
    I've even tried creating a new test database but the result is the same.
    The reason for moving up to 9.2.0.4.0 is so I can start using Advanced Queuing, which I understand had problems in earlier releases.
    However before the update I could at least create the JMS queue tables without ERROR whereas now I get the following errors when attempting to create a queue table in SQL Plus from within Enterprise Manager Console.
    SQL*Plus: Release 9.2.0.4.0 - Production on Thu Sep 18 08:20:08 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected.
    BEGIN SYS.DBMS_AQADM.CREATE_QUEUE_TABLE(Queue_table=> 'JMSQTBL',Queue_payload_type=>'SYS.AQ$_JMS_STREAM_MESSAGE',multiple_consumers=> false); END;
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    BEGIN SYS.DBMS_AQADM.CREATE_QUEUE(Queue_name=> 'JMSQUE',queue_table=> 'JMSQTBL'); END;
    ERROR at line 1:
    ORA-03114: not connected to ORACLE
    I would be grateful of any pointers as to how to resolve this problem.
    Regards
    Gary.

    Chris, Thanks for the suggestion,
    I took a look in the trace log and found the following entries that point to a ORA-00600 as you mentioned earlier.
    This is only a test database so there's no great loss if
    I have to re create it, but in saying that I did create a new test02 from scratch and had the same problem.
    Is it posible something went wrong when applying the 9.2.0.4.0 patch ?.
    Regards
    Gary.
    Dump file c:\oracle\admin\test01\udump\test01_ora_2556.trc
    Wed Sep 17 16:25:14 2003
    ORACLE V9.2.0.4.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.1 Service Pack 1, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Windows 2000 Version 5.1 Service Pack 1, CPU type 586
    Instance name: test01
    Redo thread mounted by this instance: 1
    Oracle process number: 10
    Windows thread id: 2556, image: ORACLE.EXE
    *** 2003-09-17 16:25:14.046
    *** SESSION ID:(7.17) 2003-09-17 16:25:14.031
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** Object defn.s out of sync w/ data
    *** 2003-09-17 16:25:14.281
    ksedmp: internal or fatal error
    ORA-00600: internal error code, arguments: [qmxiUnpPacked2], [121], [], [], [], [], [], []
    Current SQL statement for this session:
    select 1
    from resource_view
    where any_path = '/xdbconfig.xml'
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    6A4FA348 6 package body XDB.DBMS_REGXDB
    6A504D88 1 anonymous block
    6A576AB8 639 package body SYS.DBMS_REGISTRY
    6A1DBB6C 1 anonymous block

  • End of communication channel on creating Materialized view

    Dear All,
    I've Oracle Enterprise Edition(ver 9.0.1.1.1) running on Windows Xp Home Edition, When I run the following statement to create a materialized view I got the famous error ORA-03113: end-of-file on communication channel.And the strange thing is that after this I got disconnected from the database and when I tried to reconnect it showed an Error "Shared memory not available". I was forced to restart my database.
    CREATE MATERIALIZED VIEW CUVF_MVIEW
    TABLESPACE USERS
    NOCACHE
    NOPARALLEL
    BUILD IMMEDIATE
    REFRESH COMPLETE
    ON DEMAND
    START WITH
    TO_DATE('08-DEC-2003 11:00:00','dd-mon-yyyy hh24:mi:ss')
    NEXT trunc(sysdate) +13/24
    WITH ROWID
    USING DEFAULT LOCAL ROLLBACK SEGMENT
    DISABLE QUERY REWRITE AS
    SELECT *
    FROM mySchema.Trasaction_FACT@test_link cuvf
    WHERE
    REFERENCE_DT BETWEEN TRUNC(ADD_MONTHS(SYSDATE,-1),'MON')
    AND LAST_DAY(TRUNC(ADD_MONTHS(SYSDATE,-1),'MON'))

    Like other poster suggested, please post some sample code, query your used to build the view (you can scramble the real table/column name as your wish) and the actual screen capture of the error.
    This will help others to help you. Right now you are only describing symptoms while no one has idea what it really is.

Maybe you are looking for

  • How to do batchreading of collections in EJB3

    Hi! I'm trying to migrate a small example from using ordinary toplink mapping in the mapping workbench to EJB3. There are some collections in that example that I want to be read as batch. (It's a check box called "Batch Reading" in the mapping workbe

  • Custom TCode for Excel File Upload/Import - WebGUI Error

    We get an ABAP runtime error when uploading an excel file with a custom tcode using WebGUI.  It works ok with WinGUI.  Any ideas what could be causing that error? Runtime Errors         RAISE_EXCEPTION Date and Time          01/05/2011 17:27:16 Short

  • Program at print button in 'Issue output to'

    Hello Experts, There is an existing output X which triggers only when output BA00 is printed from the print button in the pop up of sales order when you go to 'Isssue output to' When trying to process the sales order output BA00 throu standard progra

  • Thunderbird 31.2.0. Lost an ability I had in prior version.

    In prior version I could add a Contact List to the BCC and then save the email to draft (use Send Later). Then could open the draft and see all the names in the contact list. I could then delete those contacts I do not want to get that email. Now whe

  • HT201303 How do I reset my security questions I forgot them

    I bought iTunes account money and I have to verify my questions for te first purchase on my device and I don't remember my answers :-/