Skip to content

Instantly share code, notes, and snippets.

@furlan
Created May 31, 2012 00:46
Show Gist options
  • Save furlan/2839921 to your computer and use it in GitHub Desktop.
Save furlan/2839921 to your computer and use it in GitHub Desktop.
z_fm_get_connections
FUNCTION z_fm_get_connections.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" REFERENCE(IM_CARRID) TYPE SPFLI-CARRID
*" EXPORTING
*" REFERENCE(EX_SPFLI_T) TYPE ZTT_SPFLI
*" EXCEPTIONS
*" NO_DATA_FOUND
*"----------------------------------------------------------------------
SELECT * FROM spfli
INTO TABLE ex_spfli_t
WHERE carrid = im_carrid.
IF sy-subrc NE 0.
RAISE no_data_found.
ENDIF.
ENDFUNCTION.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment