I am using BAPI_ACC_DOCUMENT_POST for FB50 posting . In return  I am getting message saying "Document posted successfully: ZBKPF OFDOPN7111901 0000000100" . Ahter this I have used 'BAPI_TRANSACTION_COMMIT' but when I am checking in BKPF I am not getting any records. It seems the database is not getting updated
Please help me this.