‎2008 Mar 24 12:50 PM
HI All
I'm calling function module 'BAPI_ACC_DOCUMENT_POST'
to upload accounting dcoument data and passing below parameters for header section. I'm getting 605 success message in RETURN table, but accounting document is not being generated.
obj_type = FKKSU
obj_KEY = '$'
obj_sys = t000-logsys.
Message is here:
S |RW |605 |Document posted successfully: FKKSU $ PRO
Kindly suggest me what could be the problem.
Thanks in advance,
Vijaya
‎2008 Mar 24 1:04 PM
As already posted.
Call this after the FM u have called.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
WIll work
Edited by: Sabu Samuel on Mar 24, 2008 2:04 PM
‎2008 Mar 24 12:57 PM
Hi ,
You need to execute BAPI_TRANSACTION_COMMIT after this Function module.
otherwise go to before executing BAPI BAPI_ACC_DOCUMENT_POST
go to 'Function Modules ->other Function module -> ( enter BAPI_TRANSACTION_COMMIT) and then choose SAVE.
now execute your test variant BAPI_ACC_DOCUMENT_POST.
Hope this helps you.
Thanking You.
Kind Regards,
Ravi Sankar.Z
‎2008 Mar 24 1:00 PM
Hi,
Have you executed BAPI_TRANSACTION_COMMIT after your BAPI 'BAPI_ACC_DOCUMENT_POST'?
Chang
‎2008 Mar 24 1:04 PM
As already posted.
Call this after the FM u have called.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
WIll work
Edited by: Sabu Samuel on Mar 24, 2008 2:04 PM
‎2009 Aug 17 12:29 PM