Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV Layout problem

Hi expert,

I have an ALV report, like the following. (It's just some part of the code, not the whole one).

When I want to print out the ALV it gives me a GETWA_NOT_ASSIGNED shortdump and says the there are unassigned fieldsymbols. Now I know if I'm not modifying the gs_layout it won't give me a shortdump during printing. Could anybody tell me why this problem occured, and how can I handle it?

....

DATA : gs_layout TYPE slis_layout_alv.

...

PERFORM F_LAYOUT.

PERFORM PRINT_REPORT.

....

FORM fill_layout .

CLEAR gs_layout.

gs_layout-coltab_fieldname = 'FARB'.

ENDFORM.

....

FORM print_report.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = sy-repid

it_fieldcat = it_fieldcat

is_layout = gs_layout

TABLES

t_outtab = gt_list

EXCEPTIONS

program_error = 1.

ENDFORM. " PRINT_REPORT

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question