on 01-29-2008 12:52 PM
Hi frnds,
I have to add date and duration fields when i m doing that
i am getting dummy values
it_departdate-departdate = it_departdate-departdate + it_departdate-duration.
suppose date is 01/29/06 and duration is 07.
so what shuld be done to get the date shuld be added.
the date format is like the same.
regards,
satish
hi,,
u have to create one temporariy internal table and
loop at it_main.
it_temd-date = it_main-date + it_main-duration.
append it_temp.
endloop.
plzz reward if it is useful..
plzz dont forget to reward.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any help frnds.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
simply add in ABAP:
DATA : result TYPE date.
DATA : departdate TYPE date.
DATA : duration TYPE i.
result = departdate + duration.
hope this helps
ec
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.