12-27-2016 2:04 PM
Hi, I used this bapi ALV report. First run lt_notitem is true value but i used qm02 tcode changed value below first picture and second picture. My report click refresh button (below third picture) bapi lt_notitem table same value not get changed value. I turn back first screen select-option run F8 lt_notitem table get new value. where is problem ? How is solved ?
REFRESH: lt_notlongtxt,
lt_notitem,lt_notitem[],
lt_notifcaus,
lt_notifactv,
lt_notiftask,
lt_notifpartnr,
lt_return.
CLEAR : lt_notlongtxt ,
lt_notitem , lt_notitem[],
lt_notifcaus ,
lt_notifactv ,
lt_notiftask ,
lt_notifpartnr ,
lt_return .
CLEAR: ls_notifheader_export,
ls_notifhdtext.
CALL FUNCTION 'BAPI_QUALNOT_GETDETAIL'
EXPORTING
number = ls_qmel-qmnum
IMPORTING
notifheader_export = ls_notifheader_export
notifhdtext = ls_notifhdtext
TABLES
notlongtxt = lt_notlongtxt
notitem = lt_notitem
notifcaus = lt_notifcaus
notifactv = lt_notifactv
notiftask = lt_notiftask
notifpartnr = lt_notifpartnr
return = lt_return.
01-02-2017 9:58 AM
Did you try to refresh memory of the FG behind the BAPI, call FM IQS1_REFRESH_ALL for this purpose.
Regards,
Raymond
12-27-2016 2:46 PM
With CL_GUI_ALV_GRID (?), the most frequent cause is that people create a new instance of the ALV grid (without freeing the previous ALV grid instance), and the effect is that only the first one is displayed. To free the first ALV grid instance, use these 2 lines:
alv_grid->free( ).
FREE alv_grid.
Note that instead of freeing and creating, you may call the REFRESH_TABLE_DISPLAY method.
CL_SALV_TABLE has the same issue if you use it in "container mode".
12-27-2016 4:18 PM
Hi,
my problem is lt_notitem bapi table. I dont have alv refresh method.
01-02-2017 9:58 AM
Did you try to refresh memory of the FG behind the BAPI, call FM IQS1_REFRESH_ALL for this purpose.
Regards,
Raymond
01-04-2017 10:19 AM