Skip to Content
0
Former Member
Feb 16, 2009 at 06:08 PM

Problem in three BDC s running in succession and database updates.

30 Views

Hi All,

I am facing a problem in a program having three BDCs(using CALL TRANSACTION method).

First BDC for transaction MIRO runs, then BDC for transaction F-02 and finally BDC for transaction F-44.

It is observed that when run in debugging mode, the three BDCs run perfectly fine.

But when executed online, only first BDC runs perfectly and rest two fail. The scenario is developed for intercompany invoice posting and handling accounting documents accordingly.

It seems after the fist BDC runs, it is required some time to happen database updates and failing which second and thirds BDCs fail being interdependent in sequence. After first BDC is run, there are select queries which are responsible for fetching appropriate data from database and build second BDC and same in case of third. That is after second BDC is run , there is again a select query which fetches data to build third BDC.

When executed in debugging mode, because it takes sufficient time gap, the second and hence third BDC runs perfectly fine.

Please guide me to tackle this problem.

Thanks,

Ameet

Problem in three BDC s running in succession and database updates.