cancel
Showing results for 
Search instead for 
Did you mean: 

Text variable for previous year

Former Member
0 Kudos
319

Hello BW Experts,

I have to create a text variable for previous year. Could you please let me know the procedure for doing that.

User enters the value by using a user entry variable zfiscyear( fiscal year variable)

Suggestions appreciated.

Thanks,

BWer

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Creata a Customer variable on Text variable . in this

read the fiscal year value in it and do -1 to that fiscal year .

former_member188975
Active Contributor
0 Kudos

Hi BWer,

The text varaibale will pick up the text for whatever year the users enter in the zfiscyear variable. If you do an offset on zfiscyear, then the text variable will also pick up the correct year as per the offset. Or do you need something like if they enter 2006, but the text should show 2005?

Former Member
0 Kudos

yes, if the user enters 2006, i want to show 2005. how to do that.. please suggest.

Thanks very much.

BWer

former_member188975
Active Contributor
0 Kudos

Hi BWer,

You should be able to do that using a custmer exit based text variable. See if this helps:

Hope this helps...