Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

message id

Former Member
0 Kudos

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

&

.Print

*********

        • ****

      • ***

    • **

* *

pleas provide the code for this

thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

former_member195698
Active Contributor
0 Kudos

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