Skip to Content
0
Former Member
Oct 24, 2012 at 06:09 PM

Getting Error in FM BW_MCI1_KEYFIGURE_ARRAY_GET (End Routine - ODS 0PM_DS02)

42 Views

Hi dear friends!

I'm getting a stranger error.

When I try to upload data to 0PM_DS02, I get a error in ST22, following below:

"The types of operands "dbtab" and "itab" cannot be converted into one another."

" In a Unicode system, the type of the operand "dbtab" must be convertible

into that of the operand "itab" for the statement "SELECT * FROM dbtab INTO

TABLE itab". Regardless of the

length of a Unicode character, both operands must have the same

structure layout.

In this case, this condition has not been met."

Where the error occurred:

>>>>> SELECT *

40 INTO TABLE C_T_BEFORE_IMAGE

41 * FROM (BWMCI_C_DBTAB_0PM_DS02)

42 FROM (l_tablnm_target)

43 WHERE LOGSYS = I_LOGSYS

44 AND EQUIPMENT = I_EQUIPMENT

45 AND FUNCT_LOC = I_FUNCT_LOC.

but "C_T_BEFORE_IMAGE" and "l_tablnm_target" are the same type!


Remembering that BW_MCI1_KEYFIGURE_ARRAY_GET is a standard FM, and the code above is inside it.

Does Anyone has any idea?

I would appreciate your help.

Best regards!

Marcelo R.