Automatic enabling of communication channels

Hello,
does anybody know if there is a way to enable/disable communication channels automatically using a batch script or anything similar? Background of my question is that I have got some JDBC sender adapters polling all the time. It would be very convenient to be able to control them in a programmatic way.
Kind regards,
Heiko

Hi Vishal,
thank's for your help but that's not exactly my requirement. The idea was to have some kind of trigger on the DB starting, when data comes in, the commincation channels automtically. It's a little tedious to do all these things manually. Other messaging systems (e.g. MQ Series) provide a scripting environment to do these things.
Kind regards,
Heiko

Similar Messages

  • Automatic monitoring of communication channels

    Hi Mighty Experts,
    Do any of you know if it is possible to setup automatic monitoring rules for the communication channels (CC)? Or do you have any tips on how to automatically to monitor the CCs?
    e.g if a CC is based on the file adapter and the directory is not present on the system the CC will fail but the ABAP message monitor show the message as successfully delivered. But in the Communication Channel Monitor you will see the error.
    /Jesper

    Hi,
    I am not sure of automatic monitoring. But you can always create Alerts to monitor at Adapter engine level.
    So, any kind of error occured in the CC's with respect to file not found or directory not found, will give you the message by email.
    Regards,
    Krish

  • JMS communication channel

    Hi,
    We got an error in the JMS comunication channel.
    After we got this error, we restarted the java stack. But then the
    JMS communication channels did not resume the connectivity automatically.
    We had to manually start and stop the channels. Even we tried making it 'Automatic' in the communication channel monitoring tab. But didnt help
    Do we have to maintain any other settings?
    Please help to rectify this.
    Thanks,
    John

    Hi,
    Just create two communication channels one for receiever and other sender message will be received from sender CC and then after mapping will go thru Receiver CC
    While configuring the channel remeber to put the details like the channel name and queue from which you need to pick up the message and put the message as in yr case both are different
    try to configure like this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    In addition to the below blogs also refer this
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    Sync/Async communication in JMS adapter without BPM (SP19)
    Exploring JMS and SAP-XI JMS Adaper
    Check if you have your adapter module configured as said in the following help doc
    http://help.sap.com/saphelp_nw70/helpdata/en/4d/a3bc97ff55c742af7faed661635baf/content.htm
    Check these on Adapter module dev:
    http://help.sap.com/saphelp_nw04s/helpdata/en/96/f04142099eb76be10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/32/43d84072378031e10000000a1550b0/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e21106cc-0c01-0010-db95-dbfc0ffd83b3
    Check these Links ---
    ==>http://help.sap.com/saphelp_nw04s/helpdata/en/a3/63af1bbf09469fa1615c05f0daff6f/frameset.htm
    ==>http://help.sap.com/saphelp_nw04s/helpdata/en/a3/63af1bbf09469fa1615c05f0daff6f/frameset.htm
    Hope These links will be Very Helpful to you...:)
    Regards,
    Suryanarayana

  • Communication channels restart

    Hi,
    Is there any way that we can start communication channels automatically.
    I mean any way to schedule the restart of channels.

    Dear Pradeep
    I dont think there is automatic Activation of Communication channel. once it is active it will keep polling the files. But if it is inactive state and you want it active without manual intervention, I dont think it is possible.
    Experts suggest any other options to active it automatically.
    Thanks Prateek for the link. Good to know this
    Best Regards
    Praveen
    Edited by: Praveen Kurni on Aug 6, 2008 12:07 PM

  • Disappearance of Communication channel from the scenario

    Hi Experts,
    I am dealing with IDoc to EDI scenario . The scenario has in total 15 flows and i have configured respectively all the objects . The next day when i saw that scenario, the Receiver Communication channels are missing from the corresponding parties from that scenario but still existing under the respective parties in "Objects Tab" . Again i went and did "Add to Scenario" . But this is happening frequently.Is there any solution for this automatic disapperance of communication channels from the scenario ? Please help me out in this issue .
    Thanks & Regards,
    Sarat

    Hi Sarat,
    Are u able to see the communication channels in the objects tab? sorry ha dnot read ur question completely...
    as u see them in the oblects tab,,it means they are present...are all of them under one party?
    have made it a part of ur scenario?
    Edited by: Mohd Tauseef Ibrahim on Jun 27, 2008 7:49 AM

  • Automatic monitoring of operational communication channels

    Hi,
    Can anyone tell me if there is a possibillity to automatically monitor the runtime status of the operational communication channels?
    For instance the forwarding of the messages from (RWB > Component Monitoring>adapter monitoring-->adaptertype) to CCMS or picking up these logs with the alert framework.
    Manual monitoring is not an option because the number of systems to be monitored is to big, so an "monitoring robot" has to be created for this specific area. Most of the other area's are already covered by alert framework and CCMS.
    I hope someone has experience on this.
    Kind regards,
    Ramon Boekel

    Hi Ramon,
    Please have a look at this.
    /people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically
    cheers,
    Prashanth

  • Control communication channel externally and automatically

    I would like to be able to control a communication channel automatically and externally,
    to turn it on and off at a certain time every day. Has anybody done this?

    Hi,
    Refer
    SAP Network Blog: Control Communication Channels Externally without using RWB
    Control Communication Channels Externally without using RWB
    Control Communication Channels Externally without using RWB
    Thanks
    Swarup

  • ORA-03113: end-of-file on communication channel:(The queuing is not enabled

    The queuing is not enabled.
    SQL> select * from user_queues;
    NAME QUEUE_TABLE QID QUEUE_TYPE MAX_RETRIES RETRY_DELAY ENQUEUE DEQUEUE RETENTION USER_COMMENT
    ACK_QUEUE ACK_QUEUE_T 36560 NORMAL_QUEUE 5 6 NO NO 0
    AQ$_ACK_QUEUE_T_E ACK_QUEUE_T 36561 EXCEPTION_QUEUE 0 0 NO NO 0 exception queue
    AQ$_IFW_SYNC_E IFW_SYNC 36562 EXCEPTION_QUEUE 0 0 NO NO 0 exception queue
    IFW_SYNC_QUEUE IFW_SYNC 36563 NORMAL_QUEUE 5 6 NO NO 0
    In blrhpqe2 system when we try to create the queue it gives end-of-communication error. It seems there some problem with the dbms_aqadmn. Can you please check-up and let know your feedback.
    Below the output of the screen contents:
    1* select * from user_queues
    SQL> begin
    2 dbms_aqadm.start_queue(ACK_QUEUE);
    3 commit;
    4 end;
    5 /
    begin
    ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    please help me on this

    >>>ERROR at line 1:
    ORA-03113: end-of-file on communication channel
    conn to database again.
    ORA-03113: 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.

  • Start and stop the Communication channel from Java Mapping

    How to start and stop the Communication channel from Java Mapping in XI 3.0
    Scenario  PI - > MQ -> Third Party web application 
    Web application is down and then Communication channels are stop manually .  
    We need to automate this process,
    MQ Solution - Trigger will be set in MQ which will be called when web application is stopped
    Trigger will send u201CSTOP u201C message to PI
    How to configure PI scenario to stop different com channels when this message received ?

    check this link: http://help.sap.com/saphelp_nw04/helpdata/EN/45/0c86aab4d14dece10000000a11466f/frameset.htm
    make sure that MQ send http request to PI. i dont think a configuration scenario is required in PI. Only roles should be enabled with proper user provided to MQ team.
    However, for security reasons, you can configure a scenario if you dont want to expose PI infrastructure directly to 3rd parties.

  • Disabling all communication channels before starting XI

    We are mirroring our XI system for DR purposes and I need to work out how to stop XI from retrieving and delivering messages when I start it up.  I want to be able start up the DR system on the same network to check that it looks OK, but with all communication channels disabled (or stopped!).
    Does anybody know how to do this?
    Regards,
    Jason

    Hello All,
    Sorry for opening a topic that is very old but every google search ends up here.
    Run the script to set the channels to “STOPPED” state:
    update [<SID>].[SAP<SID>DB].[XI_AF_ADM_STATE] set ACTIVATION_STATE = 'STOPPED';
    This the script below will set the History of the communication channels to STOPPED:
    update [<SID>].[SAP<SID>DB].[XI_AF_ADM_STATEHIS] set ACTIVATION_STATE = 'STOPPED';
    This will set the automatic scheduled communication channels schedule to disabled:
    update [<SID>].[SAP<SID>DB].[[XI_AF_ADM_SCHEDULE] set ENABLED = '0';
    Next for disabling new incoming messages. Disable the Integration Engine (Set ENTRY LOCK to 1):
    if exists (select * from <SID>.<sid>.[SXMSCONFVL] where CLIENT = '200' and AREA = 'RUNTIME' and PARAM = 'ENTRY_LOCK')
    update <SID>.<sid>.[SXMSCONFVL] set VALUE = '0' where CLIENT = '200' and AREA = 'RUNTIME' and PARAM = 'ENTRY_LOCK';
    else
    insert into <SID>.<sid>.[SXMSCONFVL] (CLIENT, AREA, PARAM, SUBPARAM, GENERIC, VALUE, CHGTSTAMP, CHGUSER)
    VALUES ('200', 'RUNTIME', 'ENTRY_LOCK', '', '0', '1', '20131206011316.8280000', 'DDIC');
    The following will disable the abap RFC's:
    update [SID].[sid].[RFCDES] set RFCOPTIONS = REPLACE(RFCOPTIONS,'N=','N=#') where RFCTYPE = 'T';
    update [SID].[sid].[RFCDES] set RFCOPTIONS = REPLACE(RFCOPTIONS,'H=','H=#') where RFCTYPE = '3';
    Replace <SID> with the sap<sid>.
    Keep in mind that the mail is still being send out when you start SAP.
    To active the Integration Server for incoming messages:
    f you have locked the Integration Server for incoming messages, open it by calling the transaction Integration Engine - Administration (SXMB_ADM) and choosing Integration Engine Configuration    Specific Configuration   Change New Entries  . Select the category RUNTIME and then the parameter ENTRY LOCK: Set the current value to 0 (NOT LOCKED) and choose Save
    The message in the queues are still being processed.
    For the full Start/Stop procedure check:
    Starting and Stopping - Administering PI (Process Integration) - SAP Library
    Greets,
    Stan

  • 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')

  • Need to use only one sender and receiver communication channel.

    Hello Experts.
    I have a scenario where in I have to use only one sender and receiver communication channel to push files from different source directories to different receiver directories.
    For Eg;
    Sender                              
    D://dir1/file1 --->                  E://dir1/File1
    F://dir2/file2 ---->                 G://dir2/file2
    H://dir3/file3----->                 I://dir3/file3.
    Can this be achieved by using pass through scenario?
    Please let me know if the requirement is not clear.     
    Thanks in advance.
    Advit Ramesh

    Hi Advit,
    I think it is possible. You have to use the Advanced Selection for Source file in the sender channel to define multiple files to be picked up. Also, the Dynamic configuration must also be enabled and used in the mapping so you can manipulate the target directory and target file name based on your source files.
    For Polling from multiple directories:
    http://wiki.scn.sap.com/wiki/display/XI/File+Sender+Adapter+-+Polling+Multiple+Directories
    Dynamic Configuration:
    Dynamic file name and directory in Receiver File Adapter - summary of possibilities - Process Integration - SCN Wiki

  • One communication channel with 2 cluster node functioning at the same time

    Hi Gurus,
    We have PI 7.1 installed in a HA environment, which includes  two servers.
    server A: ASCSSCSDBERSAAS
    server B: ERS + PAS
    and we can see a jdbc channel in the communication channel monitoring, and along with the CC there are two cluster ID available,both of which are showing green -- functioning.
    now the issue is the process is actually not started because there is no processing details, and  when we stop the CC and then start, nothing happens, but there are still 2 green nights, seems very strange.
    does any one have such experience and how can make these two nodes work well?
    Thanks.

    Probably they use an older version of alsa that doesn't have dmix enabled by default.
    Have a read through: http://gentoo-wiki.com/HOWTO_ALSA_Compl … ix%29#dmix
    Perhaps it will help.

  • ORA-03113 : end-of-file on communication channel while running a SQL Query

    Hi,
    While executing the following query, we are facing ORA-03113 : EOF on communication channel error.
    SELECT
    FROM QDF_CLSS_SHENG_HIST
    /*WHERE* a.FACT_TYPE_CODE='BS'
    AND */
    WHERE (SRCE_SYS_ID = 850 OR (SRCE_SYS_ID IN (1747,1764) AND GEO_ID IN (826,372) AND PRTTN_BY_FUNC_DATE>=to_date('20060701','YYYYMMDD') ))
    When we remove one of the values in the SRCE_SYS_ID's 'IN' condition the error is not thrown, e.g.
    WHERE (SRCE_SYS_ID = 850 OR (SRCE_SYS_ID IN (1747) AND GEO_ID IN (826,372) AND PRTTN_BY_FUNC_DATE>=to_date('20060701','YYYYMMDD') ))
    The version of the Database we are using is 10.2.0.3.0 - 64bi. Is this a common error in this version of the database because when we ran the same query in a 9i database we got no such error.
    P.S : QDF_CLSS_SHENG_HIST table is partitioned on SRCE_SYS_ID and PRTTN_BY_FUNC_DATE
    Thanks,
    Puneeth

    Yes, we get the same error and no dumps are getting created.It might be interesting to look at a trace file for this SQL statement with event 10046 at level 12 and event 10053 at level 1 enabled for the session. You may need to modify the query slightly to make certain that a hard parse is required (possibly by specifying a couple of the column names to be returned rather than *). Take a look through the raw trace file for something like this
    cost: -1.#IND  card: 1.#INFThere is at least one query in the ERP package that I use that will output the following in a 10053 trace when optimizer_features_enable is greater than 10.1.0.4, followed by an ORA-600:
      Access Path: index (AllEqUnique)
        Index: SYS_C004588
        resc_io: 1.00  resc_cpu: 8341
        ix_sel: 0.5  ix_sel_with_filters: 0.5
        NL Join: Cost: 1.#J  Resp: 1.#J  Degree: 1
          Cost_io: 1.#J  Cost_cpu: 1
          Resp_io: 1.#J  Resp_cpu: 1
      Best NL cost: 1797693134862315700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
    0000000000000000000000.00
              resc: 3.01 resc_io: 3.00 resc_cpu: 35947
              resp: 3.01 resp_io: 3.00 resp_cpu: 35947
    Outer Join Card:  1.#J = max ( outer (1.#J), (outer (1.#J) * inner (2.00) * sel (0.5) )
    Join Card - Rounded: 1 Computed: 1.#JYou may be experiencing a similar problem that might become evident with both trace events enabled.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Error in HTTP_AAE receiver communication channel, PI 7.4 dual stack

    Dear Experts,
    I am facing the below certificate error in HTTP_AAE receiver communication channel while using the third party (bank) private key. Third party bank server is HTTPS enabled, moreover they have generated the public and private keys on their server, and they shared the corresponding private keys in .p12 format to us. Our scenario in SAP PI is synchronous ABAP Proxy to HTTP_AAE, when I see the message in SXMB_MONI after testing, we get he below certificate error, though we have provided the correct path from keystorage view and keystorage entry in HTTP_AAE receiver communication channel
    “com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SENDING_HTTP_REQUEST, sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target”
    We have imported the private key provided by bank in Netweaver admin key storage, by following the below steps.
    NWA -> Certificates -> Key Storage -> TrustedCA->Import Entry->Entry Type->PKCS#12 Key Pair->select the .p12 file->import.
    Please see the attached doc for related screenshots.
    Please experts help me experts as this is on high priority from client, also suggest me if I am doing anything wrong here.
    Thanks,
    Farhan

    Hi Farhaan,
    do you have only one certificate or multiple certificate? HTTPS can have 2 or 3 certificates (Root, Intermediate [optional, if any 3rd party person is there in the middle then we can get this certificate] and system certificates).
    The issue is with the certificate and it can be because All the certificate is not present or path is not correct.
    Please refer the below wiki in which solution is given for this peroblem.
    Troubleshooting 7.1 - End-User Experience Monitoring - SCN Wiki
    The similar issue is resolved by applying SP level patch, please refer the below discussion
    SAP PI 7. 3 HTTP_AAE Receiver with SSL
    Please check the below blog -
    Configure the HTTP_AAE receiver communication channel with SSL
    please also check the below discussion
    Where to Import Clients SSL certificate for HTTP_AAE
    regards,
    Harish

Maybe you are looking for

  • Routing issue with ASA and UC540 phone system - at ASA???

    Having an issue with routing from the PC at .242 to the CUE server at 10.1.10.1. The CUE server is built into the UC540 phone system. It is an internal piece of software that is used for voicemail and management. The UC540 is not only a call router,

  • Photoshop does not see scanner...can't import scanned images

    I recently migrated from Windowx XP (32 bit) to Windows 7 (64bit). On the xp computer, I installed the driver for my epson V500 photo scanner, and when go to File--> Import, there is an option to import via espon scanner. However, in Window 7, with P

  • Trouble grouping years into decade groups

    Hello. I have encountered a problem with a pivot table (PT ) used to create a demo dashboard for snowfall data at a ski resort.  My data is in an Excel Table beginning with column 'Season' (1970, 1971, 1972, etc.  through 2014). Each column to the ri

  • Filters In MDX Statement

    I've got an MDX query that I need to add a FILTER to and not quite sure how to accomplish this without ruinging the results of the original query. Here is the original query: WITH SET [Selected Discipline] AS STRTOSET(@Disciplines, CONSTRAINED) SET [

  • Attachments Function Modules in SAP Netweaver Mobile 7.1

    Google Traslator Hi Experts, I am currently developing an application on the SAP technology Netweaver Mobile 7.1 I am in the process of setting BACKEND ADAPTER, model data fields are used data type STRING and XSTRING. According to the documentation,