Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Question from prakash on Feb 22 at 1:00 PM How should improve my alv program, I have the following problem: New columns appear each time the screen is opened. thank you for your reply MODULE MY_AREA OUTPUT. if r_container is initial. create object r_container exporting container_name = 'MY_AREA'. create object r_alv EXPORTING i_parent = r_container. CALL METHOD R_ALV->SET_TABLE_FOR_FIRST_DISPLAY EXPORTING * I_BUFFER_ACTIVE = * I_BYPASSING_BUFFER = * I_CONSISTENCY_CHECK = I_STRUCTURE_NAME ='SBOOK' * IS_VARIANT = * I_SAVE = 'U' I_DEFAULT = 'X' * IS_LAYOUT = IS_PRINT = my_print * IT_SPECIAL_GROUPS = * IT_TOOLBAR_EXCLUDING = * IT_HYPERLINK = * IT_ALV_GRAPHICS = * IT_EXCEPT_QINFO = * IR_SALV_ADAPTER = CHANGING IT_OUTTAB = it_book IT_FIELDCATALOG = it_fcat * IT_SORT = * IT_FILTER = * EXCEPTIONS * INVALID_PARAMETER_COMBINATION = 1 * PROGRAM_ERROR = 2 * TOO_MANY_LINES = 3 * others = 4 . IF SY-SUBRC <> 0. * Implement suitable error handling here ENDIF. CALL METHOD R_ALV->REFRESH_TABLE_DISPLAY * EXPORTING * IS_STABLE = * I_SOFT_REFRESH = * EXCEPTIONS * FINISHED = 1 * others = 2 . IF SY-SUBRC <> 0. ENDIF. ENDMODULE. | Reply to this email to post your response. __.____._ | _.____.__ |