Skip to Content
0
Former Member
Apr 18, 2008 at 07:27 AM

Start Routine

10 Views

Hi Friends

How can I write start routine with the following code.

Data : v_date Type AD_TSTAMP,

Y_Date type SY-Datum,

v_day(2) type n,

v_mon(2) type n,

v_year(4) type n.

V_date = COMM_STRUCTURE-TCTTIMSTMP.

v_day = v_date+6(2).

v_mon = v_date+4(2).

v_year = v_date(4).

concatenate v_year v_mon v_day into Y_date.

RESULT = Y_date.

Regards,

Chama.