Application Development and Automation 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: 
Read only

message id

Former Member
0 Likes
436

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
Read only

Former Member
0 Likes
409

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
Read only

Former Member
0 Likes
410

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

Read only

former_member195698
Active Contributor
0 Likes
409

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