‎2009 Nov 09 12:46 PM
Hello all,
I am having a screen with custom container in which i am populating datas and a entry screen which is going to have my
filtering condition for this custom container screen..
The problem i am facing is whenever i come out of the custom container screen after displaying and again give the
necessary filtering data in the previous screen...
the custom container screen displays wrong values...
But when i refresh the data with the refresh icon in th container right datas are coming...
I even used CALL METHOD C_ALVGD->REFRESH_TABLE_DISPLAY
EXPORTING
IS_STABLE = STABLE
EXCEPTIONS
FINISHED = 1
OTHERS = 2. after displaying the values using
CALL METHOD C_ALVGD->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IT_TOOLBAR_EXCLUDING = T_FUNC
IS_LAYOUT = IT_LAYOUT
I_SAVE = 'A'
CHANGING
IT_OUTTAB = IT_ZCAWNT_V
IT_FIELDCATALOG = IT_FCAT
EXCEPTIONS
INVALID_PARAMETER_COMBINATION = 1
PROGRAM_ERROR = 2
TOO_MANY_LINES = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
solution would be really helpful...
‎2009 Nov 09 1:18 PM
‎2009 Nov 09 12:51 PM
‎2009 Nov 09 12:53 PM
tried but could not get the output...
could you please suggest me any other method??
‎2009 Nov 09 1:02 PM
You can try
CALL METHOD o_alvgrid->refresh_table_display
EXPORTING
is_stable = ls_stable.
CALL METHOD cl_gui_cfw=>flush
‎2009 Nov 09 1:14 PM
thanks...But i tried the result is not coming [The data inside the custom container is not getting refreshed.].
Could you please suggest me any other way???
‎2009 Nov 09 1:18 PM