Analysing details of SQL trace and runtime analysis for a report.

Hi,
I am trying to tune the performance of a Z ABAP report for target group export. A brief overview of what is done in the report is the retrieval of BP details present in the Target group including BP general, address, marketing attributes, person responsible and contact person details. As the target groups can be quite huge (around 6000 BPs), the report gives performance issues. I want to understand on how to analyse the details which I obtained from the run time analysis and SQL trace and on how to take it forward.
Any inputs in this regard would be helpful.
Thanks in advance,
Anushree

In Runtime analysis Look for
ABAP -  In your ABAP code
DATABASE  -  It shows the performance of your SELECT statements in your program.
Just check how much % it is showing for both.
Check for following in your code.
1) Avoid SELECT *
2) Clear internal tables values which are not required at the ending of program, as it saves memory
etc.

Similar Messages

  • What is SQL Trace and How to Use it .

    Dear Experts .
    1.) May You Please tell me What is the Purpose of SQL-Trace and How to use it ?
    2.) What is purpose of T-codes SE30 and ST22 ?
    Please it is urgent ...
    Regards :  Rajneesh

    Hi
    SQL Trace transaction ST05: The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.
    The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on a particular database table of the ABAP program would be mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.
    The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.
    To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.
    Run time analysis transaction SE30 :This transaction gives all the analysis of an ABAP program with respect to the database and the non-database processing. 
    STEPS
    Run time analysis transaction SE30
    In Transaction SE30, fill in the transaction name or the program name which needs to be analyzed for performance tuning.
    For our case, let this be “ZABAP_PERF_TUNING”
    After giving the required inputs to the program, execute it. After the final output list has been displayed, PRESS the “BACK” button.
    On the original SE30 screen, now click on “ANALYZE” button.
    The percentage across each of the areas ABAP/ Database/System shows the percentage of total time used for those areas and load on these areas while running the program . The lesser the database load faster the program runs.
    SQL Trace – ST05
    Starting the Trace:
    To analyze a trace file, do the following:
    Choose the menu path Test  Performance Trace in the ABAP Workbench or go to Transaction ST05. The initial screen of the test tool appears. In the lower part of the screen, the status of the Performance Trace is displayed. This provides you with information as to whether any of the Performance Traces are switched on and the users for which they are enabled. It also tells you which user has switched the trace on.
    Using the selection buttons provided, set which trace functions you wish to have switched on (SWL trace, enqueue trace, RFC trace, table buffer trace).
    If you want to switch on the trace under your user name, choose Trace on. If you want to pass on values for one or several filter criteria, choose Trace with Filter.
    Typical filter criteria are: the name of the user, transaction name, process name, and program name.
    Now run the program to be analyzed.
    Stopping the Trace:
    To deactivate the trace:
    Choose Test Performance Trace in the ABAP Workbench. The initial screen of the test tool appears. It contains a status line displaying the traces that are active, the users for whom they are active, and the user who activated them.
    Select the trace functions that you want to switch off.
    Choose Deactivate Trace. If you started the trace yourself, you can now switch it off immediately. If the performance trace was started by a different user, a confirmation prompt appears before deactivation-
    Analyzing a Sample trace data: PREPARE: Prepares the OPEN statement for use and determines the access method.
    OPEN: Opens the cursor and specifies the selection result by filling the selection fields with concrete values.
    FETCH: Moves the cursor through the dataset created by the OPEN operation. The array size displayed beside the fetch data means that the system can transfer a maximum package size of 392 records at one time into the buffered area.

  • Sql trace and tkprof result

    When I use sql trace and tkprof. After I use tkprof, I get the result statistics. However, I don't understand one point that I see many queries which I didn't run. I mean how come these queries executed? and by who?
    thanks

    some could be recursive sql statemets run by oracle. Post some example what you are running and what you are seeing?
    The SQL statements can be listed in a TKPROF report in the order of how much resource they used, if desired. Also, recursive SQL statements issued by the SYS user to manage the data dictionary can be included or excluded.
    How to Use and Understand the TKPROF utility

  • Define Logical Systems and Template Names for BW Reports

    Hi experts
    I would like to know if someone used the mentioned functionality 'Define Logical Systems and Template Names for BW Reports, I would like to know too IF I create a Z REPORT for example in webdynpro and insert it in this configuration it will work and where it will appear in sourcing cockpit?
    sds.
    Javier

    Hello Muthu,
    BW reports will be shown in SRM Box if the corresponding BW roles for SRM are integrated with SRM roles.
    You might to activate the corresponding datasource of this in SRM.
    And since you have to connect the source system to BW, I think you have to define SRM system as logical system in BW.
    Regards,
    Pavan

  • Reg : SQL Trace and ECAT

    Hi Floks ,
    Any body knowing The SQL trace analysis and Ecat tool .send me how to work on this issues .Please send me with snap shot it's will help to who don't know how to utilize this tools.
    thanks,
    suresh

    Hi suresh,
    Check these links.
    SQL trace
    http://www.sapdevelopment.co.uk/perform/perform_sqltrace.htm
    Go to st05 and activate trace, go back and run your transaction or report again go to st05 deactivate trace and click display trace here you can find information with this you can performence analysis, database tables, fields etc.
    ECAT
    eCATT stands for extended Computer Aided Test Tool (eCATT) which is built is testing tool to test SAP system. By using testing tool we can test the entire business process, and we can also use this tool with a third party testing tool (I am not covering this topic). Execution of every test script ends with a log, which explains the results of the test script.
    By using eCATT we can do following operations,
    ·        Test transactions, reports, and scenarios
    ·        Call BAPIs and function modules
    ·        Test remote systems
    ·        Check authorizations (user profiles)
    ·        Test updates (database, applications, GUI)
    ·        Test the effect of changes to customizing settings
    ·        Check system messages
      For more information go to
    http://help.sap.com/saphelp_erp2004/helpdata/en/2a/121e3bd711bb04e10000000a114084/frameset.htm
    To develop a test script in eCATT we need to follow the following steps,
    1. Creating Test Scripts.
    2. Creating Test Data Containers[16] .
    3. Understanding System Data Containers[17] .
    4. Executing Test Configurations.
    There is a very good web blog on eCATT in sdn.com which explains eCATT with necessary screen shots.
    To read document click here Blog on eCATT
    http://www.sapdevelopment.co.uk/testing/ecatt.htm

  • Finding SQL trace and Log trace in SAP ME

    Dear Experts,
    I am new to SAP ME SDK 2.0  development. After depolying the ME with changes.If an error occurs as "An internal error occurred; contact technical support". Where should I check for the traces like SQL trace or og trace.
    Thanks in advance,
    Eswaraiah M.

    Hello,
    Log records are written to NW log and can be viewed in NW log viewer.
    Konstantin

  • SQL Trace and TKprof

    Hello,
    Can someone tell me what is SQL trance and TKprof?
    when we will apply and what need of this?
    why i should give alter session set sql trace = true?
    if someone could give me an idea of what is a TKprof do, would be apprecaited.

    if someone could give me an idea of what is a TKprof doThe doc has an idea : http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14211/sqltrace.htm#PFGRF01010
    Nicolas.

  • SQL Trace and Bind Values

    I need to capture bind values in SQL Trace. I am running Oracle 9.2.0.8. I will be running my queries from an application, not SQL Plus. I can use a after log on trigger to turn on trace. Has anyone done this with success? Are there any other ways to do this at the server level?
    Thank you for your input
    David

    Hello David,
    it is such easy ... you wouldn't believe it.
    Have a look at the pl/sql procedure "dbms_system.set_ev", with this one you can do this on session level: http://www.oracleadvice.com/Tips/dbms_system.htm#SET_EV
    There are also some other possibilities... but this should hit your question..
    To turn on:
    SQL> exec dbms_system.set_ev(<SID>, <SERIAL>, 10046, 12, '');
    To turn off:
    SQL> exec dbms_system.set_sql_trace_in_session(<SID>, <SERIAL>, FALSE);
    Regards
    Stefan

  • Need Guide to create a table in SQL Server and Process data for JDBC

    Dear All,
    Scenario:JDBC to JDBC
    I need to practice JDBC to JDBC scenario and for that i need to create a table in SQL server for sender ,receiver and update  i have installed SQL Server and no idea about creation of table and Connection string for PI.
    I want you to explain each and every step for the Table Creation ,Driver and connection string.
    Thanks in Advance.

    Try searchin in the forum and then google. This forum is not for teaching the basics.
    VJ

  • List of SQL tables and attributes used in SSRS reports

    Hi,
    I have around 450-500 reports deployed in SSRS reporting server.
    All these reports are built on SQL from multiple databases, and these databases are having unnecessary tables and attributes.
    My requirement is to clean the unused tables and attributes from the databases. For this, I need the list of SQL tables and attributes used in these 450-500 SSRS reports.
    Is there any way to get this data?
    Regards,
    RK

    Hi RK,
    According to your description, you want to get a list of the tables and attributes used in all reports.
    In your scenario, you can query the ReportServer.dbo.Catalog table to get Report name, data source name, dataset name, and query used in the dataset with query below:
    WITH XMLNAMESPACES ( DEFAULT 'http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition', 'http://schemas.microsoft.com/SQLServer/reporting/reportdesigner' AS rd )
    SELECT ReportName = name
    ,DataSetName = x.value('(@Name)[1]', 'VARCHAR(250)')
    ,DataSourceName = x.value('(Query/DataSourceName)[1]','VARCHAR(250)')
    ,CommandText = x.value('(Query/CommandText)[1]','VARCHAR(250)')
    ,Fields = df.value('(@Name)[1]','VARCHAR(250)')
    ,DataField = df.value('(DataField)[1]','VARCHAR(250)')
    ,DataType = df.value('(rd:TypeName)[1]','VARCHAR(250)')
    --,ConnectionString = x.value('(ConnectionProperties/ConnectString)[1]','VARCHAR(250)')
    FROM ( SELECT C.Name,CONVERT(XML,CONVERT(VARBINARY(MAX),C.Content)) AS reportXML
    FROM ReportServer.dbo.Catalog C
    WHERE C.Content is not null
    AND C.Type = 2
    ) a
    CROSS APPLY reportXML.nodes('/Report/DataSets/DataSet') r ( x )
    CROSS APPLY x.nodes('Fields/Field') f(df)
    ORDER BY name
    For more information, please refer to this similar thread:
    Extract metadata from report server database
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • OBIEE filter/criteria limit for AND/OR operations for a report

    Hi
    We have a report that has around twenty "OR" criterias and ten "AND" criterias. All the filters are logically correct but report is returning invalid data. However if we reduce some filters then report works fine.
    Any ideas of increasing filters limit for a report or reason of the issue.
    Umer

    Thanks Chaknor,
    The report i created would not result any error code/msg.
    The only reason i put question here is:
    My report has around 50 predicates and is returning data without any respect of the predicates i have applied. However if i reduce some predicates (says reduce them to 20) then my report results correct data.
    For the time i tried a work around and created two reports using half of the predicates in one and half in two. but i need everything in one single report.
    The most important thing is that when i execute report with 50 predicates, the query i get in NQquery log omits many predicates.
    Following is what i get in NQquery log
    After removing half of the filters from the report the where clause from the log is given below;
    WHERE ( t120650.patient_seq_num = t120867.patient_seq_num
    AND t120585.location_seq_num = t120738.location_seq_num
    AND t120585.visit_seq_num = t120650.visit_seq_num
    AND t120585.provider_seq_num = t120767.provider_seq_num
    AND t120650.procedure_seq_num = t121446.procedure_seq_num
    AND t120738.practice = 'MSP'
    AND t120800.plan_category = 'CORNEL IPA'
    AND CASE
    WHEN t120650.charge_seq_num = t120650.parent_seq_num
    THEN 'NO'
    ELSE 'YES'
    END = 'NO'
    AND t120767.provider <> 'SANDH,OLD'
    AND t120767.provider <> 'GRANSR,OLD'
    AND t120767.provider <> 'GRANATO,SR'
    AND t120767.provider <> 'SANDHAUS,J'
    AND t120767.provider <> 'AARONS,OLD'
    AND t120767.provider <> 'DYBNER,OLD'
    AND t120767.provider <> 'GRANJR,OLD'
    AND t120767.provider <> 'AAR-DYBNER'
    AND t120767.provider <> 'SUBIETAS,A'
    AND t120767.provider <> 'TILLEM,OLD'
    AND t120767.provider <> 'WEBER,OLD'
    AND t120767.provider <> 'WOLGEL,C'
    AND (t120800.insurance IN
    ('ACSHEALTHN', 'AETNA', 'CIGNA', 'HIPNY', 'NYBCEMP')
    AND ( t120800.insurance IN ('AETNA', 'HIPNY')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    AND ( t120800.insurance IN ('HIPNY')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    AND ( t120767.provider IN
    ('AARONSON', 'DYBNER,R', 'GRANATO,JR', 'TILLEM,S',
    'WEBER,M')
    OR t120800.insurance IN ('AETNA')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    AND ( t120800.insurance IN
    ('ACSHEALTHN', 'CIGNA', 'HIPNY', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    AND ( t120767.provider IN
    ('AARONSON', 'DYBNER,R', 'GRANATO,JR', 'TILLEM,S',
    'WEBER,M')
    OR t120800.insurance IN
    ('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
    AND ( t120767.provider IN
    ('AARONSON', 'DYBNER,R', 'GRANATO,JR', 'TILLEM,S',
    'WEBER,M')
    OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    AND ( t120767.provider IN
    ('DYBNER,R', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120800.insurance IN
    ('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    AND ( t120767.provider IN
    ('DYBNER,R', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    AND ( t120767.provider IN ('AARONSON', 'DYBNER,R')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN
    ('AARONSON', 'DYBNER,R', 'GRANATO,JR', 'TILLEM,S',
    'WEBER,M')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    AND ( t120767.provider IN ('DYBNER,R')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN
    ('DYBNER,R', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    AND ( t120767.provider IN ('AARONSON')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN ('GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    AND ( t120767.provider IN
    ('AARONSON', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    AND ( t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN ('AARONSON')
    OR t120800.insurance IN ('AETNA')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120800.insurance IN
    ('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN ('AARONSON')
    OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN ('DYBNER,R')
    OR t120800.insurance IN ('AETNA')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120800.insurance IN ('AETNA')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN ('DYBNER,R')
    OR t120800.insurance IN
    ('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN ('AARONSON', 'DYBNER,R')
    OR t120800.insurance IN ('AETNA')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN ('AARONSON')
    OR t120800.insurance IN
    ('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN ('AARONSON', 'DYBNER,R')
    OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN ('DYBNER,R')
    OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN
    ('DYBNER,R', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120800.insurance IN ('AETNA')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    AND ( t120767.provider IN
    ('AARONSON', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    AND ( t120767.provider IN
    ('AARONSON', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120800.insurance IN
    ('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    AND ( t120767.provider IN ('GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120800.insurance IN
    ('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    AND ( t120767.provider IN
    ('AARONSON', 'GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120800.insurance IN ('AETNA')
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    AND ( t120767.provider IN ('GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120800.insurance IN ('ACSHEALTHN', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-08-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    AND ( t120767.provider IN ('AARONSON', 'DYBNER,R')
    OR t120800.insurance IN
    ('ACSHEALTHN', 'AETNA', 'CIGNA', 'NYBCEMP')
    OR t120585.visit_date >= TIMESTAMP '2011-01-01 00:00:00'
    AND ( t120767.provider IN ('GRANATO,JR', 'TILLEM,S', 'WEBER,M')
    OR t120800.insurance IN ('AETNA')
    OR t120585.visit_date >= TIMESTAMP '2010-04-01 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-04-20 00:00:00'
    OR t120585.visit_date >= TIMESTAMP '2010-10-01 00:00:00'
    AND t120767.provider <> 'WOLGEL,OLD'
    However when we increase the filters the where clause is truncated to;
    WHERE ( t120650.patient_seq_num = t120867.patient_seq_num
    AND t120585.location_seq_num = t120738.location_seq_num
    AND t120585.visit_seq_num = t120650.visit_seq_num
    AND t120585.provider_seq_num = t120767.provider_seq_num
    AND t120650.procedure_seq_num = t121446.procedure_seq_num
    AND t120738.practice = 'MSP'
    AND t120800.plan_category = 'CORNEL IPA'
    AND CASE
    WHEN t120650.charge_seq_num = t120650.parent_seq_num
    THEN 'NO'
    ELSE 'YES'
    END = 'NO'
    AND t120767.provider <> 'SANDH,OLD'
    AND t120767.provider <> 'GRANSR,OLD'
    AND t120767.provider <> 'GRANATO,SR'
    AND t120767.provider <> 'SANDHAUS,J'
    AND t120767.provider <> 'AARONS,OLD'
    AND t120767.provider <> 'DYBNER,OLD'
    AND t120767.provider <> 'GRANJR,OLD'
    AND t120767.provider <> 'AAR-DYBNER'
    AND t120767.provider <> 'SUBIETAS,A'
    AND t120767.provider <> 'TILLEM,OLD'
    AND t120767.provider <> 'WEBER,OLD'
    AND t120767.provider <> 'WOLGEL,C'
    Need help !

  • P&L A/C and Balance sheet for segment reporting

    Hi
    I am using the ECC 6.00, segmental reporting functions
    I have one requirement is that
    Customer wants prepare the profit and loss account and balance sheet for each segments wise, 
    Please help me, How to prepare the segment wise profit and loss account and balance sheet
    Tarakesh

    Hi thanks for quick reply,
    segment is assigned in profit center masters, i prepare the account groups for profit center and setting like okb9 and 3keh.even though one segment have assigned to no of profit centers.when profit center and cost centers are hitted segment also hitting. based on the cost objects can i get the profit and loss account for segment?
    but my doubt is how the system know particular g l account have revenue account and expenses account relating to segment.
    we want to purly segement profit and loss account and balance sheet only to meet the AS-17
    thanks
    tarak

  • Runtime Distribution for Crystal reports for Visual Studio 2010 framework 4

    Hi,
    Where can I find the msi for installing runtime distribution for asp.net web application that was created using visual studio 2010?
    Thanks.
    Rosa.

    MSM     
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_mergemodules_13_0.zip
    MSI 32 bit     
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0.zip
    MSI 64 bit     
    http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0.zip
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Compare and adjaust configuartion for different Report Servers

    Hi All,
    in one OFM-environment (11.1.1.6.0), I need to find and adjust different configuartion between reports servers.
    I can see in EM only ONE Report Server under asinst_1 and colud not find other Report Server (in-process-server). In addition, I can see both Reports Server with showjobs...
    What is wrong and how can I solve that?
    Regards,
    Moh

    Hi Moh,
    check the following support note that I think will answer your question.
    Reference
         Where is the in-process Reports Server in Fusion Middleware Control Site 11g? (Doc ID 862602.1)
    Regards, RZ

  • Need Users and ACL permission for KM Reports

    Hello Experts,
    Need you help for one requirement , in which i need to provide a list of users with ACL permission of each report from KM. There is huge amount of reports so it is quite time consuming to get each report open & to check the ACL and user from KM.
    It there is any thing , so that i can get the list of user with the ACL permission for each reports?
    Any help will be appreciated with points.
    Regards
    AK

    Hi AK,
        I misunderstood your query,if you just want to check the permission of all reports then you can use the default permission report available in the content Administration->KM Content->toolbox->reports->permission report.
    http://help.sap.com/saphelp_nw04/helpdata/en/fe/5290412facac5fe10000000a1550b0/frameset.htm
    If you could not find the report contact basis team to do the configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/07/dad131443b314988eeece94506f861/frameset.htm
    Naga

Maybe you are looking for

  • Retriveial of data based on inner joins

    I have Five tables (Subject,English,Hindi,Maths,Science,Social) where Subject is the Primary table and rest all lookup table For Subject My select Statement need to display all chapter names Based on the ID's in subject table SELECT English.ChapterNa

  • Edit-In-Place still caching media

    FCSvr system, XSAN, Edit-In-Place set for all Devices. But when FCP projects are checked out by the editors, it still loads all the video files into their local Cache. Unable to duplicate the problem on my own system. The difference is that they have

  • CRM 2007 - Installed Base - Sold to Party per Product

    Hi Gurus I'm working through Best Practice guide C13 Service Master Data. For the Installed Base I'm using, for each product I have on the system I must assign each Business Partner (Sold-to Party) to that product. For me this is a Maintenance nightm

  • Why won't a cursor show up in the shape when I double click it?

    I thought you could just double click the shape to type in it...The cursor shows up outside the shape in the main part of the document or it highlights unrelated text from a text box, but it won't put a cursor in the shape.  After trying 50 times, I

  • Update via iPhone 4S on facebook.

    Is it possible to enable the signature 'updated Via IPhone 4S' on facebook whenever we are using facebook? if yes then let me know how.