Ansicht
Dokumentation

OIRA_DBT_END_PROCESSING - Release logical locks and clear process indicators from the DBT

OIRA_DBT_END_PROCESSING - Release logical locks and clear process indicators from the DBT

General Data in Customer Master   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function updates the process indicators in table OIRADBT for all process ID's passed in the interface parameters I_PROCID, I_STPARTPROC, or TR_PROCID; and the update will occur for all DBT entries passed in table T_OIRAPROCKEY, which contains the table keys for OIRADBT. If the update is not called in update task and the update is unsuccessful, the DBT entries are unlocked. Otherwise the DBT entries are ONLY to be unlocked with the statement COMMIT WORK, when that is called in the calling program.

Example

You have successfully completed the partner invoicing process and now the source data from the table OIRADBT must be updated to indicate that it has been processed for invoicing. In the interface table T_OIRAPROCKEY, you pass the client, linknumbers, item linknumbers and the linkyears for all the entries in table OIRADBT which have been processed. Furthermore, you must pass in the process ID which you are using for partner invoicing. This can be included in I_PROCID or in TR_PROCID. The process indicator for invoicing process will be deleted ( = space) and the processed indicator will be filled with an 'X', indicating that the DBT entries are no longer liable for invoicing, and that the entries have had a subsequent process carried out on them, and therefore are no longer reversible.

Notes

Further information





Parameters

I_PROCID
I_STPARTPROC
I_UPDATE_TASK
TR_PROCID
T_LOCKOBJ
T_OIRAPROCKEY

Exceptions

NO_DATA_PASSED
NO_PROCESSES_PASSED
RECORDS_NOT_FOUND
UPDATE_NOT_CARRIED_OUT

Function Group

OIRA2

BAL Application Log Documentation   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1796 Date: 20240523 Time: 130834     sap01-206 ( 57 ms )