‎2009 Jul 21 5:45 AM
Hi All,
I'm using FM BAPI_COPAACTUALS_POSTCOSTDATA for posting copa documents. This FM is returning sucess but I'm not able to get the document number from the return tables.
User is requesting for the posted document number. Can anyone please suggest how to handle this?
Thanks in advance!
Regards,
Ratna
‎2009 Jul 21 6:21 AM
Hi
This BAPI will not return the document number .
You can try BDC for t-codes KE21 or KE21N which will return you the document number.
Regards
Sathar
‎2009 Jul 21 6:25 AM
Hello Ratna,
If this BAPI returned initial, it means CO-PA document created.
Yes you're right, you couldn't get document number. But you should select CO-PA document from CE1XXXX table after creation. (XXXX : Operating concern code)
When you execute BAPI_TRANSACTION_COMMIT after main BAPI execution, system filled database tables.
Regards,
Burak