Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Refreshing the values inside Custom Container

Former Member
0 Likes
1,149

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...

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
809

Try refreshing IT_ZCAWNT_V

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
809

Read only

0 Likes
809

tried but could not get the output...

could you please suggest me any other method??

Read only

0 Likes
809

You can try

CALL METHOD o_alvgrid->refresh_table_display

EXPORTING

is_stable = ls_stable.

CALL METHOD cl_gui_cfw=>flush

Read only

0 Likes
809

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???

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
810

Try refreshing IT_ZCAWNT_V