Skip to content

Instantly share code, notes, and snippets.

@grknylmz
Created September 20, 2017 06:44
Show Gist options
  • Save grknylmz/ae504fb9911de2f1a99c7a54c149629b to your computer and use it in GitHub Desktop.
Save grknylmz/ae504fb9911de2f1a99c7a54c149629b to your computer and use it in GitHub Desktop.
METHOD membersset_get_entityset.
SELECT partner, addrcomm, name_first, name_last, crdat FROM but000
INTO TABLE @DATA(lt_but000) UP TO 100 ROWS
WHERE name_first NE @space
AND name_last NE @space.
IF lines( lt_but000 ) GT 0.
"et_entityset is our exporting table with data
APPEND LINES OF lt_but000 TO et_entityset.
ENDIF.
ENDMETHOD.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment