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

FI Document Simulation Function

Former Member
0 Likes
1,984

Hi, everyone.

I would like to use SAP standard FI document simulation function. But I don't if I can use it nor how to use it.

I will make dynpro for document entering and I would like to display the journal including tax line item and clearing item.

If you know, please tell me how to use standard simulation function.

Best regards,

Chris

4 REPLIES 4
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,007

Did you check the BAPI - BAPI_ACC_DOCUMENT_CHECK?

- Suhas

Read only

Former Member
0 Likes
1,007

Dear Suhas,

Thank you for your kind advice!

I checked BAPI_ACC_DOCUMENT_CHECK, and it seems to the function for checking before posting.

The BAPI doesn't return simulated journal including tax item created automatically.

I need to know the journal that includes automatically-created items that user doesn't enter manually.

Is there any other way for simulation?

Best regards,

Chris

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,007

Did you try to perform some where used on FM CALCULATE_TAX_DOCUMENT ?

Regards,

Raymond

Read only

0 Likes
1,007

Dear Raymond Giuseppi,

Thank you for your advice, but our client need to display clearing items, too.

So I will take following method;

1. Create BDC for document posting simulation in function module.

2. Execute simulation and exit without posting.

     At this time, document simulation result is transported to memory id via OpenFI interface1020.

3. Get simulation results from memory id and export them.

Thank you for your cooperation.

Best regards,

Chris