cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

function substr in WebI

Former Member
0 Likes
9,558

Hello Together,

System Information: BO 4.0 SP 2 Patch 10

I created a report with webi based on a SAP BEx query. The report is working well but if I insert the following formula the whole data disappears: substr (sales rep; 5;10)

It does not matter if I insert the formula to a new column directly or with the help of a variable, After I confirm the formula the sheet is empty.

Can anybody help?

Thanks and kind regards,

Jule

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Hi Juliane,

When you say whole data disappears, is it just the column (with formula) for which data disappears or the whole report get affected?

What is the datatype of [Sales Rep] object? Character or Number? Substr will only work with Character type

If Number then typecast it to Char and check.

if Character, then use Length() and check the number of characters whether they are more or less than 5.

Regards,

Yuvraj

0 Likes

Hi ,

Are you using =substr(sales rep;5;10) ?

Former Member
0 Likes

Yes, I use the correct formula but everything disappears.

Former Member
0 Likes

Thanks. Create such a important query base on your sample