Skip to Content

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

Grid do not be refresh.....

Hi,

I am trying to make one program with object oriented alv.My grid do not be refresh.

My code is like that....

CLEAR G_CONTAINER.

CREATE OBJECT G_CONTAINER

EXPORTING

CONTAINER_NAME = 'CONTAINER'.

CREATE OBJECT ALV_DISP

EXPORTING

I_PARENT = G_CONTAINER.

  • call method ALV_DISP->set_ready_for_input

  • exporting i_ready_for_input = 0.

CALL METHOD ALV_DISP->SET_TABLE_FOR_FIRST_DISPLAY

EXPORTING

I_STRUCTURE_NAME = 'ZPMS_OUTPUT_V3'

CHANGING

IT_OUTTAB = IT_PMT

IT_FIELDCATALOG = gt_fieldcatalog

EXCEPTIONS

INVALID_PARAMETER_COMBINATION = 1

PROGRAM_ERROR = 2

TOO_MANY_LINES = 3

OTHERS = 4.

IF SY-SUBRC <> 0.

MESSAGE ' NO DATA FOUND !!!' TYPE 'E'.

ENDIF.

CALL METHOD ALV_DISP->REFRESH_TABLE_DISPLAY

EXCEPTIONS

FINISHED = 1

OTHERS = 2.

Please help me to trace out this situation.

Regards,

Gurprit Bhatia

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