SAP Function Modules

FDM_COLL_SEND_PROCEDURE_GET SAP Function module







FDM_COLL_SEND_PROCEDURE_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name FDM_COLL_SEND_PROCEDURE_GET into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FDM_COLL_SERVICES_BR_HEAD
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FDM_COLL_SEND_PROCEDURE_GET - FDM COLL SEND PROCEDURE GET





CALL FUNCTION 'FDM_COLL_SEND_PROCEDURE_GET' "
  EXPORTING
    i_mode =                    " fdm_coll_send_run_mode  Run Mode for Program FDM_COLL_SEND_ITEMS
*   i_compcod_xbranch =         " fdm_coll_xbranch  Include All Items for Branch Office
*   i_ccoload_xbranch =         " fdm_coll_xbranch  Include All Items for Branch Office
*   i_no_ccoload_entry =        " xfeld
*   i_no_compcod_entry =        " xfeld
*   i_compcod_xpayer =          " fdm_coll_xpayer  Include Alternative Payer
*   i_ccoload_xpayer =          " fdm_coll_xpayer  Include Alternative Payer
  IMPORTING
    e_xbranch =                 " fdm_coll_xbranch
    e_xsend_del_idoc_proceed =   " xfeld
    e_xsend_del_idoc_stop =     " xfeld
    e_xupd_brhead =             " xfeld
    e_xdel_brhead =             " xfeld
    e_xpayer =                  " fdm_coll_xpayer  Include Alternative Payer
  EXCEPTIONS
    INVALID_CALL = 1            "
    INITIAL_LOAD_FIRST = 2      "
    NO_ACTION_REQUIRED = 3      "               No action required
    .  "  FDM_COLL_SEND_PROCEDURE_GET

ABAP code example for Function Module FDM_COLL_SEND_PROCEDURE_GET





The ABAP code below is a full code listing to execute function module FDM_COLL_SEND_PROCEDURE_GET including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).

DATA:
ld_e_xbranch  TYPE FDM_COLL_XBRANCH ,
ld_e_xsend_del_idoc_proceed  TYPE XFELD ,
ld_e_xsend_del_idoc_stop  TYPE XFELD ,
ld_e_xupd_brhead  TYPE XFELD ,
ld_e_xdel_brhead  TYPE XFELD ,
ld_e_xpayer  TYPE FDM_COLL_XPAYER .

DATA(ld_i_mode) = 'Check type of data required'.
DATA(ld_i_compcod_xbranch) = 'Check type of data required'.
DATA(ld_i_ccoload_xbranch) = 'Check type of data required'.
DATA(ld_i_no_ccoload_entry) = 'Check type of data required'.
DATA(ld_i_no_compcod_entry) = 'Check type of data required'.
DATA(ld_i_compcod_xpayer) = 'Check type of data required'.
DATA(ld_i_ccoload_xpayer) = 'Check type of data required'. . CALL FUNCTION 'FDM_COLL_SEND_PROCEDURE_GET' EXPORTING i_mode = ld_i_mode * i_compcod_xbranch = ld_i_compcod_xbranch * i_ccoload_xbranch = ld_i_ccoload_xbranch * i_no_ccoload_entry = ld_i_no_ccoload_entry * i_no_compcod_entry = ld_i_no_compcod_entry * i_compcod_xpayer = ld_i_compcod_xpayer * i_ccoload_xpayer = ld_i_ccoload_xpayer IMPORTING e_xbranch = ld_e_xbranch e_xsend_del_idoc_proceed = ld_e_xsend_del_idoc_proceed e_xsend_del_idoc_stop = ld_e_xsend_del_idoc_stop e_xupd_brhead = ld_e_xupd_brhead e_xdel_brhead = ld_e_xdel_brhead e_xpayer = ld_e_xpayer EXCEPTIONS INVALID_CALL = 1 INITIAL_LOAD_FIRST = 2 NO_ACTION_REQUIRED = 3 . " FDM_COLL_SEND_PROCEDURE_GET
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_xbranch  TYPE FDM_COLL_XBRANCH ,
ld_i_mode  TYPE FDM_COLL_SEND_RUN_MODE ,
ld_e_xsend_del_idoc_proceed  TYPE XFELD ,
ld_i_compcod_xbranch  TYPE FDM_COLL_XBRANCH ,
ld_e_xsend_del_idoc_stop  TYPE XFELD ,
ld_i_ccoload_xbranch  TYPE FDM_COLL_XBRANCH ,
ld_e_xupd_brhead  TYPE XFELD ,
ld_i_no_ccoload_entry  TYPE XFELD ,
ld_e_xdel_brhead  TYPE XFELD ,
ld_i_no_compcod_entry  TYPE XFELD ,
ld_e_xpayer  TYPE FDM_COLL_XPAYER ,
ld_i_compcod_xpayer  TYPE FDM_COLL_XPAYER ,
ld_i_ccoload_xpayer  TYPE FDM_COLL_XPAYER .

ld_i_mode = 'Check type of data required'.
ld_i_compcod_xbranch = 'Check type of data required'.
ld_i_ccoload_xbranch = 'Check type of data required'.
ld_i_no_ccoload_entry = 'Check type of data required'.
ld_i_no_compcod_entry = 'Check type of data required'.
ld_i_compcod_xpayer = 'Check type of data required'.
ld_i_ccoload_xpayer = 'Check type of data required'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FDM_COLL_SEND_PROCEDURE_GET or its description.