cancel
Showing results for 
Search instead for 
Did you mean: 

Run time error while doing VL10B transaction for STO

Former Member
0 Kudos

Dear All,

We are facing problem of run time error while creating Delivery (VL10B) for STO .We have two company codes .For one company code its working fine .But we are trying for another company code ,this error coming.error detals

Error in the ABAP Application Program

The current ABAP program "SAPLV05I" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

Error analysis

An exception occurred that is explained in detail below.

The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not cau

in

procedure "SD_PARTNER_UPDATE" "(FUNCTION)", nor was it propagated by a RAI

clause.

Since the caller of the procedure could not have anticipated that the

exception would occur, the current program is terminated.

The reason for the exception is:

If you use an ABAP/4 Open SQL array insert to insert a record in

the database and that record already exists with the same key,

this results in a termination.

(With an ABAP/4 Open SQL single record insert in the same error

Kindly suggest as to how to resolve this asap.

regards

umesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

These Kind of Errors Generally Occor for the wrong maitnaince of the partner functions. If you are using any user exits to detremine the partner functions. check the logic in that routine.

Because we do frequently get this error, but only if we hae not maintained as per the rule written in the user exit..

The USer exits for partner Determiantion to check is Function Module EXIT_SAPLV09A_003. THis gets activated, if you have give the source parner function as "X/Y/Z" in your partenr determiantion procedures.

Former Member
0 Kudos

dear all,

it was number range problem.resolved .closing the thread.

Thanks,

umesh

Lakshmipathi
Active Contributor
0 Kudos

Check this link

[Exception "CX_SY_OPEN_SQL_DB|;

thanks

G. Lakshmipathi