Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ACC_DOCUMENT_POST: No Accounting Documents are Created

Former Member
0 Likes
869

Hello,

When I used the BAPi BAPI_ACC_DOCUMENT_POST the documents are posted, but when I try to see:

Enviroment -> Documents Enviroment -> Accounting Documents,

The transaccion FB03 does not show anything. Aditionally, GL are not Updated.

Some person knows something on the matter?

Regards,

Piero Cimule.

1 ACCEPTED SOLUTION
Read only

venkata_ramisetti
Active Contributor
0 Likes
810

Hi,

May be you have to use BAPI_TRANSACTION_COMMIT function module.

Just check in tables BKPF and BSEG for documents.

Thanks,

Ramakrishna

Hello,

When I used the BAPi BAPI_ACC_DOCUMENT_POST the documents are posted, but when I try to see:

Enviroment -> Documents Enviroment -> Accounting Documents,

The transaccion FB03 does not show anything. Aditionally, GL are not Updated.

Some person knows something on the matter?

Regards,

Piero Cimule.

6 REPLIES 6
Read only

venkata_ramisetti
Active Contributor
0 Likes
811

Hi,

May be you have to use BAPI_TRANSACTION_COMMIT function module.

Just check in tables BKPF and BSEG for documents.

Thanks,

Ramakrishna

Read only

0 Likes
810

Hi,

I used BAPI_TRANSACTION_COMMIT function module, just after BAPI_ACC_DOCUMENT_POST. When I check BKPF and BSEG tables the documents exist, but CO and GL documents doesn't exist.

Regards,

Piero.

Read only

0 Likes
810

Hi Piero,

I guess this is due to the value you put in :

"

documentheader-compo_acc

"

If you want the doc to be created in both CO & FI, do not put 'FI' or something else.

Leave the field blank.

Hope this helps,

Erwan

Read only

0 Likes
810

Hi Evan,

The field documentheader-compo_acc contain the value 'FI'.

I am going to leave blank in that field and will make a test. I will advise you the result.

Thousand thanks,

Piero Cimule

Read only

0 Likes
810

Hi Erwan,

Your sugestion fix the problem.

Thank you very much...

Regards,

Piero Cimule.

Read only

0 Likes
810

Hi Guys,

My case is similar to this but i get a long list of Accounting Documents. Did i miss out something?

Please advice.

Thanks

Vinod