Can any one provide answers for these queries

1) why LSMW can't support call transaction methood
2) flow of fi/co
3) IS index is possible on cluster tables? is secondary index is possibleon cluster tables?

Hi Sunil,
I dont know clearly whether it supports or not.But Call transactions are good only if you want to handle the return messages in your code and act accordingly. So, let us say you create a sales order using call transaction method, and as soon as you get the success message with a sales order number, you want to do something else, then a call transaction is useful. Similarly, if you have an error returned from the call transaction, then you want to report it(error notification), store the source record(may be in an error file or a table), or store the error transaction data(by inserting into a batch input session) for reprocessing. So a call transaction will give you the control after the transaction call is completed. If you want that control, you can use it. But remember that it uses up a lot of resources unless you take care of how it is processed.
for the flow of FI/CO,if u have any idea of buying book
check this link.
http://www.amazon.co.uk/exec/obidos/ASIN/0782125972/ref=ase_sapdevelopmen-21/026-6702387-9377251
with regards,
Manikandan R
Message was edited by: manikandan rajendran

Similar Messages

  • Can any one provide links for cross applications

    hi friends,
    actually iam new to ale,idocs,edi.but i don't have real time experience,but i learned each and evry concept thru book arvind&Nagpal.i wud like to know the links for these cross applications.i would be thankfull if anyone can provide link
    can we populate data into idoc thru function module.i guess we can do?how?

    Sunil,
    Take a look at the following links.
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappro.com/downloads/OneClientDistribution.pdf
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    I am not sure what do you mean populating idoc using function module, If you are talking about standard IDOCs the IDOC's are triggered by the standard program.
    You can still trigger IDOC's manually using MASTER_IDOC_DISTRIBUTE function, You will have to fill in the data in a specifc format of EDID4, add the control record and execute the function.
    Regards,
    Ravi
    Note : please mark the helpful answers
    Message was edited by: Ravikumar Allampallam

  • Can any one prvide documentaion for BAPI Material, Sales order and Pricing?

    Hi,
            Can any one provide documentaion for BAPI Material create and change, Sales order create and change and Pricing?
    thanks & Regards,
    Gop.

    Hi!
    TABLES: t184.
    IF NOT VBAP-PSTYV IS INITIAL.
    SELECT SINGLE * FROM t184 WHERE pstyv = vbap-pstyv.
    IF sy-subrc = 0.
    IF t184-vwpos IS INITIAL.
    IF t184-psty2 <> vbap-psty2.
    MESSAGE e987(ZSD).   "create the 987 message with SE91 transaction - ZSD mess.class
    ENDIF.
    ENDIF.
    ENDIF.
    ENDIF.
    Somehow like this.
    Regards
    Tamá

  • I want to create org data profile in service scenario, with price determination from sales org, distribution centre , can any one help me with these

    i want to create org data profile in service scenario, with price determination from sales org, distribution centre , can any one help me with these
    IF I CREATE SERVICE ORG WITH SERVICE SCENARIO ORG DATA PROFILE,
    MY PRICING IS NOT GETTING DETERMINED AS IT IS LINKED TO SALES ORG AND DISTRIBUTION CHANNEL THROUGH PRICING DETERMINATION SO HOW TO DO THE CUSTOMIZATION FOR THIS SITUATION
    WITH REGARDS,
    SATHISH

    Hi Satish,
    Please assign the org det. rules to org det. profile with Sales and Service scenarios and then assign the org. det. profile to transaction type. The below screenshot is just for your reference.
    Hope it would fix your issue.
    Regards,

  • Can any one provide sceenshots

    hi can any one provide screen shots for LO extraction
    and deleting/repairing records manually in PSA

    Hi Shakira,
    The document has been sent to your mail address.
    If useful pls award points,
    Thanks,
    Happy Life,
    Aravind

  • Can any one provide BI 7.0 Syllabus

    Can any one provide BI 7.0 Syllabus

    Hi Hazi Valli,
    The following are website links on BI 7.0 containing PDF & PPT presentations which will give you good documentation on BI:
    Business Information Warehouse :
    http://www.erpgenie.com/sapgenie/docs/MySAP%20BW%20Cookbook%20Vol%201.pdf
    New Features in Release 7.1
    http://dev.hyperion.com/techdocs/eis/eis_71/isnwfet.pdf
    Business Intelligence : Getting Started with Business Intelligence ,Reporting, Analysis, and Planning , Data Warehousing, BI Accelerator Embedded and Process-Centric BI
    https://www.sdn.sap.com/irj/sdn/nw-bi
    The Home of SAP Business Warehouse (BW)
    http://www.erpgenie.com/sap/sapfunc/bw.htm
    SAP Business Information Warehouse
    http://help.sap.com/saphelp_nw04/helpdata/en/b2/e50138fede083de10000009b38f8cf/content.htm
    Business Intelligence : Programming in BW
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/programminginBW&
    BW and Portals 2005
    https://www.sdn.sap.com/irj/sdn/bi-and-portals2005
    SAP Business Warehouse (BW) Overview
    http://gleez.com/sap/bw/overview
    Business Intelligence : Steps to get started with SAP BW
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/stepstogetstartedwithSAPBW&
    SAP Business Information Warehouse Scenarios
    http://help.sap.com/bp_biv335/BI_EN/html/Bw.htm
    SAP BW Learning Guide
    http://searchsap.techtarget.com/general/0,295582,sid21_gci1077480,00.html
    SAP BW Business Warehouse - Introduction
    http://www.thespot4sap.com/Articles/SAP_BW_Introduction.asp
    Business Content Frontend Design Guidelines (NW04)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bda556e9-0c01-0010-83b0-d519d6deb9e9
    How To…Create and Maintain UI Patterns of BI Content
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ad214fe9-0c01-0010-4291-a629e5ba5f90
    SAP NetWeaver BI Integrated Planning for Finance
    http://www.sap-press.de/katalog/buecher/htmlleseproben/gp/htmlprobID-113
    Info object,infocube,infosource,datasource,commn structure,extract structure ..etc..
    http://www.erpgenie.com/sapgenie/docs/MySAP%20BW%20Cookbook%20Vol%201.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01b9395c-0e01-0010-6786-c4ee5e5d2154
    BI Performance Tuning
    FAQ - The Future of SAP NetWeaver Business Intelligence in the Light of the NetWeaver BI&Business Objects Roadmap
    Business Intelligence Journal Improving Query Performance in Data Warehouses
    http://www.tdwi.org/Publications/BIJournal/display.aspx?ID=7891
    Achieving BI Query Performance Building Business Intelligence
    http://www.dmreview.com/issues/20051001/1038109-1.html
    SAP Business Intelligence Accelerator : A High - Performance Analytic Engine for SAP Ne tWeaver Business Intelligence
    http://www.sap.com/platform/netweaver/pdf/BWP_AR_IDC_BI_Accelerator.pdf
    BI Performance Audit
    http://www.xtivia.com/downloads/Xtivia_BIT_Performance%20Audit.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10564d5c-cf00-2a10-7b87-c94e38267742
    Enhancements in SAP BW
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59069d90-0201-0010-fd81-d5e11994d8b5
    Customer Enhancements in SAP NetWeaver BI (Exits, BAdIs and ABAP™ in the SAP NetWeaver BI Back End)
    http://www.sap.com/community/pub/showdetail.epx?itemID=5257
    BW 3.x and 3.5 "How To" Guides List
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/ee14e25d-0501-0010-11ad-8eb2861a7ec0 [original link is broken]
      Thanks
    Kiran

  • Can any one send procedure for integration between XI and Geographic inform

    can any one send procedure for integration between XI and Geographic information System(GIS).
    Please clarify ASAP..
    Thanks

    Hi,
    Please see the below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d53af8ca-0801-0010-08b0-dce9e02130a8
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d53af8ca-0801-0010-08b0-dce9e02130a8
    GIS VS XI
    Regards
    Chilla..
    Points rewarded if it is usefull..<i></i>

  • Can any one Provide  BW380 - (Analysis Processes and DataMining) Material

    Hi friends
             Can any one Provide  <b>BW380 - (Analysis Processes and DataMining)</b>
      Material (either pdf or ppt).
    Thanks & Regards,
    Suresh

    Hi Suresh,
    try this links.
    http://help.sap.com/saphelp_nw04/helpdata/en/49/7e960481916448b20134d471d36a6b/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/31/555a421b5ec153e10000000a1550b0/content.htm
    hope it helps,
    regards,
    Parth

  • Can any one provide steps to install oracle 10g on RHEL5

    can any one provide steps to install oracle 10g on RHEL5...:)

    go through http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php
    & http://www.emrealadag.com/dosyalar/it/Ora10gonRhel5.pdf
    Edited by: CKPT on Nov 23, 2010 7:15 PM

  • Can any one give answers to XI Questions.

    1. why do we use MT?
    2. Where u use Catch whole queue?
    3. What makes an XI object unique?
    4. what r the adapters that related to sap r/3?
    5. what r mapping techniques?
    6. advantges & disadvantages of BPM?
    7. Diference between Adapter & proxies?
    8. What is BS, TS?
    9. How many components have in xi?
    10.What is golal container?
    11.How many IE are in XI?
    12.How many functions r in xi?
    13.What is synchronization?where it use?
    14.What is idoc? where it use?
    15.diference between UDF & Advanced UDF?
    16.When we go fro File scenario?
    17.How many containers r in xi?
    18.What is coorelation?when we go for?
    19.How many patterns have u done?
    20.When u go for BPM?
    21.Use of JAVA web start?
    22.Components of JAVA 7 ABAP?
    23.Difference between URN/URL?
    24.What r the parameters in JDBC adapter?
    25.How to configure Alerts?

    Answers for the some of questions according to my knowledge...
    1. Message type defines the structure of the message instance.
    3. Namespace can make xi objects as unique objects.
    4. Idoc, RFC adapters are fro SAP R/3.
    5. Java mapping , Abap mapping, XSLT mapping and Graphical mapping.
    6. advantage: If multiple receiver or senders then it is very is to handle.
       Disadvantage : Because of BPM performace is goes down.
    7. Adapter can convert the messages into XML format and sendto integratin server and Proxy directly sends messages to  Integration server.
    8. Business system is Logical system for example a specific client on SAP server, Technical system is physical system for example SAP server is physical system with multiple clients.
    9. SLD, IR, ID, RWC, Integration Server.
    10. Global container is used in User defined function, which can be used to cache the value , that can be called in any user defined function of the message mapping.
    11. Integraio server  having the one Integration Engine and one Adapter Engine. Integration engine runs on ABAP stack and Adapter engine runs on Java stack.
    12. Standard functions and user defined functions.
    15. UDF(simple) : This function type can process individual field input values for each function call. Therefore, simple functions expect strings as input values and return a string.
    Advanced UDF: Advanced user-defined functions can access more than just individual field values. Instead, you can import a complete context or an entire queue for a field as an array before your function is called. This enables you, for example, to perform calculations on all field values of a context as well as to divide up the contexts themselves further by inserting a context change.
    Advanced user-defined functions can import either just one context into the input arrays, or complete queues. Make your selection by selecting or deselecting the Save Entire Queue in Cache checkbox in the function editor.
    18. When you need to collect multiple messages in XI ,you need correlation.
    Assume that there are 2 systems sending data to XI and Xi needs to collect the messages of the Systems.
    System A has sent the message to XI and BPM is waiting for message from System B. Even before System B can send its message another message from System A has it Xi and another BPm is instantitated. Now, when System B sends the message how do you know which BPM it belongs to?
    Correlation as the name implies is used to correalte / connect the message so that they are assigned to the correct process Instance / BPM.
    19.   Integration Scenario Patterns:
       1. Synchronous versus Asynchronous Scenario
       2. Collection of Messages
       3. Split of Messages
       4. State full Processing - Integration Process
       5. Serialization
    20. We use BPM when we need to do:
    1.Controling or Monitoring of messages in XI
    2. Collect or Merge the messages in XI
    3. Split the messages in XI
    4. Multicast a Message
    5. Need to send an Alert
    6. Transformation
    when we need to maintain the state of a message we use BPM.
    eg. collect messages specific condition like Collect msg up to defined no. or up to a specific time of a day.
    -> merging of messages and sending as a single message.
    ->splitting of mesages
    ->synchronous/asynchronous bridge
    21. Java Webstart is an cache applications mainly used to support the fat clients, since our IR and ID arefat clients we need this Webstart to work on these....now in simple word to dfefine fat clients is that you are working on client and data gets updated on server.....so Webstart allows you to download all the jar files required to work from the client at once, so you will notice when you oprn your IR and ID for the first time in the systems it takes time to open reason is it downlaod all the necssary jar files required to work IR and ID from your system
    22. Intergration Server, Business Process Engine are components of ABAP,
         Adapter frame work, Mapping engine, ID, IR, and RWB are components of Java.
    23. The namespace could be any string that uniquely defines the scope of those determined fields of the XML file. Usually, you use a URI to define that unique string, and since URLs are the most common URIs, people tend to use plain http URLs as the namespace (it doesn't need to be a valid url). But using "urn:test" for example isn't wrong.
    From the specification:
    URI
    URI = Uniform Resource Identifier
    There are two types of URIs: URLs and URNs
    URL
    URL = Uniform Resource Locator
    <protocol>:// <host> :<port> [<path> ? <query>]
    URN
    URN = Uniform Resource Name.
    URNs define XML schemas.
    urn:<namespace>:<string>
    URN: Uniform Resource Name
    urn:sap-com:xi:demo (URI with out protocol assignment)
    URL: Uniform Resource Locator
    http://sap.com/xi
    24. Transport Protocol
    JBDC 2.0
    Message Protocol
    &#9679;      XML SQL format
    Table values can be inserted, updated, or deleted in one or more tables. In the database, stored procedures can be called using transfer parameters. In the case of synchronous queries, results from database queries or return values of stored procedures can also be transferred.
    &#9679;      Native SQL String
    An arbitrary SQL statement is expected as the message content. This statement is transferred unaltered to the database for processing.
    Depending on the message protocol you selected, the adapter expects special XML document formats in the message from the Integration Server or the PCK. For more information about the document formats, see: Document Formats for the Receiver JDBC Adapter.
    Adapter Engine
    Select the Adapter Engine on the Integration Server, or select a non-centrally installed Adapter Engine. This selection is not available in the PCK.
    Connection Tab Page
    Database Connection
    Specify the following to establish the database connection:
    Field
    Entry
    JDBC Driver
    Java class of the JDBC driver that the JDBC adapter must load to be able to access the driver. The specification varies according to the JDBC driver; see material from the respective provider for exact details.
    Connection
    Address with which you can establish a database connection using the JDBC driver. The specification varies according to the JDBC driver; see material from the respective provider for exact details.
    User Name
    User name for logging on to the database.
    Password
    Password for logging on to the database, including confirmation.
    25. Alerts within XI give us a simple way to monitor only those errors that we want and send alert messages
    to different people depending on the alert category. You can send alert to alert inbox, mail an even on SMS
    if your cell phone operator gives you the possibility of sending an sms through a web service.
    At first we have to create an alert category:
    - go to TCODE - ALRTCATDEF
    - change mode
    - define you alert category

  • At my wits end can any one save xmas for me Re K6Delta LSR And lock ups

    Hi Guys,
    Right i have built a pc for the kids but when i try to get it to run it locks up randomly.
    Spec
    80 gig seagate baracuda 7200 rpm
    Amd Athlon 2800 XP CPU
    Copper King Cpu Fan
    512 DDr 400 Mhz
    DVD Rom
    DVD 106 RW
    ATI 8x AGP 9600 Radeon Pro
    Latest drivers for all the above where aplicable are installed.
    The machiene seems happy to back up data to the dvdrw and happy for general video play back and editing as well as spread sheets etc. But when it comes to game play the pc just locks up. I have tried another card and another cpu and mother board and on all occassions the symptoms persist. So i can rule out any bads componenets. The only thing i hav'nt changed is the ram but i did use a proggy called docmem which runs from a floppy and checks the ram which it was happy with.
    When it crashes my cpu temp is arround 56o - 59o i thought this may be high but according to sources this temp plus alot more should not cause instability.
    I got this reading on 2 seperate delta k6 lsr boards as well as 2 cpus ??
    Any one any ideas. I'm stuffed and it's supposed to be a xmas presant for the kids but it wo'nt be much good if they cant game.
    Is their anything else i should be doing as i dont belive that 2 boards 2 cpus can both be faulty.
    PLEASE PLEASE PLEASE HELP QUICK

    Perhaps you could try the usual stuff, I suggest you start with no 5 or 6, as the other then will be natural:
    1 Are all cables properly connected: power cables, IDE-cables, sound etc
    2 Are the units set as master and slave if applicable? Suggestion, keep harddisks on a separate IDE connection, No 1.
    3 Are there any hard ware conflicts? See Control Panel/System!
    4 Have you tried entering 'Safe Mode, if applicable, where you can see and remove surplus hard ware?
    5 Try minimizing your system, and install just one unit at a time! Time consuming, I know, but rather effective.
    6 What does the BIOS say about the installed units? Are they correctly acknowledged? Press Delete (or whatever) during start-up to enter BIOS.
    7 Can you reach Windows Update? Microsofts knowledge base might also be useful.
    8 Have you had backgroun programs running while installing software and drivers? Common problem when updating. The only thing you really, really need is Explorer, but SysTray is also recommended.
    9 Run MSCONFIG or applicable to see what the computer thinks it should load and be running. There you can also remove programs to start automatically.
    Hope things work out! Remember that its as easy to do a mistake as it is to forget it.

  • Can any one help me with these eroors

    Hi
    i have following errors while installing Oracle 8.1.6 on Redhat 7.1
    All the errors are with linking and ivoking following make files
    1. ins_net_client.mk
    2. ins_ldap.mk
    3. ins_net_server.mk
    4. ins_oemagent.mk
    5. ins_odg.mk
    6. ins_otrace.mk
    7. ins_plsql.mk
    8. ins_rdbms.mk
    I am having the all compatible packages installed and i do have jdk1.1.8 installed and link also has been made.
    Thanking in anticipation
    Pravin

    Hi Satish,
    Please assign the org det. rules to org det. profile with Sales and Service scenarios and then assign the org. det. profile to transaction type. The below screenshot is just for your reference.
    Hope it would fix your issue.
    Regards,

  • Can any one provide an web service technique that supports http post...?

    hi,
    i'm working with servlets. i need a webservice technique that supports http-post.
    is it possible to work http-post using servlet & axis2 webservice....?

    hi, if you are about to use axis2, consider trying JAXWS since its very fast to startup, it will then take care of everything what is beyond your business objects (so transforming in into XML etc) moreover, you're going to use web services, thus you ll be working with SOAP, which will wrap your business representation...
    here a sample for a time -service. The Date object will automatically be trasinformed into appropriate xsd type by the axis2 engine
    @WebService
    public class Clock {
    public Date getCurrentTime(){
      return new Date();
    }

  • Can any one share with me any two critical issues in DP support project

    Hello friends,
    I am new  to DP support project in SCM5.0 version,can any one share with  me my queries
    1.what is my support rolles and responsiblities .in DP
    2.can any one share with me any two critical issues in DP and how can you resole it

    Hi Sivaram,
    1. As a DP functional consultant you need to resolve all the incidents raised in APO DP module( Forecasting, lifecycle planning, master data in APO DP, Planning books, macros , release to APO SNP or R/3 or other systems, CVC maintenance etc) which will also include BW part of  SCM -APO related to DP, like data extraction and back up into and from infocubes. You will also support all the interfaces realted to APO DP , for the APO related part of the interface.
    You need to reoslve these incidents in the time frames defined by SLAs for the support project.
    You will have to also carry out problem management of some of the critical incidents so that incidents do not re-occur.
    Further you will have to support Release  /Change managment support( if it is part of your contract of Support project).
    This willl involve testing changes in quality system, before these are moved to production system.
    2 I found 2 crtical issues in APO DP support as below:
    2.1  Sales history extraction  data interafces from BW system used to have problems : technical problems of interface / jobs in BW running late, functional problems: sales history extract in BW not correct because various reasons 
      This used to lead to delayed job runs in APO and finally delayed forecasting and ptehr DP processes .
    By proactive monitoring by BW team and taking appropriate actions for master data issues, this issue occurance frequency was reduced , but not completely eliminated.
    2.2 Another major issue was related to back up process of APO DP planning data into infocubes. Finally by splitting the jobs as per daily, weekly and monthly bakc up procedure , we were able to resolve the issue.
    I hope I have answered your queries.
    Pleasse check and confirm.
    Regards
    Datta

  • Stumbled on the slow query, Can any one look into it, Y it is so slow

    I just stumbled on the slow query . Can any one please guess why this querie is so slow, do i need to change anything in it
    Pid=32521 Tid=2884070320 03/26/2011 07:54:19.176 - Cursor wm09_2_49107 took 27996 ms elapsed time and 27995 ms db time for 1 fetches. sql string:
    SELECT ALLOC_INVN_DTL.ALLOC_INVN_DTL_ID, ALLOC_INVN_DTL.WHSE, ALLOC_INVN_DTL.SKU_ID, ALLOC_INVN_DTL.INVN_TYPE, ALLOC_INVN_DTL.PROD_STAT, ALLOC_INVN_DTL.BATCH_NBR, ALLOC_INVN_DTL.SKU_ATTR_1, ALLOC_INVN_DTL.SKU_ATTR_2, ALLOC_INVN_DTL.SKU_ATTR_3, ALLOC_INVN_DTL.SKU_ATTR_4, ALLOC_INVN_DTL.SKU_ATTR_5, ALLOC_INVN_DTL.CNTRY_OF_ORGN, ALLOC_INVN_DTL.ALLOC_INVN_CODE, ALLOC_INVN_DTL.CNTR_NBR, ALLOC_INVN_DTL.TRANS_INVN_TYPE, ALLOC_INVN_DTL.PULL_LOCN_ID, ALLOC_INVN_DTL.INVN_NEED_TYPE, ALLOC_INVN_DTL.TASK_TYPE, ALLOC_INVN_DTL.TASK_PRTY, ALLOC_INVN_DTL.TASK_BATCH, ALLOC_INVN_DTL.ALLOC_UOM, ALLOC_INVN_DTL.ALLOC_UOM_QTY, ALLOC_INVN_DTL.QTY_PULLD, ALLOC_INVN_DTL.FULL_CNTR_ALLOCD, ALLOC_INVN_DTL.ORIG_REQMT, ALLOC_INVN_DTL.QTY_ALLOC, ALLOC_INVN_DTL.DEST_LOCN_ID, ALLOC_INVN_DTL.TASK_GENRTN_REF_CODE, ALLOC_INVN_DTL.TASK_GENRTN_REF_NBR, ALLOC_INVN_DTL.TASK_CMPL_REF_CODE, ALLOC_INVN_DTL.TASK_CMPL_REF_NBR, ALLOC_INVN_DTL.ERLST_START_DATE_TIME, ALLOC_INVN_DTL.LTST_START_DATE_TIME, ALLOC_INVN_DTL.LTST_CMPL_DATE_TIME, ALLOC_INVN_DTL.NEED_ID, ALLOC_INVN_DTL.STAT_CODE, ALLOC_INVN_DTL.CREATE_DATE_TIME, ALLOC_INVN_DTL.MOD_DATE_TIME, ALLOC_INVN_DTL.USER_ID, ALLOC_INVN_DTL.PKT_CTRL_NBR, ALLOC_INVN_DTL.REQD_INVN_TYPE, ALLOC_INVN_DTL.REQD_PROD_STAT, ALLOC_INVN_DTL.REQD_BATCH_NBR, ALLOC_INVN_DTL.REQD_SKU_ATTR_1, ALLOC_INVN_DTL.REQD_SKU_ATTR_2, ALLOC_INVN_DTL.REQD_SKU_ATTR_3, ALLOC_INVN_DTL.REQD_SKU_ATTR_4, ALLOC_INVN_DTL.REQD_SKU_ATTR_5, ALLOC_INVN_DTL.REQD_CNTRY_OF_ORGN, ALLOC_INVN_DTL.PKT_SEQ_NBR, ALLOC_INVN_DTL.CARTON_NBR, ALLOC_INVN_DTL.CARTON_SEQ_NBR, ALLOC_INVN_DTL.PIKR_NBR, ALLOC_INVN_DTL.PULL_LOCN_SEQ_NBR, ALLOC_INVN_DTL.DEST_LOCN_SEQ_NBR, ALLOC_INVN_DTL.TASK_CMPL_REF_NBR_SEQ, ALLOC_INVN_DTL.SUBSTITUTION_FLAG, ALLOC_INVN_DTL.MISC_ALPHA_FIELD_1, ALLOC_INVN_DTL.MISC_ALPHA_FIELD_2, ALLOC_INVN_DTL.MISC_ALPHA_FIELD_3, ALLOC_INVN_DTL.CD_MASTER_ID FROM ALLOC_INVN_DTL WHERE ( ( ( ( ( ( ALLOC_INVN_DTL.TASK_CMPL_REF_CODE = :1 ) AND ( ALLOC_INVN_DTL.TASK_CMPL_REF_NBR = :2 ) ) AND ( ALLOC_INVN_DTL.SKU_ID = :3 ) ) AND ( ALLOC_INVN_DTL.CNTR_NBR = :4 ) ) AND ( ALLOC_INVN_DTL.STAT_CODE < 1 ) ) AND ( ALLOC_INVN_DTL.PULL_LOCN_ID IS NULL ) )
    input variables
    1: Address(0xabe74300) Length(0) Type(8) "2" - No Indicator
    2: Address(0x8995474) Length(0) Type(8) "PERP014119" - No Indicator
    3: Address(0xab331f1c) Length(0) Type(8) "MB57545217" - No Indicator
    4: Address(0xab31e32c) Length(0) Type(8) "T0000000000000078257" - No Indicator

    784786 wrote:
    I just stumbled on the slow query . Can any one please guess why this querie is so slow, do i need to change anything in it
    Pid=32521 Tid=2884070320 03/26/2011 07:54:19.176 - Cursor wm09_2_49107 took 27996 ms elapsed time and 27995 ms db time for 1 fetches. sql string:
    SELECT ALLOC_INVN_DTL.ALLOC_INVN_DTL_ID, ALLOC_INVN_DTL.WHSE, ALLOC_INVN_DTL.SKU_ID, ALLOC_INVN_DTL.INVN_TYPE, ALLOC_INVN_DTL.PROD_STAT, ALLOC_INVN_DTL.BATCH_NBR, ALLOC_INVN_DTL.SKU_ATTR_1, ALLOC_INVN_DTL.SKU_ATTR_2, ALLOC_INVN_DTL.SKU_ATTR_3, ALLOC_INVN_DTL.SKU_ATTR_4, ALLOC_INVN_DTL.SKU_ATTR_5, ALLOC_INVN_DTL.CNTRY_OF_ORGN, ALLOC_INVN_DTL.ALLOC_INVN_CODE, ALLOC_INVN_DTL.CNTR_NBR, ALLOC_INVN_DTL.TRANS_INVN_TYPE, ALLOC_INVN_DTL.PULL_LOCN_ID, ALLOC_INVN_DTL.INVN_NEED_TYPE, ALLOC_INVN_DTL.TASK_TYPE, ALLOC_INVN_DTL.TASK_PRTY, ALLOC_INVN_DTL.TASK_BATCH, ALLOC_INVN_DTL.ALLOC_UOM, ALLOC_INVN_DTL.ALLOC_UOM_QTY, ALLOC_INVN_DTL.QTY_PULLD, ALLOC_INVN_DTL.FULL_CNTR_ALLOCD, ALLOC_INVN_DTL.ORIG_REQMT, ALLOC_INVN_DTL.QTY_ALLOC, ALLOC_INVN_DTL.DEST_LOCN_ID, ALLOC_INVN_DTL.TASK_GENRTN_REF_CODE, ALLOC_INVN_DTL.TASK_GENRTN_REF_NBR, ALLOC_INVN_DTL.TASK_CMPL_REF_CODE, ALLOC_INVN_DTL.TASK_CMPL_REF_NBR, ALLOC_INVN_DTL.ERLST_START_DATE_TIME, ALLOC_INVN_DTL.LTST_START_DATE_TIME, ALLOC_INVN_DTL.LTST_CMPL_DATE_TIME, ALLOC_INVN_DTL.NEED_ID, ALLOC_INVN_DTL.STAT_CODE, ALLOC_INVN_DTL.CREATE_DATE_TIME, ALLOC_INVN_DTL.MOD_DATE_TIME, ALLOC_INVN_DTL.USER_ID, ALLOC_INVN_DTL.PKT_CTRL_NBR, ALLOC_INVN_DTL.REQD_INVN_TYPE, ALLOC_INVN_DTL.REQD_PROD_STAT, ALLOC_INVN_DTL.REQD_BATCH_NBR, ALLOC_INVN_DTL.REQD_SKU_ATTR_1, ALLOC_INVN_DTL.REQD_SKU_ATTR_2, ALLOC_INVN_DTL.REQD_SKU_ATTR_3, ALLOC_INVN_DTL.REQD_SKU_ATTR_4, ALLOC_INVN_DTL.REQD_SKU_ATTR_5, ALLOC_INVN_DTL.REQD_CNTRY_OF_ORGN, ALLOC_INVN_DTL.PKT_SEQ_NBR, ALLOC_INVN_DTL.CARTON_NBR, ALLOC_INVN_DTL.CARTON_SEQ_NBR, ALLOC_INVN_DTL.PIKR_NBR, ALLOC_INVN_DTL.PULL_LOCN_SEQ_NBR, ALLOC_INVN_DTL.DEST_LOCN_SEQ_NBR, ALLOC_INVN_DTL.TASK_CMPL_REF_NBR_SEQ, ALLOC_INVN_DTL.SUBSTITUTION_FLAG, ALLOC_INVN_DTL.MISC_ALPHA_FIELD_1, ALLOC_INVN_DTL.MISC_ALPHA_FIELD_2, ALLOC_INVN_DTL.MISC_ALPHA_FIELD_3, ALLOC_INVN_DTL.CD_MASTER_ID FROM ALLOC_INVN_DTL WHERE ( ( ( ( ( ( ALLOC_INVN_DTL.TASK_CMPL_REF_CODE = :1 ) AND ( ALLOC_INVN_DTL.TASK_CMPL_REF_NBR = :2 ) ) AND ( ALLOC_INVN_DTL.SKU_ID = :3 ) ) AND ( ALLOC_INVN_DTL.CNTR_NBR = :4 ) ) AND ( ALLOC_INVN_DTL.STAT_CODE < 1 ) ) AND ( ALLOC_INVN_DTL.PULL_LOCN_ID IS NULL ) )
    input variables
    1: Address(0xabe74300) Length(0) Type(8) "2" - No Indicator
    2: Address(0x8995474) Length(0) Type(8) "PERP014119" - No Indicator
    3: Address(0xab331f1c) Length(0) Type(8) "MB57545217" - No Indicator
    4: Address(0xab31e32c) Length(0) Type(8) "T0000000000000078257" - No IndicatorWithout more information I cannot tell you why it is slow, but I can certainly tell you why it is impossible to read.
    Just because sql allows unformatted query text does not mean it is a good idea. Why not bring some sanity to this for your own sake, not to mention that of people from whom you are expecting to actually read and analyze this mess. I wish someone could explain to me why people write these long stream-of-consciousness queries.
    When posting to this forum you should use the code tags to bracket your code and preserve the formatting. Then the code should actually be formatted:
    SELECT
         ALLOC_INVN_DTL.ALLOC_INVN_DTL_ID,
         ALLOC_INVN_DTL.WHSE,
         ALLOC_INVN_DTL.SKU_ID,
         ALLOC_INVN_DTL.INVN_TYPE,
         ALLOC_INVN_DTL.PROD_STAT,
         ALLOC_INVN_DTL.BATCH_NBR,
         ALLOC_INVN_DTL.SKU_ATTR_1,
         ALLOC_INVN_DTL.SKU_ATTR_2,
         ALLOC_INVN_DTL.SKU_ATTR_3,
         ALLOC_INVN_DTL.SKU_ATTR_4,
         ALLOC_INVN_DTL.SKU_ATTR_5,
         ALLOC_INVN_DTL.CNTRY_OF_ORGN,
         ALLOC_INVN_DTL.ALLOC_INVN_CODE,
         ALLOC_INVN_DTL.CNTR_NBR,
         ALLOC_INVN_DTL.TRANS_INVN_TYPE,
         ALLOC_INVN_DTL.PULL_LOCN_ID,
         ALLOC_INVN_DTL.INVN_NEED_TYPE,
         ALLOC_INVN_DTL.TASK_TYPE,
         ALLOC_INVN_DTL.TASK_PRTY,
         ALLOC_INVN_DTL.TASK_BATCH,
         ALLOC_INVN_DTL.ALLOC_UOM,
         ALLOC_INVN_DTL.ALLOC_UOM_QTY,
         ALLOC_INVN_DTL.QTY_PULLD,
         ALLOC_INVN_DTL.FULL_CNTR_ALLOCD,
         ALLOC_INVN_DTL.ORIG_REQMT,
         ALLOC_INVN_DTL.QTY_ALLOC,
         ALLOC_INVN_DTL.DEST_LOCN_ID,
         ALLOC_INVN_DTL.TASK_GENRTN_REF_CODE,
         ALLOC_INVN_DTL.TASK_GENRTN_REF_NBR,
         ALLOC_INVN_DTL.TASK_CMPL_REF_CODE,
         ALLOC_INVN_DTL.TASK_CMPL_REF_NBR,
         ALLOC_INVN_DTL.ERLST_START_DATE_TIME,
         ALLOC_INVN_DTL.LTST_START_DATE_TIME,
         ALLOC_INVN_DTL.LTST_CMPL_DATE_TIME,
         ALLOC_INVN_DTL.NEED_ID,
         ALLOC_INVN_DTL.STAT_CODE,
         ALLOC_INVN_DTL.CREATE_DATE_TIME,
         ALLOC_INVN_DTL.MOD_DATE_TIME,
         ALLOC_INVN_DTL.USER_ID,
         ALLOC_INVN_DTL.PKT_CTRL_NBR,      
         ALLOC_INVN_DTL.REQD_INVN_TYPE,      
         ALLOC_INVN_DTL.REQD_PROD_STAT,
         ALLOC_INVN_DTL.REQD_BATCH_NBR,
         ALLOC_INVN_DTL.REQD_SKU_ATTR_1,
         ALLOC_INVN_DTL.REQD_SKU_ATTR_2,
         ALLOC_INVN_DTL.REQD_SKU_ATTR_3,
         ALLOC_INVN_DTL.REQD_SKU_ATTR_4,
         ALLOC_INVN_DTL.REQD_SKU_ATTR_5,
         ALLOC_INVN_DTL.REQD_CNTRY_OF_ORGN,
         ALLOC_INVN_DTL.PKT_SEQ_NBR,
         ALLOC_INVN_DTL.CARTON_NBR,
         ALLOC_INVN_DTL.CARTON_SEQ_NBR,
         ALLOC_INVN_DTL.PIKR_NBR,
         ALLOC_INVN_DTL.PULL_LOCN_SEQ_NBR,
         ALLOC_INVN_DTL.DEST_LOCN_SEQ_NBR,
         ALLOC_INVN_DTL.TASK_CMPL_REF_NBR_SEQ,
         ALLOC_INVN_DTL.SUBSTITUTION_FLAG,
         ALLOC_INVN_DTL.MISC_ALPHA_FIELD_1,
         ALLOC_INVN_DTL.MISC_ALPHA_FIELD_2,
         ALLOC_INVN_DTL.MISC_ALPHA_FIELD_3,
         ALLOC_INVN_DTL.CD_MASTER_ID
    FROM ALLOC_INVN_DTL
    WHERE (
                 ( ALLOC_INVN_DTL.TASK_CMPL_REF_CODE = :1
                    AND ( ALLOC_INVN_DTL.TASK_CMPL_REF_NBR = :2
                  AND ( ALLOC_INVN_DTL.SKU_ID = :3
                AND ( ALLOC_INVN_DTL.CNTR_NBR = :4
              AND ( ALLOC_INVN_DTL.STAT_CODE < 1
            AND ( ALLOC_INVN_DTL.PULL_LOCN_ID IS NULL
          )Now, since you are only selecting from one table, there is no need to clutter up the query by qualifying every column name with the table name. Let's simplify with this:
    SELECT
         ALLOC_INVN_DTL_ID,
         WHSE,
         SKU_ID,
         INVN_TYPE,
         PROD_STAT,
         BATCH_NBR,
         SKU_ATTR_1,
         SKU_ATTR_2,
         SKU_ATTR_3,
         SKU_ATTR_4,
         SKU_ATTR_5,
         CNTRY_OF_ORGN,
         ALLOC_INVN_CODE,
         CNTR_NBR,
         TRANS_INVN_TYPE,
         PULL_LOCN_ID,
         INVN_NEED_TYPE,
         TASK_TYPE,
         TASK_PRTY,
         TASK_BATCH,
         ALLOC_UOM,
         ALLOC_UOM_QTY,
         QTY_PULLD,
         FULL_CNTR_ALLOCD,
         ORIG_REQMT,
         QTY_ALLOC,
         DEST_LOCN_ID,
         TASK_GENRTN_REF_CODE,
         TASK_GENRTN_REF_NBR,
         TASK_CMPL_REF_CODE,
         TASK_CMPL_REF_NBR,
         ERLST_START_DATE_TIME,
         LTST_START_DATE_TIME,
         LTST_CMPL_DATE_TIME,
         NEED_ID,
         STAT_CODE,
         CREATE_DATE_TIME,
         MOD_DATE_TIME,
         USER_ID,
         PKT_CTRL_NBR,      
         REQD_INVN_TYPE,      
         REQD_PROD_STAT,
         REQD_BATCH_NBR,
         REQD_SKU_ATTR_1,
         REQD_SKU_ATTR_2,
         REQD_SKU_ATTR_3,
         REQD_SKU_ATTR_4,
         REQD_SKU_ATTR_5,
         REQD_CNTRY_OF_ORGN,
         PKT_SEQ_NBR,
         CARTON_NBR,
         CARTON_SEQ_NBR,
         PIKR_NBR,
         PULL_LOCN_SEQ_NBR,
         DEST_LOCN_SEQ_NBR,
         TASK_CMPL_REF_NBR_SEQ,
         SUBSTITUTION_FLAG,
         MISC_ALPHA_FIELD_1,
         MISC_ALPHA_FIELD_2,
         MISC_ALPHA_FIELD_3,
         CD_MASTER_ID
    FROM ALLOC_INVN_DTL
    WHERE (
                 ( TASK_CMPL_REF_CODE = :1
                    AND ( TASK_CMPL_REF_NBR = :2
                  AND ( SKU_ID = :3
                AND ( CNTR_NBR = :4
              AND ( STAT_CODE < 1
            AND ( PULL_LOCN_ID IS NULL
          )And finally, your WHERE clause is a simple string of AND conditions, there was no need to complicate it with all of the nested parentheses. Much simpler:
    WHERE ALLOC_INVN_DTL.TASK_CMPL_REF_CODE = :1
       AND  ALLOC_INVN_DTL.TASK_CMPL_REF_NBR = :2
       AND  ALLOC_INVN_DTL.SKU_ID = :3
       AND  ALLOC_INVN_DTL.CNTR_NBR = :4
       AND  ALLOC_INVN_DTL.STAT_CODE < 1
       AND  ALLOC_INVN_DTL.PULL_LOCN_ID IS NULL
               None of the above makes a whit of difference in your query performance, but if you worked in my office, I would make you clean it up before I even attempted to do a performance analysis.
    Edited by: EdStevens on Mar 26, 2011 2:14 PM

Maybe you are looking for

  • ITunes delete option is missing

    I have ITunes 11.1.3 on a 2011 Mac Mini.  I used to have the ability to delete duplicate songs but that option seems to have disappeared.  I have tried three methods.  These methods used to work for me and still work for my wife on a similar computer

  • How to capture the onclick action htmlb to Portal component?

    <%     if (Bean.getSpoofValue().equalsIgnoreCase("spoof=yes"))                     {%>           <hbj:form id="spoof" >                <hbj:gridLayout                     id="myGrid2"                     rowSize="10"                     columnSize="1

  • PHP and shared libraries

    Hello, I would compile PHP with the oci interface. PHP needs shared libraries. Where can I get the libraries. Greetings

  • Can't import automatically from my cameras

    I'm an experienced iPhoto user but I can't seem to get my photos to automatically import. I connect one of my cameras and iPhoto launches or goes straight to its import window if it's already running but then it crashes. This happens repeatedly with

  • Adding files to jlist

    hi, i trying to add File objects to a JList can keep getting a nullpointer exception, here is the code: private DefaultListModel listModel; File file = new File("c:"); File[] files = file.listFiles(); addToListModel(files); fileList = new JList(files