Transfer posting with clearing
I have a requirement where in the transfer posting with clearing is to implemented. I am aware that POSTING_INTERFACE_CLEARING can be used. But my requirement is to use only BAPI. Can BAPI_ACC_DOCUMENT_POST be used for this? I have tried using it, but it isnt working. Any pointers?