Low Performance in the report with cell defition

Hi all,
In one of our queries (3.5), we had to use lots of cell definition. And after execution of the report, it stays in "Formatting Result Area" and "Retrieving Result from BW Server" for a very long time (about 30 minutes).
There is already aggregate on the infoprovider and report uses it.
Is there any way to increase reporting performance of a report with lots of cell definitions ?
Thanks
SP

Arun,
Can you please explain what is precalculation and how to use it in Bex?
Thanks in advance.
SP

Similar Messages

  • Performance in the Server with the created report - Crystal Report 2008

    Hi
          We have developed a complex report and deployed in the server. It takes more time to process and once if the report created and we are trying to expand a group/navigate different pages, the same time delay is happeneing. Sometimes it takes more than a minute which really kills the performance. My client has accepted the delay while the report is being genrated but  they raise question like why it takes too much time just to display the created report.
      I tried keeping the created report in Session and rebind on page_load as well stored a copy on the server and rebind whenver postback happens. Both methods working simliar and no improvement the in the performance. Is there any way to kill the time delay in this.( we have an idea like , if we store the created report  at client machine and whenever postback happens just bind from client machine instead to hit the server back, Is this achievable)
    Any Help would helpful to me
    Thanks

    Hi
    What version of CR are you using?
         Crystal report 2008, I think its in subject of this thread itself. (Version 12.0.0.683)
    What if any CR SP have you applied?
        No
    What version of .NET are you using?
      .Net 3.5 using C# technology (.Net framework 3.5)
    What database are you using?
        SQL Server2008
    What connection type are you using?
       We have created a Stored Procedure and connected the SP to the crystal report.
    What are you comparing the performance to? E.g.; is it faster somewhere else? How much faster?
        No, we didnt compare anywhere. but my question is to avoid the delay in navigation of pages or selecting an item in the group tree. The report contains 100+ pages and client is accepting delay while creating the report but not during navigation or selection( why do the already created report takes more time(even in minutes) to render on navigation or selection and how to avoid the delay))
    Define "complex report ".
    Nothing complexity in the report even we have used oly less formulas(less than 5) but chats are included and used for each group( we have 6 groups in the report)
    Thanks

  • Change the Locale settings when scheduling the report with an Excel format?

    Hi,
    My reports have been scheduled with Excel format, however, when the report is viewed in Excel, the date fields are in the format "mm/dd/yyyy" i.e. English(United States) and they need to be in the format "dd/mm/yyyy" i.e. English (Ireland).
    I am wondering if there is any way to change the Locale settings within Business Objects?
    For the time being users have been advised to manually change the format within excel, however, this is not the preferred option.
    Any ideas?

    Hi,
    Thanks for the reply.
    The cell format is set as "Date dd/mm/yyyy" but it still runs as an Excel doc with the format mm/dd/yyyy.
    When I schedule the report to run as a Web Intelligence document and then manually export it to Excel, the Date format is correct i.e. dd/mm/yyyy.
    Any more ideas?
    Regards.

  • Unable to Schedule the Report with a user with Author Role.

    Hi,
    I tried to Schedule the Report using weblogic user(which has admin role) it worked perfectly. But when i try to login using User(which has author role) and when i try to schedule a report i am getting the following error. It is clustered Environment.
    [nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Authentication Failure.
    Error Codes: IHVF6OM7:OPR4ONWY:U9IM8TAC
    Location: saw.connectionPool.getConnection, saw.securitysubsystem.checkauthentication.runimpl, saw.securitysubsystem.checkauthentication, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access for the requested connection is refused.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 13039] The impersonator does not exist in the BI Security Service. (08004)
    Error Codes:
    Location: saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Error Codes: AGEGTYVF
    AgentID: /users/richard/Test Mail Report
    ...Trying Agent Get Response Content loop again.... Sleeping for 8 seconds.[nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Authentication Failure.
    Error Codes: IHVF6OM7:OPR4ONWY:U9IM8TAC
    Location: saw.connectionPool.getConnection, saw.securitysubsystem.checkauthentication.runimpl, saw.securitysubsystem.checkauthentication, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access for the requested connection is refused.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 13039] The impersonator does not exist in the BI Security Service. (08004)
    Error Codes:
    Location: saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Error Codes: AGEGTYVF
    AgentID:/users/richard/Test Mail Report
    ...Trying Agent Get Response Content loop again.... Sleeping for 6 seconds.[nQSError: 77006] Oracle BI Presentation Server Error: A fatal error occurred while processing the request. The server responded with: Authentication Failure.
    Error Codes: IHVF6OM7:OPR4ONWY:U9IM8TAC
    Location: saw.connectionPool.getConnection, saw.securitysubsystem.checkauthentication.runimpl, saw.securitysubsystem.checkauthentication, saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLDriverConnectW).
    State: 08004. Code: 10018. [NQODBC] [SQL_STATE: 08004] [nQSError: 10018] Access for the requested connection is refused.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 13039] The impersonator does not exist in the BI Security Service. (08004)
    Error Codes:
    Location: saw.delivers.rpc.getDeviceContent, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Error Codes: AGEGTYVF
    AgentID: /users/richard/Test Mail Report
    Exceeded number of request retries for method GetResponseContent.
    Can any one help me with this.
    Thanks
    Rondo.
    Edited by: RONDO on Dec 12, 2012 4:07 PM

    Check the Doc ID 1446877.1
    As per this doc Fix to apply patch 13553428:
    The fix to this issue is to apply patch for the following unpublished bug.
    Bug 13553428 - QA:BLK:DELIVER TO CORP. OID LDAP USERS FAILED WITH IMPERSONATOR DOES'NT EXIST.
    Patch 13553428: QA:BLK:DELIVER TO CORP. OID LDAP USERS FAILED WITH IMPERSONATOR DOES'NT EXIST.
    The patch is available on MOS and can be applied to all platforms.
    Or access via this link:
    https://updates.oracle.com/Orion/Services/download/p13553428_111160_Generic.zip?aru=14732325&patch_file=p13553428_111160_Generic.zip
    Please refer to the Readme. It is important to Stop the System before applying the patch. Then restart.
    During restart Weblogic should automatically detect that bimiddleware.ear has changed in the OH and automatically redeploy the application
    If helps pls mark as correct
    Edited by: Srini VEERAVALLI on Dec 12, 2012 7:39 PM

  • How to format the report with the aggregated value

    Hi,
    I have 2 characteristics and 3 KFs in the infocube.
    First field is Cost Center
    Second field is creation Date
    3rd field is KF1
    4th field is KF2
    5th field is KF3
    I have put the date field( in the row) as this is required for calculating formula for KFs. But I have set that as No display.
    The date in the info cube is as follows.
    Cost Ceneter  Date( no Display)   KF1     KF2      KF3
    CC1           01/01/2006          100     150      200
    CC1           02/02/2006          75      100      95
    CC1           05/02/2006          125      95      125
    CC2           01/02/2006          75       25      85
    CC2           02/02/2006          85       65      10
    As the Date field is in query set to No display so the date appearing in the report is as follows
    CC1       100        150        200
              75         100        95
              125          95        125
    CC2       75           25        85
              85           65        10
    But I want the aggregated value at cost senter level i.e.
    CC1       300         245       420
    CC2       160         90         95
    I can not remove the Date frield from query as there is a formula variable defined on the date field.
    Please let me know how to bring the report to the required format.
    Bill
    Message was edited by:
            Bill Bryan

    If you are in new Bex, you can do it.
    You will have to create another (set of) CKF on top of the current ones (which do exception aggregation on DOCNUM) and set the exception aggregation on date.
    Say you have
    CH1--CH2CH3--CKF1
    To have a 'before aggregation' behavior for CKF1 when CH3 is not present, you will create a CKF2 = CKF1 with exception aggregation on CH3.
    Now, if you want to remove CH2 and have the 'before aggregation' behavior you will need to create another CKF3 = CKF2 with exception aggregation on CH2.
    ie for each level of aggregation, you will have to define a new CKF/Formula with corresponding exception aggregation - this is what will be needed to get you your output.
    Message was edited by:
            Ajay Das

  • Printing an extra blank page at last in the report with result!

    Dear Team,
    I have one report  ZFI_KKKKK  i.e working fine with the result.
    The problem is that this report prints an extra blank page in the end of the report.
    It should not print the extra empty page. Itu2019s a bit annoying for some users.
    If you execute and print this and you will get a page with results and a blank page with just the title.
    Any input from your side to rectify the issue?
    Thanks and Regards,
    Sarkar

    Hi,
    change the line size and check.
    vijay Gurav

  • REGARDIN PERFORMANCE OF THE REPORT

    hi experts,
    i have a report which shows item wise purchase ledger based on the
    selection of plant and material type and GR dates (from date and to date).
    for getting data tables used r (ekbe,ekko,rbkp,rseg,mara,makt) ,problem is it is taking very long time to respond
    even if i select 2days gr dates(such vast amnt of data exists in db tables) , my reqiurement is i have to change the report
    or i have to write a new one , i have changed  the report,removed all joins and into coreesponding fields and *select ** and
    select with in the loops ,  but still the report is taking very long time to respond.
    can anybody pls suggest me the efficient way of data retrieving and if i go new report from where should i start.
    thanks & regards
    maheshlap

    Please find below few of suggested changes.
    1. Inplace of '=' use 'EQ'.
    2. put check of ITEKBE[] is not initlal otherwise it will bring whole database into internal.
    3. Read with binary search make sure table is sorted beforeloop.
    4. no sory inside loop
    5. no corresponding fields
    6. Try not to use table with headerline
    SELECT EKBE~EBELN EKBE~EBELP EKBE~BELNR --> Try to break it into two tables.
    EKBE~BUDAT EKBE~BWART EKBE~MENGE EKBE~LFBNR
    EKBE~MATNR EKBE~XBLN  EKBE~LSMEH  MARA~MEINS
    MARA~MTART EKBE~WERKS FROM EKBE  INNER JOIN MARA
    ON MARA~MATNR = EKBE~MATNR
    INTO TABLE ITEKBE WHERE EKBE~BUDAT
    IN S_B
    UDAT AND MARA~MTART IN S_MTART AND EKBE~MATNR
       IN S_MATNR AND EKBE~WERKS IN S_WERKS AND EKBE~VGABE EQ '1' AND BWART EQ '101
       AND ( EKBE~LFBNR eq EKBE~BELNR ). "OR  EKBE~LFBNR eq ' ' ).
      IF ITEKBE[] IS not INITIAL.-->shold be not initial else it will bring whole database in itekko
        SELECT EBELN LIFNR FROM EKKO INTO TABLE ITEKKO FOR ALL ENTRIES IN ITEKBE
             WHERE EBELN eq ITEKBE-EBELN AND LIFNR IN S_LIFNR AND LIFNR  '0000000960'.
        SELECT MATNR MTART MEINS FROM MARA INTO TABLE ITMARA FOR ALL ENTRIES IN ITEKBE
                WHERE MATNR = ITEKBE-MATNR AND MTART IN S_MTART AND MATNR IN S_MATNR.
        IF ITMARA IS not  INITIAL..-->shold be not initial else it will bring whole database in itekko
          SELECT MATNR MAKTX FROM MAKT INTO TABLE ITMAKT FOR ALL ENTRIES IN ITMARA
                             WHERE MATNR EQ ITMARA-MATNR.
        ENDIF.
      ENDIF.
      LOOP AT ITEKBE.
        ITAB-EBELN = ITEKBE-EBELN.
        ITAB-EBELP = ITEKBE-EBELP.
        ITAB-BELNR = ITEKBE-BELNR.
        ITAB-MENGE = ITEKBE-MENGE.
        ITAB-BUDAT = ITEKBE-BUDAT.
        ITAB-LSMEH = ITEKBE-LSMEH.
        ITAB-BWART = ITEKBE-BWART.
        ITAB-LFBNR = ITEKBE-LFBNR.
        ITAB-DMBTR = ITEKBE-DMBTR.
        ITAB-WERKS = ITEKBE-WERKS.
        ITAB-MATNR = ITEKBE-MATNR.
        READ TABLE ITMARA WITH KEY MATNR = ITEKBE-MATNR.---> Use Binary Search make sure data is sort befor loop
        IF SY-SUBRC = 0.
          ITAB-MTART = ITMARA-MTART.
          ITAB-MEINS = ITMARA-MEINS.
        ENDIF.
        READ TABLE ITEKKO WITH KEY EBELN  = ITEKBE-EBELN..---> Use Binary Search
        IF SY-SUBRC = 0.
          ITAB-LIFNR = ITEKKO-LIFNR.
        ENDIF.
        READ TABLE ITMAKT WITH KEY MATNR = ITEKBE-MATNR..---> Use Binary Search
        IF SY-SUBRC = 0.
          ITAB-MAKTX = ITMAKT-MAKTX.
        ENDIF.
        APPEND ITAB.
        SORT ITAB BY EBELN.--> Dont use sort insdie loop
      ENDLOOP.
      SELECT EKBE~EBELN EKBE~EBELP EKBE~BELNR
    EKBE~BUDAT EKBE~BWART EKBE~MENGE EKBE~LFBNR EKBE~MATNR EKBE~XWSBR
        EKBE~LSMEH FROM EKBE
        INNER JOIN MARA ON MARA~MANDT = EKBE~MANDT
           AND MARA~MATNR = EKBE~MATNR
          INNER JOIN EKKO ON EKKO~MANDT = EKBE~MANDT
           AND EKKO~EBELN = EKBE~EBELN
        INTO CORRESPONDING FIELDS OF TABLE ITAB1 WHERE EKBE~BUDAT IN S_BUDAT
          AND MARA~MTART IN S_MTART AND EKKO~LIFNR IN S_LIFNR
          AND EKBE~MATNR IN S_MATNR AND EKBE~WERKS IN S_WERKS AND EKBE~VGABE = '1'
            AND BWART IN ('102', '122') .  "and ekbe~XWSBR = ' '

  • The page cannot be displayed while running the report with web link

    Hello,
    I tried to run the report using a web link similar:
    http://hostname/reports/rwservlet?report=WRFTCKL.rdf&userid=use/pass@datbase&desformat=pdf&destype=CACHE&paramform=yes
    I am able to see the parameter form, but after I entered some parameter and submit, I got an error as:
    The page cannot be displayed.
    But if I run it with the paramform=no and attached the parameter/value pair at the end of the link, the report will show on the web.
    Anyone knows what is wrong?
    Thanks.

    try this sample report from
    http://www.alexyscorp.com/products.htm
    (Download the Forms Reports Integration based on run_report_object (FMB,RDF) )

  • Invalid Year error when refreshing the report with date prompt

    Hi All,
    I am working on BO XI 3.1 with Informix database.
    When refreshing the report without any date prompt the report is running fine,but when applying the date prompt it is giving the error message
    "Invalid year in the date".
    I have tried changing the value in the advance tab of the object property to 'yyyy-mm-dd hh:mm:ss'
    But it also din't work for me.
    Please suggest.
    Thanks and Regards,
    Rishabh

    Hi Experts,
    Thanks for your suggestions.
    Since changing the PRM file was not a fesiable solution for us.
    We have manged to find a work around to solve this issue
    We have created the filters at universe level with following formula for all the date objects which we ere using at report level as a prompt:
    @Select(classname\objectname)=TO_DATE(@Prompt('Enter Date:','D',,mono,free,not_persistent), '%Y/%m/%d')
    Although when we parse this formula it wil give an error message saying 'illigle operation',
    still it will work when we use this at report level.
    Thanks and Regards,
    Rishabh

  • OpenDocument - Parameters is lost when opening the report with token

    Hello,
    we want to migrate our BO Enterprise (XI R3) from Tomcat to IIS.
    We developed an application in which you can open reports by using the opendocument-url.
    It was no problem with our old BO-Enterprise Server (tomcat/jsp), but with our new BO-System (IIS / aspx) the parameter is not passed, so that you have got to fill out the parameter mask, before the report is opened.
    http://servername/OpenDocument/opendoc/openDocument.aspx?iDocID=1926&lsSParameter=307&token=....2082J38Mfsg5PvRXmk002080JuLfwCe5XZw0T0sT
    Any suggestions?
    Thanks,
    Peter

    So does it still prompt for the parameter even if you don't pass the token and you manually log on?
    If so, you're asking in the wrong forum - you'd ask in the report-type-specific forum.
    Sincerely,
    Ted Ueda

  • Error on the reports with drill-through links on SSRS 2012 SP2 -- Invalid URI: The Uri string is too long

    Hi, We are migrating SSRS 2008 R2 reports to SSRS 2012 SP2. (PS. SSRS 2012 SP2 has been applied.) Everything went smooth expect some reports which were using reporting services. These reports have some drilin-through actions and was passing in a huge
    xml parameter. I referred to some other posts in which there were also some similar issues like "The Uri string is too long."  but they're different. My reports can be opened and the error only occurred when accessing the drill-through actions.
    As I know, Microsoft has provided the fix for the known issue "The Uri string is too long." in sp1 but it looks it can't cover this kind of situation since I have installed the SSRS SP 2. Is there any solution? In addition, there's no such
    issue on SSRS 2008 R2.
    Thanks,
    onizga

    Hi onizga,
    According to your description that you are migrating SSRS 2008 R2 reports to SSRS 2012 SP2, after migration you got some error like “The Uri string is too long” which only occurred when accessing the drill-through actions, right?
    Usually, the issue can be caused when you try to pass some parameters that cause the URL length to exceed 65,520 characters for a Microsoft SQL Server 2012 Reporting Services (SSRS 2012), you cannot render the report, and you may receive the following error
    message:
    The value of parameter 'param' is not valid. (rsInvalidParameter).Invalid URI: The Uri string is too long.
    This is an known issue and already have the hotfix SQL Server 2012 Service Pack1 Cumulative Update 9 (CU9) as you know, you can try to reinstall this hotfix to fixed this issue:
    http://support.microsoft.com/kb/2916827 .Any issue after applying the update, please post it on the following thread or you can submit an feedback:
    http://connect.microsoft.com/SQLServer/feedback/details/788964/ssrs-2012-invalid-uri-the-uri-string-is-too-long 
    Similar threads for your reference:
    SSRS - The value of parameter 'param' is
    not valid. ---> System.UriFormatException: Invalid URI: The Uri string is too long.
    Microsoft.ReportingServices.Diagnostics.Utilities.InvalidParameterException:
    The value of parameter 'pSetOfScopes' is not valid. ---> System.UriFormatException: Invalid URI: The Uri string is too long
    If you still have any question, please feel free to ask
    Regards
    Vicky Liu
    If you have any feedback on our support, please click here

  • Possiblity to expand / narrow / reset all drillstroughable parts of the report with one button

    Hi,
    has anyone done that bevore? Is this possible ..
    I have parts of a big Report, that are expanded (where i can see all detaildata) and parts where the detaildata is there, but arent showed by Standard (are narrowed).
    I wish i could have a button, where i can expand / narrow all expandable/narrowable parts of the reports from 1 button.
    Why?
    1) To print the Report i could press "Expand all" and then print, so i get all the detials of the Report.
    2) for a better first look i could Show all expandable reportparts narrowed. Then click expand all to see all Details.
    and maybe to reset all expandable parts to the Default (Settings when loaded) there could be a reset button to.
    Any Chance?
    THX, greets pib

    Hi Pe.bo,
    Per my understanding that you want to add an button in the report to control the Expand All and Collapse All of the drill down report, right?
    I have tested on my local environment and we can do this by creating an parameter to control the show/hide of the details, We can add two radio button image (Radio on, Radio Off)and add the "Go to Report"action on the image which
    display most similar to the button and will display the result of Expand All and Collapse All once you click on the radio button.
    Step by Step details information in below article for your reference to help you achieve the result:
    http://blogs.interfacett.com/how-to-implement-expand-allcollapse-all-for-drill-down-in-sql-ssrs
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu

  • Hide a folder but provide access to the report with in it for XIR2

    Is there any way to hide a folder and provide access to the report in XIR2 while using infoview?

    Hi Ganapathi,
    I have resolved the issue by setting the viewobjects to not specified for that particular group for a partiuclar folder in CMC.
    Now the user in not able to see folder in Infoview but able to access the report within it.
    Regards,

  • Performance of the Report Program

    Hello experts,
    I had a requirement like following
    Selection parameters:
    Material (lips-matnr)
    Sold to party(likp-kunag): can hardcode it to 5090
    Sales Org(likp-vkorg)
    Plant(lips-werks) : hard code it to plant:9000
    Sales order(likp-vbeln)
    Actual goods movement dates(likp-wadat_ist)
    Invoice number
    Sales order
    Output
    material numberlips~matnr ( should Display only S* materials and material type FERT)
    Serial number of the device shipped (objk-sernr)
    Delivery number (lips~vbeln)
    Invoice number (vbrp-vbeln)
    Invoice price=Vbrp-vbeln/quantity (invoice price)
    Notification number (Viqmel-QMNUm)
    KBB Repair Level(VIQMEL-QMTXT from QMCOD )
    KBC Repair level(VIQMMA-MNCOD from KBC-SM07 code group(VIQMMA-MNGRP))
    and I wrote a program but its taking lot of time to run
    Can anyone help me in changing the logic of the program,
    TABLES: likp, lips, vbfa, vbak.
    TYPE-POOLS: slis.
       / Selection and Input Parameters
    SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-003.
    SELECT-OPTIONS: s_matnr FOR lips-matnr,
                    s_kunag FOR likp-kunag.
    SELECT-OPTIONS: s_vkorg FOR likp-vkorg NO INTERVALS,
                    s_werks FOR lips-werks.
    SELECT-OPTIONS: s_vbeln FOR likp-vbeln,
                    s_waist FOR likp-wadat_ist.
    SELECT-OPTIONS: s_vgbel FOR lips-vgbel.
    SELECTION-SCREEN END OF BLOCK block2.
    DATA: gt_fieldcat TYPE slis_t_fieldcat_alv.
    TYPES: BEGIN OF ty_data,
            matnr LIKE lips-matnr,
            lsernr LIKE mase-lsernr,
            vbeln LIKE likp-vbeln,
            invno like vbrp-vbeln,
            netwr like vbrp-netwr,
            qmnum LIKE viqmel-qmnum,
            mngrp like viqmma-mngrp,
            mncod like viqmma-mncod,
           END OF ty_data.
    DATA: gt_data TYPE TABLE OF ty_data WITH HEADER LINE.
    START-OF-SELECTION.
      PERFORM get_data.
      IF NOT gt_data[] IS INITIAL.
        PERFORM display_data.
      ELSE.
        MESSAGE s000(z1) WITH 'No data found'.
      ENDIF.
    *& Form get_data
    FORM get_data.
      SELECT lips~matnr mase~lsernr likp~vbeln vbrp~vbeln vbrp~netwr
              viqmel~qmnum viqmel~qmcod viqmma~mngrp viqmma~mncod
      INTO CORRESPONDING FIELDS OF TABLE gt_data
      FROM likp INNER JOIN lips ON lips~vbeln = likp~vbeln
                INNER JOIN vbrp ON vbrp~vgbel = lips~vgbel AND
                                   vbrp~matnr = lips~matnr
                INNER JOIN mase ON mase~matnr = lips~matnr
                INNER JOIN viqmel ON viqmel~matnr = lips~matnr AND
                                     viqmel~serialnr = mase~lsernr
                INNER JOIN viqmma ON viqmma~qmnum = viqmel~qmnum
                  WHERE lips~matnr IN s_matnr
                  AND lips~werks IN s_werks
                  AND likp~kunag IN s_kunag
                  AND likp~wadat_ist IN s_waist
                  AND lips~vgbel IN s_vgbel
                  AND likp~vkorg IN s_vkorg
                  and likp~vbeln in s_vbeln
                  AND lips~matnr LIKE 'S%'
                  AND EXISTS ( SELECT * FROM mara WHERE matnr = lips~matnr
                                             AND mtart = 'FERT' ).
    ENDFORM. " get_data
                 & Form display_data
    FORM display_data.
      DATA: lv_repid TYPE sy-repid.
      lv_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
           EXPORTING
                i_program_name     = lv_repid
                i_internal_tabname = 'GT_DATA'
           CHANGING
                ct_fieldcat        = gt_fieldcat[].
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                i_callback_program = lv_repid
                it_fieldcat        = gt_fieldcat
                i_save             = 'A'
           TABLES
                t_outtab           = gt_data.
    ENDFORM.

    U can try two things instead of the EXISTS where clause.
    1. U have select-option for matnr so need to use that
    2. Inner join LIPS to mara on matnr and apply the filter on MTART field.
    SELECT lipsmatnr maselsernr likpvbeln vbrpvbeln vbrp~netwr
    viqmelqmnum viqmelqmcod viqmmamngrp viqmmamncod
    INTO CORRESPONDING FIELDS OF TABLE gt_data
    FROM likp INNER JOIN lips ON lipsvbeln = likpvbeln
    INNER JOIN vbrp ON vbrpvgbel = lipsvgbel AND
    vbrpmatnr = lipsmatnr
    INNER JOIN mase ON masematnr = lipsmatnr
    INNER JOIN mara on lipsmatnr = maramatnr
    INNER JOIN viqmel ON viqmelmatnr = lipsmatnr AND
    viqmelserialnr = maselsernr
    INNER JOIN viqmma ON viqmmaqmnum = viqmelqmnum
    WHERE lips~matnr IN s_matnr
    AND lips~werks IN s_werks
    AND likp~kunag IN s_kunag
    AND likp~wadat_ist IN s_waist
    AND lips~vgbel IN s_vgbel
    AND likp~vkorg IN s_vkorg
    and likp~vbeln in s_vbeln
    AND lips~matnr LIKE 'S%'
    and mara~mtart = 'FERT'.
    Regards
    Anurag
    Message was edited by: Anurag Bankley

  • SSD performance in the future with the T500

    SSDs apparently perform slower as they are filled up and blocks are rewritten. Here is an article on it.
    Will there be a firmware update to solve the problem on the T500's (2081-CTO) SSD?
    Will firmware updates require wiping the data on the drive?
    Lenovo shipped my Vista OS with automatic defrag, superfetch and prefetch enabled. Bad Lenovo! They should all be turned off for an SSD.

    Hi olddoc, and welcome to the Lenovo User Community!
    This is a very interesting question.
    As I understand it, Windows 7 will be the first version of Windows which has optimizations specifically for SSD's.
    The Trim operation mitigates the performance problem you mention. For it to work you obviously need Windows 7, and an SSD which supports Trim. 
    Some SSD manufacturers have made it clear their drive firmware will be updated to support Trim (e.g. Intel), some take their own approach to mitigating the problem, and some have not yet said what their approach will be.
    Windows 7 detects SSD's and automatically chooses the right settings for SSD operation (defrag, superfetch, prefetch, readyboost, etc.).
    As SSD prices fall and Windows 7 releases this is going to be of interest to more Community members...
    I don't work for Lenovo. I'm a crazy volunteer!

Maybe you are looking for

  • FM to create & update Shipment Cost Condition Records (TK11/12)

    Hi All,    I am looking for a FM which can update Price and Validity dates in existing Shipment Cost condition records and also able to create a new shipment cost condition record. I have tried using BAPI_PRICES_CONDITIONS. It returns a success messa

  • MULTIPAL SHIP TO PARTY  IN ONE SALES ORDER

    HI GURU                 I WANT TO KNOW ANY POSSIBALTY IN A ONE SALES ORDER WITH MULTIPAL SHIP TO PARTY AT HEADRE LEVEL NOT AT IEAM LEVEL . I WANT TO AT HEADER LEVEL IF YES THN PLZ HELP ME OUT THANKS & REGARDS VISHAL

  • Binary to letters

    Hi there, I am really new to Java, however very keen to learn this language. I have been trying to write a code that which enables me to translate binary values into letters. For example if the user enteres the binary value of 1000001, the out come s

  • 12.22.2009 - BIS/BBM/Email Outage

    Just curious if anyone has heard any updates on the outage.  I'm in PA (VZW) and haven't had internet service for nearly 3 hours.  I've tried getting updates from VZW to no avail.  I'm trying my best to exercise patience, but would just like a status

  • Ipad mini no music

    Just got my Ipad mini, downloaded all my music from the itunes store online only to have it NOT show in the music app..... Whats the story here