cancel
Showing results for 
Search instead for 
Did you mean: 

Reading variable values

Former Member
0 Kudos

Hi Everyone,

in BW-BPS I was able to read the value of bps variables by a function module. Does anybody know how i can read by a function module the variable values in the integrated planing BI-IP ?

THX

Mike

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Thanks for your patience and quick response.

is there a how-to around or something else, as i have hardly any experience with BEx Variables.

Regards

Mike

Former Member
0 Kudos

Hi,

Try this link

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/61/579b3c494d8e15e10000000a114084/content.htm">Help</a>

thanks

Answers (5)

Answers (5)

Former Member
0 Kudos

THX !

Former Member
0 Kudos

well. maybe i was not clear.

i do know how to use BSP variables of type exit. this is not the problem.

i need to know for BI-IP BI 7.0

Best Regards

Mike

Former Member
0 Kudos

Hi,

In BI-IP, the variables used are the same as the ones which are used in BEx queries. So, for exit variables you'll write the code at the same place where its done for BEx variables.

Former Member
0 Kudos

Hi Mike,

if you want to assign the function module that u have created for a perticular variable, then make type of that variable as "User Exit".

it will ask for Function Module. assign ur FM there.

u can use that variable in level selection.

when u will execute the layout, it will give error saying that " variable has too many vaues".

u can set one value for variable form "set variable" option tab available at right corner of BPS0 transaction.

Former Member
0 Kudos

i ment to to read the value of a variable in BI-IP.

example a user has selected 0calyear = 2007 for his planing layout - another exit variable should read that variable and adds another year. (2007 + 1)

Former Member
0 Kudos

Hi,

In the code for the other exit variable you should be able to read the value of the existing variable using the below code.

DATA: loc_var_range LIKE rrrangeexit.

CLEAR loc_var_range.

READ TABLE i_t_var_range WITH KEY vnam = <b><existing var name></b> INTO loc_var_range.

Former Member
0 Kudos

Hi Mike,

Its not really clear to me. Where do you read these values in BPS (in an ABAP code or something)? How do you do that (in BPS)? Could you please elaborate?