Between Date Report

Hi,
i have created an terminat Employee Details Report.But I want to display this Report Between Two Dates.
I want Report Should be display with all terminate employee if i can't search terminate employee between two dates.
My Code
select * from (
select EMPLOYEE_ID, EMP_NAME, EMP_FATHER_NAME, EMP_DOJ, COMPANY ,EMP_DOT from HR_EMP_INFO where EMP_DOT is not null)
where ( EMP_DOT between :P1_SEARCH and :P1_END_DATE
)How Can I do this.Because no record are display in report now.
I want implement jus search between two date.
Thanks
Edited by: 805629 on Jan 16, 2011 11:18 PM

Hi,
i have created Classic report and i have Search option in this report so i want to implement between two date in Search option in Classic Report .
Like In this section
where (
instr(upper("EMPLOYEE_ID"),upper(nvl(:P1_SEARCH,"EMPLOYEE_ID"))) > 0  or
instr(upper("EMP_NAME"),upper(nvl(:P1_SEARCH,"EMP_NAME"))) > 0  or
instr(upper("COMPANY"),upper(nvl(:P1_SEARCH,"COMPANY"))) > 0  or
)How can i do this.
Thanks
Edited by: 805629 on Jan 17, 2011 1:37 AM

Similar Messages

  • How to print formatted data / report on user's printer in Web Application

    Hi All
    I want to print some formatted data/report ( it might be 1000 pages) on user's printer.
    application is web based and tech. used are Java - jsp - servlets
    now prob. is ...
    how i will transfer all data to client (web browser) from the server and how i can print that data on user's printer ...??
    there is requirement that I can not use applet for this purpose.
    if any one done or have idea then let me know.
    thanks
    Shailesh Koradiya

    Hi
    Its simple, first of all break ur data in terms of pages. Write the logic in one JSP.
    suppose i have jsp PrintReport.jsp , for page 1 url will PrintReport.jsp?page=0 ... so on
    get the page parameter in JSP
    String page="";
    if(request.getParameter("page")!=null)
    page=request.getParameter("page");
    get the rowcount from the Result and assume records per page is 100
    if u have 1000 rows then 10 pages u have to serve
    StartRowNumber=page*recordsPerPage
    EndRowNumber=StartRowNumber+recordsPerPage
    Execute a SQL query , select * from table where rownum between
    StartRowNumber and EndRowNumber
    Provide google like pageNumbers in ur HTML page
    ie 1 2 3 4 5 6 ..10
    Regarding printing , Create HTML button called 'print' and add Javascript ' window.print()' on clicking it.
    Hope it would solve ur problem
    Cheers
    Rajendra Bandi

  • OBIEE 11G - Issue passing parameters between two reports

    Hi folks,
    I am struggling to pass parameters between two reports in OBIEE 11G.
    My first report contains the following columns: Rolling Year Type (VCHAR), Year(VCHAR), Month(VCHAR), Cost(Double).
    My second report contains the following columns: Rolling Year Type(VCHAR), Year(VCHAR), Month(VCHAR), Category(VCHAR), Cost(Double).
    My requirement is to pass the Rolling Year Type, Year and Month values from report 1 to report 2.
    On the Month column properties of report 1, I have created an Action Link called 'Drill to Category'. I have clicked on 'Navigate to BI Content' and selected Report 2.
    Then on Report 2, I have included three filters: Rolling Year Type is prompted, Year is prompted, Month is promted.
    When I run the report I always get the following error:
    The specified criteria didn't result in any data. This is often caused by applying filters and/or selections that are too restrictive or that contain incorrect values. Please check your Analysis Filters and try again. The filters currently being applied are shown below.
    When I check the cursor cache, the filter values are correct. Does anybody have any idea why Report 2 does not display?
    When I remove the Month filter, the report works correctly.
    I have since changed the third filter to be Month No and although Report 2 does display, it does not pick up the filter on the Month No.
    I initially thought this may have been a caching issue and so I have disabled BI Server Cache but this does not fix my problem.
    This was never an issue on OBIEE 10G as I found it very easy to navigate between two requests.
    Has anyone else experienced problems with passing parameters between two request in 11G?
    Any help appreciated.
    Thanks
    Gavin

    Hi,
    I once tried this kind of requirement(with dashboard prompts though) and hit at similar issue. I later found out that the problem is with the space in the parameter values. Can you please let me know, if the same is the case with you?
    Suppose the parameter passed is "Jan 2010", but the report on the destination takes the value as "Jan" & "2010". Yes, it kind of split the parameter value to two based on space. I think we can notice the filters the destination report got, by enabling filter view.
    In this case, since you pass only value at a time, could you try placing the parameter value anyway in double quotes? I think the Server then will understand it as one value.
    Thank you,
    Dhar

  • Difference in Amount between BI Report and GL Account

    Hi,
    Regarding the difference between BI report and GL,
    We found duplicated records in the data source 0FI_GL_4.
    (The difference was in an another account which did not match with the GL.)
    1.Account: 123456
      G/L Balance: $430,382.41
      BI Report:     $432,211.10
      Difference:     +$1,828.69
    u21D2In data source, there are a duplicated record for each of two accounting document below.
    Acct doc. 1900000900 item#2    $2,623.64
    Acct doc. 1900000901 item#2      -$794.95
    2.Account: 7891011
      G/L Balance: $92,301.92
      BI Report:     $78,341.42
      Difference:  -$13,960.50
    u21D2On data source, there are a duplicated record for one accounting document below.
    Acct doc. 1900000902 item#2   $13,960.50
    What could be the cause of this? How can I solve this issue?
    Thanks

    Hi,
    Since I already know where and what the duplicate amounts are in the PSA, Can I do the following:
    1. Delete the Amounts (and change them to 0) in the PSA
    2. Delete that particular load from the Cube
    3. Now that the duplicate amounts dont exist in the PSA, Re-Load it back to the Cube using DTP
    Would this work? Is this even possible?
    Thanks

  • Difference between web reports created in WAD & Visual Composer

    Hi All,
    Can anyone tell me
    1.The Difference between web reports created in WAD & Visual Composer.
    2.The Webreports created in Visual Composer is availble for normal users(users not having Visual composer).
    3.how to create web reports & Publish using Visual composer.
    Waiting for results.
    ThanKs in Advance,
    Basava Raju

    hi james..
    Check these.
    WAD: http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm
    VC: http://help.sap.com/saphelp_nw2004s/helpdata/en/42/c2ba7f545e3116e10000000a1553f7/frameset.htm
    Visual Composer is a model-driven development tool that allows business experts to create and adapt analytical and free-styled applications without writing code. Visual Composer 7.0 is the General Availability (GA) release; Visual Composer 6.0 introduced the freestyle model-to-code creation of analytical appli- cations and it was intended as a preview tool for evaluation purposes.
    Visual Composer now connects to SAP NetWeaver BI via a Remote Function Call (RFC) rather than a Web service connection. The resulting communication between the portal and SAP NetWeaver BI works faster, especially in cases of large query results. With these added functionalities, users can create more user-friendly, powerful analytical applications using Visual Composer, such as Executive Dashboards.
    Visual Composers Features -
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9326072e-0c01-0010-bc97-f72e93338101
    New Features of Visual Composer 7.0
    Visual Composer 7.0 is part of SAP NetWeaver Portal in SAP NetWeaver 2004s. This release focuses on SAP Analytics and offers significant changes from the previous Visual Composer release. The most notable changes include:
    Visual Composer now runs on the Java 2 Platform, Enterprise Edition (J2EE) Engine of SAP NetWeaver Application Server (SAP NetWeaver AS). Therefore, you no longer need Internet Information Services (IIS) 5, Microsoft SQL Server 2000, and Microsoft .NET Framework.
    Visual Composer now can generate iViews for Web Dynpro (the SAP NetWeaver programming model for user interfaces) and Adobe Flash Player 8 or higher in SAP NetWeaver Portal. You can create Internet applications by integrating Adobe Flex Server and Web Dynpro.
    Visual Composer now integrates BI content from SAP or non-SAP systems using BI Java Connectors (part of BI Universal Data Integration 7.0).
    /message/3240694#3240694 [original link is broken]
    /message/2958672#2958672 [original link is broken]
    These are the links which i followed.
    https://www.sdn.sap.com/irj/sdn/visualcomposer
    http://www.sap.com/platform/netweaver/components/visualcomposer/index.epx
    http://help.sap.com/content/documentation/netweaver/docu_nw_vc.htm
    VC - Install and Configure guide
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1d55042e-0c01-0010-e3a3-b009c445ee23
    Preparing to Use Visual Composer
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/429c8b709914bce10000000a155369/content.htm
    hope it helps..

  • Go URL linking between two reports with no relation

    Hi Experts,
    Sorry this question may have been asked numerous times, but I was not able to fetch the required response.
    I have two reports Repor1 based on Table 1 having columns A and B, Report2 based on Table2 having columns C and D.
    First is it possible to create a go URL moving between two reports based on tables having no replationship between them?
    My requirement is to create a hyperlink on column B in Report1 so that when a user clicks on the hyperlink it takes you to report2 and filters report2 column C using values of Table1 coulmn A. Table1 and Table2 have no relationship between them.
    Thanks in advance,
    Anura

    I had two columns in my report1 first being market and second being a measure value, i provided the following link in the formula for my measure value and made that as HTML data format, my Report2 contains the market column with one more additional coloumn and i want my second report to be filtered based on Market value in Report1.
    I don't know why but the URL that is being displayed here is not the actual url, please click on the URL to knowthe complete url that I mentioned for the formula
    '’||CAST(Sales Measures.Dollars AS CHAR)||’'
    The value of Market.Region is not being passed correctly as my Report2 gives the following message in the results view when i move from Report1 to Report2 via the hyperlink
    Region is equal to '||Markets.Region||'style="text-decoration:none;
    Please suggest what is going wrong?
    Thanks in advance,
    Edited by: Anurag007 on Jul 29, 2010 2:46 AM

  • How to count the days between Date Range using OO ABAP?

    hi experts,
            i want to count the days between Date Range using OO ABAP for that  which class and method  can i use?.
    Thanks,
    Mahesh.

    Not sure I understand the requirement for it to be OO, but you could always write your own (i.e. use this):
    REPORT zz_date_diff.
    CLASS date_diff DEFINITION.
      PUBLIC SECTION.
        METHODS diff IMPORTING     i_date_fm TYPE d
                                   i_date_to TYPE d
                     EXPORTING     e_days    TYPE i.
    ENDCLASS."
    CLASS date_diff IMPLEMENTATION.
      METHOD diff.
        e_days = i_date_to - i_date_fm.
      ENDMETHOD."
    ENDCLASS."
    DATA: g_ref TYPE REF TO date_diff,
          g_days  TYPE i,
          g_date_fm  TYPE d VALUE '20080101',
          g_date_to  TYPE d VALUE '20090101'.
    START-OF-SELECTION.
      CREATE OBJECT g_ref.
      CALL METHOD g_ref->diff
        EXPORTING
          i_date_fm = g_date_fm
          i_date_to = g_date_to
        IMPORTING
          e_days    = g_days.
      WRITE g_days.

  • Diffrence between TDS report and actual TDS

    A report required which will show diffrence between TDS report and actual TDS, to get status of tds (liability/receivable) or to compare it.
    so, how to get it in system???
    I want information/ suggestions for standard and Z development both....
    waiting.....
    Regards,
    Sachin

    The below is perfect report for TDS.
    Just copy the below and provide it to your ABAPER and ask him to develop the Z REPORT
    Technical Field     Description          Table Name     Selection screen     Output file
    BUKRS                  Company code          BKPF               Y                            Y
    BELNR                 Accounting doc number     BKPF               Y                            Y
    XBLNR                 Reference (Voucher Number)     BKPF                                 Y
    GJAHR                 Fiscal year          BKPF               Y                            Y
    WITHT                 WHT Type          WITH_ITEM                                 Y
    WT_WITHCD            WHT Code          WITH_ITEM                                 Y
    WT_QSSHH                 WHT base amount in LC     WITH_ITEM                                 Y
    WT_QBSHH                WHT Amount in LC          WITH_ITEM                                 Y
    QSREC                Recipient type          WITH_ITEM                                 Y
    BUDAT                Posting date          BKPF               Y                            Y
    BLDAT                Document date          BKPF               Y                            Y
    PRCTR                Profit Center          BSEG               Y                            Y
    BUPLA                Business Place          BSIS               Y                            Y
    QSATZ                WHT Tax Rate          WITH_ITEM                                 Y
    LIFNR               Account no of the Vendor     J_1IMOVEND         Y                           Y
    J_1IPANNO               PAN Number          J_1IMOVEND          Y
    NAME1                Vendor name          LFA1                                 Y
    QSCOD               Off WHT key          T059Z               Y                           Y
    PSWBT               G/L Amount          BSEG                               Y
    Hope it helps
    Thnks

  • Diff between interactive report and interactive alv

    Diff between interactive report and interactive alv? Suppose I have been given certain program then how I will diffrentiate that this prog should be done in interactive alv or interactive report.

    hi
    both are used for same purpose
    interactive report means an output list which displays basic details & allow user to interact, so that a new list is populated based on user-selection. With interactive list, the user can actively control data retrieval and display during the session.
    I suggest to use ALV.by using ALV we can display in Grid as well as list format.
    Output format will be good . Sorting,Filtering facilities are provided by itself.We can have column headings also.
    if helpful reward points

  • As of Date reporting

    What is the best way to implement "As of Date" reports using oracle discoverer?
    Herer is what we need to do:
    First get the Policy data based "As of Date" entered by user and then use this data in conjunction with other tables to get a report.
    Thanks

    I was able to perform AS of Date reporting by using the analytic functions - Lag or Lead. Essentially they retrieve the next(Lead) or previous (Lag) column's value in the table based on your parameters set in within the function. That way you can have a date the record is current and the date next record becomes current( the next activity date) - which is in essence the 'end' date. This allows you to build a between statement and use the date parm from the end user. Note: this assumes for a given record of data you have the 'activity date' - for which it became active.
    You would build a between statement that looks like this:
    <As of Date Parm - entered by user via prompt> BETWEEN Activity Date and <Lead Activity Date function> .. Note you will want to build a calculation with the Lead function syntax and use that calculation itself in the between statement..
    As far as Syntax goes - here is an example - but if you are not familar with windowing functions - you should up on them...
    (Lead(SGRSACT_ACTC_CODE) OVER (PARTITION BY SGRSACT_PIDM,SGRSACT_TERM_CODE ORDER BY SGRSACT_PIDM,SGRSACT_TERM_CODE,SGRSACT_ACTC_CODE))
    OBX

  • SolMon 3.2, Difference between SolMon report and Service .sap report?

    Hi Guys,
    last week i found one strange thing, there are differences between the reports of our local SoMon server report  and report from service.sap (service message).
    why there will be difference like this, Please help me in this regards.
    Regards
    Srini

    Software Components for SAP Solution Manager 4.0 as of April 2007.
    SAP_BASIS 700           Basis Component
    SAP_ABA       700           Cross-Application Component
    PI_BASIS  2005_1_700     PI_BASIS 2005_1_700
    ST-PI     2005_1_700     SAP Solution Tools Plug-In
    SAP_BW    700           SAP NetWeaver BI 7.0
    SAP_AP    700             SAP Application Platform
    BBPCRM    500           BBPCRM
    CPRXRPM   400           SAP xRPM/cProjects/cFolders 4.00 (ABAP)
    ST        400           SAP Solution Manager Tool
    ST-A/PI       01I_CRM500    Application Servicetools for CRM 500
    ST-ICO       150_700       SAP Solution Manager Implementation Content
    ST-SER    700_2006_2    SAP Solution Manager Service Tools
    ST (Solution Manager Infrastructure, tx solution_manager, SOLAR01)
    ST-A/PI (Download modules to get data for service sessions, monitoring)
    ST-ICO  (Implementation Content - Business Process Repository)
    ST-SER  (Service Sessions as EarlyWatch Alert, SAP GoingLive Check, Setup System Monitoring, Central System Administration, Setup Business Process Monitoring, Service Level Reporting, ....)
    See also SAP Notes:
    - 707705 (www.service.sap.com/sap/support/notes/706705) for an explanation on Components for Messages (with lots of key words).
    - 394616 (www.service.sap.com/sap/support/notes/394616) Release strategy for SAP Solution Manager
    Best regards
    Ruediger

  • What is the difference between interactive report and alv interactive repor

    what is the difference between interactive report and alv interactive report
    could u plz explain clearly.

    Hi Rajesh,
    interactive report or alv interactive report , both are same but except the viewer, Abap List Viewer (ALV).
    Here in i am placing a sample simple ALV Interactive report.
    Just double click on the customer number to go to the next screen.
    *& Report  ZKAL_ALV_INTERACTIVE_1                                      *
    REPORT  ZKAL_ALV_INTERACTIVE_1                  .
    TYPE-POOLS: SLIS.
      TYPES: BEGIN OF TY_KNA1,
              KUNNR TYPE KUNNR,
              NAME1 TYPE NAME1,
              ORT01 TYPE ORT01,
            END OF TY_KNA1.
      TYPES: BEGIN OF TY_VBAK,
              VBELN TYPE VBELN,
              ERNAM TYPE ERNAM,
              ERDAT TYPE ERDAT,
              NETWR TYPE NETWR,
              WAERK TYPE WAERK,
             END OF TY_VBAK.
    &--WORK AREA & TABLE DECLARATION--
      DATA: W_KNA1 TYPE TY_KNA1.
      DATA: T_KNA1 TYPE STANDARD TABLE OF TY_KNA1 INITIAL SIZE 1.
      DATA: W_VBAK TYPE TY_VBAK.
      DATA: T_VBAK TYPE STANDARD TABLE OF TY_VBAK INITIAL SIZE 1.
    &--FIELDCAT TABLE & WORK AREA--
      DATA: W_FCAT TYPE SLIS_FIELDCAT_ALV.
      DATA: T_FCAT TYPE SLIS_T_FIELDCAT_ALV.
      DATA: W_FCAT1 TYPE SLIS_FIELDCAT_ALV.
      DATA: T_FCAT1 TYPE SLIS_T_FIELDCAT_ALV.
    &--EVENT TABLE AND WORK AREA--
      DATA: W_EVENTS TYPE SLIS_ALV_EVENT.
      DATA: T_EVENTS TYPE SLIS_T_EVENT.
      DATA: W_EVENTS1 TYPE SLIS_ALV_EVENT.
      DATA: T_EVENTS1 TYPE SLIS_T_EVENT.
    &--COMMENT TABLE & WORK AREA--
      DATA: W_COMMENT TYPE SLIS_LISTHEADER.
      DATA: T_COMMENT TYPE SLIS_T_LISTHEADER.
      DATA: W_COMMENT1 TYPE SLIS_LISTHEADER.
      DATA: T_COMMENT1 TYPE SLIS_T_LISTHEADER.
    &----APPENDING FCAT -
      W_FCAT-COL_POS = 1.
      W_FCAT-FIELDNAME = 'KUNNR'.
      W_FCAT-SELTEXT_M = 'CUST. NO'.
      W_FCAT-HOTSPOT = 'X'.            "HOT SPOT HAND SYMBOL
      W_FCAT-EMPHASIZE = 'C119'.       "FOR COLORING THE COLUMN 1
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS = 2.
      W_FCAT-FIELDNAME = 'NAME1'.
      W_FCAT-SELTEXT_M = 'CUST. NAME'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT-COL_POS = 3.
      W_FCAT-FIELDNAME = 'ORT01'.
      W_FCAT-SELTEXT_M = 'CITY'.
      APPEND W_FCAT TO T_FCAT.
      W_FCAT1-COL_POS = 1.
      W_FCAT1-FIELDNAME = 'VBELN'.
      W_FCAT1-SELTEXT_M = 'ORDER NO'.
      W_FCAT1-EMPHASIZE = 'C519'.
      APPEND W_FCAT1 TO T_FCAT1.
      CLEAR W_FCAT.
      W_FCAT1-COL_POS = 2.
      W_FCAT1-FIELDNAME = 'ERNAM'.
      W_FCAT1-SELTEXT_M = 'NAME OF PARTY'.
      APPEND W_FCAT1 TO T_FCAT1.
      W_FCAT1-COL_POS = 3.
      W_FCAT1-FIELDNAME = 'ERDAT'.
      W_FCAT1-SELTEXT_M = 'DATE'.
      APPEND W_FCAT1 TO T_FCAT1.
      W_FCAT1-COL_POS = 4.
      W_FCAT1-FIELDNAME = 'NETWR'.
      W_FCAT1-SELTEXT_M = 'ORDER VALUE'.
      APPEND W_FCAT1 TO T_FCAT1.
      W_FCAT1-COL_POS = 5.
      W_FCAT1-FIELDNAME = 'WAERK'.
      W_FCAT1-SELTEXT_M = 'CURRENCY'.
      APPEND W_FCAT1 TO T_FCAT1.
    &--APPEND COMMENTRY--
      W_COMMENT-TYP = 'H'.
      W_COMMENT-INFO = 'CUSTOMER DETAILS'.
      APPEND W_COMMENT TO T_COMMENT.
      CLEAR W_COMMENT.
    &--APPEND EVENTS TABLE--
      W_EVENTS-NAME = 'TOP_OF_PAGE'.
      W_EVENTS-FORM = 'TOPPAGE'.
      APPEND W_EVENTS TO T_EVENTS.
      W_EVENTS-NAME = 'USER_COMMAND'.
      W_EVENTS-FORM = 'SUB2'.
      APPEND W_EVENTS TO T_EVENTS.
      W_EVENTS1-NAME = 'TOP_OF_PAGE'.
      W_EVENTS1-FORM = 'TOPPAGE1'.
      APPEND W_EVENTS1 TO T_EVENTS1.
      CLEAR W_EVENTS1.
      W_EVENTS1-NAME = 'USER_COMMAND'.
      W_EVENTS1-FORM = 'SUB3'.
      APPEND W_EVENTS1 TO T_EVENTS1.
      SELECT-OPTIONS: CUSTNO FOR W_KNA1-KUNNR.
      SELECT KUNNR
             NAME1
             ORT01 FROM KNA1 INTO TABLE T_KNA1
             WHERE KUNNR IN CUSTNO.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = 'ZKAL_ALV_INTERACTIVE_12'
       I_BACKGROUND_ID                   = 'BIKE'
       I_GRID_TITLE                      = 'CUSTOMER DETAILS'
       IT_FIELDCAT                       = T_FCAT
       IT_EVENTS                         = T_EVENTS
      TABLES
        T_OUTTAB                          = T_KNA1  .
      FORM TOPPAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY       = T_COMMENT
         I_LOGO                   = 'LOGO_ALV'.
      ENDFORM.  "END OF TOPPAGE SUB.
      FORM SUB2 USING UCOMM LIKE SY-UCOMM FIELDS1 TYPE SLIS_SELFIELD.
      READ TABLE T_KNA1 INTO W_KNA1 INDEX FIELDS1-TABINDEX.
      SELECT VBELN
             ERNAM
             ERDAT
             NETWR
             WAERK
                   FROM VBAK
                   INTO TABLE T_VBAK
                   WHERE KUNNR = W_KNA1-KUNNR.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = 'ZKAL_ALV_INTERACTIVE_12'
       I_BACKGROUND_ID                   = 'KALEEM'
       I_GRID_TITLE                      = 'LIST OF ORDERS'
       IT_FIELDCAT                       = T_FCAT1
       IT_EVENTS                         = T_EVENTS1
      TABLES
        T_OUTTAB                          = T_VBAK.
    ENDFORM.    "END OF SUB2.
    FORM TOPPAGE1.
    &--APPEND COMMENTRYOF SECONDRY SCREEN--
      W_COMMENT1-TYP = 'H'.
      W_COMMENT1-INFO = 'LIST OF ORDERS'.
      APPEND W_COMMENT1 TO T_COMMENT1.
      W_COMMENT1-TYP = 'S'.
      W_COMMENT1-KEY = 'CUSTOMER'.
      W_COMMENT1-INFO = W_KNA1-KUNNR.
      APPEND W_COMMENT1 TO T_COMMENT1.
      CLEAR W_COMMENT.
      W_COMMENT1-TYP = 'A'.
      W_COMMENT1-INFO = W_KNA1-NAME1.
      APPEND W_COMMENT1 TO T_COMMENT1.
      CLEAR W_COMMENT1.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY       = T_COMMENT1
         I_LOGO                   = 'LOGO_ALV'
    REFRESH T_COMMENT1.
    ENDFORM.    "END OF TOPPAGE1
      FORM SUB3 USING UCOMM LIKE SY-UCOMM FIELDS1 TYPE SLIS_SELFIELD.
        READ TABLE T_VBAK INTO W_VBAK INDEX FIELDS1-TABINDEX.
    SET PARAMETER ID 'AUN' FIELD W_VBAK-VBELN.
    CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
      ENDFORM.
    U can also find some of the useful codes on WIKI-SDN.
    Reward helpful Answers.
    Regds,
    Kaleem.

  • Cost difference between PM report MCI8 and IW38 orders cost

    Hi Experts!
    I have an issue of cost difference  between Plant Maintenance total actual cost of orders and Cost analysis report.
    Short Text    
    Cost difference between PM report MCI8 and IW38 orders cost   
    Long Text    
    Applied SAP notes 180047 and 112841 for the following error:
    Cost is not displaying in MCI8 for every 3 months intervals.
    Now this problem has been resolved but got an another error like cost
    difference between MCI8 report and IW38 order costs.
    Note applied method:-
    1). Configured FYV as Z1 with Period update for info structures S61 to
    S65, S70, S114 to S116.
    2). Regenerate order cost in Tcode OLI5.
    3). PMIS: Statistical setup of info structures T.Code u2013 OLPM
    For Info Structures which is changed in the configuration SO61-SO65,
    SO70, S114-S116.
    4). Copy info structures Version &( to Active version 000 T.Code u2013 OLIX,
    Select Copy version
    For all info Structure SO61-SO65, SO70, S114-S116.
    *Steps for Reconstruction*    
    New another error like cost difference between MCI8 report and IW38
    order costs.
    Step 1. Transaction- MCI8, Order type - CORR, Period -01.2009 to
    12.2009 and execute
    Step 2. Drilldown the corrective maintenance order costs into period
    wise.
    Step 3. Transaction- IW38, Order type Corr, Period -01.2009 to 12.2009,
    Currency - EUR and execute
    Cost differences: E.g. Example A)
                                   MCI8                                 IW38
    Total costs             8.041,69                           5.544,99
    of WOs               18                                     18
    So far my view is that, regardless of the selection criteria or the
    output layout, predominantly the costs are different.
    I would expect that they are equal. And what the right result are,..u2026Iu2019m
    not sure.
    Regards,
    Santhamoorthy

    Hello,
    Sometimes this difference comes because of the selection period which we are choosing.
    Try to run IW38 once with the help of Basic start and basic finish dates of the order.
    And after that with the help of the period with the same dates range.
    You will get the difference also.
    the reason is that whenever any Posting is done in the previous month PM order the system changes the basic start date and when you select the current period and execute IW38 it shows the whole cost incurred on the order including all previous cost.
    But in MCI8 it does not happen because MCI8 is run through LIS structures. And in this report only the current month cost will be shown by the system.
    I hope you got the idea about differences.
    Regards
    Naveen

  • Difference between class report and interactive report

    please give me the differences between  classical report and interactive report

    Hi,read the following :
    In ABAP, there are a total of 7 types of reports. They are:
    Classical Reports
    Interactive Reports
    Logical Database Reports
    ABAP query
    ALV Reports (ALV stands for ABAP List Viewer)
    Report Writer/Report Painter
    Views (There are different types of views also)
    Classical Reports
    These are the most simple reports. It is just an output of data using the Write statement inside a loop.
    Classical reports are normal reports. These reports are not having any sub reports. IT IS HAVING ONLY ONE SCREEN/LIST FOR OUTPUT
    Interactive Reports
    As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers.
    And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.
    We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21).
    Logical Database Reports
    Logical database is another tool for ABAP reports. Using LDB we can provide extra features for ABAP reports.
    While using LDB there is no need for us to declare Parameters.
    Selection-screen as they will be generated automatically.
    We have to use the statement NODES in ABAP report.
    ABAP Query Reports
    ABAP query is another tool for ABAP. It provides efficency for ABAP reports. These reports are very accurate.
    Transaction Code : SQ01
    Report Writer / Report painter
    Super users and end users can use Report Painter/Report Writer tools to write their own reports.
    Giving them the ability to report on additional fields at their discretion shifts the report maintenance burden to them, saving SAP support groups time and effort normally spent creating and maintaining the reports.
    ALV reports
    Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
    In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
    The report output can contain up to 90 columns in the display with the wide array of display options.
    There is no difference between drill down and interactive report, they are the same.
    With drilldown reporting, SAP provides you with an interactive information system to let you evaluate the data collected in your application. This information system is capable of analyzing all the data according to any of the characteristics that describe the data. You can also use any key figures you wish to categorize your data. You can display a number of objects for a given key figure, or a number of key figures for a given object. In addition, the system lets you carry out any number of variance analyses (such as plan/actual comparisons, fiscal year comparisons, comparisons of different objects, and so on).
    *More on Classical Vs Interactive*
    Classical Reports
    These are the most simple reports. Programmers learn this one first. It is just an output of data using the Write statement inside a loop.
    Classical reports are normal reports. These reports are not having any sub reports. IT IS HAVING ONLY ONE SCREEN/LIST FOR OUTPUT.
    Events In Classical Reports.
    INTIALIZATION: This event triggers before selection screen display.
    AT-SELECTION-SCREEN: This event triggers after proccesing user input still selection screen is in active mode.
    START OF SELECTION: Start of selection screen triggers after proceesing selection screen.
    END-OF-SELECTION : It is for Logical Database Reporting.
    Interactive Reports
    As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers.
    And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.
    We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21).
    Events associated with Interactive Reports are:
    1. AT LINE-SELECTION
    2. AT USER-COMMAND
    3. AT PF<key>
    4. TOP-OF-PAGE DURING LINE-SELECTION.
    HIDE statement holds the data to be displayed in the secondary list.
    sy-lisel : contains data of the selected line.
    sy-lsind : contains the level of report (from 0 to 21)
    Interactive Report Events:
    AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.
    AT PFn: For predefined function keys...
    AT USER-COMMAND : It provides user functions keys.
    TOP-OF-PAGE DURING LINE-SELECTION :top of page event for secondary list.
    Reward if found helpful

  • Difference between Crsytal Report 2011 and Crystal Report for Enterprise 4

    difference between Crystal Report 2011 and Crystal Report for Enterprise 4.0?
    I think Crystl Reprt 2011 has more function, is it right?

    Hi,
    I recently attended a SAP Virtual trianing on SAP Business Objects BI 4.0.
    Here are few extracts from that which probably shows some light to you:
    SAP Crystal Reports 2011
    1. UI and associated processing servers remain the same as CR 2008
    2. Incremental update to CR 2008 with a few new features*
    3. Continue to provide current CR 2008 functionality as-is for existing customers
    SAP Crystal Reports for Enterprise 4.0
    1. Major update & redesign of the Crystal Reports Designer and associated processing servers
    2. Focus on streamlined report design, reporting against BI 4.0 Universe, & reporting against SAP BW data
    3. Provide the foundation for all future releases of Crystal Reports
    Differences between these two releases:
    Data Source & Usage Type                                       General Recommendation
    1. SAP BusinessObjects BI 4.0                                        SAP Crystal Reports Relational Universe (UNX) for Enterprise
    OLAP Universe (UNX)
    2. SAP NetWeaver BW 7 BEx Query (BICS)                    SAP Crystal Reports for Enterprise
    3. SAP NetWeaver BW 3.5 BEx Query                             SAP Crystal Reports 2011
    4. SAP Profitability Cost Management                              SAP Crystal Reports for Enterprise through Analysis View
    SAP Strategy Management
    SAP Budget, Planning and Consolidation
    SAP Extended Analytics
    5. Platform Driven Alerting                                                SAP Crystal Reports for Enterprise
    6. Business Views                                                           SAP Crystal Reports 2011
    7. Direct RDBMS or OLAP access                                    SAP Crystal Reports 2011
        SAP ERP/ Live Office Content/
        Enterprise search content
    Regards
    Gowtham

Maybe you are looking for

  • How do I secure a PDF that has been signed so that it can't be opened in the new Word

    Hi all Hoping someone can help. As the title suggests I need some advice in securely locking a PDF after it has been signed. I know how to secure a PDF document so that it can't be opened in the new version of the Word 2013. File > properties > Secur

  • DB2 restore question

    Hi! Due to a unwanted batch input job we need to restore a R/3 system from prod to a sandbox system to have a reference system. I have created a restore script with the brdb6brt tool to  do a redirected restore, and it is currently creating table spa

  • Always suffer "connection reset by peer" while performing software update

    Hi all, I just bought a brand new macbook air. The first thing I do for this laptop is to perform the software update. It suffered me for a long time that I always encounter the error message "Connection reset by peer The Installer package has been m

  • Java.lang.OutOfMemoryError - reasons

    Hi My application is throwing Wed Mar 26 15:07:12 PST 2003:<E> <ServletContext-General> Servlet failed with Exception java.lang.OutOfMemoryError <<no stack trace available>> Wed Mar 26 15:07:12 PST 2003:<E> <Kernel> ExecuteRequest failed. java.lang.O

  • Problem with Cover-Flow display

    Hello! Whenever I play compilations Cover-Flow doesn´t display "Interpret" in the third column but "Album-Interpret" (screenshot 1). However, I set the "Album-Interpret" Tag to the whole compilation´s tite so that Itunes displays all tracks in one Bl