Monday, December 20, 2010

REPORT  ztest_notepad.

DATA:
      days      TYPE t5a4a-dlydy,
      years     TYPE t5a4a-dlyyr,
      calc_date TYPE p0001-begda.

PARAMETERS :p_months TYPE t5a4a-dlymo DEFAULT 18.


CALL FUNCTION 'RP_CALC_DATE_IN_INTERVAL'
  EXPORTING
    date      = sy-datum
    days      = days
    months    = p_months
    years     = years
  IMPORTING
    calc_date = calc_date.

WRITE calc_date.

0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.