on 04-18-2008 8:27 AM
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.
Hello,
It should be in the Update Routine and not in the start routine.
When I gave this code also I mentioned it to use in Update routine, since you are not filtering the entire data package with the date you are obtaining, instead reading the time stamp field of each record and converting that to the required format.
[Thanks|http://chandranonline.blogspot.com/] [Chandran|http://chandranonline.blogspot.com/]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.