I posted this on BI general, but thought may be this is a better place..please respond..
Hi all, I am trying to implement a virtual char and I foolowed the how to paper from SAP...My example is a very simple one where I want to test how this concept works. What I wanted to do is to be able to assign a constnt value to the characteristic 0PLANT, but I get the following runtime error when I test the report in RSRT.
UC_OBJECTS_NOT_CONVERTIBLE - Data objects in Unicode programs cannot be converted.
"MOVE src TO dst"
requires that the operands "dst" and "src" are convertible.
Since this statement is in a Unicode program, the special conversion
rules for Unicode programs apply.
In this case, these rules were violated.
here is the code I had in the method: IF_EX_RSR_OLAP_BADI~COMPUTE
field-symbols <fs_0material> type any.
field-symbols <fs_0plant> type any.
data: l_plant type /BI0/OIPLANT.
assign component p_cha_0material of structure c_s_data to <fs_0material>.
assign component p_cha_0plant of structure c_s_data to <fs_0plant>.
<fs_0plant> = l_plant.
I tried to search in SDN and on Service market place but could not find proper documents. Can someone help?