Absence 2001 Infotype leave approval.

Hi guru,
Since i am new to this area of maintaining dynamic action and mail generation, can any one help me for the below scenario.
The scenario is:
As per the company policy an employee who look for leave should request before one month (30 days), where leave request should reached to the reporting person (ei., as per organization hierachy) and he should decide whether he can approve or reject it.
Note: we are not using ESS/MSS.
When iam trying to write a dynamic action, it is not working.
The dynamic action are given below.
The concept behind of writing this dynamic action is when an administrator create a absence 2001 infotype of subtype CL casual leave, the dynamic action should check the absence infotype (casual leave) start date with the system date, when the absence infotype (casual leave) date is greater than 30 days then it should trigger a mail through M2001 feature.
2001  CL   06  01  P T001P-MOLGA="40"
2001  CL   06  02  P  P2001-BEGDA>P2001-SYDATUM
2001  CL   06  03 M  M2001       where i copied the feature M0001 to M2001
and the another combination of dynamic action is
001  CL   06  01  P T001P-MOLGA="40"
2001  CL   06  02  P  P2001-BEGDA>(P2001-SYDATUM + 30)
2001  CL   06  03 M  M2001       where i copied the feature M0001 to M2001
So i really stuck in middle of  creating a dynamic action, so i request any one of them send me the dynamic action code to satisfy my scenario.
Note: we are not using ESS/MSS.
Thanks,
Shreyasen

Hey Shreya, P2001 will not have field SY-DATUM instead use AEDTM ( Changed on).
So it will have the date on which you are trying to create the record.
2001 CL 06 01 P T001P-MOLGA="40"
2001 CL 06 02 P P2001-BEGDA>(P2001-AEDTM+ 30)
2001 CL 06 03 M M2001 where i copied the feature M0001 to M2001
Im not sure if this is going to work but give it a try and please dont open multiple threads on the same issue
cheers
Ajay

Similar Messages

  • How to send a mail to the approver for leave approval(infotype 2001)

    Hi
    In my client place, The requirement is that
    While an employee is trying to maintaining its Absence i.e 2001 infotype then an email by default has been sent to the concern person who is going to approve that leave. Can I configure the scenario with out ESS MSS. Please guide me.

    Hello Santosh,
    Easier than that is to use SAP Standard report to trigger those
    emails.
    The report is RPTARQEMAIL.
    You can use the Approver field which will receive an e-mail when requests submitted by his or her employees have to be approved or (for types of leave not requiring approval) have been posted without approval.
    Please check it's documentation.
    The customizing of the mail format is made on SE61.
    This should solve your requirement.
    Cheers,
    Bentow.

  • HR-ABAP-want user exit for pa30  for creation 2001 infotype for sick leave

    Hi ALL,
             My requirement like, whenever I try to create a sick leave through PA30 Tcode for infotype 2001 then the has to be trigger like, if the personnel joing date will be from Feb-Dec any date of the year then, the SL will be valid for next year Jan.
    Ex; Todya I am creating SL on 2001 infotype. then the condition will
            If joining date not Jan 2007 then,
             Leave will be valid for next year Jan 2008.
    So, let me know is there any user exit for  this.
    Thanks In advance.
    J.P

    Find myself

  • Is there any retro effect for this changes we made in 2001 Infotype for

    HI Experts...
    Please advice me on the follwing absence issue.
    In my clients company.... .... one of Personnel areas employees Earned leave records are not updating in 2001 Infotype from the begining.
    Now they wish to have to update in 2001 Infotype.
    What  are the  Retro effects after updating the EL s in 2001 IT for previous dates.
    Is there any retro effect for this changes we made in 2001 Infotype for the past dates.
    We dont need retro effected from those changes.
    Please advice...
    Sai.

    HI Vincent....
    Thanks for the reply.
    Last month professional tax rates were shown up correctly only.
    For the employees slab rates are similar  that is  200 per month.
    Last month professional  tax rates  were correct only.
    For the current month also the prof tax amount is showing up correctly only.
    Please advice to get the professional tax amount in the payslip.
    Regards,
    V Sai.

  • Standard Work flow for Leave approval in HR module

    Hi ,
    My query is there any standard work flow available in HR module for Leave approval and Over time approval. We have negative time management and with out ESS and MSS.
    Pl suggest if any one has used this earlier with out ESS or EP
    Regards
    Punit

    I can think of the following but not without enhancement for the workflow part.
    - Since you are not using ESS, you (leave admin) may create the absence record directly in IT2001 (in LOCK mode).
    - In the user exit of 2001 you may trigger your Workflow process (i.e. call the function module to trigger WF here) depending on the LCCK status. You have to explore if standard WF can be used to your requirement.
    - Upon approval, you can UNLOCK the absence.
    - In the event that UNLOCK is unsuccessful, trigger WF to your Leave Admin for him to update via PA30.
    Standard SAP Workflow
    - Only 1 level approval
    - Using Chief Position
    IF your workflow requirement deviates, then you have to also customize workflow, does not matter whether you are using ESS or not.
    Finally test and retest to make sure all possible events are covered.
    OT is the same, except that you need to use 2007 vs 2002
    Edited by: sapuser909 on Nov 18, 2009 12:07 PM

  • Time issue how to reset the laeve in 2001 infotype

    Hi All,
    In my client place, one user maintained the infotype 2001 as 5.82 days out of 7 days quota.Clients wants to make the no of abscences to zero by deleting all leaves from 2001 infotype.By deleting when I went to 2006 quota overview that last one vale i.e deductions 5.82 days reflecting.By the same time when I'm checking in 2001 infotype I found only two infotypes.
    Plz tell me how to chage the 5.82 days to 2 days.Its very urgent.Plz help.
    Thanks,
    SKM

    Dear Santosh ,
    Please open your record on Change mode and just change the Start - To date... because System automatically calculate the number of days.
    Hope its will be helpful.
    Riz

  • Leave approval text changes are not displayed in UWL

    Hi friends,
    I have made some changes to text label of leave approval application using ctrl+right click(done in role->workset->page->iview) in content admin but it not reflecting in UWL(when calling leave approval application in UWL).any idea pls.

    Hi,
    aah i think the problem is at the uwl xml config file, which controls which iview is opening for a specific task id.
    please enable the support info, at this u can see which xml file is used and you can change the directory/iview which is called by opneing the "leave approval":
    1. Log on to the portal
    2. Navigate to the following path: system administration   > system
    configuration
    3. In detailed navigation click on the UWL & Workflow folder
    to expand out
    4. Then click on the Universal Worklist Administration link
    5. Scroll down to the bottom of the page:
    Optional Universal Worklist Service Configuration
      Open the Tray for the Optional UWL Service Configuration
    Click on the button to open the tray for the optional UWL service
    configuration
    6. Scroll down again
    7. Go into edit mode
    8. Display Support Information:   Set the parameter to true
    9. Save
    have also a look here:
    http://help.sap.com/saphelp_nw70/helpdata/en/44/c0001cdfcd1386e10000000a155369/frameset.htm
    i hope this can help u
    br,
    fabian

  • Error in Leave Approval Workflow

    Hello Experts,
    I'm Using Standard Workflow WS0040077 for Leave Approval . I Activated the Event Linkage in SWEL .Did General Task in Agent Assignment . But when i run transaction PA30 . i get this error in SAP Inbox.
    Following error occurred:
    00 341
    RFC_NO_AUTHORITY
    Message text:
    Runtime error RFC_NO_AUTHORITY has occurred
    SAP System: EDV
    Client: 100
    Event container appended as attachment.
    Event linkage not changed.
    Event stored temporarily.
    Events can be redelivered via event queue
    administration (transaction SWEQADM).
    so what should i do to solve this problem.

    Hi,
      Have you checked the workflow config in SWU3? It sounds like there may be a problem with the LOCAL RFC destination used by workflow. Click the 'Start Verification Workflow' button in SWU3 as a health check.
    Also, are you testing this in the right client?
    cheers
    Paul Bakker

  • Leave approver UWL - Multiple entry

    Hi Expert,
      We have configured the UWL to display the Leave Request. Lets say there is 2 entries pending for approver to approve. He/she would received 2 entries in UWL. This is fine. When he/she click the leave request in UWL, system would launch the Leaver approver application. 
    However, the Leave approver application would display all entires pending for he/she to approved. User need to select the row and approve one by one which is very confusing to them. Many user complaint that he/she supposed to approver leave request for one person (i.e cause he click the entry for particular leave request), how come system would display also the leave request for another person. Also, it was very often for them to forget to approve all entries.
    It this a bug or by desing? Any insight?

    hi,,
    Check this link
    http://help.sap.com/saphelp_nw70/helpdata/en/d6/eddef503944dc6bbe8d81a2cec44e8/frameset.htm
    Regards
    Sameer

  • Multiple Leave Approval problem in workflow  WS21500001 -webdynpro

    hi,
    We are using standard webdyppro leave approval workflow WS21500001, but inhere does not provide multiple approval level.  Our requirement is we need two approval levels for this. So I copy the stranded workflow and create the second approval leave.  In here Iu2019m unable to send second approval document into the mailbox, I was write rule to get the second approver, its working fine but once the 1st approval  finished mail doesnu2019t go to the second approver inbox. Can you help me to do this?
    Regard,
    nawa

    Hello,
    Do you mean mail or workitem? I think you mean workitem.
    Use tx SWI1 to look at the workflow log and you'll see what the workflow is doing and why it's skipping the second approval step.
    regards
    Rick Bakker
    hanbi technology

  • Best way to implement ESS, Leave approval matrix.

    Hi Gurus,
    Please suggest me the best possible way to map the leave approval matrix for ESS.
    we had a plan to prepare our leave approval matrix based on "Position". Just wanna know Is it the right way to figure out the Leave approval matrix. Initially We received a suggestion to prepare the Leave approval matrix with Employee number but by seeing the attration rate/separation/inter org.unit transfer etc., It'll be very difficult to maintain the post seperation data maintenance.
    We had maintained a unique position id for each position(at present), If in near feauture if the same piece of task is assign to two person, we'll descriminate through there entry date(i.e. date of confirmation/Date of Joining).
    IS it the right way of doing it. Seeking expert suggestion.
    Thanks for your continuous support.
    Thanks,
    SMrinal
    Edited by: smrinal on Oct 29, 2010 12:21 PM

    This is usually pretty easy.  Place all the files/pages you wish to appear as the sub domain in a folder on your site, then have your host create a "A" record for the subdomain you wish to create - so it will look like this  http://YourSubDomain.YourDomain.com - then route this "A" record to the folder. Be sure the home page in this folder is a default page, such as index.htm or default.htm, or whatever your server uses for the default home page file name.
    Hope this helps.
    Lawrence Carmer - *Adobe Community Professional*
    http://www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and ColdFusion
    Stay updated - http://blog.cartweaver.com

  • Unwanted leave approval notification mails to Non-Manager

    Hello All,
    I have a situation wherein one of our portal users started getting leave approval notification mails from other employees in that Org Unit. Now the interesting part is he is not a manager and never was. Checked his relationships, substitutes and delegations and every where it is normal and not supposed to receive such mails. Moreover we are not using workflows yet
    Where could we have gone wrong, after so many attempts now my I am gone blank so please do suggest me all tables or customizations where it could went wrong or possibly any silly mistakes that would trigger this kind of problems.

    Thanq, that was very prompt;
    Here are my settings in RPTARQEAIL.
    Send email to requestor with text HR_TIM_ARQ_REQUESTOR with general notification almost for all.
    But should I rather check the settings for mail to approver instead? Coz one of a non manager employee  is getting approver notification mail such as " your employees in your dept are awaiting for your processing..."
    Can you brief me out on why this document selection radio button could have gone wrong in sending mails to requestor regarding approvals.

  • Leave Approval in MSS Displays Only Header

    Hi all,
    I have a problem with leave approval in MSS using the MSS Add-On.  I checked all the backend configurations and they seem OK.  I modified the UWL config file following the SAP note (which by the way said the config file should have been updated when installing MSS Add-On - but that didn't happen!).
    When I click on the leave request in UWL, a new screen opened and after a few seconds a blank header appears in the screen and nothing else.  When I previewed the leave approval in portal content, it works.
    I've searched for notes on this but nothing.  Can anyone help?
    Thanks in advance.

    Hi Krishan
    solution is simple.
    1. Raise an oss message and SAP would ask you to apply patch update from note 1720040.
    I am not too sure if this would solve the problem.
    Second option is
    1. go to your uwl xml and in your default xml paste following code for task 21500003.
    <ItemType name="uwl.task.webflow.TS21500003.SAP_ECC_HumanResources" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="defaultAction" executionMode="default">
    <ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType=" TS21500003" connector="WebFlowConnector"/>
    <CustomAttributes>
    <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalObjectId" objectType="WebflowContainer" cacheValidity="final">
    <Attribute name="REQUESTID" type="string" displayName="Request ID"/>
    </CustomAttributeSource>
    </CustomAttributes>
    <Actions>
    <Action name="defaultAction" groupAction="" handler="ObjectNavigationLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
    <Properties>
    <Property name="ObjectValue" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
    <Property name="Operation" value="approveleaverequest"/>
    <Property name="ObjectName" value="employee"/>
    <Property name="openInNewWindow" value="true"/>
    <Property name="System" value="SAP_ERP_HumanResources"/>
    <Property name="DynamicParameter" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
    </Properties>
    <Descriptions default="defaultAction"/>
    </Action>
    </Actions>
    </ItemType>
    After applying above if you still face same issue then download your mss addon 1.0 zip file from uwl admin page.
    extract com.sap.pct.erp.mss.addon.xml from com.sap.pct.erp.mss.addon.zip.
    paste above xml code for task 21500003 (please assure there is only one action for this task).
    and UPLOAD THE com.sap.pct.erp.mss.addon.xml
    Please make sure you upload the xml and not the zip. Please don't upload zip as that causes issues.
    Please don't rename the zip to xml etc. upload the changed com.sap.pct.erp.mss.addon.xml.
    After above it will work. in case there are issues please respond on this message.

  • Time/LEave approval in Business Package for Manager Self-Service 60.1

    Hi all,
    Currently implementing ESS MSS on 4.7 system with EP 6.0 SP19.
    The BP we plan to use is Business Package for Manager Self-Service 60.1.
    My basic question is, we approve leave requests in BP for my SAP ERP (2004s) in the Universal worklist. How do we do the same in  Business Package for Manager Self-Service 60.1. There i sno mention on time approval and leave requests approval in the MSS standard documentation ( or probably i missed it).
    Any inputs in this regards are highly appreciated.
    regards
    Sam

    Balaji,
    in mySAP we had the opition to lauunch the applications in web dynpro. like launch leave approval in web dynpro. do we have this kind of optiion where the manager can approve the work item on the portal application or will it call a transaction based iview to open the work item in the R/3
    regards
    Sam

  • Business package for leave approval in BlackBerry

    Hello
    We just want to know is there any Business Package available for
    Leave Approval using BlackBerry Handsets.We are using SAP Netweaver 2004s
    having EP 7.0 and R/3 system is ECC-6.
    Regards
    Debasish

    Debasish ,
                  I want to know the busines Package for Leave approvel in BlackBerry ,If  you find the Let me know.

Maybe you are looking for

  • Do I need to partition external drive?

    I'm about to format my first external hard drive and am unsure whether I need to partition it as I'm new to this (my experience of backing up is limited to emailing files to my webmail provider's server). I bought the drive primarily for backup in ca

  • When i open shared Document folder getting "An unexpected error has occurred. " error

    Hi, I am getting "An unexpected error has occurred. " error when i open Shared Document folder in Internet URL. But if i open the foder in newtab i can view the documents with out error also intranet URL also doesnt have any problem. I am using Share

  • Unknown error when using daq express vi's

    Hi there i get unknown error when trying to use DAQ express VI's. I have downloaded and installed NI device drivers which was required to generate EXE since then this problem was occuring what should i do i have done all that was mentioned in the fol

  • Issue creating ConnectionPool as per documentation in 974949.1

    Hello all, I am using AIA 2.5 PMDM PIP to sync OPH and Seibel/BRM. We are configuring the connectionPool as described in 974949.1 in the SOA server (OC4J 10.3.1.4) hosting the AIA. However we are facing the below error as soon as we are trying to cre

  • Quando alguém me liga não consigo atender

    Quando alguém me liga, as vezes eu nao consigo atender, pois o cursor de desbloqueio fica agarrado ou nao chega até o fim, disponibilizando o atendimento. Que tipo de problema é esse? Já troquei o aparelho e nao resolveu. Aguma dica? Não possue prote