cancel
Showing results for 
Search instead for 
Did you mean: 

Variable

Former Member
0 Kudos

Hello, is it possible to customize a text variable.  like if i am using a text variable for fiscal period and year and it is coming out like December 2012 and i want it to show up as December 12 and not 2012. how can it be done on reporting level? thanks.              

Accepted Solutions (1)

Accepted Solutions (1)

tnecnivo
Active Contributor
0 Kudos

Hi Venkat,

You can use "Replacement Path" to achieve that.

Using the Offset Start and Offset Length, you can establish the start and length of the text output.

Refer to the link below for more details:-

http://help.sap.com/saphelp_nw70/helpdata/EN/af/809528939d5b4fbff7e16a5bdc0d85/content.htm

Kind regards.

Former Member
0 Kudos

Vincent, I tried to follow the instructions but the problem is that none of the combination seems to have worked. in the above example: i have something December 2012 showing up but I played with the offset length and offset start. I set 3 in offset start and 4 in offset length but it came out to be 201.  It does not seem to work in my scanario please advise. thanks.

tnecnivo
Active Contributor
0 Kudos

Hi Venkat,

Sorry but right now kinda busy onto something.

But I'd have a suggestion.

Rather than you try to show DEC 12 in one Text variable, can you try to create 2 text variables

one to show DEC (with offsetting) and another one to show 12 (with offsetting).

Let me know whether it works.

Answers (1)

Answers (1)

former_member199691
Active Contributor
0 Kudos

you can try using Customer Exit Text Variable where you can write the code to display the values in a way you want.

Former Member
0 Kudos

Can you please tell me how to do that. I know this can be done in regular variable but not text ones. thanks.    

former_member199691
Active Contributor
0 Kudos

The way you create Customer exit Characteristic Variable, similarly Customer Exit Text Variable is created.