Created
May 31, 2012 00:46
-
-
Save furlan/2839921 to your computer and use it in GitHub Desktop.
z_fm_get_connections
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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