Skip to Content
0
Former Member
Apr 12, 2010 at 10:28 AM

Reg : Simulation in FB01

258 Views

Hi Guru's,

We have Custom program to post the document in FB01 using BDC.

For enahncement,we need to add two check box for Test run and providing output.

1) For Test Run, Posting should not happen,it is work like simulation.

2) For Providing output,we need to show the posted document in ALV,if we selected Test Run then it should show the simulation document in ALV.

Is it possible to simulate the document like in FB01 Simulation.?

Is there any function module to simulate the FI doucuments.?

Custom program used the following fields for psoting the document in FB01 using BDC.

belnr like bseg-belnr

buzei TYPE bseg-buzei

bschl TYPE bseg-bschl

kunnr like bseg-kunnr

matnr like bseg-matnr

bwkey like bseg-bwkey

bwtar like bseg-bwtar

werks like bseg-werks

bukrs like bkpf-bukrs

vbund like bseg-vbund

hkont like bseg-hkont

shkzg like bseg-shkzg

kostl like bseg-kostl

menge like bseg-menge

meins like bseg-meins

bklas like mbew-bklas

vbel2 like bseg-vbel2

posn2 like bseg-posn2

PAOBJNR like bseg-PAOBJNR

PASUBNR LIKE BSEG-PASUBNR

FKART LIKE CE4JJEA_ACCT-FKART

VKORG LIKE CE4JJEA_ACCT-VKORG

VTWEG LIKE CE4JJEA_ACCT-VTWEG

SPART LIKE CE4JJEA_ACCT-SPART

WERKS1 LIKE CE4JJEA_ACCT-WERKS

prctr like bseg-prctr

wrbtr TYPE bseg-wrbtr

fkber TYPE bseg-fkber

xblnr TYPE bkpf-xblnr

waers TYPE bkpf-waers

wrbtr_v(17) TYPE C

Please advise how to proceed futher

Thanks in advance

P.Senthil Kumar