2007 Jul 05 7:41 PM
Hi guys,
I'm facing some problems with the BAPI_COPAACTUALS_POSTCOSTDATA. I am able to execute this bapi without errors, but NO document number is returned.
I tried to check results using KE24 T-Code, but no line items appears. I also tried checking table CE4XXXX, but it is not updated by the bapi.
Does anyone know how to check this bapi's results ?
Cheers,
Mauricio Chacon
2007 Jul 06 1:41 AM
2007 Jul 06 1:41 AM
2007 Jul 06 3:08 AM
Try to set a break point in program RK2A<controlling area>_POST, since this is the program that is called when the actual document is posted.
Also, make sure to call BAPI_TRANSACTION_COMMIT afterwards.
If you are using this function for mass data transfer, I would recommmend tx. KEFC instead.
2007 Jul 06 10:39 PM
Thanks for all your replies,
The BAPI is working so fine, it saves records in CE1XXXX table and not in CE4XXXX table. Document numbers are not returned by the BAPI.
We are planning to use this BAPI for mass data transfer, through XI, using a loop sentence to save line by line, which I believe it is better than use the KEFC.
Why is not recommended to use the BAPI for mass data transfer ? Am I missing something ?
Cheers,
Mauricio
2007 Jul 06 11:29 PM
Hi Mauricio,
KEFC creates CO documents, making it easier to later verify the load and do reversals if necessary. Also, it provides an excellent logging functions, and you can make changes to your mapping using an interface similar to LSMW without coding any ABAP. You could probably achieve the same by creating your own custom program, but why reinvent the wheel?
2007 Jul 10 12:13 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |