2023 Nov 02 8:47 PM
Hello Community
I'm using the FI_DOCUMENT_CHANGE function to change a lock field. There are several records so I execute it within a loop. After each execution I execute bapi_transaction_commit, but some records are not placing the Z lock but leaving it blank. When I access ENVIRONMENT-- >Document changes it displays as if it had changed to Z

.This only occurs in the productive environment,
But in fbl1n and fb03 it displays blank (lock field)

Does anyone know how to avoid this error?
Hello Community
I'm using the FI_DOCUMENT_CHANGE function to change a lock field. There are several records so I execute it within a loop. After each execution I execute bapi_transaction_commit, but some records are not placing the Z lock but leaving it blank. When I access ENVIRONMENT-- >Document changes it displays as if it had changed to Z

.This only occurs in the productive environment,
But in fbl1n and fb03 it displays blank (lock field)

Does anyone know how to avoid this error?
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |