PS
BAPI
RFC
Used the same way in S/4HANA
BAPI_PS_PRECOMMIT Precommit for PS BAPIs
Runs the final checks and prepares posting for all PS BAPI calls made since BAPI_PS_INITIALIZATION. Every program that creates or changes projects, WBS elements or networks with the BUS2001/BUS2054/BUS2002 BAPIs calls it before the commit. Check ET_RETURN for type E or A messages and call BAPI_TRANSACTION_COMMIT only if there are none.
- Function group
- PS_BAPI
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| ET_RETURN | BAPIRET2 | Return messages | — |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
TABLES
et_return = lt_et_return.Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.