Leave Request create RFC or BAPI

HI,
     RFC or BAPI for leave request create and that will trigger a work flow.
  Input Parameters Pernr, Absence subtype, and date.
Thanks in advance
Regards,
Kiruba.R

HI Batwara,
    When I execute the RFC am getting the following return messages.
I   HRTIM00WS            009 Generate period work schedule FLEX for 2/06/01 in 04/2009   
E    PG                   184 Employee/applicant is not locked yet                        
any idea pls.
Regards,
Kiruba.R

Similar Messages

  • Leave Request -- Create Object Error

    Hi,
    we are getting a dump in leave request application,
    The message gives the following
    CREATE OBJECT: The Class was not found, error key RFC_ERROR_SYSTEM_FAILURE.
    the same user says the application was working fine before.
    thanks in advance
    sera

    if you leave configuration is done .
    there will be some There was an incorrect data in your system . to do this please follow following process.
    delete this request using
    PTARQ> Delete documents (RPTARQDBDEl)
    Please read the report documentation before
    deleting the request but it should be safe as it is
    a development system.
    Please delete this with the above information or delete all
    the records for the approver .
    after there will be some incorrect workitem in appover inbox.
    you need to clear that also by Tcode - SWWL.
    Regards,
    Vivek Jadhav

  • ESS Leave Request - creating a Leave Request for another employee

    Hi,
    We're working on ECC6 + EP7 + ESS/MSS Leave Request scenario
    and we've a problem about "substitution". Not the substitution for dealing with somebody else workitems in UWL, but "substitution" for "acting" like somebody else.
    We want to authorize an assistant to enter a leave request in place of an other employee.
    as if this assistant were connected in ESS/LaavRequest with the user of the employee.
    To explain, in 46c/ITS620, our scenario was the following :
    - We modified the SAP standard internet service Leave Request to add a combo box, so when the assistant connected to the ITS page with her user, she had a list of all employees.
    - we modified the SAP standard to change the variables containing the connected user information, so the creation of an absence request was made for the user selected in the list.
    We want to keep this possibility in the new ESS.
    Any idea if something exists in the SAP standard ?
    Thanks

    This scenario is not available in ESS, ie This kind of functionality is not available from ESS
    But you can achieve it using your added link In MSS > General information
    there you have many services for individual employees

  • Create Leave request

    Hi ,
    We have configured ESS/MSS with portal. We have created a Iview Leave request(IAC).
    When we executing this it is displaying R/3 inbox means SWBP insted of showing leave request create view..

    Hi Chuckie,
    Thanks for your response.
    I am trying to create a leve request from my inbox by pressing Create leave request. Earlier it opens a create window. Now a days we are getting SAP R/3 SWBP transation.
    We are using EP-6.

  • BAPI: IT2006,  IT0014  in Webdynpro leave request scenario

    Hope someone can help me with our new WEBDYNPRO leave request scenario where we want to create via workflow in our back-end R/3 system:
    Infotype 2006 absence quotas.
    Infotype 0014 recurring payments/deductions.
    Does anyone know if there are any standard BAPI's / object type methods available to create the above infotypes?
    If not available hope someone can tell me if it is a real challenge to create such a BAPI from scratch on for a medior ABAP programmer? Myself i am a functional HR consultant with little ABAP skills who likes to know how much ABAP days i need for my client in this last "from scratch on" case.
    Thanks for reading and maybe replying,
    Robbert Bastiaans

    >> if it is a real challenge to create such a BAPI from scratch on for a medior ABAP programmer?
    Not really.. you can use HR_INFOTYPE_OPERATION to create the infotypes.. but this function module is not RFC enabled.. what you will have to do is create a custom RFC & wrap it around the above function module..
    ~Suresh

  • Function modules to create leave request?

    Hi experts,
    In my project I need to create a leave request and trigger workflow for approval. Do you know any function modules existed for this purpose? Or shall we need to create workflow and attach it with inserting IT2001 records?
    Thanks a lot.

    Are you going to use standard SAP Portal application for leave or not?
    If yes there are documents available about ESS configuration for the same and you can assign the standard workflow or copy and make the required chnages then assign it in configuration.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/108c31e7-b6a7-2d10-3692-c1a9f7a5c4dc?QuickLink=index&overridelayout=true
    Regards
    Ajay

  • Error in BASIS when trying to create a Leave Request

    Hi,
    We have developed an application in Oracle Forms 10g which is used by employees to create leave requests and transfer them to the SAP portal through BDC. There's a ABAP program to collect all leave requests applied by many employees in the Oracle system and then transfer them to the SAP Portal. The BDC captures the screen *Test Report for the UIA Interface for Leave Requests in the tcode PTARQ.*
    The leaves then appear in the respective approvers portal login and the leaves are accordingly approved or rejected with the status updated back to the Oracle database by another ABAP program. These programs are set as background jobs on the Production server 900 to run on a daily basis in the "BASIS" login.
    Lately we found that the program was not updating the leave requests from Oracle to SAP. When I debugged the program in ERROR mode, I found an error is thrown while processing the BDC, after the foll. code in the SAP std. program
    Program name: RPTARQUIATEST
    Program Event : In FORM REQUEST_CHECK
    At FORM PROGRESS_INDICATOR
    The error message says : No document created: HRTIM_ABS_REQ 075 No personnel number defined for system user name B Message no. HRTIM_ABS_REQ061.
    Please advice as to what is creating the problem when using the BASIS login and what does the error mean. If you need some more clarification on this please let me know.
    Thanks & Regards,
    Vidya Shirodkar.

    Hi Vidya,
    Is this for all the employees or just few of them? This error is usually related to the communication infotype, check 0105 infotype and see if the user ID is correctly maintained.
    Thanks,
    Muktar

  • ESS Leave Request - Error while creating a leave record

    Hi Friends,
      Some of the ESS leave request(not workflow) has gone into error when the system tryies to create a leave record in background. I can view these error request using the report RPTARQDBVIEW. This happens when the background program(PTARQPOST) tries to create a leave record. In some cases  the status of the leave request is set to error(the status attribute of the container element(Req) has the value Error),but we are not able to find what is actual error.Is there any log where we can check what is the problem? Please advice.

    May be
    Internally the pernr might not be locked or some one may be maintaing the pernr for whom you are trying to post.

  • Error in creating leave request

    Hi ,
    I am new to HR and i am working on Leave management.
    When i am trying to crate a leave request workflow, i am getting the below error msg:
    'Absence type 100 was not found in Customizing for 21.10.2010'
    What could be the reason?\
    Thanks,
    Krish.

    Hello Kishore,
    You don't have the absence type created on either one of the two following tables.
    T554S - This one is for the Absence creation on the backend in IT2001.
    T554S_Web - This one is to show on the frontend framework of the Leave Request.
    Regards,
    Bentow.

  • Error when creating a leave request

    Hi Experts,
    I am setting up ESS (WDA) EHP5 on Portal 7.3. I and ERP6. I got this error when clicking on the calender to create a leave request:
    No data for infotype 0001, personnel no. 00000000 in period 2012-01-24 - 2012-01-24. (Modifiers not found)
    Got the same error on the portal as well as using PTARQ
    I did customizing for Leave Request and there are also data for IT0001.
    Is there anything else missing?
    Please advise.
    Thanks.

    SInce you are getting a message recarding pernr 00000000, it looks like your user in portal may not be tied to an employee via infotype 0105?
    /Kirsten

  • Function Module BAPI_ABSENCE_CREATE for creating leave request.

    Hi Experts,
    I am using FM BAPI_ABSENCE_CREATE for creating leave request. I am passing all the data into this as import parameter. When i am executing this return table gives statement  EPG184Employee/applicant is not locked yet
    Please let me know what i have to follow.
    Thanks And Regards
    Ranjeet Singh

    Use the below function modules in sequence
    1) HR_EMPLOYEE_ENQUEUE'
    2) BAPI_ABSENCE_CREATE
    3) HR_EMPLOYEE_DEQUEUE
    Functionality
    Using this method, an Absences infotype record (2001) can be created.
    Notes
    Messages are returned in the RETURN parameter. The parameter documentation contains the return codes and their meanings.
    The key fields used by this method are described under the parameters.
    This method can only be used if the ENQUEUE method has already been called up for the business object EMPLOYEE. For more information on the ENQUEUE method, please see the documentation on the function module BAPI_EMPLOYEE_ENQUEUE.
    Note: Create absence
    Caution! This API method only writes the Absences infotype (2001). It should no longer be used as it can lead to inconsistent time data. Instead, please use the corresponding 'ManageCreation' API method for business object BUS7007.
    Regards,
    SaiRam

  • Can't create a leave request via ptarq

    hi all,
    i can't create neither approve any request via ptarq ?
    anyhelp would be appreciated .

    Dear Merry ,
    I had a similar problem like yours but mine was with some of the users and it was resolved by applying Sap-note 1294238
    also try check my problem desscion maybe it help you Create Leave Request In portal doesn't load  after logging in  hope it helps
    Regards.
    Ahmed Salam.

  • Attaching documents in Create Leave Request UI5 application

    Hi,
    We are planning to implement the SAP HR Renewal 2.0 FP1 based HR implementation with ESS/MSS based on the UI5 as well.
    I would like to know if the SAP UI5 application for Create Leave Request has the option to upload the documents or not in the standard delivery.
    Please let me if the attachment facility is available for the Create Leave request application in UI5 based ESS.
    Thanks & Regards,
    Urmi

    Hello Urmi,
    Yes, attachment option is available in Standard Leave Request in UI5.
    Best Regards,
    Deepak.. 

  • Create Z service for leave request

    Hi All,
    with reference to "ESS in MSS"
    Leave request :
    "In a similar fashion you can create a Z service for leave request and attach the resource of Leave request which is standard one to it
    EMPLOYEE_WORKTIME_LEAVEREQUEST05 to the Sub Area MSS_HCM_SUB_RELATEDACTIVITY_ESS. "
    how do i create a z service for leave request?
    Regards

    I think you wish to use ESS Leave Request in MSS.......
    Tcode SPRO...
    Cross-Application Components -> Homepage Framework -> Services
    Define Services
    Copy existing and create your own....
    EMPLOYEE_WORKTIME_LEAVEREQUEST
    to
    ZXXX_EMPLOYEE_WORKTIME_LEAVEREQUEST
    EMPLOYEE_WORKTIME_LEAVEOVERVIEW
    to
    ZXXX_EMPLOYEE_WORKTIME_LEAVEOVERVIEW
    Associate a Z resource or existing resource with it....
    Then map this Z service with Sub area
    "Assign Services to Subareas"
    Do not forget to give "Position"
    Revert back if you face any issue......
    Edited by: Saurabh Agarwal on Jul 20, 2011 12:32 PM

  • Create Leave Request In portal doesn't load  after logging in

    He All,
    we are facing an issue with some of the users of the E portal , after they log in and click on create leave request  the loading icon appear and the portal stuck at that and nothing else happen like in the attached image  , this issue happen with some users not all of the users however it was working with them before.
    Please advice
    Thanks in advance

    Hi Ahmed,
    I didnt suggest a browser issue.
    But using such tool when problem happens can show your the exact request url that hangs.
    Then from this, you can reach to where the problem resides on the server.
    Google chrome contains it already (just click on F12) , you can see all requests:
    When you see a request that doesnt have status 200 or without status, this can give you focus on where is the issue.
    Best regards,
    Tal

Maybe you are looking for