Mail to File: Attachment is not getting picked

Dears,
I have configured a Mail to File Scenario: Where PI will read email and pick the first attachment (.PDF File) and place it on File Server, however some times it is not picking the attachment and not placing it on File server.
Case1: In this case, it is working perfectly... the PDF file 145-2015.pdf is placing on file server
Case2: In this case, the attachment is not placing on File server. DECORP F221.pdf file not placing on File server
Your help need to solve this issue...
Thanks-
Rams

Hello,
I have identified that 'Content-Description' is not populating in the un-successful case because on File Receiver Adapter, i have used 'Content-Description' for the File Name as shown on below screen shot...
However i need to identify why the 'Content-Description' is missing in some cases...
This is the reason the attachment is unable to place it on File System...
Could any one of help me to identify the root cause?
Thanks-
Rams

Similar Messages

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

  • 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

  • Output Message Type MAHN not getting picked up in PO

    Hello Experts
       I have configured customized output type ZMAH (similar to MAHN) for reminder process. When I am creating PO this output type is not getting picked up automatically. If I am maintaining it manually I am able to send message for ME9F (Purchase Order) and ME91F (Reminder) successfully. Upon deremination analysis I am getting this message 502 " Output ignored (requirement 103 not fulfilled) ". Reminder are getting picked up from Purchase Value Key to PO.
    Any help is appreciated.
    Thanks
    Ankit

    Hello Tej
      I have maintained output device but same result.
    Here I am listing all parameters that I have used for configuration can anyone please take a look and let me know if I am missing anything
    Steps for new Message Type for PO Reminder (ZMAH)
    1.     Defined new Table 026 Purchasing Output Determination: Document Type
                                                        (ii) 027 Purchasing Output Determination: Purch. Org./Vendor for EDI
    2.     Defined new access sequence Z515 Access Sequence for Archiving.
    Following are parameters to the Access Sequence
    Access Sequence Number = 1
    Table = 026
    Description = Purchasing Output Determination: Document Type
    Requirement = 103
    Exclusive = Yes (box checked)
    Access Sequence Number = 2
    Table = 027
    Description = Purchasing Output Determination: Purch. Org./Vendor for EDI
    Requirement = 103
    Exclusive = Yes (box checked)
    3.     Maintain Output Type ZMAH for PO
    General Data
    Access Sequence = Z515
    Access to condition (Checked)
    Multiple Issuing (Checked)
    Change Output
    Program = SAPFM06P
    FORM Routine = ENTRY_NEU
    Replacement of Text Symbol
    Program = SAPMM06E
    FORM Routine = TEXT_SYMBOL_REPLACE
    Default Values
    Dispatch Time = Send Immediately (when saving application)
    Transmission Medium = External Send
    Communication Strategy = 0001 (E-mail Document)
    Processing Routines
    Transmission Medium = 5 (External Send)
    Program = SAPFM06P
    Form Routine = ENTRY_NEU
    Form = MEDRUCK
    Partner Roles
    Medium = External Send
    Funct = VN
    Name = Vendor
    4.     Fine-Tuned Control: Purchase Order
    Oprat. = 3
    CType = ZMAH
    Name = Output for Reminder
    Short Text = Urging letter (expediter)/reminder
    Update Print Related Data = Yes (checked)
    5.     Maintain Message Determination Schema: Purchase Order
    Procedure RMBEF1 (Purchase Order)
    Step = 101
    Cntr = 3
    CTyp = ZMAH
    Description = Output for Reminder
    Requirement = 103
    6.     Assign Schema to Purchase Order
    Procedure RMBEF1
    7.     Define Partner Roles for Purchase Order
    Out. = ZMAH
    Med = 5 (External Send)
    Funct = VN
    Name = Output for Reminder
    Name = Vendor
    8.     Test Condition Maintained in MN04 (Master Data)
    Purch. Org. = 0001
    Vendor = 101281
    Partner Funct = VN
    Medium = 5 (External Send)
    Date/Time = 4 Send immediately (when saving application)
    Output Device = LP01
    Cover Page Text = Reminder PO number &EKKO-EBELN&
    Also I have configured Purchasing Value Key, reminders are coming to PO correctly.
    Thanks
    Ankit

  • 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.

  • I use more than one computer to access my four business email accounts. When one computer is on (and mail is open) emails do not get through to the other computers. This is fine, but how do I make one of the other computers the dominant one?

    I use more than one computer to access my four business email accounts. When one computer is on (and mail is open) emails do not get through to the other computers. This is fine, but how do I make one of the other computers the dominant one?

    I assume these are POP accounts and all computers are set to remove from Server after downloading.
    So on the non dominant ones... Mail Preferences>Accounts, highlight an account, Advanced tab, uncheck remove from Server, just have the main dominant one remove from server.
    Or get/setup IMAP accounts.

  • GL Account is not getting picked by billing document

    Hi Gurus,
    one new GL account is set up by our FI team for a accrual condition type.
    case 1:
    Now when i have cancelled the previous created billing doc and trying to create again then the new GL account is not getting picked.
    case 2:
    Whereas when am doing the complete process flow like sales order creation, delivery and billing then the new GL account is getting picked.
    Could you please let me know what would be the reason for this, why its not getting picked in first case.
    Thanks,
    Ashi

    Hello Preety,
    Unless you see the Revenue Account Determination Analysis for the Billing document, it is very difficult to understand the reason. Please click on the Environment >> Acc.Determination Analysis >> Revenue account in the VF03 screen and find the missing assignment.
    Thanks,
    Suman$

  • Debit Items not getting picked while making payment with F110

    HI,
    When making payment with F110, items with Debit balance is not getting picked.
    Example:
    Payment method is assigned in the Maser data.
    For a particular vendor one item has a credit balance- posting key 31.
    We have posted another JV with F-02 and debited that vendor with Posting key 21. (Payment Method is not entered in the line item)
    When we run F110 the credit balance is picked and debit balance is being shown in exception list.
    When we got to FB02 and insert payment method in debit line item and then again run the F110 then system pickes all line items and pays the net amount.
    The question is why system is not considering Payment Method from Master Data in debit  line item, while in credit line item it is picking payment method from the master data.
    Do I need to do any setting for it so that it should automatically take payment method from master data even in case of Debit line items.
    Regards
    Sanjay

    Hi All,
    Thanks for your quick replies.
    But it does not solve my problem.
    When I am not assigning any payment method to either Debit or credit line items, system picks (payment method from Master data) for only credit line items and ignores debit line items.
    But the problem is that when I assign payment method to debit line item (which is similar to what has been assigned to vendor Master Data) system groups both debit and credit line items and makes payment of only net amount.
    My question was why system considered the debit line item for making payment if I manually enter payment method in the line item, if system has been designed only for out going payment. In my opinion It should have reacted similarly irrespective of whether payment method entered in the line item or not.
    Regards
    Sanjay

Maybe you are looking for