on 10-09-2007 9:04 AM
Hi,
I want to know is there any Function module in SAP to retrieve the no. of weeks for a given year.
If anybody knows means please reply me. I need this urgently.
Regards,
Mithun.
Hi Mithun,
Try the Function module 'HR_IE_NUM_PRSI_WEEKS'.
Although there is no documentation available for this,but looking at the Import and the Export parameters,it seems that this FM gives the number of weeks for a defined or entered period.
In case you have any further clarifications,do let me know.
Regards,
Puneet Jhari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try FM <b>HR_IE_NUM_PRSI_WEEKS</b>
Reward if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mithun,
Try FM " HR_IE_NUM_PRSI_WEEKS"
CALL FUNCTION 'HR_IE_NUM_PRSI_WEEKS'
EXPORTING
tax_year_begin = ws_taxdate (01.01.2007)
period_begin = ws_startdate (01.01.2007)
period_end = ws_enddate (01.01.2008)
IMPORTING
NUM_WEEKS = ws_weeks
EXCEPTIONS
END_LT_START = 1
END_LT_YEAR_START = 2
START_LT_YEAR_START = 3
OTHERS = 4 .
Reward if Helpful.
Regards,
Chitra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Mithun,
you don't need a FM for that. You can hardcode 52
ec
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check FM : HR_IE_NUM_PRSI_WEEKS
DATA NUM_WEEKS TYPE PC26W-WEEKS.
CALL FUNCTION 'HR_IE_NUM_PRSI_WEEKS'
EXPORTING
tax_year_begin = '20070101'
period_begin = '20070101'
period_end = '20071231'
IMPORTING
NUM_WEEKS = NUM_WEEKS
EXCEPTIONS
END_LT_START = 1
END_LT_YEAR_START = 2
START_LT_YEAR_START = 3
.
WRITE : NUM_WEEKS.
SANDEEP KAUSHIK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
TRY THIS
HR_SGPBS_YRS_MTHS_DAYS
reward if useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.