Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Condition on posting Date

Former Member
0 Likes
326

Hi Techis

I AM FACING A PROBLEM IN MY REPORT I WANT TO GIVE CONDITION ON IT_FINAL-DMBTR.

The condition is if document postiong date(it_final-budat) is > 30 days then it

should store in it_final-thirty if postiong date is > 60 days it shpold b store in

it_final-sixty if if postiong date is > 90 then it should store at it_final-ninety .

Pls tell me hw can i do it.(pls tell with same example).

rewards for helpful ans.

Thanks

Santo..

1 REPLY 1
Read only

Former Member
0 Likes
300

Hi,

I think this should work for u.

if it_final-budat > 30.

it_final-thirty = <value>

elseif it_final-budat > 60.

it_final-sixty = <value>

elseif it_final-budat > 90.

it_final-ninety =<value>.

endif.

Reward points if useful.

Thanks

Edited by: Himanshu Kanekar on Feb 5, 2008 10:59 AM