2007 Aug 02 11:27 AM
Hi,
Is there any fn mod which gives previous month and also
how to assign the low date of that month to low value of a select-option var and high date high value.
Pls help.
It's urgent.
Regards,
kb
2007 Aug 02 11:32 AM
Hi,
Try these fm's..
RS_VARI_V_LAST_MONTH
RS_VARI_V_L_ACTUAL_MONTH
RS_VARI_V_L_LAST_MONTH
Regards,
Sankar
Hi,
When we call that fn md into report wht do we need to paas and wht to retrieve?
Pls help it's urgent.
Regards,
kb
2007 Aug 02 11:32 AM
Hi,
Try these fm's..
RS_VARI_V_LAST_MONTH
RS_VARI_V_L_ACTUAL_MONTH
RS_VARI_V_L_LAST_MONTH
Regards,
Sankar
2007 Aug 02 11:36 AM
Hi,
try to use the function module below it might resolve your problem
FUNCTION RS_VARI_V_LAST_MONTH.
DATA: L_DATE LIKE SY-DATUM.
REFRESH P_DATETAB.
MOVE: 'I' TO P_DATETAB-SIGN,
'BT' TO P_DATETAB-OPTION.
L_DATE = SY-DATLO.
MOVE '01' TO L_DATE+6(2).
L_DATE = L_DATE - 1.
MOVE: L_DATE TO P_DATETAB-LOW,
L_DATE TO P_DATETAB-HIGH.
MOVE '01' TO P_DATETAB-LOW+6(2).
APPEND P_DATETAB.
ENDFUNCTION.
***********please reward points if the information is helpful to you**********
2007 Aug 02 11:51 AM
Hi,
Th fn md is giving the previous month but how to get the low and high value's from that and assign to var.
Regards,
kb
2007 Aug 02 11:55 AM
Hi,
When we call that fn md into report wht do we need to paas and wht to retrieve?
Pls help it's urgent.
Regards,
kb
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |