Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FI_DOCUMENT_CHANGE fail in Loop .

ronaldo_aparecido
Contributor
0 Kudos
325

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?

0 REPLIES 0