Skip to Content
Aug 24, 2009 at 05:58 PM

BAPI_ACC_GL_POSTING_POST Document Already exist



I have an ALV grid which contains some amount that I have to post. When I post a first time with function BAPI_ACC_GL_POSTING_POST, the posting and the reversal do correctly. After that I do a refresh of the ALV. But when I try a second time to post another document, I receive the internal message "Document XXXXXX already exist". I think my problem comes from the OBJ_KEY because It takes the old reference.

My posting is in a loop and I think maybe that I would have to increment my OBJ_KEY. Is it possible to do that?

Anybody would have an idea?



Edited by: rahhaoui mohamed on Aug 24, 2009 7:59 PM