Need to write a custom formula for accrual plan in Leave

Hi , I have also one problem related to leave.
How to create fast formula for leave setup because i want to create fast formula accordingly If People will present 20 days in month then they will get 1 PL and If people will present 60 days then they will get 1 CL.So for this how to do leave setup and fast formula.Please help me out.
I Waiting for your reply,

Please refer following notes:
How to create and use Oracle FastFormula functions [ID 214027.1]
Fast Formula FAQ [ID 211422.1]

Similar Messages

  • Error when writing reviews: "in order to write a customer review for this item you must have purchased or downloaded it first"

    I constantly get the error "in order to write a customer review for this item you must have purchased or downloaded it first" when I'm trying to write reviews on my iPhone.  Sometimes I can access iTunes via my PC and write the review on there from the App Store page, but sometimes even that doesn't work.  Even though, at the top of the app's page, it says "downloaded" under the graphic.  I am properly logged into iTunes, using the same email address and password I used to purchase the app.  I don't understand why this is happening, it doesn't make sense.  It started after I updated to iOS5, but I can't find any mention of other people having this problem.  Anyone know anything?

    You CAN'T review applications "purchased" using a promo code. Not saying you used a promo code, but if you did, you won't be able to leave a review. If you didn't use a promo code, delete the app in question from your iTunes library, then re-download it. See if you can leave a review now.

  • Need help creating a custom formula in a form

    I'm trying to create a custom formula for for our Order entry. I want to be able to put in the quantity, list price, and discount percent and have it calculate what the extended price will be? The formula I came up with was (ListPrice * Discount1/100)* Quantity1 but that didn't work.
    Here is what the spreadsheet looks like
    [IMG]http://i.imgur.com/JTV5QUW.png[/IMG]
    Does that make sense?

    Only if your discount percent field is formatted as "Number" and not as a 'Percentage".
    Images do not provide enough detail about the form, scripts, fields, field formats, etc to be much help.
    Are you getting any error messages in the JavaScript console?
    Change the format for the result field to "None" and observe the result.
    Your code is definitely not JavaScript that would work in an Acrobat form field.
    Are you using LiveCycle Designer to make your form?
    Are you using the "Simplified Field Notation" option?

  • Fox formula for actual/plan data  - Planning function

    Hello,
    I am working on the following scenarios for developing a  planning functions for a monthly forecast.
    It is rolling montly forcast where user starts the planning in Jan and he has to show the actaul value for the month of Jan and blank values for the remaining 11 months of the year and then the user post his new forecast values for the remain 11 of the year(to replace initial balnk values) so that the data will be saved to real time cube with version v108
    In Feb, Jan & Feb months has to show the act values and remaining 10 months has to show last month forecast data. The the user may revise the forecast for the 10 months and then we have to write the data to the real time cube with version v208
    In Mar, Jan, Feb and Mar has to show the actual values and the reamining 9 months has to show the last month forecast and then users may revise the forecast data and then i have to write back to the cube with version v308.
    I want to automate this process for all the months and all years without manual intervention. So, i decideed to write a fox formula for this scenario with following draft code.
    I will get the fy period & year as a variable values and then take the system date into the variable
    for each fy period
    if the fy perio <= sys date.
      {version, infoprovider,value type,amount} = {0,act cube, 10, 0amount)
    else
    {version, infoprovider,value type,amount} = {result,plan cube, 20, 0amount)
    endif.
    result will be calculated on the separe routine and populated here
    case (fy per)
    when 01.
    concatenate v1 with fy+2(2) into y
    result = v1+y
    when 02.
    concatenate v2 with fy+2(2) into y
    result = v2+y
    when 03.
    concatenate v3 with fy+2(2) into y
    result = v3+y
    when 04.
    concatenate v4 with fy+2(2) into y
    result = v4+y
    when 05.
    concatenate v5 with fy+2(2) into y
    result = v5+y
    when 06.
    concatenate v6 with fy+2(2) into y
    result = v6+y
    when 07.
    concatenate v7 with fy+2(2) into y
    result = v7+y
    etc...for all months
    So, can you please let me know the best way to implement this (either by fox formuls or exits)...your inputs are really appreciated
    Thanks,
    Srini
    Edited by: srini on Mar 28, 2008 12:05 PM

    Hi Srini,
    If I 've understood u r problem clearly ,You have to write two Fox Functions and you can call exit variable in both to check the system date.
    I think first you should create exit varriable which would return the system date,use the same variable in data slice to lock the data till current period.
    After that create one fox restricted with any one version where you can copy the data for planning .for example:-
    1)First Fox:-
    DATA TIM_FISCPER TYPE 0FISCPER.
    TIM_REF_FISCPER = VARV(ZEXIT_FPER).
    Get the last month
    version using modlue or any another logic .(v108)
    FOREACH TIM_FISCPER.
        IF TIM_FISCPER <= TIM_REF_FISCPER.
      {0amount,version(001) ,tim_fiscper} = {0amount,version(000) ,tim_fiscper}.
    else.
      {0amount,version(001) ,tim_fiscper} = {0amount,version(v108) ,tim_fiscper}.
         endfor.
    Its just n example use the granularity according to the requirement.
    2)Second fox would save the changed plan data:-
    DATA TIM_FISCPER TYPE 0FISCPER.
    TIM_REF_FISCPER = VARV(ZEXIT_FPER).
    Get the last month
    version using modlue or any another logic .(v208)
    FOREACH TIM_FISCPER.
        IF TIM_FISCPER > TIM_REF_FISCPER.
      {0amount,version(v208) ,tim_fiscper} = {0amount,version(001) ,tim_fiscper}.
         endfor.
    Here ZEXIT_FPER is an exit variable created using cmod and populated with system date.
    Hope it will helpful for u.
    Rgds,
    Indu

  • How to Write a CUstomer Exit for a variable in BEx

    Hi,
    How to write a customer exit variable in bex Query designer
    Do i need developers key for this (If so what type of key do i need so that i can ask basis tean to generate)
    Info Object: ZEXP_DTE (Expiry Date)
    Variable on ZEXP_DTE :
    ZEDTE
    Type: Customer Exit
    Can any one please tell me how to write a code in CMOD from this (Step-by Step)
    Expiry Date > Current Cal Day
    As arun said
    'l_s_range-low = SY-DATUM.
    l_s_range-opt = 'I'.
    l_s_range-sign = 'GT'.
    APPEND l_s_range TO e_t_range.'
    I want to insert the above code for the above customer exit but as i am new to BW as  ABAP please explain me what are the steps involved in CMOD
    Thanks

    Hi,
    To write customer exit for a variable, you require Access key.
    Contact your BASIS to get that.
    Access Key,BASIS?
    To write Customer exit,
    User Exits
    User Exit for Variable
    /thread/809285 [original link is broken]
    Hope these helps u...
    Regards,
    KK.

  • Do we write variable customer exits for virtual key figures in Bex?

    Hi all,
    Am I thinking the right here " We write variable customer exits in CMOD for virtual key figures in BEx " or am I totally wrong. If thats the case where do we write it.
    Thanks,
    JB

    Nevermind

  • Custom formulas for Numbers Spreadsheets

    Where do I go to get instructions for custom formula writing in Numbers.  My product is iMAC OS X Yosemite.  I am more confident with EXCEL and having difficulty with flexibility in the Numbers Spreadsheets.

    A good place to start is to select the menu item  in Numbers "Help > Numbers Help"
    Also... type the "=" sign in any cell then use the "Function Browser" to get familiar with the functions-- many are the same as excel.:
    Finally, post direct and focused questions here in the forums.  Good questions are formulated with "I am trying to do X.  When I do this and that I get something and expected something else"
    Post screenshots using by using the camera icon in the tool bar after using the built-in screenshot feature in mac os X (command + **** + 4, then select the area of the screen, the file will appear on the desktop)

  • How to Write a FOX Formula in Intergrated Planning Functions?

    HI BI-IP Experts,
    I have just written a FOX formula to call an ABAP Function Module which will execute a Process CHain to run.
    Here is what I wrong in the FOX formula in the Planning Function ZPF_FOX_CALL_PC.
    Call Function Z_CALL_PROC_CHAIN
    = * 1.
    I had to add in this line otherwise the system do not allow me to save the FOX.
    In the Function Module Z_CALL_PROC_CHAIN, it contains the following codes:
        SUBMIT rsprocess
               WITH type    = 'CHAIN'
               WITH variant = 'Process chain name'
               AND RETURN.
    Next I created a workbook with a button that executes this Planning Function ZPF_FOX_CALL_PC.
    The button contains 3 lines:
    CMD => Execute Planning Function
    Planning Function Name => ZPF_FOX_CALL_PC
    CMD => SAVE_AREA.
    After I clicked on the button, my excel seems to be running and I waited for very long but nothing happens.
    And it seems to be running and running and won't stop.
    Is it because the program is running in a loop because I missed out some codes in the FOX?
    Thanks,
    Shunhui.

    hi,
    Since you have not given any condition, the fox formula is being executed for all the number of records...thats why you are seeing the loop.
    example if you have 10 records in your BPS template, the formula is getting executed 10 times for each
    you need to select the field for condition which will make 1 entry, so the function module gets executed just once..
    or.. in the function module when you trigger the process chain, make an entry in a database table... when the 2nd row starts, it will check the table... if the entry exists, it will skip the scheduling of process chain... so on..
    In the process chain.. at the end, delete the entry from the database..
    so your code in the function module should be like this ... assume you have 10 records..
    select * from table zlock  where process chain name = pc name  
    (this is to check if the process chain is already running, if yes skip, if no trigger the process chain)
    if sy-subrc eq = 0.
    exit
    else.
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    (this will trigger the process chain in background)
    IF sy-subrc = 0.
      SUBMIT rsprocess
      WITH type = 'CHAIN'
      WITH variant = 'PC name'
      VIA JOB name NUMBER number
                        AND RETURN.
    (after the process chain started, make an entry in the lock table.. so it will not be executed again)
    insert entry in table zlock
    ENDif.
    endif.
    I understand this is complex, but I think its one solution I can think of.

  • Need to select all equipments (PRT) for a plan (routing) operation (PLPO)

    hi,
    I need to select all assigned equipments (PRT) for a plan (routing) operation (PLPO).
    Can anybody tell me the database table relation or is there a function module or a BAPI or something like this !?
    Thanks
    Olaf
    Edited by: Olaf Krüger on Feb 20, 2008 12:03 PM:  BADI to BAPI

    I suppose you have every PLPO needed (else look at function module WOSTS_TASKLIST_READ_FROM_DB)
    Then read
    PLMZ Allocation of bill of material items to operations
    STPO BOM item
    SELECT * FROM plmz INTO TABLE t_plmz
        FOR ALL ENTRIES IN t_plpo
        WHERE plnty = t_plpo-plnty
          AND plnnr = t_plpo-plnnr
          AND plnkn = t_plpo-plnkn.
      SELECT * FROM stpo INTO TABLE t_stpo
        FOR ALL ENTRIES IN t_plmz
        WHERE stlty = t_plmz-stlty
          AND stlnr = t_plmz-stlnr
          AND stlkn = t_plmz-stlkn.
    Regards

  • Need a complete list of products for students plan

    Hi, I need a complete list of products for the student's plan.
    Thanks!

    Hi Mio,
    Here is the link for Creative Cloud pricing and membership plans | Adobe Creative Cloud
    Thanks,
    Atul Saini

  • Need to write a startup script for TunTap

    Dear community,
    I am using 10.10.1, 13" MBPr Late 2013 and I need to be able to access my Work VPN. From what i have been told, the OS X client can't work and that I have been advised to use Shrew Soft VPN. (We initially tried to get the WatchGuard Firewall to build a Mac .dmg and that didn't work). To get ShrewSoft to work, I have had to follow these steps:
    http://ulaptech.blogspot.co.uk/2012/11/shrew-soft-vpn-client-for-mac-os-x.html
    ·         Install the qt-mac-opensource-4.7.1.dmg file first
    ·         Install the tuntap20111101.tar.gz file second
    ·         Install the shrew soft client.
    But the TunTap download that is above will not work as it is unsigned and Yosemite has now killed off unsigned kexts.I tried turning off the requirement for OS X for signed kexts by using this command:
    sudo nvram boot-args="kext-dev-mode=1"
    Then rebooting, but it didnt work.
    I can get the VPN to work if I open up terminal and enter these two commands:
    sudo kextload /library/extensions/tap.kext
    sudo kextload /library/extensions/tun.kext
    But I have to do this everytime i turn my Mac on.
    Could somebody please help me write those two lines into a startup script? As I really have no idea how to do it.
    Your help and guidance would be appreciated

    Choose Utilities from the Finder’s Go menu, open the AppleScript Editor, and paste in the following:
    set thepassword to text returned of (display dialog "Your administrator password is required." default answer "" with hidden answer)
    do shell script "kextload /Library/Extensions/tap.kext" with administrator privileges password thepassword
    do shell script "kextload /Library/Extensions/tun.kext" with administrator privileges password thepassword
    Save it as an application and set it as a login item.
    (120186)

  • Need to write USER DEFIND FUNCTION for following Business logic in SAP XI.

    Hi,
      I have Tto write a user definf function in SAP XI. can any once help in doing so.
    For the decimals it has to be completed with 0 (zeros) on the right if the value of the field has less than the size of the decimals and also it has not be sent comma (,) or point (.) in the numeric fields. Example: The monthly received quantity (field QTARICM) is 587,57. In the output file it has to be sent 000000000587570 (size 12 + 3 dec).
    Thanks in Advance.
    Best Regards,
    Joseph

    Hi
    I checked this works
    public void func(float sourceNumber)
              String targetNumber="";
              int size1=12;
              int size2=3;
              int numberOfDigits=0;
              int temp=(int)sourceNumber;
              int temp2=(int)sourceNumber;
              while(temp>0)
                   int digit=(int)temp%10;
                   numberOfDigits++;
                   temp=temp/10;
              String tempString=""+sourceNumber;
              String afterDecimal=tempString.substring(tempString.indexOf(".")+1,tempString.length());
              //to generate the target
              for(int i=0;i<size1-numberOfDigits;i++)
                   targetNumber=targetNumber.concat("0");
              targetNumber=targetNumber.concat(""+temp2);
              targetNumber=targetNumber.concat(afterDecimal);
              for(int i=0;i<size2-afterDecimal.length();i++)
                   targetNumber=targetNumber.concat("0");
              System.out.println(targetNumber);
    Let me know if you need any modifications.
    Thanks

  • What do I need to create Flex custom components for Xcelsius 2008 SP3?

    Hello, and thanks for your time. 
    I have recently been roped into creating some custom components in Flex 3 for use in Xcelsius 2008 SP3.  I can create custom components in Flex, but I have no idea how to get them into Xcelsius. 
    I have begun my own research into everything I am going to need, but I am hoping someone out there who has done this can provide a user-friendly itemized list of all the parts that are needed to accomplish this task.  I want to make sure I do not miss anything.
    Thanks for any insight you may be able to provide.
    What I have so far:
    Flex Builder 3
    Xcelsius Engage Server 5.3 (2008)
    What I think I need:
    Xcelsius 2008 component SDK
    Cheers!
    Edited by: midasxl on May 5, 2011 6:11 PM

    Hi Manisha,
    Even we have a requirement to create doughnut chart in flex and need to add it in xcelisus.I can bulid that in flex and it is working with static data.Please provide me the sample code of how to pass dynamic data from xcelsius excel to this chart and how to create properties file for this chart.I have looked at horizantal slider example but that doesn't help much.
    Thanks in Advance.
    Regards,
    Karthik

  • Need to write start up scrits for weblogic admin server on Linux

    Hi,
    I am new to weblogic i have Installed wls1035 on Linux Created Managed servers,but i want write start up and stop scripts for weblogic admin server please let me know how to write.
    My weblogic server is Running on Linux..please help me its very urgent for me.....

    Put something like this into a startAll.py file (excluding the ---):
    startNodeManager(verbose='false',NodeManagerHome=localWlsHome + '/common/nodemanager',ListenPort=5556,ListenAddress=localhost)
    nmConnect('weblogic','password','localhost','5556','domain_name')
    nmStart('AdminServer','/path-to-domain-dir')     
    nmStart('my_server_1','/path-to-domain-dir')     
    nmStart('my_server_2','/path-to-domain-dir')     
    nmDisconnect()
    exit()
    source /path-to-domain-dir/bin/setDomainEnv.sh
    $JAVA_HOME/bin/java weblogic.WLST startAll.py
    Similar for stop (stopAll.py):
    nmConnect('weblogic','password','localhost','5556','domain_name')
    nmKill('my_server_1')     
    nmKill('my_server_2')     
    nmKill('AdminServer')
    stopNodeManager()
    exit()
    source /path-to-domain-dir/bin/setDomainEnv.sh
    $JAVA_HOME/bin/java weblogic.WLST stopAll.py
    You might have issues with the Nodemanager having an autogenerated username and password. That can be fixed like this:
    In the AdminServer console, click on Lock & Edit
    In the AdminServer console, go to <domain> -> Security -> General -> Advanced and update the Node Manager username and password to use the same values as the WebLogic server.
    In the AdminServer console, apply the changes.
    Start WLST: $WL_HOME/common/bin/wlst.sh
    Connect to the AdminServer: connect('weblogic','password','t3://<adminserver-hostname>:<adminserver-port>')
    Enroll: nmEnroll('/path-to-domain-dir')
    Exit WLST: CTRL^D
    You might also look into customizing the nodemanager's property file:
    Edit $WL_HOME/common/nodemanager/nodemanager.properties
    StopScriptEnabled=true
    CrashRecoveryEnabled=true
    StartScriptEnabled=true
    For further reading, please take a look at: http://docs.oracle.com/cd/E15051_01/wls/docs103/config_scripting/reference.html
    Edited by: 925121 on Apr 3, 2012 2:16 AM

  • Need Direction to Edit Custom Reports for Crystal 8.5

    Hi,
    I'm pretty new to crystal and I have the need to edit a few of our custom reports. I have a report called "Summary of Transactions by Dept". This pulls the data and then groups the information by dept. I want to have it pull the same data but with a minor tweak, I need to have it grouped by job.
    I added the "Job" table and then I linked it to a "tran" table. I'm pretty sure I linked the tables correctly, I looked at how the "dept" table was linked and did the same.
    I then changed the groups to group by "job description". When I try and refresh the data I get nothing. Can anyone explain why this happens?

    Thanks for your help guys... I figured out that I needed to "set the location" for the report. It needed to look at the database that the program was looking at. I appreciate the help.
    I have a new problem I am trying to solve. I was able to create the custom report that I needed, but with one problem. The report is a Transaction summary by Job Description report. The issue is that the data being pulled for past transactions is using the current item pricing (past prices were less expensive). This is only a problem if the item existed at another price in the past. So when you total the item cost it shows up more expensive then it really was on some items.
    Ex. Item123
    On 05/01/2008 cost $4.00
    Current pricing for the item is $5.00
    When I run the report for 05/01/2008 - 05/31/2008, asssuming I used 2 pieces. The report generates a total cost of $10.00 (when it really only cost $8.00 because that was the cost at the time of issue.)
    Any idea's?

Maybe you are looking for