Skip to Content
author's profile photo Former Member
Former Member

message id

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 01: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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 25, 2007 at 02: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

          Add a comment
          10|10000 characters needed characters exceeded

          Before answering

          You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
          You must be Logged in to submit an answer.

          Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.