Skip to Content
0
Former Member
Nov 02, 2005 at 03:06 AM

problem with tableview iterator

15 Views

Dear friends.

I try to adopt tableview iterator in my customer's BSP pages. So, I programmed test page.

METHOD if_htmlb_tableview_iterator~render_row_start .

m_row_ref ?= p_row_data_ref.

ENDMETHOD.

M_ROW_REF is "Static Attribute" and "Public" and "Type Ref To Z3TYDISP"

z3tydisp has structure as below

REQNO NUMC 12

VGUBUN CHAR 1

DSCOFVGUBUN STRING 0

REQDT DATS 8

RNAME CHAR 10

VCOMP CHAR 30

VNAME CHAR 10

VPLACE CHAR 5

VPLACEDSC CHAR 20

APPROVAL CHAR 1

DSCOFAPPROVAL STRING 0

AND... p_row_data_ref has structure below

REQNO N 12

VGUBUN C 1

DSCOFVGUBUN g 0

REQDT D 8

RNAME C 10

VCOMP C 30

VNAME C 10

VPLACE C 5

VPLACEDSC C 20

APPROVAL C 1

DSCOFAPPROVAL g 0

In my option, p_row_data_ref has same structure compared with z3tydisp. But there is "CX_SY_MOVE_CAST_ERROR". How I have to define "z3tydisp"????