Functionality You can use this function module to delete only representative data. Assign the data records to be deleted to the function module via thechanging parameter X_OR_BD_DATA_TAB. To delete the data, this function module sets a lock on the tableMaterial Business Partner Only Representative Assignment>(CCRCT_OR). If a single data record lock is required, you can set thevalue 'X' for the importing parameter I_FLG_REC_LOCK. If you want a database commit to be executed, set the value 'X' for theimporting parameter I_FLG_COMMIT. If an error occurs, the exceptionCOMMIT_ERROR is triggered. The exporting parameter E_FLG_LOCKFAIL is filled with the value 'X' whena locking error occurs. The exporting parameter E_FLG_ERROR is filled with the value 'X' if alocking error or other error occurred while the data was being deletedfrom the database. Corresponding error messages are written to theexporting parameter E_ERROR_TAB.Example |