2011 Sep 29 6:50 AM
Hi Experts,
Hope all are doing greatu2026
I need you help to resolve the below issue.
We have on Z-Tcode to GL Posting the document using BAPI u2018BAPI_ACC_DOCUMENT_POST' and this program is successfully posted from the source file and documnet # also created successully.
We have entries in BKPF, but the table BSEG not updating and we do not have entries.
Please help me on this regards,
Thanks in Advance.
Amjad
Hi Experts,
Hope all are doing greatu2026
I need you help to resolve the below issue.
We have on Z-Tcode to GL Posting the document using BAPI u2018BAPI_ACC_DOCUMENT_POST' and this program is successfully posted from the source file and documnet # also created successully.
We have entries in BKPF, but the table BSEG not updating and we do not have entries.
Please help me on this regards,
Thanks in Advance.
Amjad
2011 Sep 29 6:58 AM
Hi,
you might be used this but again check if you have written,
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = c_x.
after your BAPI call.
Thanks,
Chandra
2011 Oct 03 8:29 AM
Hi Chandra,
Yes, already called FM after calling BAPI and we are able to see the entries in table BKPF but we are not able to find entries in table BSEG.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
please let me know your suggestions.
Thanks & Regards,
Amjad Hussain.
2011 Sep 29 8:14 AM
Hi,
Hope you would have passed the tables parameter ACCOUNTGL for the BAPI....but please check if it is populated correctly
2011 Oct 03 8:53 AM
Hi Srikant,
Thanks for your reply...
As you suggest, i have checked the structure ACCOUNTGL and below values are passing.
ACCOUNTGL -ITEMNO_ACC
ACCOUNTGL -GL_ACCOUNT
ACCOUNTGL- ITEM_TEXT
ACCOUNTGL- COMP_CODE
ACCOUNTGL- COSTCENTER
ACCOUNTGL- CS_TRANS_T
Could you please suggest me if there are any changes needs to do.
Thanks & Regards,
Amjad Hussain
2011 Oct 03 12:37 PM
Hi Amjad,
Could you please post your code in the thread...so that it would easy for us to identify the possible error?
2011 Oct 03 2:27 PM
Hi Srikant,
Thanks for your quick responce...
As you suggested, i am not able to send total code of porgram.
<< Moderator message - please do not ask for private information >>
Please help me in this regards.
Thanks in Advacne.
Amjad Hussain.
Edited by: Rob Burbank on Oct 3, 2011 10:08 AM
2011 Oct 03 2:36 PM
Hi
You should check which data you are transfering while calling the BAPI
I don't know which type fo document you're posting but you need to transfer the items (ACCOUNTGL and7or ACCOUNTRECEIVABLE and/or ACCOUNTPAYABLE), the amounts (CURRENCYAMOUNT)
Max
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |