2007 Aug 06 12:38 PM
Hello,
Is there a function module that helps display next 12 periods based on the period entered by user? Kindly inform.
thnx.
Regards,
KS
Hello,
Please give me some Function modules that are available in BW...
Thanks
Regards,
Ks
2007 Aug 06 12:44 PM
Hi
Check the following fun modules
HR_E_GET_DATES_PLUS_N_PERIODS
<b>HR_E_GET_PERIODS_FOR_INTERVAL</b>
HR_E_GET_PERIOD_DATES_FOR_DATE
HR_E_GET_PERIOD_FOR_DATE
CACS_GET_NEXT_PERIOD
CKML_F_GET_NEXT_PERIOD
CKMS_GET_DYNAMIC_PERIODS
CSCP_PARA1_GET_PERIODS
FCOM_GET_PERIOD_FROM_TIMERANGE
Goto SE37 enter getperiod*
and check the different fun modules
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Aug 06 1:03 PM
Hello Anji,
Thanks for the reply. But I tried all of them. But I couldnt find which one gives all 12 periods?Can you please help me with the same.
Regards,
KS
2007 Aug 08 11:41 AM
Hello,
Please give me some Function modules that are available in BW...
Thanks
Regards,
Ks
2007 Aug 08 11:47 AM
Hi,
Try CALL FUNCTION 'MONTH_PLUS_DETERMINE'
FM MONTH_PLUS_DETERMINE
Refer
https://forums.sdn.sap.com/click.jspa?searchID=4396786&messageID=3591177
Regards
2007 Aug 08 12:07 PM
*the program below shows next 12 periods from date entered by user
REPORT ZTRIP_TEST .
parameters date like sy-datum.
data:
month type i value 0,
new_date like sy-datum.
do 12 times.
month = month + 1.
CALL FUNCTION 'MONTH_PLUS_DETERMINE'
EXPORTING
MONTHS = month
OLDDATE = date
IMPORTING
NEWDATE = new_date
.
write:/ new_date.
enddo.
*Reward points if found useful, revert back in case of query
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |