Application Development 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: 

BAPI or RFC to simulate an FI invoice creation

Former Member
0 Kudos

Hi,

I need to develop an RFC or BAPI that acts as the SIMULATE function of the transaction FB01 (invoice creation).

Could you recommend any tips (es. standard BAPI, Function Modules, etc.) ?

Thank you very much in advance.

Best Regards.

Mauro

5 REPLIES 5

Former Member
0 Kudos

Hi

Try :

BAPI_ACC_GL_POSTING_POST

BAPI_ACC_DOCUMENT_POST.

These 2 Bapi does what you want, and they are very similar.

I prefer the 2d one.

Regards,

Erwan.

Former Member
0 Kudos

Hi,

I think you can use BAPI_ACC_DOCUMENT_CHECK.

Check the function module documentation to understand how to call it.

Hope this helps..

Sri

Message was edited by: Srikanth Pinnamaneni

Former Member
0 Kudos

I thank you very much for your tips.

Unfortunately, recommended standard BAPIs are not suitable for me.

I need something to be called from remote/RFC that returns the "structure" displayed on the screen when you select the SIMULATE option of the FB01 transaction.

I tried with a Batch Recording, but I do not find in which data structure the system put the data (it seems that the Module Pool displays the data on the screen and then delete the data structure, without returning it to the batch recording).

I thank you very much.

Mauro

0 Kudos

Try to The Run the SQL Trace (ST05) adn see the tables which are updating.

In this way tou can find the data Structures

vijay

0 Kudos

You could look at FM acc_simulated_doc_display.

Rob