Comparison of Salaries

Hello All,
I would like to get what is the basic salary of each employee on 31.12.2010 and 01.01.2011 (increased). Please note that SAP payroll run has started from 01.01.2011, but 2010 salary record is in the system (seen when we overview from PA30).
Please help me with the way (tool) to get comparisons of information (current with previous).... thank you,,, Abdul Gafoor

Hi Gafoor,
You can get the  camparison report from "PC00_M99_CWTR - Wage Type Reporter",
Click on " Payroll Period" and play around with it...am sure you will get the results but payroll results should be there for 31.12.2010.
Bhairavareddy
Edited by: Bhairavareddy on Nov 24, 2011 11:53 AM

Similar Messages

  • Report for Comparison of Material Qty

    Hi All,
    I need to Develop an Interactive report for Comparison of Material Qty. ordered through Purchase requisition, ordered material through PO and corresponding Material Receipt report.
    Can Someone Give a brief description about this & fields tcode & tables regarding this report.A sample code would be much appreciated.
    Thanks & regards,
    Ravi S

    To get the material number combined with the PO text you will need the help of an ABAP programmer.  The programmer can create a report for you using the function module READ_TEXT in the function group STXD.  The tables to use are:
    STXH - STXD SAPscript text file header
    STXL - STXD SAPscript text file lines
    The selection screen should have at least the following:
    OBJECT - STXH-TDOBJECT
    NAME - STXH-TDNAME
    LANGUAGE - STXH-TDSPRAS
    TEXTID - STXH-TDID
    You find the information for these fields by going to the PO text entry screen and displaying the header information under Goto -> Header.  For materials, the object is MATERIAL, the name is "material number", the language is "EN", and the text ID is BEST.  You can use this program to get long text in lots of places like information records, purchase order texts, etc.
    Hope this helps.

  • How to do comparison in a loop.

    Hi all,
      TYPES: BEGIN OF ZROUTE,
             VBELN TYPE VBELN,
             ROUTE TYPE ROUTE,
            END OF ZROUTE.
      DATA : IT_ZROUTE TYPE STANDARD TABLE OF ZROUTE,
             WA_ZROUTE TYPE ZROUTE.
          LOOP AT I_XVTTP_TAB INTO LW_XVTTP.
            WA_ZROUTE-VBELN = LW_XVTTP-VBELN.
            SELECT SINGLE ROUTE
                    INTO  WA_ZROUTE-ROUTE
                    FROM LIKP
                    WHERE VBELN = LW_XVTTP-VBELN
            APPEND WA_ZROUTE TO IT_ZROUTE.
         ENDLOOP.
    results from IT_ZROUTE
    vbeln    route
    1111     A
    2222     B
    I have some problem in with the code below. I tried to collect vbeln and route into IT_ZROUTE.
    However, after i've got the result, i want to do distiguish between the route.
    If route A ne route B, then display an error messages.
    My problem is, how do i compare the record by looping IT_ZROUTE?  if i set into a temporary variable, the value will always change and i have prb in doing the comparison. eg:
    loop it_zroute into wa_route.
       zroute = wa_route-route. "set into a variable
      if zroute = wa_route-route
       "display error message
      endif.
    endloop.
    Could anyone give me some tips to enhance my code? Really appreciate your help.

    Hi SW,
    You should never use SELECT statement inside LOOP statement as it will affect performance of the program. Use FOR ALL ENTRIES for the same.
    TYPES: BEGIN OF ZROUTE,
    VBELN TYPE VBELN,
    ROUTE TYPE ROUTE,
    END OF ZROUTE.
    DATA : IT_ZROUTE TYPE STANDARD TABLE OF ZROUTE,
    WA_ZROUTE TYPE ZROUTE.
    ************Addition STARTS***********
    data : I_XVTTP_TAB_temp like I_XVTTP_TAB occurs 0 with header line.
    data : begin of likp_itab occurs 0,
                vbeln like likp-vbeln,
                 route like likp-route,
              end of likp_itab.
    I_XVTTP_TAB_temp[] = I_XVTTP_TAB[].
    sort I_XVTTP_TAB_temp by vbeln.
    delete adjacent duplicates from I_XVTTP_TAB_temp comparing vebln.
    select vbeln
              route
        into table likp_itab
       for all entries in I_XVTTP_TAB_temp
    where vbeln eq I_XVTTP_TAB_temp-vbeln.
    if sy-subrc eq 0.
    sort likp_itab by vbeln.
    endif.
    ************Addition ENDS***************
    LOOP AT I_XVTTP_TAB INTO LW_XVTTP.
    WA_ZROUTE-VBELN = LW_XVTTP-VBELN.
    ****************Not required
    SELECT SINGLE ROUTE
    INTO WA_ZROUTE-ROUTE
    FROM LIKP
    WHERE VBELN = LW_XVTTP-VBELN
    ****************Not required
    read table likp_itab witj key vbeln = LW_XVTTP-VBELN binary search.
    if sy-subrc eq 0.
      WA_ZROUTE-ROUTE = likp_itab-route.
    endif.
    APPEND WA_ZROUTE TO IT_ZROUTE.
    *********Add
    clear wa_zroute.
    *********Add
    ENDLOOP.
    Please explain the later part again I am not clear with requirement.
    Regards,
    Anil Salekar

  • Problems with string comparison using

    I have a problem using the > and < comparison operators.
    When the xsl:if test uses numeric values the comparison works OK. If the
    test uses string values it always returns a false result.
    The style sheet below shows an example (which should run against any
    XML doc with a root element)
    Note - the spurious
    tags are just for debugging- I write the
    output to an HTML page and IE happens to recognise them
    even though the rest of the HTML tags are missing !!
    <?xml version="1.0" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
    <xsl:template match="/">
    <xsl:for-each select="*">
    Starting numeric test :
    <xsl:if test="(1 < 2)">
    In Test, ID= <xsl:value-of select="generate-id()"/>
    </xsl:if>
    Finished numeric test :
    Starting alpha test :
    <xsl:if test="('a' < 'b')">
    In Test, ID= <xsl:value-of select="generate-id()"/>
    </xsl:if>
    Finished alpha test :
    </xsl:for-each>
    </xsl:template>
    </xsl:stylesheet>
    null

    Having looked at the XPath spec I believe what I am trying to do (compare strings with gt and lt type tests) is not supported. The spec indicates that they can only be used for node sets or numerics. Presumably the processor is attempting to convert the values to numbers but evaluating them both as NaN (not a number). Can someone confirm this.
    I find this restriction quite strange, is this a situation where an extension function is required ? If so can someone point me to some (Java) examples.
    null

  • Urgent : Help required for logical comparison of two 2GB files.

    Large files need to be compared depending on Business logic. No byte to byte comparison to be done. It would require reference of data written at the start of the file at some other later part of the file too while comparing two files. File needs to be stored in memory while comparison is done. Kindly suggest some way out which would give best performance. Memory limitations are 256 MB RAM.

    File needs to be stored in memory while comparison is done.
    Memory limitations are 256 MB RAM.You have 4 GB of data. You have 256 MB of RAM to put it in. Obviously one of those two assumptions has to be changed. By the way, what is the XML connection for this question?

  • Features comparison of SharePoint Foundation 2010 & Office 365

    Hi,
    I there any documentation/chart or table comparison of features between Office 365 and SharePoint Foundation 2010?
    I can only search comparison between office 365 and SP Foundation 2013.
    Thanks!

    See http://technet.microsoft.com/en-us/library/sharepoint-online-service-description.aspx
    Towards the bottom it has the on-prem feature sets, but has all of the online and onprem feature sets listed on this page.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • The Comparison of IIS on Windows Server 2012 R2 and Websphere application Server on R6 or AS400

    Customer is looking for the internet application solution, and they would like to know the difference/ comparison of IIS on Windows Server and WAS on Linux.  I know it's hard to answer, but is there any data/document/information so that we could convince
    customer to use IIS instead of WAS on R6/AS400?

    Hi,
    I could not say which one is better.
    The advantage of IIS, you could refer to:
    http://www.microsoft.com/web/platform/server.aspx
    Similar thread has been discussed:
    Windows/.NET/ASP.NET/IIS/SQL Server vs. Linux/WebSphere/Java/Apache/Oracle information
    https://social.msdn.microsoft.com/Forums/en-US/9d3b975d-42cb-48fc-94c4-a0394d9f34e6/windowsnetaspnetiissql-server-vs-linuxwebspherejavaapacheoracle-information?forum=architecturegeneral
    Meanwhile, i think you could ask in IIS forums:
    http://forums.iis.net/
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • XL Reporter Report for comparison of last month and current month sales

    Hi,
    Our management requires an MIS report for comparison of sales in revenue and in terms of units for the last and the current month todate.
    Is there a way to view this data for both the months together, without any user input?
    Best Regards
    Jyoti

    Jyoti,
    I'll try and explain the XLR Report you'd need for this.  This is isn't the best way to explain something like this, but I'll give it a shot.
    -  Put an expansion on Row 8 and choose all Items (*), click Apply
    -  In A8, put ItemCode
    -  In B8, put Item Name
    -  In C8, put Sales - A/R Row Total
    -  In D8,put Sales - A/R Row Total again
    -  Setup a Parameter
        -  Call it Period
        -  Dimension
        -  Financial Period
    -  In Column D, put a column Summary and click into Financial Period
        -  click the button to open the selection window
        -  click to the parameter tab
        -  select your parameter and click OK and click Apply
    -  In Column C, put a column Summary and click into Financial Period
        -  click the button to open the selection window
        -  click to the parameter tab
        -  in the bottom right corner, add a "-1"   it should look like this @Period-1
        -  click OK and click Apply
    -  In C7 and D7 - choose Financial Period Code from formula builder
                 (so you can see the period code at the column header)
    This will show sales by item in the current Period (column D) and previous Period (column C)
    Hope that helps and at least gets you going.  I can't guarantee those are perfect instructions from memory.
    Brad Windecker
    [Omega Business Solutions|http://www.omegagroup.com]

  • Target/Actual Comparison

    Dear expert,
    I have analysis one of my Target/Actual Comparison report for a Production Order.
    I have the target cost displaying well in the report comparing to the actual.
    However, for Cost of Goods Manufactured line item is display value 0.00 and not displaying any correct value. It should display the actual quantity X Cost Estimate.
    I have run the cost estimate for the finished goods without error.
    Can someone give me a hand on this?
    Thank you so much.

    Hi Christian,
    Sorry, my earlier question is incompleted.
    I am missing Target cost for Cost of Goods Manufactured in the Target/Actual Comparison Report.
    The actual figure is good.
    Just missing the Target cost for COGM.
    Thank you. Awaiting for your reply. Appreciated.

  • Extremely slow performance in comparison to RDC-based report

    Today our application uses the Crystal Reports RDC. In the last
    ten years we have made good experience with Crystal Reports.
    In the next few months we want to migrate our application to
    JAVA.
    Because the reports offer a great reuse-potential, we would like
    to implement them via CR4E.
    But during the first benchmark tests we made a very bad experience.
    Running (Printing) in CR4E the reports needed from 20 up to 480 percent
    more time in comparison to the RDC-based reports.
    When using POJOs need from 25 up to 570 percent more time.
    When printing the reports from within the CR2008 designer there is
    no performance difference.
    The reports have from 4 to 82 pages.
    We didn´t expect such a huge performance difference.
    Is CR4E in general slower than the RDC-based Crystal Reports?
    Or are there any parameters in CR4E in addition to the RDC-based
    solution for tuning the reports?
    Edited by: Rainer Graedtke on Nov 9, 2009 2:44 PM

    Hi Ted,
    thanks for the fast response.
    Is there another "datasource option" with better performance than POJO?
    In the upcoming JAVA-version of our application we would like to "feed"
    our reports from memory, not from the underlying database.
    One more statement concerning our performance problem:
    In our reports we make extensive use of subreports.
    Each report has the minimum of two subreports, one for the pageheader,
    one for the pagefooter.
    This is necessary because we have changing headers and footers
    depending on the contents of the details.
    The report with the largest performance loss contains 29 subreports!
    RDC-based it prints in 10 seconds, Java-based we need over 50 seconds.
    Is there any suggestion how to improve the performance of our reports in
    JAVA/CR4E other than reducing the number of subreports?
    Another question concerning the keycode-problem:
    We have designed the reports in the CR2008 Designer and we want to run
    them under CR4E. Is this a valid approach?
    Sincerely Rainer
    Edited by: Rainer Graedtke on Nov 10, 2009 10:51 AM

  • Creating query on Bex - Quaterly comparison for statistical & Actual

    Hi All,
    I would like to create a query for 'Quarterly comparison for statistical & Actual periods'.
    My Key Figures should be
    1) Plan 1st Qtr (Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
    2)1st Qtr (Fiscal year, Period: 1 to 3, "Value type : 4(Actual),11(Actual statistical)", Version : 0(Plan/actual), Valuation View: actual Value).
    3)Var 1st Qt (Plan 1st qtr - 1st Qtr)
    same thing for 4 Quaters. finally with
    4)Plan Year (Fiscal year, Period: 1 to 12, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
    I created a structure and created key figures with selections and formulas as required. But I did not see any data when I ran this query.
    The report was generated with 'no applicable data'.
    I need to create this query with plan 1st Qtr, Ist Qtr, Var 1st Qtr, Plan 2nd Qtr, 2nd Qtr, Var 2nd Qtr, Plan 3rd Qtr, 3rd Qtr, Var 3rd Qtr, Plan 4th Qtr, 4th Qtr, Var 4th Qtr, Plan year. key figures.
    Please let me know how can I create this query with these Key Figiures.
    Any help would be appreciated. Please respond with the reply.
    Thanks,
    Aparna.

    Hi
    The best way is then to run a report with your KF without any restriction, and the different chars in the drill down: Fiscal year, Period:, Value type,  Version , Valuation View
    Then you can check that you have some information with the combination of values of your chars:
    Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value.
    If you find a actual Value in the fiscal period you are looking at, for the period 1 to 3, for the Valuation type 1, for the version 0, then create arestricted KF by adding the restrictions one at a time....You moght discover why you do not get the results
    PY

  • Data Quality Comparison Report across Systems(MDM and BW)

    Hi,
    I have a requirement of generating a Data comparison report in Excel using BODS. I need to extract data from SAP MDM and SAP BW and do a comparison on the record basis. For example.I take a material 100 record from MDM and same Material 100 record  from SAP BW. I  have to compare field by field values between these 2 systems.If there is any contingency,I have provide that record as output in Excel.
    I think i need to create a batch  job in BODS to run this requirement. Could you please tell  me the approach of comparing the records in BODS and give the output of the record in Excel.
    I really appreciate your help.
    Thanks,
    Kumar.

    Hi,
    The steps are :
    To read data from BW need to create a open hub detination based on the datatarget where the data is stored.
    Read the MDM data to BODS and then in BODS.
    Once both the data from BW and MDM are sotred in BODS then create a pioneer report which is based on excel.

  • Cost center wise comparison between FI view and CO view

    Hi,
    I have one doubt regarding comparison of cost center in FBL3N and in in S_ALR_87013611.
    Is there any report in from which I can compare Cost center wise actual spending in FBL3N  versus some reports in CO?
    I would appreciate if someone help me on this.
    Thanks in advance!
    Bhargav
    Edited by: BHARGAV RASBIHARI PADHYA on Nov 17, 2010 6:10 AM

    Hi Bhargav,
    If I am not wrong you are taking about the comparison of cost centres values in Co to Cost centre Values in FI.
    If this is the case, then its a pain compiling the values. Because, when values flow from FI to CO then dont come to one cost centre, they are spread accross various cost centres where they are incurred.
    For Example : You may debit P&S GL account for 10000, but the cost centres involve this expenditure this can be from different cost cetres like from Finance, Marketing, Retail etc.
    Now if you want to compare the cost ccentre values with the FI and COthen you can imagine the work and time involved in it.
    Let me know  if anyone have any different views on this.
    Regards,
    Mallikarjun

  • Web Template Tech Comparison (including fastm)

    1. Preface
    In the Java Web Application, the Page Generation Part may be the most tedious and painful part.
    All other layers can be well structured. Only the Page Generation Part is mixed and bad structured.
    This article first introduces and compares various Template Techs, and next introduces a Open Source Template project ? fastm written by the Author (namely me, &#61514;).
    fastm is a PHP Java Port and Enhancement.
    I hope fastm will free all Java Web Programmers from the tedious and painful page-making work.
    2&#65294;Template Tech Comparison
    The page in this article means XML, HTML, WML, etc, all of which can be displayed in the browser.
    According to the Logic location, Template Tech can be categorized as two categories.
    (1) One category is that, the page itself contains the ?if, else, for? logic.
    Such as, JSP+TagLib, Velocity, XML+XSLT (XSLT contains logic), Tapestry, etc.
    The logic in the page is not full developed as an OO Programming Language like Java.
    The logic in the page can not utilize the ?Object?, ?Class?, ?Package? such Object-Oriented features.
    So Template Techs of this category have no good structures, and have no good reusability.
    (2) Another category is that, the page itself contains no logic.
    Such as, XMLC, DOM+XPath, Echo, PHP, JDynamiTe, fastm, etc.
    In this category, because the logic only exists in the Java Code, so the Template?s structure and reusability is as good as the Java Program.
    Below will detail and compare these Template Techs.
    2.1. JSP + TagLib
    JSP+TagLib is the standard Template Tech of Sun company.
    Advantages:
    Authoritative; Standard; Many users; All kinds of TagLibs from 3rd parts.
    Because JSP is Servlet and uses java code, Java code in JSP is very powerful and flexible, and can use all advantages of Java Language.
    TagLib can help reuse the Page Components and help drive out the ?Java Code? pollution.
    Disadvantages:
    The disadvantages of JSP are obvious. Java Code and HTML are mixed together. This is the notorious Java Code Pollution problem, which makes many programmers headache.
    Even TagLib can not solve this problem completely.
    What is more, programmers and HTML editors can not work on the same file. Every time HTML editors edit the page, programmers have to add the Java code and TagLib to the page again.
    The HTML page mixed with Java Code and TagLib can not be correctly displayed in the Browser or HTML Edition tools such as Dream Weaver and Front Page.
    If you do not run the Web Server, you can not see the result of the JSP. You can not see the Layout, Style, and the content.
    On the efficiency, flexibility, structure, reusability, JSP and TagLib are at the 2 ends.
    If you use many TagLib in the JSP, the JSP is well structured and more like XML, and the page component can be reused. But the compiled result of TagLib is big, slow and low efficient. The TagLib is not flexible. It can only do limited things. TagLib code must conform to the TagSupport definition so that the TagLib code itself can not be well reused. The writing of TagLib is not a happy work.
    If you use a lot Java Code in the JSP, the page structure will be bad and unmanageable. If your code scattered in a big HTML, it will be a nightmare. It is painful to find corresponding ?{? and ?}?. Except the ?Include File? or ?jsp:include?, the mixed Java Code and HTML can not be reused at all.
    2.2. Velocity
    http://jakarta.apache.org/velocity/
    Velocity is a template tool. Velocity template consists of HTML and Velocity Scripts and Variables.
    Advantages:
    Velocity scripts start with #, and Velocity Variables starts with $. These do not conflict with the element definition of HTML, WML and XML.
    A simple Velocity page without branch or loop logic can be correctly displayed in the HTML Edition tools such as Dream Weaver and Front Page.
    Disadvantages:
    Same as JSP, Velocity template mixes the logic with the HTML. If the Velocity template contains complex branch or loop logic, it can not be correctly displayed in the HTML Edition tools such as Dream Weaver and Front Page.
    In the big HTML, to find corresponding ?#if? and ?#end? is also a painful work. Except the ?Include File?, the mixed Velocity code and HTML can not be reused at all.
    2.3&#65294;XML + XSLT
    http://cocoon.apache.org/
    Cocoon project uses the way of XML + XSLT. Java Program only outputs the XML data. Cocoon chooses proper XSL file to transform the XML data to HTML, WML, etc.
    Advantages:
    Programmers do not need to consider the page layout and structure at all. They only generate the XML data. One XML data can be transformed to different style pages with different XSL file.
    In the aspect of separation of data and presentation, the way of XML + XSLT may be the best.
    Disadvantages:
    Slow. The speed of XSLT is slow.
    Because no HTML file, you can see the layout, style, content at all if you do not run the XSLT to transform the XML.
    XSL is not an easy language. Without the ?What you see is what you get? edition tool, the learning cost of XSL is much higher than HTML.
    2.4. Tapestry
    http://jakarta.apache.org/tapestry/
    Tapestry extends the HTML element. Tapestry uses these extended HTML element to represent the branch or loop logic, component, and variable.
    Advantages:
    Tapestry template only contains the HTML element and can be displayed in the HTML edition tool such as Dream Weaver and Front Page. Same as Velocity, Tapestry template contains branch and loop logic. Whether the Tapestry template can be CORRECTLY displayed in the HTML edition tool, depends on the complexity of the logic.
    The page component of Tapestry has the quite reusability.
    Disadvantages:
    Complex. The template definition and usage of Tapestry is complex. Due to complexity, so the speed is slow.
    I have no real experience of using Tapestry. Here I dare not say more. &#61514;
    2.5. XMLC
    http://xmlc.enhydra.org/
    XMLC compiles HTML, WML files to Java DOM classes. Programmers do not care about the page (or just define id for some HTML element). Programmers only need to operate the DOM structure to created dynamic result.
    XMLC creates operation method for every HTML element with id defined.
    Advantages:
    The template is just the pure HTML, no any logic. The template can be correctly displayed in the HTML edition tool such as Dream Weaver and Front Page.
    Java Code processes the DOM structures. The Java Code has the good structure and reusability. The DOM node is the HTML element, and can be reused well as the Page Component. You can put any DOM node to any DOM structure.
    Because the Java DOM class is created in the compiling time, there is no need to dynamic XML parsing. The DOM building speed is fast.
    Disadvantages:
    Every time you changed the HTML page, you need recompile the HTML to the Java DOM class. Many HTML is not the well-structured XML document (XHTML), and can not be correctly compiled as the DOM structure.
    The Java DOM structure can not be reused in the Multiple-Thread environment. Every HTTP Request needs to operate one exclusive DOM structure. The memory cost is big.
    After the DOM is changed, it is difficult to reset the DOM to initial status for next reuse. If the HTML file is big, the memory cost will be very big.
    XMLC is not flexible or powerful enough in some aspects. For example, as we know, many JavaScript is confined in the XML Comments. As below:
    <SCRIPT LANGUAGE="Javascript" type="text/javascript">
    <!--
    function aa{
    //-->
    </SCRIPT>
    If we need to dynamically create the JavaScript Code, it is difficult for XMLC to deal with the XML Comments which it self is not a DOM structure.
    2.6. DOM + XPath
    As we said above, XMLC functions at the compilation time.
    We can also use the way of building DOM at the Run Time. And we can use XPath to locate the target node and operate them.
    NekoHTML(http://www.apache.org/~andyc/neko/doc/html/) is an HTML Parser.
    NekoHTML uses Xerces Native Interface of Apache Xerces ( http://xml.apache.org/xerces2-j/index.html) to parse the HTML and can fix some unmatched tags to make a well-structured XHTML DOM.
    XPathAPI of Apache Xcerse can help to locate DOM nodes easily. Please refer NeckHTML document for the DOM + XPath usage.
    Advantages:
    It has the same advantages as XMLC.
    Run Time DOM building can reflect the page change in time.
    Disadvantages:
    It has the same disadvantages as XMLC.
    Run Time DOM building costs more time than XMLC. We may have a way to reuse the DOM. We use the first-time built DOM as the Standard DOM. We never operate on the Standard DOM. Every time request comes, we deep copy the Standard DOM to get a new clean DOM, and use it. Thus every HTML only needs to be parsed once. Only when the HTML changes, the Standard DOM needs to be re-parsed and rebuilt.
    Using XPath to locate DOM node is not fast. It may need to iterate the whole DOM structure.
    2.7. Echo
    http://sourceforge.net/projects/echo
    Echo project does not need template at all. Programmers write Swing-like code, and Echo outputs the HTML result.
    Advantages:
    No need to consider HTML. Swing-like code is the real UI component with the great reusability.
    Disadvantages:
    Echo hides the HTML and automatically generates many JavaScript and HTML which are difficult to maintain. The way is not flexible enough for Web program.
    2.8. PHP
    PHP template is a great design. PHP template uses the XML Comment to mark the Dynamic block, and uses ?{? and ?}? to mark the Variable.
    Advantages:
    XML Comment will not be displayed in the HTML or XML edition tools. ?{?and ?}? are not the reserved word of XML. So PHP template is a valid HTML too, and can be displayed correctly in the HTML edition tools. Programmers and HTML editors can work on same files. What you see, is what you get.
    Simple, easy to use, flexible (even as flexible as the Java Code of JSP).
    Disadvantages:
    Compared to other template techs, PHP has few short comings.
    One thing to mention, the Java Script code included in the XML Comment:
    <SCRIPT LANGUAGE="Javascript" type="text/javascript">
    <!--
    function aa{
    //-->
    </SCRIPT>
    We can not use XML Comment in the XML Comment. So we have to use {} to mark the Dynamic part.
    2.9 JDynamiTe
    https://sourceforge.net/projects/jdynamite
    From all aspects, I believe PHP is the best Template tech.
    One colleague of mine introduced the PHP template to me. I was highly interested. And I want to port the PHP to Java. First I searched on the internet and found the JDynamiTe (Java Dynamic Template) (https://sourceforge.net/projects/jdynamite) open source project which ported the PHP to Java.
    JDynamiTe Template is similar as PHP Template with a little extension and as same simple as PHP. I read its sample and like it at once.
    But I found that JDynamiTe has one shortcoming. Same as the XML DOM, JDynamiTe Template can be changed. One JDynamiTe Template can not be used in the Multiple Thread multiple thread.
    Every time request comes, JDynamiTe needs to parse the HTML to get a template DOM in the structure. And you need to set values on the template DOM, and get the result. After that, the template DOM can not be used if you do not reset it to the initial status.
    If HTML is big, it will cost much time to read and parse the HTML.
    So I decide to implement my own high efficient reusable project ? fastm (fast template).
    2.10. fastm
    http://sourceforge.net/projects/fastm
    http://sourceforge.net/projects/lightweb
    fastm template is similar as PHP template, and same as the JDynamicTe template.
    fastm template can be said as the Multiple-Thread port of JDynamicTe.
    In the fastm, the Template DOM (parsed from HTML) and the ValueSet DOM (the values for the template) are separated.
    Every HTML only needs to be parsed once to a Read-Only template DOM. Since it is Read-Only, it is Thread Safe. One Template DOM can be used in a Multiple-Thread environment.
    The Template DOM can be combined with different ValueSet DOM to generate different results.
    The fastm parser reads the HTML line by line. The parsing speed is very fast.
    fastm is faster than the way of JSP + TagLib.
    fastm may be slower than pure JSP without TagLib. Also it is possible that fastm may be faster then pure JSP. JSP (namely Servlet) writes the HTML line by line to the HTTP Response, the Net transfer efficiency is not high (of course, JSP may uses the HTTP Response Buffer). fastm writes the whole block of page into the HTTP Response once. The socket layer can take the full advantage to optimize the transfer efficiency.
    fastm support dynamic JavaScript Code generation, which is difficult in PHP or JDynamicTe.
    Except XML Comment, fastm support JavaScript Comment too. For example:
    // BEGIN DYNAMIC: special_code
    // END DYNAMIC: special_code
    This block is marked as the Dynamic block.
    fastm emulates the PHP and JDynamic. My original creation is to separate the Template DOM and ValueSet DOM. The separation of Template DOM and ValueSet DOM is a great advance based on the PHP & DOM concept.
    fastm is implemented with JDK1.4 without any 3rd part lib. Both the code size and the Runtime Size are very small.
    Among all the Java Template Techs I know, I believe fastm is the best way in all aspects?fast, easy to use, flexible, and powerful.
    I hope fastm will solve the painful Page Generation problem and will be popular among the Java programmers of the world.

    Deep insight of fastm Design Idea
    1. PHP (&fastm) marks the HTML as simple DOM
    PHP template is a beautiful design. It uses Begin-End in the XML Comment to mark the HTML or WML as different blocks. And it can marks blocks in any block.
    This way will mark an HTML page as a Tree Structure similar as DOM. But XML DOM is too heavy -- every element is a DOM node. The DOM node type may be complex. For example, in an HTML DOM, every HTML element is a DOM node, like Body, Table, TR, TD, Form, Input, etc.
    PHP template is a light-weight DOM. PHP template only has 3 kinds of node � static text, variable, Begin-End block. Only the Begin-End block can contains other nodes.
    The design is so neat, powerful, easy and general. PHP Template can be used to define any well-structured or bad structured HTML, WML, even XUL, XAML files.
    And in the HTML edition tools, what you see is what you get. I do not know any other Template Tech can be so great.
    After many painful experiences of using all kinds of Template Techs, I get to know the PHP Template Tech through my colleague�s introduction. I feel very happy and only regret that I know it so late.
    fastm Template copied the idea of the PHP Template and made a little of extension.
    fastm template�s BEGIN-END DYNAMIC block corresponds to PHP Template�s Begin-End block.
    Let�s look at the HTML block below.
    <select name=�zipcode�>
         <!-- BEGIN DYNAMIC: zipcodes -->
         <option value=�{zipcode}�>{zipcode}</option>
         <!-- END DYNAMIC: zipcodes -->
    </select>
    As we can see, this block contains one Dynamic block (zipcodes). The Dynamic block (zipcodes) contains two same variables {state}. The other parts are static text.
    The DOM structure of the HTML block is as below:
    [Static Text] <select name=�zipcode�>
    [Dynamic Block] zipcodes --
    | --- [Static Text] <option value=�
    | --- [Variable] {zipcode}
    | --- [Static Text] �>
    | --- [Variable] {zipcode}
    | --- [Static Text] </option>
    [Static Text] </select>
    2. ValueSet DOM is a Great Advance of DOM Concept
    The key feature of Template DOM is Read-Only, unchangeable.
    Every time request comes, PHP needs to parse the PHP template to get a PHP Template DOM. Then PHP code sets values for the DOM to get the result.
    PHP Template DOM is changeable.
    HTML (WML&#65292;XML) DOM is designed to be changed HTML DOM itself is both Template and Data. Program operates on the DOM node to get the result.
    Changeable DOM can not be used in the Multiple-Thread environment. Every thread must get its own DOM copy to operate and get result. If the most part of the Page is static text, this way will waste a lot of spaces and times.
    fastm Template DOM is Read-Only, unchangeable. One fastm Template DOM can be used in the Multiple-Thread environment.
    Since we can not change the fastm Template DOM, how we set values for the Template DOM and how we get the result from it?
    fastm introduced the concept of ValueSet. ValueSet is a tree-structure Data Set used to match the Read-Only Template DOM to generate the dynamic result.
    Programmers must build the whole ValueSet DOM in advance, and combine the ValueSet DOM with the Template DOM to get the result.
    The usage of fastm is like below:
    (1) In the life of the program, the fastm template only needs to be parsed once to a Template DOM.
    The parsing of fastm template is very fast, much faster then JSP compilation, Velocity
    Parsing, XML DOM parsing, even faster than XML SAX parsing. And the result Template DOM size is only a little more than the original source template file.
    (2) The code creates different ValueSet DOM and matches them to the Read-Only Template DOM to generate dynamic results.
    Due to the simple structure of Template DOM, the matching is very fast, usually faster than the fastest pure JSP/Servlet. The ValueSet DOM space efficiency is less than the pure JSP/Servlet, but the ValueSet DOM size can be optimized to be close to the pure JSP/Servlet.
    For example, let�s build a ValueSet DOM for the above Template DOM (the �zipcode select� one).
    String[] zipcodes = {�361005�, �100008�};
    IValueSet top = new ValueSet(); // corresponding to that whole HTML block
    List items = new ArrayList(); // corresponding to the Dynamic Block -- zipcodes
    for(int i = 0; i < zipcodes.length; i++){
         IValueSet item = new ValueSet();
         item.setVariable(�{zipcode}�, zipcodes);
         items.add(item);
    top.setDynamicValueSets(�zipcodes�, items);
    We combine the ValueSet DOM with the Template DOM and generate the following result.
    <select name=�zipcode�>
         <option value=�361005�>361005</option>
         <option value=�10008�>100008</option>
    </select>
    As we can see, the relation between Template DOM �Dynamic block� node and ValueSet DOM node is not one-to-one, but one-to-many. One �Dynamic block� node maps a list of ValueSets. How many ValueSets are in the list, how many times the �Dynamic block� node will be displayed.
    Compared to the TabLib, the advantage of fastm is obvious. Several lines of code or a method can do the work of one or several TagLib.
    The separation of ValueSet DOM from Template DOM is a great advance of idea.
    After all, in one page, the static part is much more than the dynamic part. Template DOM represents the static part, and it is parsed only once and kept only one copy. ValueSet DOM represents the dynamic part, and it can be created at any time.
    The separation of ValueSet DOM from Template DOM is a more thorough separation of presentation from Data, even more thorough than the way of XML/XSLT. In the way of XML/XSLT, the XML is the pure data; But the XSLT is not the pure presentation since it contains the logic. In the fastm, ValueSet DOM is the pure data, no any logic; Template DOM is the pure presentation, no any logic.
    One Template DOM can be used to match many ValueSet DOM. Vice versa, one ValueSet DOM can be used to match many Template DOM.
    For example, we have following HTML block.
    <table>
         <!-- BEGIN DYNAMIC: zipcodes -->
         <tr><td>{zipcode}</td></tr>
         <!-- END DYNAMIC: zipcodes -->
    </table>
    We match the above �top� ValueSet to this template and get the following result.
    <table>
         <tr><td>361005</td></tr>
         <tr><td>100008</td></tr>
    </table>
    3. ValueSet DOM is the reusability center
    The reusability center of JSP is TagLib.
    The reusability center of XML DOM is the DOM node operations.
    In the fastm, the Template DOM is Read-Only, so the reusability center is the ValueSet DOM operations, such as the above code to generate the ValueSet.
    Same as the XML DOM, Template DOM can be used in the whole or be used as blocks.
    Through ValueSet, you can compose blocks of any Template DOM together and get the result. It is very easy to implement the Tile or Portal in fastm.

  • Error running comparison report

    In a Demo instance for release 12.1.2 I run the extract for Profiles selection set, then on the same instance, changed some of the profile values and re-run the same extract. When I run the comparison report using both extract files I get the following error message:
    Entity Name: Profile Options
    Ignore Warnings and Continue: No
    Update Existing Records: Yes
    Time Taken(seconds): 89.0
    java.sql.SQLException: ORA-20001: The following PL/SQL exception:
    -1422: ORA-01422: exact fetch returns more than requested number of rows
    occurred in procedure az_comp_reporter.compare
    on this statement:
    procedure end
    ORA-06512: at "APPS.AZ_COMP_REPORTER", line 755
    ORA-06512: at "APPS.AZ_COMP_REPORTER", line 180
    Any help how to troubleshoot this?
    Thanks

    Hi:
    Please check for the report preferences for the key attributes marked for comparison. Also, please log a SR for tracking this issue with development.
    Thanks,
    Lokesh

Maybe you are looking for