cancel
Showing results for 
Search instead for 
Did you mean: 

Run time error while running BDC for production order creation and confirmation:

Former Member
0 Kudos

Dear Gurus,

We have a situation, where the users are trying to do the entries creation of order or confirmation (through manual and BDC). But, if there is any kind of a deficit quantities in consumption or GR quantity, then it is going to run time error and Dumps are coming in program SAPLCORB


and the transaction code is coming for CO11N.


How to avoid this error to run the production system in smoothing way...Any flash lights on this will be great full



Regards,

Madhu.G

 

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Gurus,

Any Flash lights on this please let me know on urgent basis.

Regards,

Madhu.G

former_member184666
Active Contributor
0 Kudos

Hi Madhu,

Check OPK4 config - For the combination of Plant and Order Type under Individual entry general Tab if you check Goods movement and Termination for incorrect goods movement then while confirmation if deficit in stocks are there then confirmation will be terminated without further processing.

Thanks & Regards,

Ramagiri

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Are you running the BDC in background?

Some screen elements need a SAP GUI to be executed, therefore, some transactions can't be executed in background.

This dump may also happen if a popup is triggered in background mode, as system cannot handle a popup in background.

Take a look on the following note for a workaround to run CO11N on a BDC:

1840705RAISE_EXCEPTION short dump if running CO11N in background

Also, you may consider using a BAPI to create an order or post a confirmation.

Here you find a list of the BAPIs available for PP:

BR

Caetano

Former Member
0 Kudos

Dear Ramagiri garu,

That was all ready configured and actually issue is related while the time running BDC it is giving dumps in back ground.

Regards,

Madhu.G

former_member184666
Active Contributor
0 Kudos

Hi Madhu,

Expert Caetano has rightly point out. Refer Note 1840705 - RAISE_EXCEPTION short dump if running CO11N in background

Cause

The short dump is triggered because SAP transaction CO11N contains new GUI elements that cannot always be dealt with in a background process,
such as the confirmation texts.

 

Resolution

SAP recommends that the standard production order BAPIs, such as BAPI_PRODORDCONF_CREATE_TT, should be used to post a confirmation in background.

If this is not feasible, the following workaround may be uses:

  1. Define a confirmation profile in transaction OPK0
  2. In the detail areas, remove the area "Confirmation text"; 
  3. Set this profile as standard, so that it is chosen automatically by the system when a batch-job
    is started; 
  4. Assign this confirmation profile to the batch user with transaction SU3 using parameter CORUPROF.

Also see Note 429432 - CO11N: Batch input in background dumps if long text is maintained

Refer to note 1154692 - Endless loop during confirmation in background if you doing Auto GR during confirmations

Thanks & Regards,

Ramagiri

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Madhu

As I already pointed, this issue generally happens when there is a popup or another screen element that cannot be handled without a SAP GUI on your BDC.

It happens due to the system design and the short dump cannot be avoided in those cases.

Please review your BDC and make sure that there are no popups or another screen elements, such as the confirmation text suggested by note 1840705 .

BR

Caetano

Former Member
0 Kudos

Dear Caetano,

Thanks for your replay, and i hope it works properly for our business scenario.

Once again thanks for a valuable input...

Thanks & Regards,

Madhu.G


Former Member
0 Kudos

Hello Caetano,

I am facing same error, mentioned in this post, while confirmation in background.

I had activated trigger points in production order.

Please suggest how to overcome this while using both the functionality.

Regards

Neelima

Answers (0)