Skip to content

Instantly share code, notes, and snippets.

@njames
Last active December 17, 2015 01:48
Show Gist options
  • Save njames/5530608 to your computer and use it in GitHub Desktop.
Save njames/5530608 to your computer and use it in GitHub Desktop.
Determine the size of a BOL collection
* the last two buttons are displayed only if there is data in the table
lv_btn_enabled = abap_true.
lv_col_wrapper = typed_context->builactivity->collection_wrapper.
IF lv_col_wrapper->size( ) > 0.
lv_btn_enabled = abap_false.
ENDIF.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment