Ansicht
Dokumentation
/BOBF/FRW_CONTRACT042 - Cannot use Draft BO with changed cleanup mode or enqueue scope - /BOBF/FRW_CONTRACT 042
General Material Data General Data in Customer MasterThis documentation is copyright by SAP AG.
Diagnosis
Method /bobf/if_tra_transaction_mgr~set_transaction_context has been used to set the BOPF enqueue scope or cleanup mode of the current ABAP session. With these settings changed, it is not allowed to use a CDS-based BOPF BO whith Draft capabilities. Despite of this, the Draft BO has been instantiated.
System Response
The BOPF runtime terminates with a short dump.
Procedure
Locate the call to method /bobf/if_tra_transaction_mgr~set_transaction_context (for example by setting a break-point in its implementation in class /bobf/cl_tra_transaction_mgr and restarting the terminated program). Remove the method call or do not supply parameters IV_CLEANUP_MODE and IV_ENQUEUE_SCOPE.
In case you intended to change the cleanup mode in order to clear BOPF's data buffer after each logical unit of work (LUW), you may be able to achieve a similar effect by calling the transaction manager's CLEANUP method after SAVE.
Procedure for System Administration
Fill RESBD Structure from EBP Component Structure Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 1107 Date: 20240423 Time: 130521 sap01-206 ( 28 ms )