Skip to Content
Former Member
Jan 06, 2006 at 11:52 PM

TVARVC use in report


I have a requriement to populate a date field depending upon another field's value. Example: Date field can be one day after sy-datum , or 2 days after sy-datum or 3 days after sy-datum depending upon another field.

I can use simple case statement to add sy-datum, but I heard use of TVARVC variables is recommended. I know the use TVARVC table in dynamically populating selection screen in variants, but is there anyway i can use it in my code?

Pleae advice.