cancel
Showing results for 
Search instead for 
Did you mean: 

Get Variable Value in Integrated Planning

Former Member
0 Kudos

Hello,

does anybody know if it is possible to get an input-variable value within the Userexit EXIT_SAPLRRS0_001 that is not provided in i_t_var_range?

I created a customer-exit variable that depends on a certain input-variable. It works, if I have both in my selection. Now I want to use it for filters or planning functions, but the input-variable is not provided when I call the function thus my customer-exit variable is empty.

In BPS0 I solved this problem with CL_SEM_VARIABLE=>GET_VALUE. Is there a similar class that can be used in integrated planning?

Thanks for your help.

Regards Thomas

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I was able to find RSR_VAR_GET_VALUES. Unfortunately, I cannot figure out how to get the import parameter I_VAR_CONT_HANDLE.

Mike.

former_member93896
Active Contributor
0 Kudos

Actually the RSR_VAR... functions return only the input-ready variables. Within an exit planning function, an efficient way to read a variable is using cl_rsplfr_var_cont=>get_var_value(...). This is for example how the FOX function VARV works.

Regards,

Marc

SAP NetWeaver RIG

Former Member
0 Kudos

Hello Marc,

would you have a sample of how you create an instance of this class? I'm not able to get it work... the method keep returning blank value and i think i get it wrong during the constructor step.

thanks

former_member93896
Active Contributor
0 Kudos

Hello Thomas,

I currently don't have a system to check but there should be a function module starting with RSR_VAR_... to get other OLAP variables.

Regards,

Marc

SAP NetWeaver RIG

Former Member
0 Kudos

Hi Marc,

unfortunately there is no such FM. Could you have a look at this once again?

Thanks a lot!

Regards,

Stefan