2009 Jul 14 6:39 AM
Hello,
I a RFC call .at the end of the function Call returns to an internal table with new rows appended to it .however when we check at the invoking code ,i had seen that it takes a while for the newly appended rows to be refeshed in the internal table, in order to avoid this , i have to introduce to a wait upto Statement
but it leads to the performance overhead
Pls suggest the alternative way to solve this problem
Hello,
I a RFC call .at the end of the function Call returns to an internal table with new rows appended to it .however when we check at the invoking code ,i had seen that it takes a while for the newly appended rows to be refeshed in the internal table, in order to avoid this , i have to introduce to a wait upto Statement
but it leads to the performance overhead
Pls suggest the alternative way to solve this problem
2009 Jul 14 6:51 AM
Use Function 'ENQUE_SLEEP' as shown below:
CALL FUNCTION 'ENQUE_SLEEP'
EXPORTING
SECONDS = '5'
EXCEPTIONS
SYSTEM_FAILURE = 1
OTHERS = 2.
Here system will wait for 5 seconds for next statement to be executed.
You can give any number of secods as per your wait timings.
Regds,
Anil
2009 Jul 14 7:17 AM
Hi,
In ALV, to refresh the table you have to call the method "refresh_table_display".
It has the syntax very similar to creating the table.
It has two parameters. In the first one, you can mention if you want to refresh only the data (the icons are not refreshed)
or
if you want to refresh only the icons around the grid (the data is not refreshed - this option is mostly not used in day to day applications).
the synatx is :-
call method grid (name of grid )->refresh_table_display
exporting
IS_STABLE = <STRUCT OF TYPE LVC_S_STBL> (THIS IS FOR DATA REFRESHING)
I_SOFT_REFRESH = <VARIABLE OF CHAR 01> (THIS IS FOR ICON REFRESHING).
Regards,
Saurabh Goel
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |