2012 Oct 30 7:40 PM
Hello All,
Can you please let me know if the BAPI BAPI_ACC_GL_POSTING_POST or BAPI_ACC_DOCUMENT_POS can be used for posting multiple journal entries..
eg: Header 1
line item 1
line item 2
line item 3
line item 4
Header 2
line item 1
line item 2
line item 3
line item 4
Thanks Vachana
Hello All,
Can you please let me know if the BAPI BAPI_ACC_GL_POSTING_POST or BAPI_ACC_DOCUMENT_POS can be used for posting multiple journal entries..
eg: Header 1
line item 1
line item 2
line item 3
line item 4
Header 2
line item 1
line item 2
line item 3
line item 4
Thanks Vachana
2012 Oct 31 8:33 AM
2012 Oct 31 2:00 PM
This is a structure I have noticed it.. do we have anyother BAPI's which can do my requirement..
2012 Oct 31 2:53 PM
No BAPI (in any system I have access to) fulfil your requirement. You will have to LOOP/ENDLOOP calling the BAPI.
Why do you look for such a BAPI, is it to ensuredata consistencyin case of error. Then you could use the CHECK version of the BAPI and then only loop with the POST version of the BAPI committing document after document. (There could still be errors in cases where the earlier pieces change control values, e.g. consuming a budget, then you will be required to delete previous posted documents in reverse order of posting, BAPI_ACC_DOCUMENT_REV_POST)
Regards,
Raymond
2012 Oct 31 2:57 PM
2012 Oct 31 2:26 PM
Vachana,
No, this is not used for multiple postings. If you want multiple postings, then this can be called within the loop and passed the variables for each posting record. Such Finance BAPI's are designed for single postings.
Regards,
Hardik Mehta
2012 Oct 31 2:41 PM
Hi Hardik,
Thanks for the input, but I was looking if we have any other standard BAPI's that can do these kind off requirements.
Regards
Vachana
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |