2011 Jul 22 10:11 PM
Hi Experts
We have developed an Inbound Interface to SAP for posting accounting documents using BAPI_ACC_DOCUMENT_POST.
We are getting a message saying that the document was posted successfully, but we are unable to locate the posted document in BKPF/BSEG tables. Also the current number against the Document Type/Number Range is getting updated when the document is getting posted.
Please provide your valuable inputs on this or guide me if I would have missed out some thing in the program logic.
Thanks in Advance
Best Regards
KIM Khan & Shravan
2011 Jul 23 12:12 AM
Hi,
if you called BAPI_ACC_DOCUMENT_POST., you should chak that RETURN table does not contain messages of type E A or X and then call FM BAPI_TRANSACTION_COMMIT.
COMMIT WORK is triggered by IDoc inbound process if not user process calls ROLLBACK WORK. Sol I woinder whats is happening.
Regards,
Clemens
Hi Experts
We have developed an Inbound Interface to SAP for posting accounting documents using BAPI_ACC_DOCUMENT_POST.
We are getting a message saying that the document was posted successfully, but we are unable to locate the posted document in BKPF/BSEG tables. Also the current number against the Document Type/Number Range is getting updated when the document is getting posted.
Please provide your valuable inputs on this or guide me if I would have missed out some thing in the program logic.
Thanks in Advance
Best Regards
KIM Khan & Shravan
2011 Jul 23 12:12 AM
Hi,
if you called BAPI_ACC_DOCUMENT_POST., you should chak that RETURN table does not contain messages of type E A or X and then call FM BAPI_TRANSACTION_COMMIT.
COMMIT WORK is triggered by IDoc inbound process if not user process calls ROLLBACK WORK. Sol I woinder whats is happening.
Regards,
Clemens
2011 Jul 23 12:12 AM
Hi,
if you called BAPI_ACC_DOCUMENT_POST., you should chak that RETURN table does not contain messages of type E A or X and then call FM BAPI_TRANSACTION_COMMIT.
COMMIT WORK is triggered by IDoc inbound process if not user process calls ROLLBACK WORK. Sol I woinder whats is happening.
Regards,
Clemens
2011 Jul 25 2:04 PM
Hi Clemens
Thanks for your reponse. Some how the developer has missed out calling FM BAPI_TRANSACTION_COMMIT. We are now able to get the appropriate document number from the range assigned to the document type.
Thanks and best regards
KIM Khan & Shravan.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |