SAP Function Modules

FTR_ALERT_GET_PAYMENT SAP Function module - Alert Monitor: Selection of Payment







FTR_ALERT_GET_PAYMENT 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 FTR_ALERT_GET_PAYMENT into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM FTR_ALERT_GET_PAYMENT - FTR ALERT GET PAYMENT





CALL FUNCTION 'FTR_ALERT_GET_PAYMENT' "Alert Monitor: Selection of Payment
* EXPORTING
*   pi_payment_date =           " tb_dzterm     SelektionsPar. für Zahlungstermin (DZTERM)
*   pi_so_payment_currency =    " ftrw_so_payment_currency  SelektionsOpt. für Zahlwährung (WZBETR)
*   pi_so_housebank_id =        " ftrw_so_housebank_id  SelektionsOpt. für Hausbank (RAHABKI)
*   pi_so_housebank_account =   " ftrw_so_housebank_account  SelektionsOpt. für Hausbankkonto (RAHKTID)
*   pi_so_posting_state =       " ftrw_so_posting_state  SelektionsOpt. für Buchungsstatus (SBEWEBE)
*   pi_so_payment_state =       " ftrw_so_payment_state  SelektionsOpt. für Zahlungsstatus (algorithmisch)
*   pi_so_payer_payee =         " ftrw_so_payer_payee  SelektionsOpt. für Zahl.Regulierer (RPZAHL)
*   pi_so_payer_payee_bank =    " ftrw_so_payer_payee_bank  SelektionsOpt. für Partnerbankverb. (RPBANK)
*   pi_tab_preselection =       " ftral_tab_key_fha_ext  VTBFHA-Keys für Alertmeldungen
  IMPORTING
    pe_tab_alert_msg =          " vts_tab_alert_msg  CFM:  Data Transfer Structure for Alert Messages
    .  "  FTR_ALERT_GET_PAYMENT

ABAP code example for Function Module FTR_ALERT_GET_PAYMENT





The ABAP code below is a full code listing to execute function module FTR_ALERT_GET_PAYMENT 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_pe_tab_alert_msg  TYPE VTS_TAB_ALERT_MSG .

DATA(ld_pi_payment_date) = 'Check type of data required'.
DATA(ld_pi_so_payment_currency) = 'Check type of data required'.
DATA(ld_pi_so_housebank_id) = 'Check type of data required'.
DATA(ld_pi_so_housebank_account) = 'Check type of data required'.
DATA(ld_pi_so_posting_state) = 'Check type of data required'.
DATA(ld_pi_so_payment_state) = 'Check type of data required'.
DATA(ld_pi_so_payer_payee) = 'Check type of data required'.
DATA(ld_pi_so_payer_payee_bank) = 'Check type of data required'.
DATA(ld_pi_tab_preselection) = 'Check type of data required'. . CALL FUNCTION 'FTR_ALERT_GET_PAYMENT' * EXPORTING * pi_payment_date = ld_pi_payment_date * pi_so_payment_currency = ld_pi_so_payment_currency * pi_so_housebank_id = ld_pi_so_housebank_id * pi_so_housebank_account = ld_pi_so_housebank_account * pi_so_posting_state = ld_pi_so_posting_state * pi_so_payment_state = ld_pi_so_payment_state * pi_so_payer_payee = ld_pi_so_payer_payee * pi_so_payer_payee_bank = ld_pi_so_payer_payee_bank * pi_tab_preselection = ld_pi_tab_preselection IMPORTING pe_tab_alert_msg = ld_pe_tab_alert_msg . " FTR_ALERT_GET_PAYMENT
IF SY-SUBRC EQ 0. "All OK 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_pe_tab_alert_msg  TYPE VTS_TAB_ALERT_MSG ,
ld_pi_payment_date  TYPE TB_DZTERM ,
ld_pi_so_payment_currency  TYPE FTRW_SO_PAYMENT_CURRENCY ,
ld_pi_so_housebank_id  TYPE FTRW_SO_HOUSEBANK_ID ,
ld_pi_so_housebank_account  TYPE FTRW_SO_HOUSEBANK_ACCOUNT ,
ld_pi_so_posting_state  TYPE FTRW_SO_POSTING_STATE ,
ld_pi_so_payment_state  TYPE FTRW_SO_PAYMENT_STATE ,
ld_pi_so_payer_payee  TYPE FTRW_SO_PAYER_PAYEE ,
ld_pi_so_payer_payee_bank  TYPE FTRW_SO_PAYER_PAYEE_BANK ,
ld_pi_tab_preselection  TYPE FTRAL_TAB_KEY_FHA_EXT .

ld_pi_payment_date = 'Check type of data required'.
ld_pi_so_payment_currency = 'Check type of data required'.
ld_pi_so_housebank_id = 'Check type of data required'.
ld_pi_so_housebank_account = 'Check type of data required'.
ld_pi_so_posting_state = 'Check type of data required'.
ld_pi_so_payment_state = 'Check type of data required'.
ld_pi_so_payer_payee = 'Check type of data required'.
ld_pi_so_payer_payee_bank = 'Check type of data required'.
ld_pi_tab_preselection = '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 FTR_ALERT_GET_PAYMENT or its description.