SAP Function Modules

PAY_NL_FSCD_IF_OUT_PUT_PY_DATA SAP Function module - Outbound Interface: Payroll - Put Details from HCM to FS-CD







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

Associated Function Group: PAY_NL_PENS_FSCD_IF
Released Date: Not Released
Processing type: Remote-Enabled + BasXML supported
remote enabled with basXML set


Pattern for FM PAY_NL_FSCD_IF_OUT_PUT_PY_DATA - PAY NL FSCD IF OUT PUT PY DATA





CALL FUNCTION 'PAY_NL_FSCD_IF_OUT_PUT_PY_DATA' "Outbound Interface: Payroll - Put Details from HCM to FS-CD
  EXPORTING
    iv_abkrs =                  " abkrs         Payroll Area
    iv_pabrj =                  " pabrj         Payroll Year
    iv_pabrp =                  " pabrp         Payroll Period
    it_pernr =                  " pernr_tab     HR: Master Data, PERNR Table (unsorted)
*   it_rt_lgart =               " pay_nl_pens_tab_lgart  NL Pens: Wage Type Table
*   it_bt_lgart =               " pay_nl_pens_tab_lgart  NL Pens: Wage Type Table
  IMPORTING
    et_postings =               " pay_nl_pens_tab_cd_if_posting  NL Pens: API Table for HCM to FS-CD Posting Detail
    et_payrefers =              " pay_nl_pens_tab_cd_if_payrefer  NL Pens: API Table for HCM to FS-CD Ref.to Claim Payment
    et_payments =               " pay_nl_pens_tab_cd_if_payment  NL Pens: API Table for HCM to FS-CD Net Payments
    et_general =                " pay_nl_pens_tab_cd_if_general  NL Pens: API Structure for HCM to FS-CD General PY Data
    et_return =                 " bapirettab    Table with BAPI Return Information
    .  "  PAY_NL_FSCD_IF_OUT_PUT_PY_DATA

ABAP code example for Function Module PAY_NL_FSCD_IF_OUT_PUT_PY_DATA





The ABAP code below is a full code listing to execute function module PAY_NL_FSCD_IF_OUT_PUT_PY_DATA 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_et_postings  TYPE PAY_NL_PENS_TAB_CD_IF_POSTING ,
ld_et_payrefers  TYPE PAY_NL_PENS_TAB_CD_IF_PAYREFER ,
ld_et_payments  TYPE PAY_NL_PENS_TAB_CD_IF_PAYMENT ,
ld_et_general  TYPE PAY_NL_PENS_TAB_CD_IF_GENERAL ,
ld_et_return  TYPE BAPIRETTAB .

DATA(ld_iv_abkrs) = 'Check type of data required'.
DATA(ld_iv_pabrj) = 'Check type of data required'.
DATA(ld_iv_pabrp) = 'Check type of data required'.
DATA(ld_it_pernr) = 'Check type of data required'.
DATA(ld_it_rt_lgart) = 'Check type of data required'.
DATA(ld_it_bt_lgart) = 'Check type of data required'. . CALL FUNCTION 'PAY_NL_FSCD_IF_OUT_PUT_PY_DATA' EXPORTING iv_abkrs = ld_iv_abkrs iv_pabrj = ld_iv_pabrj iv_pabrp = ld_iv_pabrp it_pernr = ld_it_pernr * it_rt_lgart = ld_it_rt_lgart * it_bt_lgart = ld_it_bt_lgart IMPORTING et_postings = ld_et_postings et_payrefers = ld_et_payrefers et_payments = ld_et_payments et_general = ld_et_general et_return = ld_et_return . " PAY_NL_FSCD_IF_OUT_PUT_PY_DATA
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_et_postings  TYPE PAY_NL_PENS_TAB_CD_IF_POSTING ,
ld_iv_abkrs  TYPE ABKRS ,
ld_et_payrefers  TYPE PAY_NL_PENS_TAB_CD_IF_PAYREFER ,
ld_iv_pabrj  TYPE PABRJ ,
ld_et_payments  TYPE PAY_NL_PENS_TAB_CD_IF_PAYMENT ,
ld_iv_pabrp  TYPE PABRP ,
ld_et_general  TYPE PAY_NL_PENS_TAB_CD_IF_GENERAL ,
ld_it_pernr  TYPE PERNR_TAB ,
ld_et_return  TYPE BAPIRETTAB ,
ld_it_rt_lgart  TYPE PAY_NL_PENS_TAB_LGART ,
ld_it_bt_lgart  TYPE PAY_NL_PENS_TAB_LGART .

ld_iv_abkrs = 'Check type of data required'.
ld_iv_pabrj = 'Check type of data required'.
ld_iv_pabrp = 'Check type of data required'.
ld_it_pernr = 'Check type of data required'.
ld_it_rt_lgart = 'Check type of data required'.
ld_it_bt_lgart = '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 PAY_NL_FSCD_IF_OUT_PUT_PY_DATA or its description.