Report Output not displaying

Hi folks,
I am experiencing a strange problem. I created a master-detail report in the builder that takes a single user defined parameter.
On running the report and entering the requested parameter value, all i get is a report that shows no data at all. All i get is a title.
I thought there was a problem with my parameter value, but further examination showed that was not the case. I then created another report that is similar to the preceding one but which required no parameter. i got the same result.
All other reports created exhibit the same behavior.
Any clues as to what's going on. Only started today.
Thanks a lot.
PS: Report builder keeps crashing. Latest error message was as follows
'instruction at "0x77f58bdd" referenced memory at "0x50207373". the memory could not be "written".
click on OK to terminate the program.'
It's very frustrating. Can anyone help out.
I have a lot of RAM(384MB) and i am running Win XP Professional on a Pentium 1.6GHz PC.
Thanks.

hello,
this sounds like a job for oracle support services. the only thing i can advise you is to upgrade to the latest patchset of whatever version of reports you are on to try to get rid of the crashes.
about the behaviour you describe with the report not showing any output, this is very hard to solve here via the forums as you are basically saying that none of your reports returns any data, which is very strange.
regards,
philipp

Similar Messages

  • Report is not displayed on the browser

    We have a 9iAs Oracle application(built in developer6i(forms and reports) patch12).The database version is Oracle 9.2.0.6.0.My problem is I have a report that is called from the form. If the print_receipt = 'Y', display the report.I have also an afterreport trigger that updates this print_receipt to 'N'.Somehow the afterreport trigger fires before the report is display thus giving a blank pdf output on the browser.My user has new pc and new operating system, Windows XP but they're still using Novell Netware for signing on to the network. Before she does not have any problem displaying the report, she was using Windows NT4 and Novell Netware for signing on to the network.Is there any limitations in Windows XP that interferes with the report? Is this known problem in report's afterreport triggers?Is there a workaround here so the report can be displayed?Thanks for the help.

    Hi,
    Try this may be it will help.
    Go to Iexplorer property - settings - Change (Check for newer version of stored pages to Automatically.
    This error is coming because the report runs twice, so the after report trigger is fired before anything is displyed & hance your report is not displayed.
    Thanks,
    Awadh

  • Why the SQL Monitor report do not display?

    Why the SQL Monitor report do not display?
    SQL> set serveroutput on
    SQL> variable my_rept CLOB;
    SQL> BEGIN
      2  :my_rept :=DBMS_SQLTUNE.REPORT_SQL_MONITOR();
      3  END;
      4  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.93
    SQL> print :my_rept
    MY_REPT
    SQL Monitoring Report
    SQL>

    You can you hint /*+MONITOR*/, and then use this procedure to display the monitor report:
    SQL> select /*+ monitor */ *from hr.employees where salary>10000;
    SQL> variable my_rept CLOB;
    SQL> BEGIN
      2  :my_rept :=DBMS_SQLTUNE.REPORT_SQL_MONITOR();
      3  END;
      4  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:01.21
    SQL> print :my_rept
    MY_REPT
    SQL Monitoring Report
    SQL Text
    select /*+ monitor */ *from hr.employees where salary>10000
    Global Information
    Status              :  DONE (ALL ROWS)
    Instance ID         :  1
    Session ID          :  170
    MY_REPT
    SQL ID              :  4tj5p5m6qrkmp
    SQL Execution ID    :  16777216
    Plan Hash Value     :  1445457117
    Execution Started   :  04/30/2010 10:51:23
    First Refresh Time  :  04/30/2010 10:51:23
    Last Refresh Time   :  04/30/2010 10:51:23
    | Elapsed |  Other   | Fetch | Buffer |
    | Time(s) | Waits(s) | Calls |  Gets  |
    ...

  • Output of the report is not displaying based on the layout

    Hi,
    We are not able to get the report based on the layout. We have found that F4 help is not working for the layout selection, as there are so many layoust mantained for the report.The FM REUSE_ALV_VARIANT_F4 is used to select the variant.But we have checked the table LTDX, there are no lay out is there for this report.hence the out out of the report is always displaying based on one standrd layout.
    Kindly guide me to resolve this issue.
    Regards,
    Arundhati

    Hi, follow these steps:
    1 - Variant on Screen
    SELECTION-SCREEN BEGIN OF BLOCK bloco2 WITH FRAME.
    PARAMETERS:       p_layout LIKE disvariant-variant.
    SELECTION-SCREEN END OF BLOCK bloco2.
    2 - F4 on field
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_layout.
      PERFORM busca_variantes.
    AT SELECTION-SCREEN ON p_layout.
      IF NOT p_layout IS INITIAL.
        PERFORM verifica_variante.
      ENDIF.
    3 - Functions for F4
    3.1 Form  busca_variantes
    FORM busca_variantes.
      DATA: variant_exit(01) TYPE c,
            variante         LIKE disvariant.
      variante-report = sy-repid.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                is_variant    = variante
                i_save        = 'A'
           IMPORTING
                e_exit        = variant_exit
                es_variant    = v_variante
           EXCEPTIONS
                not_found     = 1
                program_error = 2
                OTHERS        = 3.
      IF sy-subrc = 0.
        IF variant_exit = space.
          p_layout = v_variante-variant.
        ENDIF.
      ENDIF.
    ENDFORM.                    " busca_variantes
    3.2 - FORM verifica_variante
    FORM verifica_variante.
      v_variante-report  = sy-repid.
      v_variante-variant = p_layout.
      CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
           EXPORTING
                i_save        = 'A'
           CHANGING
                cs_variant    = v_variante
           EXCEPTIONS
                wrong_input   = 1
                not_found     = 2
                program_error = 3
                OTHERS        = 4.
      IF sy-subrc  0.
        MESSAGE w368(00) WITH p_layout ' não é uma variante válida'.
        CLEAR p_layout.
      ENDIF.
    ENDFORM.                    " verifica_variante
    4 - Calling the variant on reuse function
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    is_variant               = v_variante
    5 - Global DATA
    DATA:      v_variante   LIKE disvariant.

  • Printing issue of report output list display

    Dear All,
    I need to print the report output display list. So, for this I have used the following code. But it's not printing.
    Will you please check the below code and kindly let me where should I change/modify in the code.
    START-OF-SELECTION.
      SET PF-STATUS 'ZGUI_STATUS1'.
    END-OF-SELECTION.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'PRNT'.
         DATA: l_params TYPE pri_params,
               l_valid TYPE c,
               l_arc_params TYPE arc_params.
         CALL FUNCTION 'GET_PRINT_PARAMETERS'
           EXPORTING
             destination            = l_v_usr01-spld
             copies                 = 1
             list_name              = 'TEST'
             list_text              = 'Test NEW-PAGE PRINT ON'
             immediately            = 'X'
             line_size              = 220
             release                = 'X'
             mode                   = 'CURRENT'
             no_dialog              = 'X'
           IMPORTING
             out_archive_parameters = l_arc_params
             out_parameters         = l_params
             valid                  = l_valid
           EXCEPTIONS
             archive_info_not_found = 1
             invalid_print_params   = 2
             invalid_archive_params = 3
             OTHERS                 = 4.
    NEW-PAGE PRINT ON PARAMETERS l_params ARCHIVE PARAMETERS
                              l_arc_params NO DIALOG.
          PERFORM display_data.
          NEW-PAGE PRINT OFF.
      ENDCASE.
    Many Thanks,
    Ranjan

    Dear Amit,
    The font size is not increasing, in-fact, if I use the code like the below, it's not even printing, I am checking different ways,
    DATA: lay   TYPE pri_params-paart,
          lines TYPE pri_params-linct,
          rows  TYPE pri_params-linsz.
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'PRNT'.
          lay = 'X_60_85'.
          lines = 60.
          rows  = 85.
          DATA: l_params TYPE pri_params,
                l_valid TYPE c,
                l_arc_params TYPE arc_params.
          CALL FUNCTION 'GET_PRINT_PARAMETERS'
            EXPORTING
             destination            = l_v_usr01-spld
              destination            = 'LPIN'
              copies                 = 1
              list_name              = 'TEST'
              list_text              = 'Test NEW-PAGE PRINT ON'
              immediately            = 'X'
              layout                 = lay
              line_count             = lines
              line_size              = rows
             line_size              = 220
              release                = 'X'
              mode                   = 'CURRENT'
              no_dialog              = 'X'
            IMPORTING
             out_archive_parameters = l_arc_params
              out_parameters         = l_params
              valid                  = l_valid
            EXCEPTIONS
              archive_info_not_found = 1
              invalid_print_params   = 2
              invalid_archive_params = 3
              OTHERS                 = 4.
          NEW-PAGE PRINT ON   PARAMETERS l_params NO DIALOG.
          PERFORM display_data.
          NEW-PAGE PRINT OFF.
      ENDCASE.
    Kindly let me know if you have some new answer?
    Kind Regards,
    Ranjan

  • Report output not using full page.

    I have a report that does not use the full screen to display.  The output display on about a 1.5 to 2 inch section of the page and the rest is white space.  How do I get it to use the full page?

    Hi Raymist123,
    If I understand correctly, the issue which you occurred is that the report content only displayed about 1.5 to 2 inch. As per my understanding, I think this issue is caused by the report content including all the report items (table, matrix, list, chart,
    gauge, text boxes etc.) is only occupied 1.5 to 2 inch on the report design surface. If in this case, we can try to expand the sizes of all the report items to fix the issue. And please make sure that the PageSize of the report have set to 8.5 x 11.
    If this issue is still existed, could you please post the screenshot about the design surface and the all the size properties? Then we can make further analysis.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • RDF Report Output Got Displayed in Special Chars

    Team,
    RDF report output is getting displayed in special chars.
    when i query the data from SQL Developer, the data is displayed fine.
    But when the data is displayed in the report the characters(single quotes, double quotes) are not displayed properly, they are displayed in a special char.
    why it is happening so . Is it related any font missing ? Plz do let me know.
    thanks
    sridhar

    (single quotes, double quotes) These are probably not really single and double quotes. Check the ASCII value.
    drop table ttest;
    create table ttest (col1 varchar2(10));
    insert into ttest values ('''Quote''');
    insert into ttest values ('"Quote"');
    select * from ttest;
    select dump(col1) from ttest;
    Table dropped.
    Table created.
    1 row created.
    1 row created.
    COL1     
    'Quote'  
    "Quote"  
    2 rows selected.
    DUMP(COL1)                                                                     
    Typ=1 Len=7: 39,81,117,111,116,101,39                                          
    Typ=1 Len=7: 34,81,117,111,116,101,34                                          
    2 rows selected.

  • Report does not display data

    I have a crystal XI report that when run will not display data; if the report should be six pages that is the number of pages that will be generated.  The problem is that the pages show up as blank.  If the blank pages are exported the exported file will contain data, if the report is sent to a printer the report will contain data, but no data is ever displayed on the screen.  This report has been loaded on 15 other computer and runs perfectly. Any help would be greatly appreciated.  By the way if this user logs in remotely and runs this report it will display data.

    A few ideas;
    1) Make sure you are working with [SP 6|https://smpdl.sap-ag.de/~sapidp/012002523100015859952009E/crxir2win_sp6.exe].
    You are on SP 2...
    [SP6 msm|https://smpdl.sap-ag.de/~sapidp/012002523100000634032010E/crxir2sp6_rdc_mm.zip]
    2) Try different resolutions
    3) Try to see if there is an updated video driver
    4) Make sure there is a default printer driver installed.
    5) Run [Modules|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip] see if there are any differences in dlls loading on a box that works and the one that does not (CR and non CR dlls).
    Ludek
    Edited by: Ludek Uher on Feb 22, 2010 10:32 AM

  • Report does not display correctly when exported to adobe

    Post Author: mgisonda
    CA Forum: Crystal Reports
    Hopefully someone can help me. I am currently running Crystal Reports profession version 10. I have applied service pack 1 and recently service pack 6. I am having a problem with the display of a report within adobe. My report is a bit complex. It is a 8.5x11 one page landscape report. It is set up in a grid format with multiple lines and boxes drawn on it. Here is the report information: Report Definition----
    Number of Database Fields:   144     Number of On-Demand Formulas:   40     UFLs in use:   None     Page N of M Used:   No     File Format Schema:   10.2.0    I created the report using CR developer. I use the report within a web project. The user requests the report and it returns to the user, an adobe file of the report. However, this is where I am having trouble. On my local development machine, the report displays fine. In CR developer, the report displays fine. When I export the report to Adobe from the CR Developer, it exports fine. BUT when I run the report from my web site, the adobe file that is returned is broken up over 42 pages. What seems to be actually happening is the return adobe file seems to think that the page size is 2in X 4in.. Where it got that, I don't know.The server running IIS is a windows server 2003. It has adobe 8.0 reader on it. I also have Crystal 10 Server Distribution loaded on it. And I have loaded CR10 Service pack 6 on that as well. Below is the web code that is used to display the report:Imports CrystalDecisions.Shared'Imports CrystalDecisions.CrystalReportsImports CrystalDecisions.CrystalReports.EngineImports CrystalDecisions.CrystalReports.Engine.ReportClassPublic Class PrintInspectionLayout    Inherits System.Web.UI.Page   Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load        Dim mNotInSpringDesign As String        Dim mPartType As String        mNotInSpringDesign = Request.QueryString("NotInSpringDesign")        If mNotInSpringDesign = "TRUE" Then            mStockCode = Request.QueryString("StockCode")            lblNotInSpringDesign.Text = "Stock Code #: " & mStockCode & " does not exist in Spring Design."            lblNotInSpringDesign.Visible = True            Response.Write("<br><br><br><br><br><font color='blue'><center><a href='SpringDesignWildCardSearch.aspx'>Go To Search Page</a></center></font>")        Else            mStockCode = Request.QueryString("StockCode")            Dim pList As ParameterValues = New ParameterValues            Dim paramName, paramValue As String            Dim pV As ParameterDiscreteValue = New ParameterDiscreteValue            Dim Report As ReportDocument= New ReportDocument            Dim expOpts As ExportOptions = New ExportOptions            Dim pdfRtfWordFormatOpts As PdfRtfWordFormatOptions = expOpts.CreatePdfRtfWordFormatOptions            Dim expFormatOpts As ExportFormatOptions = expOpts.ExportFormatOptions            expOpts.ExportFormatType = ExportFormatType.PortableDocFormat            mPartType = Request.QueryString("PartType")            'SELECT THE INSPECTION LAYOUT TYPE TO PRINT            Select Case mPartType                Case Is = "C"                    Report.Load(MapPath("./Reports/CompressionLayout.rpt"))                    'Report.Load(MapPath("./Reports/PCAR.rpt"))                Case Is = "E"                    Report.Load(MapPath("./Reports/ExtensionLayout.rpt"))                Case Is = "T"                    Report.Load(MapPath("./Reports/TorsionLayout.rpt"))                Case Is = "W"                    Report.Load(MapPath("./Reports/WasherLayout.rpt"))                Case Is = "F"                    Report.Load(MapPath("./Reports/FreeFormLayout.rpt"))                Case Else            End Select            pV.Value = mStockCode            pList.Add(pV)            Report.DataDefinition.ParameterFields("StockCode").ApplyCurrentValues(pList)            Response.ClearContent()            Response.ClearHeaders()            Response.ContentType = "Application/pdf"            Report.ExportToHttpResponse(expOpts, Response, False, "")            Report.Close()        End If    End Sub    Any ideas as to the solution? Why is it not displaying correctly? I have spent two days researching every FAQ  to try to find an answer, but to no avail. Please any help would be greatly appreciated. ThanksMike   

    Hi Paul
    You're more likely to get an answer to this if you post in the UNIX forum.
    By the looks of it, you may have a problem with your fonts.

  • Stock in warehouse report - value not displayed.

    In the "Stock in warehouse report" I selected this option: Price source = Last purchase price.
    In the report, for an item, the value in the field "Item Price" is not displayed.
    This item has a good receipt (with value) in this year.
    Why the value is not displayed?
    Thanks
    Paolo

    Paolo...
    1.  Did that receipt get paid for with an AP Invoice (when last purchase price is updated)?
    and
    2.  Did you run an Inventory Audit Report before running the Inventory in Warehouse Report?
    To see this maybe you can go into SAP OEC DEMO and create a new item, then create a PO - run the two reports, copy to Goods Receipt PO - run the two reports, and then copy to AP Invoice - run the two reports.  You will see the difference.
    Accounting point - an item is not really valued until the AP Invoice is processed.  Only then do you know what the actual purchase cost is for a product.
    Regards - Zal

  • Report output not coming correctly

    Hi All,
    my query is like
    select 'gggohpoopiokoljmkjjg@@@@@' record from dual;
    where record string's length is more than 2000 characters.
    I am using oracle report for this purpose as i have some other validations associated with it.
    i am printing the report output in a flat file.i want ALL THE OUTPUT SHOULD COME IN ONE LINE.
    but this is not happenning so...for the string lengths more than 1000 it's coming in diff line.
    How can i make sure that my output file WILL BE IN SINGLE LINE.
    i tried in unix vi editor i can give 3000 charecters but it doesn't go to the second line.
    any help on this issue will be helpful
    thanks in advance

    If there's no easy way to do it, you may use a "special character", like chr(xx), as your long line delimiter to chop a line into a couple of lines. Then you write a very simple C program to post-process the report output file to remove these "special character".
    If all characters are possible in your report file, you may use a string as the delimiter.

  • Servlet output not displayed properly in Internet Explorer

    Hi All,
    I'm developing a servlet which uploads a file. After the servlet parses the request body, it stores the file contents as a binary string in the database. While displaying the contents of the attached file, the IE(Internet Explorer) is ignoring all the newlines and spaces. IThe same uploaded file when viewed through Firefox browser is being displayed properly. I've added some debug statements to print the filecontent before sending it to servlet output stream. They look exactly as they were in the uploaded file. The MIME type is application/octet-stream.
    I've also made the response to accept "ISO-8859-1" and "UTF-8" charsets, yet the IE is not rendering the file contents properly. The code looks like this,
    response.setContentType("text/html; charset= ISO-8859-1, UTF-8");
    byte[] buff = attachment.getAttachObject();
    OutputStream out = response.getOutputStream();
    out.write(buff);
    out.close();
    I've tried using PrintWriter also. I've tried changing the content types, character encodings of request and response objects, still couldn't resolve the issue. What really baffles me is that when it's displaying properly in Firefox, why can't it render properly in IE? I'm using Win XP SP2, and IE version is 6.0.29. The content which is being sent to the output stream contains newline and space characters, but they are not displayed in the browser. Did any one face this sort of issue? Your help is highly appreciated.
    Thanks,
    Tarun.

    Hi,
    Thanks for looking into the issue. Let me tell you that I've tried keeping various content-types like text/plain, text/xml etc, but in none of those cases the IE rendered the output properly. But with the same content-type i.e text/html or text/plain, Firefox is able to render the file content properly. I've tried a brutal force approach like below,
    response.setContentType("text/plain");
    PrintWriter out = response.getWriter();
    String str = new String(attachment.getAttachObject());
    char[] buff = str.toCharArray();
    for(i=0;i< buff.length; i++)
    int n = (int)buff;
    if(n == 10)
    out.println();
    else
    out.print(buff[i]);
    out.close();
    I was trying to print a newline whenever I find a newline character in the file content. Even this didn't work. Please suggest me some way to get rid of this problem.

  • Some reports are not displayed -- JInitiator 1.3.17 to JRE 1.6.43

    We have our Medical Suite developed using Oracle Forms 10gR1(9.0.4) version.As we came to know that JInitiator is no more supported from Oracle and it has many problems Windows 7 64 bit esp.., with IE (9.0) recently we have migrated the Client PC's from JInitiator 1.3.17 to JRE 1.6.43.
    Unfortunately when we print the reports, some of the reports are being displayed and the other reports are not being displayed ( No action upon on clicking print button).
    But when we revert back to JInitiator all the reports are working fine without any change in IE configuration. So can someone give me the probable cause for this behaviour.
    Edited by: Chaitu on Mar 17, 2013 8:57 AM

    Chaitu wrote:
    If the parameter are written in multiple lines using concatenation then there is no problem, but some places we made the DESTYPE OR CACHE OR DESFORMAT in different lines and it is working fine when we used Jinitiator 1.3.17.
    Once we changed to JRE, it stopped working maybe because the command cannot be issued to browser since it is incomplete.
    Is 10.1.2.3 a stand alone patchset given by Oracle for migrating 10g R1 to 10g R2 or there are some other patches given before this patchset(10.1.2.3).
    I am asking this because most of the times, Oracle releases a patch in sequential order and they should be installed in the same order.
    For example In order to install Enterprise Manager 10g Grid Control Release 5 (10.2.0.5), we must have 10.2.0.1.0 (10.2.0.2.0 for Windows) release up and running. So I was not sure whether this patch can be installed alone without any other combinations directly. Please enlighten me if you can.
    Hi Chaitu,
    patchset(10.1.2.3) is applicable for the following releases only:
    Oracle Application Server 10g Release 2 (10.1.2.0.0)
    Oracle Application Server 10g Release 2 Standard Edition One (10.1.2.0.1)
    Oracle Application Server 10g Release 2 (10.1.2.0.2)
    Oracle Application Server Forms and Reports Services (10.1.2.0.2)
    Oracle Application Server Portal 10g Release 2 (10.1.4)
    Oracle Application Server Portal 10g Release 2 Patch Set 2 (10.1.4.1)
    Oracle Developer Suite 10g (10.1.2.0.2)
    Oracle Business Intelligence 10g Release 2 (10.1.2)
    Oracle Business Intelligence 10g Release 2 (10.1.2.0.2)
    Oracle Business Intelligence Tools 10g Release 2 (10.1.2)
    Oracle Business Intelligence Tools 10g Release 2 (10.1.2.0.2)
    Oracle Business Intelligence Tools 10g (10.1.2.0.2) that shipped as part of Oracle Developer Suite 10g Release 2 (10.1.2)
    OracleAS 10g Release 2 Patch Set 1 (10.1.2.1.0)
    OracleAS 10g Release 2 Patch Set 2 (10.1.2.2.0)
    Hope this helps
    Hamid
    * batter discuss at {forum:id=82} forum.

  • XL Reporter Do Not Display Blank Records

    hey all,
    I've built a standard P&L Budget report in XL Reporter with parameters for each segment of the account code as made possible by patch 02.  However, when I uncheck "Do not display blank records," the generated report lists an instance of each account for each segment that I've chosen in the parameters.
    The selections for the account segmentation don't seem to filter the accounts themselves, instead they filter the balances of each account.  Does anyone know why it only filter's the balances rather than the accounts themselves and ends up repeating the accounts for each segment selected?  Is this a bug?
    thanks in advance!
    Kevin Lee

    Hi Kevin,
    Seems that noone in this forum can answer your question. Maybe this is related to the fact that the main focus here is the SAP Business One SDK?
    In case the question is still open:
    I would recommend that you try these forums - which should fit better:
    For SAP partners only there's a forum where you can discuss implementation questions etc.:
    Got a question about customization / implementation? Maybe ask it in CPSN!
    ...and here's the SAP Business One Forum in the "SAP Community" (public to anybody):
    Re: Got a question about customization / implementation? Maybe ask it in CPSN!
    ...or you might try your luck with SAP Support?
    Bugs should anyway be reported to SAP Support!
    HTH
    Frank

  • Report is not displaying 'previous day maximum sale' correctly

    There is a issue in the report
    Based on material and date and displays the previous day maximum sale
    The issue is whenever i run the report in give a single Document Date on selection screen it works fine but whenever i run the report in a range it shows the previous date of the range like when i run the report with
    Document date - 05.07.2007, its working fine but and showing 04.07.2007 as previous day
    when run the report
    Document date - 01.07.2007 to 31.07.2007, its displaying 30.07.2007 for all records and not displaying different results based on doc date,
    like it should show for      31.07.2007 --- 30.07.2007 and
                                   30.07.2007 --- 29.07.2007
                                  29.07.2007 --- 28.07.2007     
    CODE :-
    FORM data_retrieval.
    SELECT MSEGMATNR MSEGMBLNR MSEGMENGE MSEGMEINS MSEGCHARG MSEGLGORT MSEGBWART MSEGWERKS MSEGLIFNR MSEGEBELN MSEGBPRME MSEGDMBTR MSEGEXBWR MSEGVKWRT MSEG~SHKZG
           MKPFBLDAT MKPFBUDAT MKPFMBLNR MKPFBKTXT MKPFXABLN MKPFCPUDT MKPFXBLNR MKPFMJAHR
      INTO CORRESPONDING FIELDS OF TABLE itab FROM MSEG
    JOIN MKPF
    ON  MSEGMBLNR = MKPFMBLNR
    where MSEG~MATNR IN S_MATNR
    AND MSEG~WERKS IN S_WERKS
    AND MSEG~LGORT IN S_LGORT
    AND MSEG~CHARG IN S_CHARG
    AND MSEG~LIFNR IN S_LIFNR
    AND MSEG~KUNNR IN S_KUNNR
    AND MSEG~BWART IN S_BWART
    AND MSEG~SOBKZ IN S_SOBKZ
    AND MKPF~BUDAT IN S_BUDAT
    AND MKPF~BLDAT IN S_BLDAT     .
    IF ITAB[] IS NOT INITIAL.
    select matnr vbeln netwr UMKZWI1_01 fkdat ummenge VKORG VGBEL from s961
      into corresponding fields of table IT_S961 FOR ALL ENTRIES IN itab
    where matnr = itab-matnr and fkdat < itab-bldat.
    ENDIF.
    SORT IT_S961 descending BY matnr fkdat ummenge .
      LOOP AT itab INTO wa_itab.
        READ TABLE IT_S961 WITH KEY MATNR = WA_ITAB-MATNR BINARY SEARCH.
        IF sy-subrc = 0.
        wa_itab-VBELN = IT_S961-VBELN.
        wa_itab-NETWR = IT_S961-NETWR.
        wa_itab-UMKZWI1_01 = IT_S961-UMKZWI1_01.
        wa_itab-UMMENGE = IT_S961-UMMENGE.
        wa_itab-VKORG = IT_S961-VKORG.
        wa_itab-VGBEL = IT_S961-VGBEL.
        wa_itab-FKDAT = IT_S961-FKDAT.
        ENDIF.
        MODIFY itab FROM wa_itab TRANSPORTING VBELN NETWR UMKZWI1_01 FKDAT UMMENGE VKORG VGBEL.
        CLEAR : wa_itab.
    ENDLOOP.

    Hi,
    Still values are not coming
    SELECT matnr fkdat ummenge vbeln vkorg vgbel netwr umkzwi1_01 FROM s961
       INTO CORRESPONDING FIELDS OF TABLE it_s961 FOR ALL ENTRIES IN itab
        WHERE matnr = itab-matnr
        AND fkdat EQ itab-previous_dt.
    ENDIF.
      sort it_s961 by matnr vbeln fkdat previous_dt ummenge descending .
      LOOP AT itab INTO wa_itab.
        READ TABLE it_s961 WITH KEY matnr = wa_itab-matnr BINARY SEARCH.
        IF sy-subrc = 0.
          wa_itab-vbeln = it_s961-vbeln.
          wa_itab-netwr = it_s961-netwr.
          wa_itab-umkzwi1_01 = it_s961-umkzwi1_01.
          wa_itab-ummenge = it_s961-ummenge.
          wa_itab-vkorg = it_s961-vkorg.
          wa_itab-vgbel = it_s961-vgbel.
          wa_itab-fkdat = it_s961-fkdat.
        ENDIF.
        MODIFY itab FROM wa_itab TRANSPORTING fkdat ummenge vbeln netwr umkzwi1_01 vkorg vgbel.
        CLEAR : wa_itab.
      ENDLOOP.

Maybe you are looking for

  • Accounting for discounts given at the order entry level

    Hi, I'm Anil Wadhwa and I'm working for Amtrex Hitachi Appliances Ltd., Ahmedabad, India. we have implemented Oracle applications 11i and I'm part of the Order to Cash cycle specifically handling the OM Module. Initially I had the problem of using th

  • Adobe Edge Animate CC 2014.1  is totally not working. It stop working after 5min. Sometimes is stops the operating system.

    Adobe Edge Animate CC 2014.1  is totally not working. It stop working after 5min. Sometimes is stops the operating system. On on mac OS X Yosemite. macbook pro i7 2013. I reinstalled it not helping. Message was edited by: Daniel Boguszewski

  • Saving notes and email to iCloud-gmail.

    I had enabled icloud but hadnt enabled the mail and notes section. I tried to enter my apple id for this when i turned it on but it said  'this email is already in use, please choose another.' I was then pushed to create an @icloud.com address. When

  • Error using a call screen

    Hi I've a z program with two different screens (one made by copy of another), both with atribute "screen type subscreen" at my code FORM mostra_cabecalho.   CALL SCREEN 0002.   call SCREEN 0001. ENDFORM.                    "mostra_cabecalho FORM esco

  • How to display warning message ?

    Dear all, I would like to display a warning message, when the user doesn't key in a profit center (with Tcode: FB50). I have entered the option "Optionnal entry" for profit center for the field status group, but the system doesn't display any warning