PE02 - Multi NAA

Dear all,
I try a rule to calculate: Amount = number * value of constant ZG002
The code is below:
NUM=ANZHL
AMT=KZG002
MULTI NAA
ADDWT 1003
PRINT
*Note: currency of Amount has 0 decimal places.
But, the result is not stored in amount.
Please help me to resolve this problem.
Thanks so much,
Sophie Tran

Hi Sophie,
Please try with below rule:
      ADDWT *
       1003
            AMT=KZG002
            NUM* - 1
             MULTI NAA
             ADDWT 1003
Bhairavareddy
Edited by: Mudupu123 on Dec 20, 2010 9:47 AM

Similar Messages

  • Holiday allowance IT15

    Hi All ,
    i have a below requiremnt
    HOLIDAY ALLOWNCE
    Applicable to the employees ((Basic + HRA + Conveyance + CCA + Special Allowance)/30 x Number of days not applicable for HO employees )
    should be maitained in 0015 [ADDITIONAL PAYMENTS]
    The wage Type will be in No of Days, it will increae the IT 0008 components by no of days specified.
    For this I am writing a PCR u2013 ZABC and created two wage types  w.t.1500 for creating IT15 record with a number of days (let us say one day)and W.T. 1501  to populate in RT with the above said desired amount.
    ZABC * **** ADDWT  *
              2 1500
      AMT?0  * ADDWT *
    = AMT = 1000  BASIC PAY
    AMT/GKSOLL
    MULTI ANA
    ADDWT 1501
    But 1500 wage type passes through the condition of * **** ADDWT * and not reading from ESG for PCR 2
    Thanks
    Divnr

    You could create an other PCR to process Basic Pay WT 1000, and generate a temporary variable holding the value of Basic Pay/GKSOLL, such as:
             D  WGTYP?
           ADDWT *
    1000     ADDWT *  AMT/GKSOLL ADDWT&1000
    and insert it in your schema before PCR ZABC.
    Then, in your PCR ZABC
    ESG *     WT ****
                   ADDWT *
    ESG *     W1500   
              D  AMT?0
                ADDWT *
    =            AMT=& 1000 MULTI NAA  ADDWT 1501
    ESG 2     W1500
              D  AMT?0
                ADDWT *
    =            AMT=& 1000 MULTI NAA  ADDWT 1501

  • Allowance based on Absences

    Dear Gurus
    Attendance Allowance WT1050 is Rs.500 in IT0008 for Sub Area PSA1,PSA2,PSA3,PSA4,PSA4,PSA5,PSA6 EG7, and all Corresponding ESG
    For Absence Type 0001,0002
    0- 1.5 Days Rs.500 Paid
    2-2.5 Days Rs.450 Paid
    3Days Rs400 paid
    Greater than 3days Is 0
    how to write in rule or cover functionality and where to inser in Schema.
    Edited by: HRSAP2011 on Jul 28, 2011 11:07 AM

    Dear HR,
    As per the requirement i worked on below PCR, i am not sure abut the results, It is only for testing......and it may helps u to work on this.....scenario....
    ZZZZ Personnel Calculation Rule  ZZZZ - name of PCR
          1ATT -
    *wage type *
            NUM=TKAU** Set unpaid absences here check any value is storing in the log
            NUM?1.5    Comparison
              <
                AMT= IZHRT1 Set-------* I - T511P table access & ZHRT1 is constant value*
                MULTI NAA  Multipl.amt/no/rate
                ADDWT 1ATT OT   Output table
              >
                NUM?2.5    Comparison
                  <
                    AMT= IZHRT1 Set
                    AMT-50     Subtraction
                    MULTI NAA  Multipl.amt/no/rate
                    ADDWT 1ATT OT   Output table
                  >
                    NUM?3      Comparison
                      <
                        AMT= IZHRT1 Set
                        AMT-100    Subtraction
                        MULTI NAA  Multipl.amt/no/rate
                        ADDWT 1ATT OT   Output table
                      >
                        AMT= IZHRT1 Set
                        AMT*0      Multiplication
                        MULTI NAA  Multipl.amt/no/rate
                        ADDWT 1ATT OT   Output table
    Before this just create a IT0015 with no. 1. (ANZHL),
    then insert this PCR after P0015 function in schema.....
    and i need your feedback if possible ...to work more on this....(all bold are...comments not part of PCR)
    Thank you n all the best.

  • How to add overtime calculation Rule?

    Dear Experts,
            Beacause we have eleven methods to calcuation overtime,i have to add these rule to sap,who can tell me how to do?can you give me some document?
            Looking to your reply,thanks in advance.
    Best Regards,
    Merry

    IF you are useing + time you can go with wht our expert have said
    if u are useing without time evaluation
    the inputs which you are giving in the wage tyoe shd be in hours
    and the PCR
    AMT+   XXXX  Basic wage type
    AMT/30
    AMT/8
    AMT*1.25
    MULTI   NAA   (Number Amount Amount)
    ADDWT *
    for ur wage type in T511  Character stics u have to change the characters of Input and out Put of the amount

  • Calculate amount for different wagetype

    Hi Gurus,
    how can i calculate amount which is taken from another wagetype in IT table?
    example :
    in IT table :
    wagetype = 7000, number = 7
    wagetype = 7001, amount = 1000 (input from infotype 8)
    what i need to do is update the amount of wagetype 7000 to be 1000 * 7 = 7000
    thanks alot for any help

    Are you maintaining only number in 7000 WT  if yes
    Go for PCR where
    7000
    AMT=  7001
    MULTI  NAA
    ADDWTE

  • PCR Problem

    Hi gurus,
    I intend to write a PCR which does :
    for the IT 2010 ( Remuneration info)
    --> *
            NUM?0
                =
                    NUM=0
    " <>0
                 AMT = NUM * 15000
                ADDWT /101
    I mean to do if NUM in the subtype of IT 2010 > 0, then i will multply the num field with a number  and then store this into another WType so that this will be added to the Net pay result ( /101)
    Thank you very much for your help

    Hi Manohar  ,
    thank so much for your good reply , I've tested but the result is not added to the AMT but the NUM field...
          1000  monthly Salary
         Rule   ESGPCR VaKey    Operation
         Z001      *            NUM?0
         Z001      *   =        NUM=0
          1000  monthly Salary
         Rule   ESGPCR VaKey    Operation
         Z001      *            NUM?0
         Z001      *   =        NUM=0
          5010 Days / month ( Lunch)
         Rule   ESGPCR VaKey    Operation
         Z001      *            NUM?0
         Z001      *   *        NUM*KCONST
         Z001      *   *        MULTI NAA
         Z001      *   *        ADDWT /101
         Z001      *   *        ADDWT *
         Output
         Table IT
          A Wage Type       APC1C2C3aBKoReBTAwvTvNOne Amount/One Number       Amount
          3 /101 Total gross02                X 01010          300,00
          3 5010 Days / mont02                X 01010          300,00
    I need to add 300 into AMT field in place of NUM
    And once more problem,  when i mulply NUM ( 20 ) with 15,000( Thousand) , The NUM field is *000,00
    Thanks

  • Multi provider transport

    Hi all,
    I have a multiprovider on an ods and an Master data Info object.
    ods and info objects are already there in production.
    I have created a query on this multiprovider.
    NOw I need to transport this multiprovider and to production system.
    from Transport Connection in RSA1 I selected the multiprovider and ther i need not to select the ods and Info object naa.
    and my query and multiproviders are saved under local package($tmp).
    I am going to change the package for both multi provider and query and transport it,
    Is it correct procedure or is there any steps need to be followed
    Please help me..
    Sridath

    Hi
    If you have the dependent Info Objects, DSO (You used in MP ) with PRS no need to Transport the Same again, Provided you have not done any changes to the existing IO, DSO.
    You have to change the Package and Transport with all necessary Objects by grouping MP / QUERY/ roles along with Work books.
    Transport Sequence
    Info Objects,
    DSO
    INFO CUBE
    TRANSFORMATIONS
    MP
    INFOSETS
    PROCESS CHAINS
    QUERIES
    Objects need to be transported with respect to their
    dependencies
    InfoProviders will bring in all relevant InfoObjects
    Importing of Global variables is dependant on their reference
    InfoObject being already active
    Queries, workbooks and roles are dependant on InfoProviders
    and InfoObjects being active
    Use the Transport Connection Tool to analyze your objects
    Transport all customer-defined packages (dev classes) before
    transporting objects
    Transport InfoProvider(s) using the "In Data Flow Before" or
    "Only Necessary Objects" grouping option
    Transport all Global Variables with primary package
    assignment
    i.e. ZBW
    Transport BEx objects with appropriate individual package
    assignment
    Transport roles and workbooks together
    /people/balint.almasi/blog/2006/12/11/how-to-create-a-transport-request-save-for-system-copy
    Hope it helps and clear

  • PE02 - PCR Calculation

    Hi,
    I have the following requirement -
    I want to extract the decimal part of the amount. To do this, I have to keep the amount in a  var and then use ROUND operation (rounding down), substract the var amount from the rounded amount and there extract it.
    Could anyone tell me how to do this above operation. I need a sample PCR code for this above logic to code in PE02.
    Thank you

    Hi,
    I have pasted my code below,
    5000 Annual Leave Encashment
    AMT=& ZHRY Set
    AMT*KZLEAM Multiplication
    AMT/KZLEAD Division
    MULTI ANA Multipl.amt/no/rate
    ROUNDG-100 Round AMT down
    ADDWT&5000 VAR Variable table
    FILLF A Fill amt/no/rate
    AMT- &5000 Subtraction
    AMT*-1 Multiplication
    AMT?0.5 Comparison
    <
    =
    >
    BREAK Break for ABAP pref.
    My amount is greater than 0.5, but it does not hit the break statement...
    My objective is to find if the amount is greater than 0.5 for the decimal part
    Please use PRINT operation after ROUNDG-100 Round AMT down after AMT- &5000 Subtraction and after AMT*-1 Multiplication so to output amount. We will review when you post results back.
    Thanks

  • Multi provider

    Hi Experts.
    I have one DSO and one CUBE.only two fields are common in the both DSO and CUBE.now my requirement is i need all the fields from the DSO and some fields from the cube( which fields are not common). what is the best one to use multi provider or Info set.
    If we can achive through Info set how to do it.
    regards..roi
    Edited by: samuroi on Apr 13, 2010 2:17 PM

    Hi
    Check these links:
    http://www.scribd.com/doc/6446225/BI-Data-Modeling-Multi-Providers-and-InfoSets
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2f5aa43f-0c01-0010-a990-9641d3d4eef7
    http://www.sap-img.com/business/steps-for-creating-multi-provider.htm
    Regards
    Chandra Sekhar T

  • SharePoint Foundation 2013 - Multi-tenant Install and OneDrive for Business with Yammer i

    Hello,
    After installing SP Foundation 2013 (SP1) with Partitioned service applications we have noticed that while clicking on the "yammer and oneDrive" link the below error message comes up:
    _admin/yammerconfiguration.aspx
    any ideas??
    http://technet.microsoft.com/en-us/library/dn659286%28v=office.15%29.aspx
    we have also noticed that MS mentioned "OneDrive for Business with Yammer integration doesn’t work for multi-tenancy or partitioned service applications for on-premises deployments"
    ja

    ULS
    Application error when access /_admin/cloudconfiguration.aspx, Error=Object reference not set to an instance of an object.   at Microsoft.SharePoint.WebControls.SPPinnedSiteTile.OnInit(EventArgs e)     at System.Web.UI.Control.InitRecursive(Control
    namingContainer)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.InitRecursive(Control
    namingContainer)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    =====
    To me it seems SharePoint social networking features require the full SharePoint Server product AND are not available with the free SharePoint Foundation, If correct then why MS punching it here in Foundation without a friendly error message..
    ja

  • SSRS 2012: How to get a "Select All" that returns NULL instead of an actual list of all values from a multi-select parameter?

    I have a multi-select parameter that can have a list of thousands of entries. In general, the user will pick a few entries from the list or "Select All". If they check "Select All", I would much prefer that I get a NULL or an empty string
    instead of a list of all values. Is there any way to do that?
    In experimenting with a work-around, I tried putting an "All" label with a null value in the list, but it is ignored (does not display in the drop-down). If I use an empty string for the value, my "All" entry does get displayed, but so
    does "Select All", which is confusing. Is there a way to suppress "Select All"?
    - Mark

    I adapted the following from a workaround posted by JNeo on 4/16/2010 at 11:14 AM at
    http://connect.microsoft.com/SQLServer/feedback/details/249227/multi-value-select-all-parameter-in-reporting-services
    To get a null value instead of the full list of all values when "Select All" is chosen:
    1) Add a multi-value parameter "MyParam" that lists the values to choose.
    2) Add a DataSet "ParamCount" identical to the one used by "MyParam", except that it returns a single column named [Count] that is a COUNT(*) of the same data
    3) Add a parameter "MyParamCount", set it to hidden and internal, then set the default value to 'Get values from a query', choosing "ParamCount" for the Dataset and the one [Count] column for the Value field.
    4) Change the parameter for the main report DataSet so that instead of using [@MyParam], it uses this expression:
    =IIF(Parameters!MyParam.Count =
    Parameters!ParamCount.Value, Nothing, Join(Parameters!MyParam.Value, ","))

  • Get all values from multi select in a servlet

    Hello,
    I have a multi <select> element in a HTML form and I need to retrieve the values of ALL selected options of this <select> element in a servlet.
    HTML code snippet
    <select name="elName" id="elName" multiple="multiple">
    Servlet code snippet
    response.setContentType("text/html");
    PrintWriter out = null;
    out = response.getWriter();
    String output = "";
    String[] str = request.getParameterValues("elName");
    for(String s : str) {
    output += s + ":";
    output = output.substring(0, output.length()-1); // cut off last deliminator
    out.println(output);But even when selecting multiple options, the returned text only ever contains the value of the first selected option in the <select>
    What am I doing wrong? I'm fairly new to servlets
    Edited by: Irish_Fred on Feb 4, 2010 12:43 PM
    Edited by: Irish_Fred on Feb 4, 2010 12:44 PM
    Edited by: Irish_Fred on Feb 4, 2010 2:14 PM
    Edited by: Irish_Fred on Feb 4, 2010 2:26 PM
    Edited by: Irish_Fred on Feb 4, 2010 2:26 PM
    Edited by: Irish_Fred on Feb 4, 2010 2:32 PM

    I am using AJAX.
    I will show you how I'm submitting the <select> values by showing you the flow of code:
    This is the HTML code for the <select> tag and the button that sends the form data:
    <form name="formMain" id="formMain" method="POST">
         <input type="button" id="addOpts" name="addOpts" value="Add Options" style="width:auto; visibility:hidden" onClick="jsObj.addOptions('servletName', document.getElementById('elName'))">
         <br>
         <select name="elName" id="elName" multiple="multiple" size="1" onChange="jsObj.checkSelected()">
              <option value="0"> - - - - - - - - - - - - - - - - </option>
         </select>
    </form>Note that the "visibility:hidden" part of the button style is set to "visible" when at least one option is selected
    Note that "jsObj" relates to a java script object that has been created when the web app starts ( The .js file is included in the .jsp <head> tag )
    The following code is taken from the file: "jsObj.js"
    jsObj = new jsObj();
    function jsObj() {
    //=================================================
         this.addOptions = function(url, elName) {
              var theForm = document.getElementById('formMain');          
              if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari
                   xmlhttp=new XMLHttpRequest();
              } else { // code for IE6, IE5
                   xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
              url += this.buildQueryString(theForm.name);
              xmlhttp.open("POST",url,true);
              xmlhttp.send(null);
              xmlhttp.onreadystatechange=function() {
                   if(xmlhttp.readyState==4) { // 4 = The request is complete
                        alert(xmlhttp.responseText);
    //=================================================
    this.buildQueryString = function(formName) {
              var theForm = document.forms[formName];
              var qs = '';
              for (var i=0; i<theForm.elements.length; i++) {
                   if (theForm.elements.name!='') {
                        qs+=(qs=='')? '?' : '&';
                        qs+=theForm.elements[i].name+'='+escape(theForm.elements[i].value);
              return qs;
         //=================================================
    }And this is a code snippet from the "servletName" servlet:public synchronized void doGet(HttpServletRequest request,
              HttpServletResponse response) throws ServletException,IOException {
              PrintWriter out = null;
              try {
                   response.setContentType("text/html");
                   out = response.getWriter();
                   String output = "";
                   String[] values = request.getParameterValues("elName");
                   for(String s : values) {
                        output += s + ":";
                   output = output.substring(0, output.length()-1); // cut off last delimitor
                   out.println(output);
                   } catch (Exception e) {
         }So anyway, everthing compiles / works, except for the fact that I'm only getting back the first selected <option> in the 'elName' <select> tag whenever I select multiple options
    Edited by: Irish_Fred on Feb 7, 2010 10:53 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Multi-month, year, and date-range views

    My apologies for wasting everyone's time if I've missed something really obvious here, but am I correct in concluding that there is no way to generate anything beyond a static one-month view in iCal? No multi-month view? No year view? No "view date range"? At this stage of the game, how is it possible that something so elemental could be omitted from this program?
    At this point I'm reduced to exporting each month to a pdf file and then arranging them as tiles on the screen. But there has to be a better way.
    Short of a new version from Apple, are there any plug-ins that would do this? Does anyone have any other work-arounds? Thanks in advance.

    A quick search of the forums shows that this is a HIGHLY sought after feature (including by me). We all need to use the feed back link (below) to let Apple know this. In my experience with the tech support folks, they seem to have NO idea about what these forums say. In the past I have actually had them log in to these forums and search the issue I was calling them about and they have been blown away when they see the hundreds / thousands of posts with the very same thing they're discussing with me. So, as the wise man says .. "you don't ask, you don't get!" Use the form and let them know...
    http://www.apple.com/feedback/ical.html

  • Needing a multi-month and year-in-view option for ical!

    Hello all!
    I could really use a multi-month and year-in-view format in ical... I've seen some dated posts - is anyone aware of any new developments/options for this?
    thanks and peace-
    DW

    I turn off all calendars but the birthdays. Select [Print]. Choose all the months you want to see. Deselect all calendars but birthdays. Click [Continue]. On the next menu, go to "Layout", select how many pages to print on the paper. I usually print a border around each calendar then you're good to go!
    By only printing the birthdays calenar, you won't get too many appointments to get in the way of brain storming and future planning, yet the computer still thinks its printing a useful calendar.

  • How to create multi-folders in a single folder in numbers

    how do you create multi-folders in a single folders. I have multi files orginized by month, but now i need to group it into a single folder by year.

    See this link:
    http://apex.oracle.com/pls/otn/f?p=31517:107
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

Maybe you are looking for

  • My iCal crashes every time I try to open it. How can I fix this?

    I'm running Lion, have a Window's partition and use the machine to play blizzard games and watch movies mostly. This just started over the weekend of December 8, 2012. Thanks for the help!

  • Upgrade photo library

    Upgraded to Mavericks and latest iPhoto 9.5.1.  Told Photo Library needs to be upgraded to work with this version and it would take up to 3 hrs.  I hit the Quit button thinking I would be able to do it the next session but I can't.  I don't want to l

  • Interesting Activity in the Answers Forums

    Presented without comment. :-) http://answers.microsoft.com/en-us/insider/forum/insider_wintp-insider_store/there-are-two-stores-in-windows-10-technical/22e68300-6702-41c8-ba93-9599f0628dbc Paul Adare - FIM CM MVP Cf. those boxes of serial that are o

  • Changing report dynamically

    Hi Friends, I have form page where i have a date field which is showing sysdate+91 and on submit of this form page i am navigating to a report page. The report is like this If you see the last two AND clause which is and a.msd <= :P3_DATE and a.msd 

  • Upgraded to CS4 from 3 - Question about Actions

    PS CS3 had a slew of actions--including many textures and frames.  I just installed CS4 and the actions are pretty sparse.  I am kind of a novice and would appreciate any advice offered.  How do bring in the actions I had in CS3 to version 4? Thanks!