File is not getting picking UP by B2B

Hi
I have done a new trading partner setup and I have done below configuration for the new Trading partner. Please find the details
Business Protocol = EDI X12 over Generic Exchange
1) Delivery Channel
2) Document Exchange
3) Transports
4) Transport Server
And I have created below configuration at Host Trading partner side...
1) Delivery Channel
2) Document Exchange
3) Transports
4) Transport Server
After droping the file File is not getting pickup by B2B. And I have tested the .trc file (trace file) and b2b.log file. No entries has been recorded.
Is there any way I can debug to see why B2B is not able to pickup the file.
Regards
Kiran

Ramesh
We are sending 997 to our trading partners.
I believe Host will pickup the file so I have sent up Host level delivery channel to pick the file and I have setup trading partner level Delivery channel to send 997 to them.
Could you please let me know this is correct? If this is correct what could be the problem not able to pickup the file.
Regards
Kiran

Similar Messages

  • File is not getting picked up by B2B

    Hi,
    I configured b2b as below
    1. The trading partner delivery channel to "Generic HTTP 1.0" with transport protocol HTTP and url "http://host:port/b2b/httpReceiver" (this url is working good)
    2. Listening channel as "Generic FTP-1.0" and have given the ftp details to read from this ftp host and marked this channel as "Internal"
    3. Created agreement with the remote trading partner and selected trading partner's delivery channel (step-1)
    4. Deployed the agreement
    I copied 850 in above ftp folder where I gave the details for listening channel, but it is not picking the file at all.
    Pls suggest did I perform any wrong here. thanks!
    Regards,
    Suneel Jakka

    It is weird. I am able to ftp from b2b box to the ftp server but in the logs it is showing as below
    [2012-05-07T07:05:18.526-07:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine.agents] [tid: orabpel.engine.pool-9.thread-1] [userId: <anonymous>] [ecid: 0000JSbbC10Fw000jzwkno1FdxOn000001,0] [APP: soa-infra] Done finding 0 expirable work items for the bpmn engine.
    [2012-05-07T07:05:20.764-07:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@37108526] [userId: <anonymous>] [ecid: 0000JSbbC10Fw000jzwkno1FdxOn000001,1:28346] [APP: soa-infra] Problem Connecting to FTP Endpoint : Permission denied
    [2012-05-07T07:05:40.755-07:00] [soa_server1] [WARNING] [] [oracle.soa.services.notification] [tid: TimerFactory] [userId: <anonymous>] [ecid: 0000JSbbC10Fw000jzwkno1FdxOn000001,1:28352] [APP: soa-infra] <.> Notification via email, voice, SMS or IM will not be sent. If you would like to enable them, please configure corresponding sdpmessaging driver. Then modify the accounts and set NotificationMode attribute to either NONE, EMAIL or ALL in workflow-notification-config.xml
    [2012-05-07T07:10:18.566-07:00] [soa_server1] [NOTIFICATION] [] [oracle.soa.bpel.engine.agents] [tid: orabpel.engine.pool-5.thread-2] [userId: <anonymous>] [ecid: 0000JSbbC10Fw000jzwkno1FdxOn000001,1:28354] [APP: soa-infra] Done finding 0 expirable work items for the bpel engine

  • Costum Document Not getting picked up by B2B

    HI
    I was able to process an incoming custom document
    Was able to identify the TP, Document Type, and agreement
    But now when i check BPEL for processed document, I do not see it
    I also check the application message tab in B2B and do not see entry for the document i recieved
    Any help is appreciated
    thank you

    do you think it will be possible to change the channel for this document?
    Protocol Transport Binding accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */* SSL-Https=on Calypso-Control=H_Req,2130706433, 7785, 127.0.0.1 ClientIP=64.40.232.254 MSG_RECEIVED_TIME=Wed Oct 10 05:19:37 CDT 2012 Chronos=aggregate Oracle-WebCache-Hdr-Inv-Capab=on, version="1" accept-charset=iso-8859-1,*,utf-8 ECID-Context=1.810730193339631;kXhglfDWn5MK9SJBYIEOj4USXURSkVQSoJLPmMSR_KS Proxy-Client-IP=127.0.0.1 content-type=text/xml; charset=iso-8859-1 User-Agent=BW-HTTPClient/5.4 X-Forwarded-For=127.0.0.1 Content-Length=4620 x-weblogic-cluster-hash=TreDIyjqcjNMytWjh/Uyo71TzX4 Host=ecom.forsythe.com Surrogate-Capability=orcl="webcache/1.0 Surrogate/1.0 ESI/1.0 ESI-Inline/1.0 ESI-INV/1.0 ORAESI/9.0.4 OWV/1.0 POST-Restore/1.0" Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Request-ClusterInfo=true
    Message Digest Message Digest
    Maybe use something else instead of generic HTTP???
    thank you

  • File to File (file not getting picked)

    Hi ,
    I am having a file to file scenario. My file is not getting processed from  the source directory. When i check in the communication channel monitoring bith my sender and rcvr communication chanels are wrking fine.
    I have placed the source file with the name mentioned in the sender communciation channel.The processing mode is Archive.
    My file Name is Actual_Labour_Cost.NE*.txt in Sender cc.
    so i placed the file With Actual_Labour_Cost.NE.
    Kindly suggest.
    Regards
    Sai

    Hi,
    If you have using thec orrect file name and extesnsion in the comms channel and still the file is not getting picked up then Could you check the file permission/authorizatios for the XI user you are using in XI to pick up the file from the source directory ?
    The file should at least have the permissions to Read/Write.
    Regards,
    Vishal

  • File not getting picked.

    If a file is not getting picked
    where can be issue...what is the first thing we should do....
    what is the exact location we should go...
    Harsha

    Hi Harsha,
    As your FTP is not picking up the file , you can please try out the following.
    1. Kindly check whether you are able to ping your server.
    2. Check whether you have correctly entered the name of your source folder in the sender communication channel.
    3. Also confirm the name of the file you are trying to send is same as mentioned in the sender channel.
    4. Check the user credentils ,i.e. you have entered the correct id and password in the sender communication channel.
    5. Please check the permissions of the the source folder i.e. they should be "write / read " with read atleast.
    If you are still facing the same problem ,kindly revert.
    Kindly reward the points if you find this reply has helped you solve / analyzed your problem.
    Regards,
    Vishal

  • File not getting picked with Sender Adapter

    Hello Experts,
    i have configured file sender adapter which is polling configured directory every 60 sec. But i could see file not getting picked up. when looked into Communication channel monitoring i could see following error:
    Putting message into send queue failed, due to: com.sap.aii.af.ra.ms.api.DuplicateMessageException : Message ID aa2ec9a0-44b3-11dc-9c5b-0003baa19669(OUTBOUND) already exists in database: com.sap.sql.DuplicateKeyException: ORA-00001: unique constraint (SAPDX1DB.SYS_C00120924) violated.
    is this due to adapter cache. we are on SP20.
    has anybody faced this problem earlier?
    Thanks in advance.
    Regards
    Rajeev

    Hello
    actually there was small problem in file generation and hence it was failing in message mapping which is resolved. but still that problem is there when it is attempting to delete the file. hence it is not able to delete that file.
    can we manually clear the send queues or should we refresh CPA cache?
    Thanks
    Rajeev

  • File not getting picked by File CC

    Hi Experts,
    Q1)An issue in files not getting picked up by communication channel in an inbound scenario  R/3<XI<-File Port
    Retry interval started. Length: 120.0 seconds
    7/24/09 1:33:14 PM   Error occurred while connecting to the FTP server "XXX.XXX.XX.webdti.com:21": java.net.SocketException: Connection timed out:could be due to invalid address
    7/24/09 1:32:00 PM   Processing started
    Any Quick helps highly appreciated.
    Q2)How can i restart an file adapter?
    Thanks,
    Sudhansu

    Hi Sudhanshu,
       Regarding your first question, check if you are able to  access the file port manually typing the ftp address in internet explorer or any browser.
    Regarding your Q2, read this:
    http://help.sap.com/saphelp_nw70/helpdata/en/1b/d5ef3b1ad56d4fe10000000a114084/content.htm
    (CTRL+F for "To restart the adapter")
    Regards,
    Ravi

  • Files not getting picked from the FTP site

    Dear All,
    We are having one File-XI-RFC scenario running in XI-PRD Server. Sometimes what happens is that files available in the FTP site are not getting picked by the File adapter. I have checked in the adapter monitoring and communication channel is active there. Also, there are no errors regarding this in SXMB_MONI. I have configured alerts also but for this case no alerts are getting trigerred. And also when I am reactivating that particular communication channel then that file is getting picked instantaneously.
    Can anybody please guide me on what might be the real cause for this as this error is happening randomly.
    regards,
    N.Jain.

    HI,
    Have you used per File transfer parameter in FTP Communication channel.
    It makes the FTP adapter inactive in ideal time.
    So add the poll interval may be for every 30 mins or something like it. It will forcefully activate the FTP port after every 30 mins. You may have the poll interval for every 1 min. Only the files to be picked up are getting logged in in XI monitoring.
    So there will be no garbage collection of unwanted messages in Monitoring.
    Thanks
    Swarup

  • Alert for file not getting picked up

    Hi,
    how to create an alert when the file is not picked by adapter..consider a file adapterr...
    i mean the file is at the location...for some reasons the file is not being picked up....how to trigger an laert based on this.

    Aamir,
    its not an error...its just a requirement i need to fullfill.
    do you have any idea how to go ahead.......
    one more thing ..
    can you brief me what u said here....if file is not picked up due to some network connectivity issues and you get error in AE then alerts will be triggered
    u said only AE and IE errors are captured..then how about the above line u said....how will we trigger alerts...
    Edited by: Harsha reddy on Jun 24, 2008 8:03 PM

  • Internal delivery chnl, file doesn't get picked up, no trace log file gener

    I have defined an internal File delivery channel as part of a trading agreement between host and remote partner (Custom doc over Internet - AS2), configuration including agreement has been deployed, but the file doesn't get picked up. I have made sure that the directory specified in the delivery channel does exist and all permissions are set up (Windows 2003 server).
    A have specified directory for oracle.tip.adapter.b2b.transportTrace property in ip.properties, however no log file gets generated (restarted b2b).
    I am sure it must be something basic I have overlooked, any ideas, folks?

    Thanks again,
    There is an exception in the log file, I guess that explains why the file doesn't get picked up. Not very informative, though :
    2007.11.05 at 12:40:54:856: B2BStarter thread: B2B - (DEBUG) B2BStarter - configuration obtained
    2007.11.05 at 12:40:54:856: B2BStarter thread: B2B - (DEBUG) B2BStarter - clear global cache
    2007.11.05 at 12:40:54:856: B2BStarter thread: Repository - (DEBUG) CacheServiceManager.clearGlobalCache()
    2007.11.05 at 12:40:54:856: B2BStarter thread: B2B - (ERROR) Error -: AIP-50055: Error in configuration file
         at oracle.tip.adapter.b2b.init.Repository.b2bEngineConfiguration(Repository.java:611)
         at oracle.tip.adapter.b2b.init.Repository.initialize(Repository.java:552)
         at oracle.tip.adapter.b2b.init.B2BServer.readRepository(B2BServer.java:432)
         at oracle.tip.adapter.b2b.init.B2BServer.initialize(B2BServer.java:164)
         at oracle.tip.adapter.b2b.init.B2BStarter.startB2B(B2BStarter.java:217)
         at oracle.tip.adapter.b2b.init.B2BStarter.run(B2BStarter.java:104)
         at java.lang.Thread.run(Thread.java:534)

  • CLASSPATH not getting picked up for MWA

    Hi All,
    Oracle Database 11g R 11.1.0.7.0
    Oracle Applications R 12.1.1
    O/S:Linux
    CLASSPATH not getting picked up for MWA.My classes are lying under $JAVA_TOP/xyz. However my suspicion is that the jvm that deals with MWA is not looking at the classpath above.
    I checked the CLASSPATH from forms using the block $ENVIRONMENT$ and it is looking at:
    /<instance_name>/<instance_name>/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/jlib/repository.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/jlib/ldapjclnt10.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/jlib/debugger.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/jlib/ewt3.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/jlib/share.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/jlib/utj.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/jlib/zrclient.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/reports/jlib/rwrun.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/forms/java/frmwebutil.jar
    This clearly does not have $JAVA_TOP/xyz under it.
    Could anyone please let us know what needs to be done and where the classes need to be placed?
    Thanks for your time!
    Regards,

    Hi,
    Did the above steps but still CLASPATH is somehow not getting picked up for MWA.
    $ env|grep CLASSPATH
    REPORTS_CLASSPATH=/<instance_name>/<instance_name>/apps/tech_st/10.1.2/reports/jlib/rwbuilder.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/reports/jlib/rwrun.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/jlib/zrclient.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/j2ee/home/oc4j.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/j2ee/home/lib/ojsp.jar
    AF_CLASSPATH=/<instance_name>/<instance_name>/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/<instance_name>/<instance_name>/apps/apps_st/comn/java/lib/appsborg2.zip:/<instance_name>/<instance_name>/apps/apps_st/comn/java/classes
    CLASSPATH=/<instance_name>/<instance_name>/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/<instance_name>/<instance_name>/apps/apps_st/comn/java/lib/appsborg.zip:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/forms/java:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/forms/java/frmall.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/jlib/ewt3.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/<instance_name>/<instance_name>/apps/apps_st/comn/java/classes:/<instance_name>/<instance_name>/apps/apps_st/comn/java/classes/xxx
    $ echo $CLASSPATH
    /<instance_name>/<instance_name>/apps/tech_st/10.1.3/appsutil/jdk/lib/dt.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.3/appsutil/jdk/lib/tools.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/rt.jar:/<instance_name>/<instance_name>/apps/apps_st/comn/java/lib/appsborg.zip:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/forms/java:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/forms/java/frmall.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/jlib/ewt3.jar:/<instance_name>/<instance_name>/apps/tech_st/10.1.2/j2ee/OC4J_BI_Forms/applications/formsapp/formsweb/WEB-INF/lib/frmsrv.jar:/<instance_name>/<instance_name>/apps/apps_st/comn/java/classes:/<instance_name>/<instance_name>/apps/apps_st/comn/java/classes/xxx
    System is expecting file at default $JAVA_TOP/oracle/apps/wms/td/server location
    /<instance_name>/<instance_name>/apps/apps_st/comn/java/classes/oracle/apps/wms/td/server
    $ ls -l XxgilTaskSignonFunction*
    ls: XxgilTaskSignonFunction*: No such file or directory
    where user's have file at $JAVA_TOP/xxx/oracle/apps/wms/td/server location.
    /<instance_name>/<instance_name>/apps/apps_st/comn/java/classes/xxx/oracle/apps/wms/td/server
    $ ls
    XxgilMainPickFListener.class XxgilMainPickPage.class XxgilManifestPickFListener.class XxgilManifestPickPage.class XxgilTaskSignonFunction.class
    Not sure what changes to make to fix this.
    Any suggestions please.
    Thanks,

  • Sales Order not getting Pick Release and getting BACKORDERED

    Hi Gurus,
    There is an order in oracle production. When user try to Pick Release this order the order is not getting picked instead it is getting backordered. The line quantities are available and it is also not in hold. I also see the log files of ‘Pick Slip Generation report’, but it shows no error message. Do you have any idea on this?
    Thanks,
    SamD

    Are the quantities in a reservable subinventory?
    If you go to material workbench, does the quantity show as available to reserve?
    Did you specify a subinventory in the release process?
    Does the sales order line have a subinventory on it?
    Check if your onhand is in staging subinventory?
    Check older threads on this issue such as http://kr.forums.oracle.com/forums/thread.jspa?threadID=603998
    Sandeep Gandhi

  • CUSTOM library not getting picked up

    We have our custom business code written in HR_ADMIN.pll and it will be called through CUSTOM.pll for few forms ( like people, Assignment, Element Entry forms)
    In Our CLONE instance after every weekend outage for backup, we get error opening people form because of HR_ADMIN.pll not getting picked up. we used to bounce forms port, everything would then work. but since last week bouncing forms port also not working.
    I took frd trace, error is exactly at calling hr_admin package. Did anybody got the same error before and have any solution to this ?
    Error we get is:
    FRM-40735: WHEN-CREATE-RECORD trigger raised unhandled exception ORA-06508.
    ORA-01403: no data found
    Message was edited by:
    user552453

    check whether task name is same as session/workflow name. also check any spaces in name. if dac didn't fin corresponding session/workflow it may not create paramater file. if other custom tasks are working from dac this should also work.
    Thanks
    Jay.

  • Release Strategy for Contract is not getting picked whereas it is ok for PO

    Dear Experts,
    I have created release strategy for PO with doc type, p.org, net value as chars and frg_ekko as class and release group as 02.
    I kept NB,FO,MK and WK as char values. it is working fine for PO's whereas it is not getting picked for Contracts. we need same release strategy for PO as well as for Contract.
    Kindly resolve the issue.
    Satish

    S0004830404 wrote:
    Dear Experts,
    >
    > I have created release strategy for PO with doc type, p.org, net value as chars and frg_ekko as class and release group as 02.
    > I kept NB,FO,MK and WK as char values. it is working fine for PO's whereas it is not getting picked for Contracts. we need same release strategy for PO as well as for Contract.
    >
    > Kindly resolve the issue.
    >
    > Satish
    hi,
    use create other characteristic for value CEKKO-GNETW in this use the mk , wk values in value field and assign this characteristic to your class and save.
    Thanking you

  • Index is not getting picked even after providing hint

    Hi All
    The index pk_sku is not getting picked even after providing the hints when executing the query.Please kindly give me such recommendations.I am providing the information.
    select  * from
    (select /*+ index(s pk_sku) */
          to_char(t.dstamp, 'YYYYmmDDHH24MI') as sort_1,
          t.client_id as CLIENT_ID ,
          t.site_id as SITE_ID,
          tz.time_zone_name as TIME_ZONE_NAME     ,
          t.owner_id as OWNER_ID,
          t.sku_id as SKU_ID,
          t.reason_id as ADJUST_TYPE,
          to_char(t.dstamp+tz.diff/24, 'DD/mm/YYYY HH24:MI') as ADJUST_DATETIME,
          t.reference_id as RECEIPT_ID,
          t.batch_id as BATCH_ID,
          t.update_qty as UPDATE_QTY,
          t.lock_code as LOCK_CODE,
          s.description as SKU_DESCRIPTION
    from  mv_inventory_transaction t
          JOIN timezone tz ON tz.site_id = t.site_id ,
           mv_sku s
    where   t.sku_id= s.sku_id
    and     t.client_id=s.client_id
    and   ( :client is null or :client = t.client_id)
    and    ( :site is null or t.site_id  in (:site))
    and    ( :owner is null or t.owner_id in (:owner))
    and    t.code= 'Adjustment'
    and   (t.dstamp+tz.diff/24) between  to_date(:dateFrom, 'DD/mm/yyyy') and to_date(:dateTo,'DD/mm/yyyy')+1
    and      (:sku is null or t.sku_id in (:sku))
    UNION ALL
    (select  /*+ index(s pk_sku) */
         to_char(t.dstamp, 'YYYYmmDDHH24MI') as sort_1,
        t.client_id as CLIENT_ID ,
          t.site_id as SITE_ID,
                          tz.time_zone_name as TIME_ZONE_NAME     ,
          t.owner_id as OWNER_ID,
          t.sku_id as SKU_ID,
          t.reason_id as ADJUST_TYPE,
          to_char(t.dstamp+tz.diff/24, 'DD/mm/YYYY HH24:MI') as ADJUST_DATETIME,
          t.reference_id as RECEIPT_ID,
          t.batch_id as BATCH_ID,
          t.update_qty as UPDATE_QTY,
          t.lock_code as LOCK_CODE,
          s.description as SKU_DESCRIPTION
    from  mv_inventory_transaction_arch t
          JOIN timezone tz ON tz.site_id = t.site_id,
           mv_sku s
    where   t.sku_id= s.sku_id
    and     t.client_id=s.client_id
    and   ( :client is null or :client = t.client_id)
    and    ( :site is null or t.site_id  in (:site))
    and    ( :owner is null or t.owner_id in (:owner))
    and    t.code= 'Adjustment'
    and   (t.dstamp+tz.diff/24) between  to_date(:dateFrom, 'DD/mm/yyyy') and to_date(:dateTo,'DD/mm/yyyy')+1
    and      (:sku is null or t.sku_id in (:sku))
    order by sort_1,2,3,4,5
    version = Release 10.1.0.5.0
    SQL> sho parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.1.0.5
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    sho parameter db_file_multiblock_count_read
    sho parameter cursor_sharing
    SQL> sho parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.1.0.5
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    SQL>  sho parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     16
    SQL> sho parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACTExplain plan
    | Id  | Operation                              | Name                          | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                       |                               |    56 | 29736 |   345K  (1)| 01:09:07 |
    |   1 |  SORT ORDER BY                         |                               |    56 | 29736 |   345K  (1)| 01:09:07 |
    |   2 |   VIEW                                 |                               |    56 | 29736 |   345K  (1)| 01:09:07 |
    |   3 |    UNION-ALL                           |                               |       |       |            |          |
    |   4 |     NESTED LOOPS                       |                               |     2 |   984 | 29686   (1)| 00:05:57 |
    |   5 |      HASH JOIN                         |                               |     1 |   326 | 26870   (1)| 00:05:23 |
    |   6 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |   7 |       VIEW                             | MV_INVENTORY_TRANSACTION      |    25 |  7600 | 26866   (1)| 00:05:23 |
    |   8 |        UNION-ALL                       |                               |       |       |            |          |
    |   9 |         FILTER                         |                               |       |       |            |          |
    |  10 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |     1 |    67 | 24327   (1)| 00:04:52 |
    |  11 |           INDEX RANGE SCAN             | IDX_CODE_CLIENTID_690         | 79681 |       |   518   (1)| 00:00:07 |
    |  12 |         FILTER                         |                               |       |       |            |          |
    |  13 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |    24 |  2328 |  2539   (1)| 00:00:31 |
    |  14 |           INDEX RANGE SCAN             | IDX_CODE_646                  |  9269 |       |    46   (0)| 00:00:01 |
    |  15 |      VIEW                              | MV_SKU                        |    37 |  6142 |  2816   (1)| 00:00:34 |
    |  16 |       UNION-ALL                        |                               |       |       |            |          |
    |  17 |        MAT_VIEW ACCESS FULL            | MV_SKU                        |   335K|    10M|  2535   (1)| 00:00:31 |
    |  18 |        MAT_VIEW ACCESS FULL            | MV_SKU                        | 37839 |  1699K|   280   (1)| 00:00:04 |
    |  19 |     NESTED LOOPS                       |                               |    54 | 26568 |   315K  (1)| 01:03:10 |
    |  20 |      HASH JOIN                         |                               |     1 |   326 |   313K  (1)| 01:02:37 |
    |  21 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |  22 |       VIEW                             | MV_INVENTORY_TRANSACTION_ARCH |   576 |   171K|   313K  (1)| 01:02:37 |
    |  23 |        UNION-ALL                       |                               |       |       |            |          |
    |  24 |         FILTER                         |                               |       |       |            |          |
    |  25 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |     1 |    72 | 19258   (1)| 00:03:52 |
    |  26 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         | 36016 |       |   287   (1)| 00:00:04 |
    |  27 |         FILTER                         |                               |       |       |            |          |
    |  28 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |   575 | 55200 |   293K  (1)| 00:58:45 |
    |  29 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         |   367K|       |  3466   (1)| 00:00:42 |
    |  30 |      VIEW                              | MV_SKU                        |    37 |  6142 |  2816   (1)| 00:00:34 |
    |  31 |       UNION-ALL                        |                               |       |       |            |          |
    |  32 |        MAT_VIEW ACCESS FULL            | MV_SKU                        |   335K|    10M|  2535   (1)| 00:00:31 |
    |  33 |        MAT_VIEW ACCESS FULL            | MV_SKU                        | 37839 |  1699K|   280   (1)| 00:00:04 |
    ------------------------------------------------------------------------------------------------------------------------when put in sql tuning advisor,It recommended with better plan using indexes
    | Id  | Operation                              | Name                          | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                       |                               |    56 | 29736 |   340K  (1)| 01:08:01 |
    |   1 |  SORT ORDER BY                         |                               |    56 | 29736 |   340K  (1)| 01:08:01 |
    |   2 |   VIEW                                 |                               |    56 | 29736 |   340K  (1)| 01:08:01 |
    |   3 |    UNION-ALL                           |                               |       |       |            |          |
    |   4 |     NESTED LOOPS                       |                               |     2 |   848 | 26900   (1)| 00:05:23 |
    |   5 |      HASH JOIN                         |                               |     1 |   326 | 26898   (1)| 00:05:23 |
    |   6 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |   7 |       VIEW                             | MV_INVENTORY_TRANSACTION      |    25 |  7600 | 26894   (1)| 00:05:23 |
    |   8 |        UNION-ALL                       |                               |       |       |            |          |
    |   9 |         FILTER                         |                               |       |       |            |          |
    |  10 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |     1 |    67 | 24352   (1)| 00:04:53 |
    |  11 |           INDEX RANGE SCAN             | IDX_CODE_CLIENTID_690         | 79681 |       |   518   (1)| 00:00:07 |
    |  12 |         FILTER                         |                               |       |       |            |          |
    |  13 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |    24 |  2328 |  2542   (1)| 00:00:31 |
    |  14 |           INDEX RANGE SCAN             | IDX_CODE_646                  |  9269 |       |    46   (0)| 00:00:01 |
    |  15 |      VIEW                              | MV_SKU                        |    37 |  3626 |     2   (0)| 00:00:01 |
    |  16 |       UNION-ALL PARTITION              |                               |       |       |            |          |
    |  17 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    34 |     3   (0)| 00:00:01 |
    |  18 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     2   (0)| 00:00:01 |
    |  19 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    46 |     2   (0)| 00:00:01 |
    |  20 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     1   (0)| 00:00:01 |
    |  21 |     NESTED LOOPS                       |                               |    54 | 22896 |   313K  (1)| 01:02:38 |
    |  22 |      HASH JOIN                         |                               |     1 |   326 |   313K  (1)| 01:02:38 |
    |  23 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |  24 |       VIEW                             | MV_INVENTORY_TRANSACTION_ARCH |   576 |   171K|   313K  (1)| 01:02:38 |
    |  25 |        UNION-ALL                       |                               |       |       |            |          |
    |  26 |         FILTER                         |                               |       |       |            |          |
    |  27 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |     1 |    72 | 19269   (1)| 00:03:52 |
    |  28 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         | 36016 |       |   287   (1)| 00:00:04 |
    |  29 |         FILTER                         |                               |       |       |            |          |
    |  30 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |   575 | 55200 |   293K  (1)| 00:58:47 |
    |  31 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         |   367K|       |  3466   (1)| 00:00:42 |
    |  32 |      VIEW                              | MV_SKU                        |    37 |  3626 |     2   (0)| 00:00:01 |
    |  33 |       UNION-ALL PARTITION              |                               |       |       |            |          |
    |  34 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    34 |     3   (0)| 00:00:01 |
    |  35 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     2   (0)| 00:00:01 |
    |  36 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    46 |     2   (0)| 00:00:01 |
    |  37 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     1   (0)| 00:00:01 |
    ------------------------------------------------------------------------------------------------------------------------So ,after checking the recommended plan I tried to execute the query with the hints,even then it is picking up the indexes in the explain plan.So please kindly help in solving the issue
    The pk_sku is the index created on client_id and sku_id columns
    Thanks
    GV

    riedelme wrote:
    My experience is differernt - hints will be followed if the optimizer determines they will be beneficial and not if they will not, including my current project on 11gR2. The example below (unfortunately only 11gR1) disproves your theory, showing the index hint is followed and that the cost increases by a factor of five.
    The most common cases of the optimizer apparently ignoring a hint are due to operator error, the hint is not well formed, or cannot be followed. There are a couple of documented cases where a hint will be ignored - first_rows used in CTAS is one.
    Jonathan Lewis writes a lot about it on his blog showing that the optimizer always acts on a well formed hint if it is at all possible.
    SQL> create table t (n number not null, c varchar2(1000));
    Table created.
    SQL> insert into t select 1, rpad('x',1000,'x')
      2  from dual connect by level <= 50000;
    50000 rows created.
    SQL> create index t_ix on t (n);
    Index created.
    SQL> exec dbms_stats.gather_table_stats(user, 't', cascade => true)
    PL/SQL procedure successfully completed.
    SQL> explain plan for
      2  select max(c) from t where n =1;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 2966233522
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     1 |  1004 |  1574   (1)| 00:00:19 |
    |   1 |  SORT AGGREGATE    |      |     1 |  1004 |            |          |
    |*  2 |   TABLE ACCESS FULL| T    | 50000 |    47M|  1574   (1)| 00:00:19 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       2 - filter("N"=1)
    14 rows selected.
    SQL> explain plan for
      2  select /*+ index (t t_ix) */  max(c) from t where n = 1;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3231292748
    | Id  | Operation                    | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT             |      |     1 |  1004 |  7244   (1)| 00:01:27 |
    |   1 |  SORT AGGREGATE              |      |     1 |  1004 |            |          |
    |   2 |   TABLE ACCESS BY INDEX ROWID| T    | 50000 |    47M|  7244   (1)| 00:01:27 |
    |*  3 |    INDEX RANGE SCAN          | T_IX | 50000 |       |    98   (0)| 00:00:02 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
       3 - access("N"=1)
    15 rows selected.

Maybe you are looking for

  • How to Configure E-mail and Chat functionalities

    Dear all, How to configure E-mail and Chat functionalities for IC Webclient. through IC Webclient ICI interface how can we configure E-mail functionality, As per my understanding, E-mails can be handled in a similar way of receiving phones. Where the

  • No accounting effect in   quality stock .

    Dear Experts , I have a scenario where in i donot want to have any accounting effect in in gr done in quality stock . The accounts will be posted only if the quality check is passed . How can this be done ? Regards Anis

  • CO11N can not post the backflush material properly

    Dear Gurus, When I use CO11N to post a Backflush material, the system returns error logs " No stock posting possible for this material".  Aside the warning and confirm straghtly, then I use COGI to post this error backflush material, It post successf

  • Bug - Color Management Photoshop 11 and OS X 10.6 Dual Monitors

    I need to know if it's just me, or others are seeing this. Color management doesn't seem to work properly on dual monitors (MBP + Dell 2408) with Photoshop 11/CS4 and 10.6. Each of my monitors is independently calibrated and all other apps work fine.

  • Can't find Camera Raw\Cache on my C drive

    When I go to Preferences in LR4, it says my Cache is located: C:\Users\Owner\AppData\Local\Adobe\CameraRaw\Cache. When I do a search under my C drive, I can only get as far as Owner, from there I can't find AppDate or the rest. Any idea where else to