2008 Jan 24 12:46 PM
Hi
I would like to post an inter-company invoice using the BAPI_TRANSACTION_COMMIT.
There is a comp_code in the header strusture. The BAPI's documentation says that this is possible and in the ACCOUNTGL table there is a field COMP_CODE.
The only problem is that the field is not there
Does anybody know whet to do?
Thanks,
Magdalena
Hi
I would like to post an inter-company invoice using the BAPI_TRANSACTION_COMMIT.
There is a comp_code in the header strusture. The BAPI's documentation says that this is possible and in the ACCOUNTGL table there is a field COMP_CODE.
The only problem is that the field is not there
Does anybody know whet to do?
Thanks,
Magdalena
2008 Jan 24 12:54 PM
BAPI BAPI_TRANSACTION_COMMIT is not used for a specific application, but needs to be called always after any BAPI is called to post the data that were changed in the BAPI to the database.
You need to find the BAPI that is used to post the invoice and then call BAPI_TRANSACTION_COMMIT.
Always do:
call function 'BAPI_application_specific'
if sy-subrc eq 0.
call function 'BAPI_TRANSACTION_COMMIT'.
endif.
Check the documentation you have to see if you can find the application specific BAPI.
Hope that helps,
Michael
2008 Jan 24 2:04 PM
Hi Michael
I meant to say BAPI_ACC_BILLING_POST, not commit!...
Could you please try again ...
Magda
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |