Skip to Content
0
Former Member
Jun 02, 2008 at 01:55 PM

Can I load values from an info object ?

39 Views

Can I add an info object in a dimension and load from an info object (which is not part of the cube)

using a routine in the update rule. The info object I am loading is not coming in the info source.

If the answer is yes, why am I getting the following error?

I have developed an info object ZMGR and loaded with extracted values using a generic extractor.

It has lots of fields. Now I have created another info object as ZMGR1 (reference to 0EMPLOYEE),

and it should have only managers of the 0EMPLOYEE. So in the cube I added ZMGR1 as a chacteristics

in one of the existing dimensions and in the update rule coming from each info source I try to do

a routine to read the values from ZMGR and load the for each employee using the following code.

But I get an error saying /BIC/MZMGR is not know. why?

DATA: mmgr LIKE /BIC/VZPA_C01T-/BIC/ZMGR.

DATA: memployee LIKE /BIC/MZMGR-/bic/zbusemp.

SELECT SINGLE /BIC/ZEMPLOYE

INTO mmgr

FROM /BIC/MZMGR

WHERE /BIC/ZBUSEMP = memployee.

if sy-subrc = 0.

RESULT = mmgr.

endif.

Thanks,

Alex.