RFC to return Absence Types

Hello all,
Does anyone know if there is a current SAP RFC we can call from a Web Dynpro application in order to return the content of the T554T table containing the list of Absence Types used in the CATs Working Time table? or is this something we will need to build a custom function to accomplish?
Thanks,
-Kevin

Brian R wrote:
In our case we don't just have a single value we need returned. We call our method and expect to have 2+ values returned. So are you saying in that case you build the class wrappers around the primitive objects?If youw ant to return multiple results a common pattern is to pass an array which you can populate and optionally a length to say how many values were returned. e.g.
public int read(byte[] bytes);Such a method can populate any number of bytes (up to its length) and it returns the number of bytes populated. read() often returns -1 to indicate no more data is available.
You can do the same with an int array, or a long arrary. If you don't want to return the length, you can use the first or last element to hold the length. e.g.
public void populate(byte[] bytes, int[] ints, long[] longs);

Similar Messages

  • HOW TO Restrict Absence Type LOV Self Service in 12.1.3

    Hi All,
    Will someone please inform of whar is the package to use for this new feature restriction as stated below. Thanks.
    From new feature PDF 12.1.3:
    3.26.4.6. Restrict Absence Type LOV
    Prior to this release, all absence types created using Oracle HRMS are displayed to users in Self-Service HR. With this release, implementers can update ""a package"" to restrict the absence types that are displayed to users based on the business requirements. This feature ensures that employees enter only those absences for which they are eligible, and managers do not have to verify the validity of the absence type of employee requests.

    Apologies for the delay here.
    The package in question is hr_absence_restricted. You replace the Package Body of this package so that the function absences_restricted returns a comma-separated array of Absence Type ids that SHOULD NOT be displayed.
    For example,
    RETURN '123, 456, 789'
    Would prevent Absence Type Ids 123, 456 and 789 from appearing in the user's List of Values. This is supposed to be described in the following Oracle Article but it's not published:
    Oracle Article How To Restrict Absence Type LOV in Oracle Self-Service Human Resources (Doc ID 1122674.1)

  • Problem in report of cats_da data is not coming for one absence type.

    Dear experts,
    For one absence type the data is not coming in the report cats_da. When I check the other absence type the report is showing the data. I dont know where is the problem. Customer is entering data throught PA30  transaction. Kindly help me where is the problem in customization.

    No answers so closed.

  • HCM Absence  types- need to display in different languages in the same country based on user language preference

    Hi
    We are implementing in Belgium where we need to have absence in both dutch and French for the different user sets. Is there anyway to set up one absence type but have the different translations for the different user groups.  There was a document ID 1619320.1 that referred to the fact that if the absences were created  by a seedfile then they would be translated. Has anyone come across this issue whereyou need to display the same absence type for more than one language in the same country and how did you do this or did you have to set up separate absence types in the different languages which I do not want to do
    thanks

    Hi Parker
    If you are using Captivate 4 multi languages is a
    posibility..
    Set a User Variable to pass the language you want to a Flash
    SWF whic is embeded (This can play and hold multiple audio tracks).
    For example Captivate 4 will pass "french" to the embeded flash SWF
    which will play the "french" track.
    OR
    you could just use branching ;)
    Cheers.. Aquil0

  • Call RFC that return structure using VB

    Hi, anyone has a sample code to call a custom RFC that returns table structure?
    The RFC expect parameters to pinpoint the record and return it in a structure.
    *Local Interface:
    IMPORTING
    VALUE(CUSTOMER) LIKE KNA1-KUNNR
    VALUE(MATERIAL) LIKE MARA-MATNR
    VALUE(POSTING_DATEFR) LIKE BKPF-BUDAT
    VALUE(POSTING_DATETO) LIKE BKPF-BUDAT
    TABLES
    SALES_VOLUME STRUCTURE ZRRPS_SALES
    Here's my vb code, but it return zero entries (I'm sure it should return records).
    ***Login Process Here***
    Set objFunc = objSAPLogon.Add("Z_CUSTOM_SALES_DATA")
    Set objSALES = objFunc.Tables("SALES_VOLUME")
    With objFunc
    .Exports("CUSTOMER") = "1234567"
    .Exports("MATERIAL") = "1234"
    .Exports("POSTING_DATEFR") = "10012005"
    .Exports("POSTING_DATETO") = "10312005"
    End With
    If Not objFunc.Call Then
    Debug.Print objFunc.Exception
    Exit Sub
    End If
    Debug.Print objSALES.RowCount ==> 0
    From here, I dont know what to do next. Am I missing something? Please help.
    Thanks in advance!
    /Noel

    Yes, the RFC developer told me to use this format mmddyyyy.
    I think the Exports portion is not working, and I dont know why. I tried remarking the Exports portion and it gives the same result, zero entries.
    Thanks!

  • Getting error:Absence type 100 was not found in Customizing for

    Hi,
    I am using the Standard workfllow for leave application, and when i am  creating the request i am getting the bleow error:
    'Absence type 100 was not found in Customizing for 21.10.2010'
    What could be the reason, i have configured the statndard setting for leave type 100 in SPRO.
    Thanks,
    Krish.

    Hi Kishore,
    Please check the validity period for Absence type 100 configuration.
    Also pass this Error message to your HR Functional consultant. It is the configuration issue and your FM have to take care of this issue.
    Thanks.

  • How to change the Absence description of an Absence type in PTMW

    I have to change the desc of an absence type ,I have changed it in table T554S table .Th eabsence desc is changed correctly and is visible when i check in IT 2001 of an employee but it is showing incorrectly in PTMW .Do i have to change the desc in PTMW seperately ? How can i get the Absence desc changed in PTMW

    I am not asking to create a new activity. I am asking you to create the same activity type with start date from period 1. The end date for this will be one day prior to existing activity type. e.g. if  activity type lab_la is currently valid form 01.01.2006 to 31.12.9999 and now i want it to be valid from 01.04.2005. In such case I will use t code KL01 and create the activity type lab_la with valid from date as 01.04.2005 and valid to date as 31.12.2005. I can create this new activity type w.r.t. existing activity type lab_la.
    Hope this is clear. Please reward points, if useful.
    Regards
    Rakesh Pawaskar

  • Element Not coming in LOV of Absence Type form , field "Associated Element"

    I am not able to get my elements in List of Values of "Associated Element" in Absence type form . I have done the following setups , Please correct if I am missing something
    1. Element created is non recurring element.
    2. Process in Payroll flag unchecked ( I tried it with checked too but i didnt work )
    3. I created an open link for the element.
    4. I am trying to associate this element with absence type but I am unable to get it in "Associated Element LOV"
    Please reply.

    Make Sure the Element has Days / Hours Input value with the corresponding UOM that matches the Absence Type Units.

  • Employee not able to view the Leave/Absence Types

    Hi experts,
    I have done the settings of Workflow with leave types in table V_T544S_WEB with grouping 40 against the leave type.
    Workflow task iD is TS21500004.
    The User Grp is set to 40.
    But when the empolyee checks system shows no data available .
    Can anybody please put some insight.

    Hi,
    I hope you are using the standard workflow id and you have assigned the same to the rue group and absence type in table VV_T554S_WEB.
    But for the absence to be displayed check the table  VV_PTARQ_TCONSTR_LIST and the settings against the rule group.
    Also you can check the applied leave and the status in the Create Leave Request application - Overview of Leave tab. There is another application Leave Overview where also you can check the status of the applied leave.
    Regards,
    Mithun K

  • Sort/filter datablock based on procedure that return table type

    Hi All,
    I’ve got datablock based on procedure that return table type. In the form I have to provide ‘filter and sort records’ functionality. Previously, using tables/views based datablocks, I’ve done that by using:
    -- filter
    SET_BLOCK_PROPERTY (L_BLOCK_NAME, DEFAULT_WHERE, L_WHERE_CLAUSE);
    -- sort
    SET_BLOCK_PROPERTY(L_BLOCK_NAME ,ORDER_BY, L_ORDER_BY_CLAUSE);
    -- and then
    EXECUTE_QUERY;
    It doesn’t work with procedure that return table type. How I can do that?
    Bartek

    I agree with Andreas, from the sample you have given us, I don't see any reason why you could not merge these queries into a single UNION/UNION ALL query. Also, I would add your summation query to your main query to eliminate this extra step. The result would look something like:
    SELECT DISTINCT
         pih.id
         ,d.document_id
         ,pih.doc_serial_no
         ,pih.purch_invoice_date
         ,oh.company_name
         ,(SELECT NVL(SUM(amount),0)
              FROM "YOUR TABLE HERE" yth
              WHERE yth."YOUR COLUMN HERE" = pih.id) AS sum_amount
      FROM "YOUR TABLES HERE"
    WHERE "YOUR JOIN CONDITIONS HERE"
    UNION ALL
    SELECT DISTINCT
         sih.id
         ,d.document_ind
         ,sih.doc_serial_no
         ,sih.sales_invoice_date
         ,sih.company_name
         ,(SELECT NVL(SUM(amount),0)
              FROM "YOUR TABLE HERE" yth
              WHERE yth."YOUR COLUMN HERE" = sih.id) AS sum_amount
      FROM "YOUR TABLES HERE"
    WHERE "YOUR JOIN CONDITIONS HERE"
    [/code]
    Hope this helps.
    Craig...
    +If a response is helpful or correct, please mark it accordingly+
    Edited by: CraigB on Feb 23, 2010 1:39 PM
    It appears the CODE tags are not working as well as the URL tags.  :(                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Transfer of stock from Returns stock type to Unrestricted/Blocked

    Hi,Friends
    How to transfer of stock from Returns stock type to Unrestricted/Blocked
    what movement type will trigger by transfering this stock,
    Thanks & Regards
    Krishna

    Hi,
    use MB1B Mvt Type 453 returns to unrestricted
    Unrestriced to Blocked stock use - 344
    Thanks & Regards,
    kiran

  • Display Additional Absence Details based on Absence Type selected

    On Oracle Absence Details screen through SSHR,
    Can display of Additional Absence Details fields be related to Absence Type field in any way ? Requirement is to display additional flex fields only for one absence type and not for others but in SSHR, additional absence details fields are always shown irrespective of what user selects.
    Thanks,
    Tanveer

    Hi Tanveer,
    Context sensitive DFFs are currently not supported by OAF and there an ER 6625335 logged by Oracle for the same.
    In absence of context sensitive DFF you can use the $FLEX$ option, using this option you can define dependent segments which will get enabled only in case of a specific value for all other values the fields will be read-only.
    Also, in order to read the absence data while leave application you will have to read the absence_type data from the HTML code stored in the HR_API_TRANSACTIONS table dumped into a column CLOB named TRANSACTION_DOCUMENT. For more details on how to read XML data from HR_API_TRANSACTIONS refer the link http://www.apps2fusion.com/apps-training/apps-functional-documents/ame-sshr/436-parse-xml-hrapitransactions-sshr-hrms-self-service
    Hope it helps. Let us know if you need further details.
    Thanks,
    Sanjay

  • Adhoc Query Absence Type.

    Hi All,
    I am trying to add a column in adhohc query.
    Regarding "Leave type" and I am trying to pick this from info type 2001 field name AWART but in the output it is not displaying and the report is blank for the Absence Type column though data is maintained in info type 2001 AWART filed.
    Am i doing it in right way?
    Need your help experts.
    Thanks in Advance.
    Regards,
    Prasad Kumar

    Thank you for the spontaneous reply.
    Even i don't see Paryoll hours and days is there any particular reason for this. Please find the screen shot blow.
    This is a existing report(Query: PT_ABSENCES) in the system, I guess its  a default report available in the system and even i tried with a new custom query using info type 2001 with same filed AWART to pick the data but it is reflecting in the output.
    Thanks in Advance.
    Regards,
    Prasad Kumar

  • Change description of Absence Type...

    I have to change the desc of an absence type ,I have changed it in table T554S table .Th eabsence desc is changed correctly and is visible when i check in IT 2001 of an employee but it is showing incorrectly in PTMW .Do i have to change the desc in PTMW seperately ? How can i get the Absence desc changed in PTMW ?
    Any help appreciable...

    Hi Shivakumar,
    V_T554S is the only place where you need to change absence description. Then updated absences will be reflected in IT2001.
    If you have corrected in the above table, then just log off and then log on and check.
    Regards,
    Purnima

  • Absence type not visible in ESS

    Hello SAP Consultants
    Employee when trying to apply leave thru ESS,  the employee is not able to view absence types in the drop down selection. Backend version is 4.7 and portal is 6.0 version
    We have checked with the portal team on the same issue.The portal team has conveyed that it is not a portal issue.
    Please suggest the appropriate solution to the above mentioned problem.
    Regards
    Jyothsna

    Hello,
    As you are using ECC 4.7 , u ll not able to view mentioned table V_T554S_WEB.
    You can check through SPRO settings PM-ESS-Service specific settings-Record working time-Select allowed Absence Types.
    From this node , u will able to check allwed absences on ESS.
    Hope this will help you.

Maybe you are looking for

  • Read Acrobat X Pro file in Acrobat 9 Pro

    Will it be able to read,open, edit a pdf file which was created in Acrobat X Pro with Acrobat 9 Pro? any exception? any specific version for 9 Pro? or any 9 Pro version can do it?

  • Imposible to get the right win7 drivers to my MBP 15 (late 2011)?

    I have followed the steps during installing windows 7 with the BootCamp 4.0. I got the question if I wanted the related software on CD/DVD og on USB Storrage. I picked the last one, USB. But it no WIFI, VIDEO, NETWORK, and posible sound Drivers on th

  • Mail keeps on importing while i don't want it to.

    This has been going on for weeks now and i'm out off ideas to fix this issue. Few weeks ago i updated my Mac and suddenly when i tried to open Mail it said i need to import my mails. So i accepted to import my mails , but this screen has been there f

  • Photo Mail doesn't work!!   HELP PLEASE!!

    Windows 8.1 Elements 11  Windows Live Mail.  I've done EVERYTHING under the sun to try and get the mail to work.  Will the brightest MVP Tech from Adobe please contact me with the fix.  I know that there are millions of computers out there that are a

  • Using old wall charger with new iPod Classic

    I just got a new 80Gb iPod Classic to replace my old original 20Gb model. Can anyone tell me if the wall charger that came wiht the older model will work to charge the newer one?