2007 Nov 25 1:55 PM
Take Date From the User And check weather It is greater than Sys Date or not, if it is, than display appropriate Message on o/p screen.
plz give the code for this
&
*********
****
***
**
* *
pleas provide the code for this
thanks
2007 Nov 25 1:59 PM
Hi Nikhil,
Do like this
Parameters: P_DATE type sy-datum.
If p_date > sy-datum.
write: / 'Given date is greater than system date'.
endif.
Regards,
Satish
Take Date From the User And check weather It is greater than Sys Date or not, if it is, than display appropriate Message on o/p screen.
plz give the code for this
&
*********
****
***
**
* *
pleas provide the code for this
thanks
2007 Nov 25 1:59 PM
Hi Nikhil,
Do like this
Parameters: P_DATE type sy-datum.
If p_date > sy-datum.
write: / 'Given date is greater than system date'.
endif.
Regards,
Satish
2007 Nov 25 2:07 PM
data:wf_char1(5) type c value '*****',
wf_char2(5) type c value '*****',
wf_total(11) type c,
wf_length type i.
wf_length = strlen( wf_char1 ).
do.
if wf_length = 0.
exit.
endif.
concatenate wf_char1 wf_char2 into wf_total separated by space.
write : / wf_total.
wf_length = wf_length - 1.
wf_char1 = wf_char1(wf_length).
wf_char2 = wf_char2(wf_length).
enddo.
output
*****
****
***
**
*
Regards,
Abhishek
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |