Hello,
I tried to create a BSP as shown in this tutorial:
/people/vijaybabu.dudla/blog/2008/08/04/display-hierarchy-report-in-bsp-using-tableview-and-tableview-iterator
When starting the BSP I get an error that a field symbol is not assigned in the method get_column_name.
When debugging the method get_column_name I can see that row_ref is initial. So the field symbols <row> and <col> are not assigned to any values, which causes the error some lines below.
METHOD get_column_value .
*-To get the Column values which is used in the Interator
FIELD-SYMBOLS: <row> TYPE ANY, <col> TYPE ANY, <cur> TYPE ANY.
ASSIGN row_ref->* TO <row>.
ASSIGN COMPONENT column_name OF STRUCTURE <row> TO <col>.
DATA tempchar(240) TYPE c.
IF currency IS NOT INITIAL.
ASSIGN COMPONENT currency OF STRUCTURE <row> TO <cur>.
WRITE <col> CURRENCY <cur> TO tempchar.
MOVE tempchar TO column_value.
CONCATENATE column_value ` ` <cur> INTO column_value.
ELSE.
WRITE <col> TO tempchar.
MOVE tempchar TO column_value.
ENDIF.
CONDENSE column_value.
ENDMETHOD.
Any help?
Thank you