Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Thanks for your great inputs Anne. Can you please help me to find out exit ZXPA0041, which our ABAper not exactly able to locate through CMOD/SMOD. Regards Tan
| | | ---------------Original Message--------------- From: Anne-Marie van Gool Sent: Tuesday, July 26, 2011 5:01 AM Subject: Dynamic action for calculating retirement date based on DOB Hi, You need an user exit for this in ZXPADU01 and ZXPA0041. Dependend on your date type , in my example 02. Pension age in this example is '65'. IF l_p0041-dar02 EQ '02'. SELECT SINGLE gbdat INTO l_gbdat FROM pa0002 WHERE pernr EQ l_p0041-pernr AND endda EQ '99991231'. IF sy-subrc EQ 0. CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL' EXPORTING date = l_gbdat days = 0 months = 0 signum = '+' years = 65 IMPORTING calc_date = l_gbdat EXCEPTIONS OTHERS = 1. l_p0041-dat02 = l_gbdat. ELSE. Hope this helps. KR Anne-Marie van Gool | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | Tan SAP HR Helper
Posted helpful replies on 5 threads in a group to earn a Bronze Achievement Popular White Papers In the Spotlight IBM Helps Clients Exploit the Power of Cloud Computing. Click Here for IBM's Cloud Computing Virtual Briefing Center. _.____.__ |