Ansicht
Dokumentation

CBRC_OR_BD_DATA_MODIFY - Create/Change Representative Data

CBRC_OR_BD_DATA_MODIFY - Create/Change Representative Data

ROGBILLS - Synchronize billing plans   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to create or change only representative data and importer data.

Assign the data records to be created or changed to the function module via the changing parameter X_OR_BD_DATA_TAB.

To change the data, this function module sets a lock on the table Material Business Partner Only Representative Assignment (CCRCT_OR). If a single data record lock is required, you can set the value 'X' for the importing parameter I_FLG_REC_LOCK.

If you want the data to be checked, set the value 'X' for the importing parameter I_FLG_DATA_CHECK. For more information about checking data, see the BAdI method Validations of Only Representative Data.

If you want a database commit to be executed, set the value 'X' for the importing parameter I_FLG_COMMIT. If an error occurs, the exception COMMIT_ERROR is triggered.

The exporting parameter E_FLG_LOCKFAIL is filled with the value 'X' when a locking error occurs.

The exporting parameter E_FLG_ERROR is filled with the value 'X' when a locking error occurs, a check error occurs, or errors occur when data is written to the database. Corresponding error messages are written to the exporting parameter E_ERROR_TAB.

Example

Notes

Further information





Parameters

E_ERROR_TAB
E_FLG_ERROR
E_FLG_LOCKFAIL
I_FLG_COMMIT
I_FLG_DATA_CHECK
I_FLG_REC_LOCK
X_OR_BD_DATA_TAB

Exceptions

COMMIT_ERROR
INTERNAL_ERROR

Function Group

CBRC_OR

ABAP Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1855 Date: 20240523 Time: 120159     sap01-206 ( 45 ms )