Fonction SAP BAPI_COND_FORW_EXPENSES_COUNT - BAPI: Dispatch Expense Counter Update

Paramètre Reférence Type Long. Description
E_RETURN IBKK_MISC-RC2 C 2 Return Code (See Long Text)

Paramètre Reférence Long. Facultatif Description
T_FORW_EXPENSES_COUNT IBKKFOREXP 70 Transfer Table with Return Code (Long Text)

Functionality
This function module updates the dispatch expense counter defined inBCA.
The counter ID and the number by which the counter is to be increasedare supplied in the table for each account. If updating the counter isnot possible, the system issues an error message accordingly.

Notes
The dispatch expense counters must already have been defined inCustomizing.
Evaluation of the counter statuses takes place in the context ofaccount balancing.

Description
Return code

Value range
e_rc =

  • 0: No errors

  • 1: No entries found in transfer table T_FORW_EXPENSES_CNTR.

  • 2: No current posting date could be determined.

  • 3: Some accounts in 'T_FORW_EXPENSES_CNTR' could not be processed: See
  • the field RETURNCODE in T_FORW_EXPENSES_CNTR

    Description
    Transfer table: If severa accounts could not be processed (e_rc = 3), asuitable value is set in the field 'RETURNCODE'.

    Value range
    0: Entry could not be processed
    1: No internal account number could be assigned to the account
    2: No condition area could be assigned to the bank area of the accountor the account
    3: The dispatch expense counter is not defined for the condition area
    4: The account does not have a current period.