Fonction SAP BAPI_PAYM_ITEM_GET_LIST - RFC: Output Turnover List

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACCOUNT IBKKBAPIAC-ACCOUNT C 35 Account Number
I_ACCST_NO_FROM IBKKBAPTPI-ACCSTATNO N 3 X Account Number from
I_ACCST_NO_TO IBKKBAPTPI-ACCSTATNO N 3 X Account Number to
I_ACCST_YEAR_FROM IBKKBAPTPI-ACCST_YEAR N 4 X Bank Statement Year from
I_ACCST_YEAR_TO IBKKBAPTPI-ACCST_YEAR N 4 X Bank Statement Year to
I_BANKKEY IBKKBAPI-BANKL C 15 Bank Key
I_COUNTRY IBKKBAPI-BANKS C 3 Bank Country Key
I_LANGUAGE IBKKBAPI-LANGU C 1 X SAP System, Current Language
I_POSTDATE_FROM IBKKBAPTPI-DATE_POST D 8 X Posting date from
I_POSTDATE_TO IBKKBAPTPI-DATE_POST D 8 X Posting Date To
I_X_SINCE_LAST_ACCST IBKK_MISC-XACCST_LST C 1 X Since the Last Bank Statement

Paramètre Reférence Type Long. Description
E_RETURN IBKK_MISC-RC2 C 2 Return Value: 0 = No Errors

Paramètre Reférence Long. Facultatif Description
T_PAYM_ITEMS IBKKBAPTPI 930 Turnover Table
T_PAYM_NOTES IBKKBAPTPN 95 Payment Notes Table

Functionality
This function module determines the turnovers for an account, inaccordance with the selection parameters.
The individual processing steps are as follows:

  • Initialization of the message handler

  • Authorization check (authorization object F_PAIT_ACT, ID ACTVT, value
  • B1)
    • Determine internal key of the account

    • If you want the turnovers since a certain bank statement selected, the
    • bank statement data is also read
      • If you want the turnovers since the last bank statement selected, the
      • from-date for the selection is determined
        • Selection of the turnovers, in accordance with the selection parameters
        • specified
          • Conversion of certain fields from internal to external display

          • Selection of the corresponding payment notes
          • Description
            Processing results.

            Value range
            The following return codes are possible:

            • 00: No errors.

            • 01: Errors occurred, no data is supplied.

            • 99: User not authorized to execute function.
            • Further information
              Account Number

              Description
              All turnovers of specified bank statement up to today's date areselected.

              Notes
              The parameters I_ACCST_YEAR_FROM and I_ACCST_NO_FROM must always bespecified together.

              Further information

              • Bank statement year

              • Bank statement number
              • Description
                Selection of the turnovers according to "From Bank Statement" up to andincluding turnovers in "To Bank Statement".

                Notes
                The parameters I_ACCST_YEAR_TO and I_ACCST_NO_TO must always bespecified together.
                These parameters are allowed only for I_ACCST_YEAR_FROM andI_ACCST_NO_FROM.

                Further information

                • Bank statement year

                • Bank statement number.
                • Description
                  All turnovers of the specified bank statement up to today's date areselected.

                  Notes
                  The parameters I_ACCST_YEAR_FROM and I_ACCST_NO_FROM must always bespecified together.

                  Further information

                  • Bank statement year

                  • Bank statement number.
                  • Description
                    Selection of the turnovers according to "From Bank Statement" up to andincluding turnovers in "To Bank Statement".

                    Notes
                    The parameters I_ACCST_YEAR_TO and I_ACCST_NO_TO must always bespecified together.
                    These parameters are allowed only for I_ACCST_YEAR_FROM andI_ACCST_NO_FROM.

                    Further information

                    • Bank statement year

                    • Bank statement number.
                    • Further information
                      Bank key.

                      Further information
                      Bank country.

                      Description
                      All turnovers are selected whose posting date is on or after thetransferred posting date.

                      Further information
                      Posting date.

                      Description
                      All turnovers are selected whose posting date is on or before thetransferred posting date.

                      Further information
                      Posting date.

                      Description
                      All turnovers since the last bank statement are selected.