How to use DFF value in BG_ABSENCE_DURATION Fast formula

Hi All,
I would like to know how can we use DFF values in BG_ABSENCE_DURATION fast formula.
Can we pass them as input values?
Also, when we use them as DATABASE ITEMS how does Fast Formula identifies them.
For example I have created a DFF value HALF_DAY that can take either "YES" nor "NO".
I tried to use that as input value but that didnt work, not sure if it is possible at all or not.
I also tried to use that as Data Base ITEM, as follows:-
IF (ABSENCES_HALF_DAY WAS DEFAULTED ) then
duration = 'FAILED'
invalid_msg = 'DFF not working'
Any help will be much appreciated.
Thanks,
Avinash
but i am getting following error when i access SSHR
Formula BG_ABSENCE_DURATION: ORA-01403: no data found ORA-01403: no data found Cause: During the PL/SQL execution part, an Oracle error was detected. Action: Please refer to your system administrator.

Thanks Vigneswar  and Avaneesh for your helpful comments,
Actually I want to retrive the DFF value that I pass while applying the Leave Request and not that already stored in the data base. I checked and found that the query you have mentioned is retriving the data from base tables.
select target.ATTRIBUTE6 -- Attrinute6 is database item ABSENCES_HALF_DAY+
from    per_absence_attendances                target,+
per_all_assignments_f                  ASSIGN+
WHERE   sysdate BETWEEN ASSIGN.effective_start_date+
AND ASSIGN.effective_end_date+
AND    ASSIGN.assignment_id                  = 647--&B2+
AND    ASSIGN.assignment_type                = 'E'+
AND    target.person_id                      = ASSIGN.person_id+
AND    target.absence_attendance_id  =+
*(select max (absence_attendance_id)*
from   per_absence_attendances+
where  person_id   =  ASSIGN.person_id+
and    date_start <=  sysdate+
I have only added folloing lines In my BG_ABSENCE_DURATION FF
DEFAULT FOR ABSENCES_HALF_DAY is 'XX'+
if (1 = 1) then+
duration = 'FAILED'+
invalid_msg = 'DFF not working: '+ABSENCES_HALF_DAY+
But evry time output is *"DFF not working : Yes"* no matter what the value I am passing while applying leave. This value "Yes" is stored in DFF attribute 6 for the test employee and I guess FF is retriving this value from DATABSE not from current transaction.
Could you please help how to retrive run time data.
Thanks,
Avinash

Similar Messages

  • How to use dynamic database item in Fast formula

    Dear All
    How to use Element Pay value in Fast Formula
    Element Name: Transport_Allowance
    Input Values : Name Units User Enterable Database Item
    Pay Value Money No Yes
    Amount Money Yes Yes
    Balance Feeds : Value Name Balance Name Units
    Pay Value Transportation Amount Money
    Formula
    DEFAULT FOR ASG_SALARY IS 0
    DEFAULT FOR TRANSPORTATION_AMOUNT_ASG_RUN IS 0
    ALIAS ASG_SALARY AS Emp_Salary
    ALIAS TRANSPORTATION_AMOUNT_ASG_RUN AS Emp_Trans_Amt
    V_CALCULATED_SALARY = Emp_Salary + Emp_Trans_Amt
    RETURN V_CALCULATED_SALARY
    Using the above formula, I got only Basic Salary only
    How to get the Basic Salary + Transportation allowance in the return value
    Please help me..
    Thanks in advance

    Please check whether the priority of the element with which the fast formula is attached has a priority higher than the Transport_Allowance. If not then cahange the priority of the element to a prriority higher than Transport_Allowance.
    HTH

  • How to use Table valued MSSQL  function in OBIEE

    Hi all,
    Can some one help me to understand how to use table valued function in OBIEE? I want to use a table valued function (MSSQL function, with some input parameter), in the physical layer to pull the data?
    I know for MSSQL Stored Procedure we can write as
    EXEC SP_NAME @Parameter = 'VLUEOF(NQ_SESSION.Variablename)'
    but now I have a table valued function in the query window I can get the data as
    select * from myfunction(parametervalue)
    In physical layer of OBIEE I have tried as
    select * from myfunction('VLUEOF(NQ_SESSION.Variablename)'), but I'm getting error as the NQ_SESSION variable doesn't have a value , but actually I have initialized the variable but still Im getting error.
    Can some one help me to solve this.
    Thanks,
    Mithun

    Follow this link and try yourself. let me know for issues
    Substring instr issue in obiee
    Appreciate if you mark
    Edited by: Srini VEERAVALLI on Feb 20, 2013 8:13 AM

  • How to use Special value set with Column clause to display addtional column

    hi
    can anyone tell me
    How to use Special value set with Column clause to display addtional column
    how can i use FND POPID and with COLUMN clause ?

    Dear Yaseen,
                To get the value in formula cumulative,after you have created the formula for that particular key figure,go to edit and click on tab "calculations".
    In that select overall result as 'count all values not equal to zero' and single result as 'count all values not equal to zero' .
    And mark the cumulative check box underneath.
    I hope you get the desired result and please do me favour .
    Sumit goomber

  • How to use hashtable values

    if i get all lovsession results in to a hash table
    how to use them
    i mean how to use the value of particular field in hash table(lov ).

    I'm not clear what exactly are you looking for? Is it just the printing/reading of values in hashtable or some interaction of those values with beans?
    --Shiv                                                                                                                                                                                                                                                                                                                               

  • Reposting:urgent....how to use hashtable values

    Hi
    if i get all lovsession results in to a hash table
    how to use them
    i mean how to use the value of particular field in hash table(lov ).
    is it <hashtable>.get(object name);
    if it is what should be my object name...is it VO attribute of LOV???or the Id in that lov page??
    please help me out..
    Regards
    Sandeep.G

    if(pageContext.isLovEvent())
    String lovInputSourceId = pageContext.getParameter(SOURCE_PARAM);
    Hashtable lovResults = pageContext.getLovResultsFromSession(lovInputSourceId);
    if (lovResults != null)
    value = (String) lovResults.get("<Lov Item Name>");
    }

  • How to use Default value in a column in Tabular form in insertion or upda

    Hello,
    I am trying to use Default values so that user need not have to enter data, but when I select default type and put a default value, I see an error message, if I try to add a new row.
    How can I use a default value in a Column in a Tabular Form?
    Gouri
    Edited by: user1046395 on Apr 3, 2009 9:58 AM

    Gouri,
    You can just simply edit to each column's report attribute. For example,
    To set default date,
    Default Type: PL/SQL Expression of Function
    Default: sysdate
    To set default text,
    Default Type: PL/SQL Expression of Function
    Default: *'CLERK'*
    If you still have an error, what is the error message?
    Ittichai

  • How to use a value taken in a variable as a table name in a query?

    I am fetching a value in a variable as:
    <select application_short_name into l_appl_nm from fnd_application where application_id=:p_appl_id>
    Now I need to use the value fetched in variable "l_appl_nm" as a table partition name in next query.
    Can anyone please guide me on this concept.
    Expecting replies asap !!

    I am fetching a value in a variable as:
    <select application_short_name into l_appl_nm from fnd_application where application_id=:p_appl_id>
    Now I need to use the value fetched in variable "l_appl_nm" as a table partition name in next query.
    Wrong.
    This is NOT how partition pruning should be applied.
    Expecting replies asap !!
    In that case, the forum members who provide their experience and knowledge for free, expects you to PAY for that.
    You want make demands on this volunteer forum? Then by the same token, payment demands can be made on you.
    So.. are you going to pay up?

  • How to use rounded values in BEx Formulas

    Hello,
    I have the following question. Is it possible to use rounded values up to a certain # of decimal points in BEx Formulas?
    I have the following problem.
    Consider this:
    keyfigure val 1 = 0.416666667
    keyfigure val 2 = 72
    val 3 (BEx Formula)  = val 2 / val 1 = 172.799999862
    However, what I need to do is this.
    val 1 & val 3 should rounded up to 2 decimal points. So, I really need the report to show this:
    val1 = 0.42
    val2 - 72
    val 3 = val 2 /val 1 = 171.43
    I changed the number of decimal places on val 1 and val3 to be 0.00. However, it appears that these rounded values are not taken into account in  the Formulas, as if the OLAP still uses the original values from the backend with 9 decimal points. So, no matter how many decimal points I use on the Display tab for a key figure, my val3 or result of my formula is always taking into account the 9 digit decimal values, not rounded values that I want. So in the example above, my val 3 comes to 172.80, which it should be 171.43 instead of you use the rounded values in the calculation.
    Please let me know if there is any workaround where I could force my BEx Formula to utilize the rounded values and not actual values from the backend DSO. Or any other solution.
    Thank you

    If you create a Formula in BEx Query Designer like the one below, it works:
    val3 = val2 / ( TRUNC ( ( val1 * 100 + 0.5 ) ) / 100 )
    The TRUNC function (among other things) actually ensures that your formula takes into account the rounded values that you want.

  • After hiding an item, its value cannot be used in a query. How to use the value of a hidden item.

    Hi,
    I have a shuttle. I am using its value in a query by using sql collection array. My requirement is that I need to hide that shuttle. But when I hide the shuttle, its value is not retrived by the query.
    Please give some idea how to get this functionality.
    Thanks,
    chandru

    ChandraBhanu wrote:
    Its a shuttle. so how to create an application item of shuttle type?
    pls give some idea.
    You don't create an application item of shuttle type.  Application items only hold one value, and I thought since you were using a value in a query that you were only using one.  In the case of multiple values my idea to use a page/application item will not work

  • How to use 'REQUEST' value on PL/SQL

    Hi All,
    I have assigned 'SEARCH' as button request to search button. I want to use this value in PL/SQL some thing like
    IF REQUEST='SEARCH' THEN
    --do something
    ELSE
    --do something else
    END IF;
    Can any one suggest how to access the 'REQUEST' value?
    Thanks in advance.
    Regards,
    Hari

    Hi rchalton!
    Sorry for that. Here is an english document which also shows an example of how to use v('REQUEST') or :REQUEST.
    [http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm]
    regards
    Edited by: Florian W. on 06.04.2009 15:35
    I've also tried to translate this link from german into english with google and it worked very good.

  • How to use Copy-Value function?

    Dear Friends,
    I have query on how to use Standard function Copy-Value.
    Please have a look @ the help.sap.com example use of Copy-Value function.
    http://help.sap.com/saphelp_nw70/helpdata/en/26/d22366565be0449d7b3cc26b1bab10/content.htm
    I have designed the same example. Please see the mapping I've defined for this example :
    http://www.flickr.com/photo_zoom.gne?id=930440086&size=o
    Please see the resuts, its working perfectly. See the top image :
    http://www.flickr.com/photo_zoom.gne?id=930440300&size=o
    Ok, now lets come to the issue. Please consider the same example , If I have more than one partner
    and I want to use the address field to the customer street,city & zipcode using copy-value function, how will I achieve this?
    Please see the resuts.See the bottom image :
    http://www.flickr.com/photo_zoom.gne?id=930440300&size=o
    I think you all got the issue, if not please reply back.
    Looking for your answers!!!
    Best regards,
    raj.

    The CopyValue function considers only values in the first context of the queue.
    When the queue has more contexts, the other contexts are ignored.
    In online help, the element addrDat is 3 times under name, that means 3 values are in the first context.
    That means: For the first occurrence of the partner it is correct, for all other partners, the values of the first context is taken. The online help does not express this,  so it is misleading and should be changed to an example where address is not beyond a node with occurrence inbounded.
    In practical cases the copyValue can only be used for values that appear in source just one time, like the IDOC header fields, as it works like a constant.
    Regards
    Stefan

  • How to use time values from graph or chart for other calculations

    iam generating an ultrasonic signal of frequency 500k. In the equation i need the values of time axis of the graph or chart for calculationg the envelope of the graph. please help me how to use the x-axis time values.I have tried by writing in spread sheeet or by using arrays. here iam not able to get only 1 dim time values.
    AshwiniP

    Use a property node

  • How to use 'Extract Values' transformation?

    Hi,
    I am new to EDQ. I have the following requirement - source system sends me partyname+address details. I need to check in the oracle database and if there is a match then send back the ID along with the input details. I am using Lookup check audit process to check if the data is present in the database. If the data is present then I need to send back the ID. To extract the ID I am using 'Extract Values' transformation. I am not able define the Reference Data for this . Can provide a example how to use the same.
    Thanks
    Prabha

    Just use Lookup and Return.
    Though it sounds like you really should be using a match process.

  • How to use YTD values in webi

    hi
    normally in bex we can use variable , based on user entry we can calculate YTD values, and we will make structure like in column or rows.
    how to make ytd values in webi and create structures.

    HI,
    this needs to be done using EXIT Variables in the BEx Query.
    Ingo

Maybe you are looking for

  • Keynote 3.0.2  Will Not Export to Quicktime

    I have a put together a Keynote presentation that uses a Quicktime movie on one of the slides. The presentation plays fine within Keynote, but when I try to export the presentation to Quicktime, the export stops and tells me there's not enough memory

  • Code generation problems

    Has anyone else noticed that Forte (at least 3.0.e) seems to "skip" lines of code in some circumstances? Here is the most recent one that I'm working with. Try the code below and notice that line 4 in EXAMPLE1does not compile, yet it compiles fine in

  • Attachement file "AdditionalJavaCode.zip" in SAP Best Practice BI V1.31

    Hi All, According documentation about integration of BP BI V1.31, we can download AdditionalJavaCode.zip on SAP note 1319671 and bypass the SSO between NWBC and BO... I am working on a demo environment of course. But I don't find this attachment zip

  • Serial number issue in STO PGR

    HI I am facing serial number issue after doing PGR i am into STO process . Oce PGI for outbound delivery is created and then MIGO (PGR) will happen at recveing pant issue is after MIGO (PGR) the serial number status must be in AVLB ..but it is still

  • Why is realplayer download manager 14.0.3 diabled in firefox 5 and works ok in firefox 4

    Realplayer download manager was disabled when ff4 upgraded to 5