cancel
Showing results for 
Search instead for 
Did you mean: 

Help in inbound idoc posting using bdc

Former Member
0 Kudos

Hi,

We are facing a problem during integration testing to post inbound idocs.

The scenario is :

A custom FM is written to process the inbound idocs, which does the following processes in sequence.

1. BAPI used to create Goods Receipt

2. BDC used to create Delivery using VL01N

3. BDC used to create Handling Unit using VL02N

4. BDC used to create Post Goods Issue using VL02N

The VL01N creates a deivery, and using that delivery BDC calls VL02N to create HU.

In unit testing the idocs are success, but when multiple idocs are used in integration testing, all fails either during delivery creation or HU creation.

The error message we often get when HU is failed is : "Runtime error RAISE_EXCEPTION has occured ".

We have also incorporated a commit work and wait of 5 seconds after each BDC to avoid locking problem if any.

The partner profile is set to ' trigger by background program'.

Standard program RBDAPP01 is scheduled to collect the IDocs in status 64 and then to be processed.

The package size used is 1, inorder to process idocs one by one to avoid locking.

Should any object type be given in RBDAPP01 ?

If so, is it required to maintain any record for that object type in table TBD55 to process idocs serially in RBDAPP01 ?

Any help in this regard is appreciated.

Thanks in advance

Regards

Meena George

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181962
Active Contributor
0 Kudos