cancel
Showing results for 
Search instead for 
Did you mean: 

simulate invoice in FB01

Former Member
0 Kudos

Hi,

i develop an batch-recording (shdb) on transaction FB01 but i need to know if is possible to transfer in a structure, what that i see when i click (in FB01) on document->simulate.

Thanks and best regards,

Luca

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member188685
Active Contributor
0 Kudos

Hi You can simulate, But what exactly you need.

please let me know.

regards

vijay

Former Member
0 Kudos

i need to export in a export-structure data of simulate for example:

data display from FB01 simulate:

001 31 1AA 1060000DAC vendor 100,00- AN

002 40 1AA 0221303300 position1 99,67 AN

003 40 0150501000 Vat 0,33 AN

i would transfer this data in an export-structure.

FredericGirod
Active Contributor
0 Kudos

Maybe try to read the screen with the function DYNP_VALUES_READ.

Fred

Former Member
0 Kudos

ok friederic but i can write this data on external table there is a function that do it?

Former Member
0 Kudos

i don't understand what i can use fm DYNP_VALUES_READ can you explain me?

thx

FredericGirod
Active Contributor
0 Kudos

mmh Ok,

you would like to use the transaction FB01 in batch-input mode. And use the Simulate option of this transaction.

Your requierement is to have the result of the simulation (display in the screen) ?

So you would like to have the result into a structure or into a table ?

Or I miss understood ?

Former Member
0 Kudos

yes frederic you understand perfectly.

do you have any ideas?

FredericGirod
Active Contributor
0 Kudos

With the function module I wrote, you could read the data that SAP send to the screen.

But, I think, that will be better to have a look of the BAPI : BAPI_ACC_GL_POSTING_REV_CHECK and BAPI_ACC_GL_POSTING_REV_POST.

Or maybe, to find the function module used by SAP in the simulate option of the FB01.

Regards

Former Member
0 Kudos

Hi Luca,

Take this program as a reference.

Program : RFBIBL00

Regards,

Amey

FredericGirod
Active Contributor
0 Kudos

Hi Luca,

I don't understand .. could you explain ?

ps: there are BAPI to play with FBxx transactions

Rgd

Frédéric

Former Member
0 Kudos

Hi Frederic,

i create an RFC (se37) custom based on call transaction of FB01, my problem is to capture what that transaction display in simulation mode before to post an invoice (click on documet->simulate).

i hope that i explain

any ideas?

thx.