Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bapi Problem

Former Member
0 Likes
1,126

Hi i am using the BAPI " BAPI_TRANSACTION_COMMIT "

But in the FM " CKMS_BUFFER_POST_DYN " at the line

insert ckmlpp from table t_dyn_ckmlpp.

i am getting DUMP so is there any solution for this

or pls suggest me alternate solution for this

plssss

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
812

Hi sen

use this FM it will work.

BAPI_COMMIT_WORK ,

BAPI_TRANSACTION_COMMIT it is absloute now, i think so.

Regrads

Santhosh

4 REPLIES 4
Read only

Former Member
0 Likes
813

Hi sen

use this FM it will work.

BAPI_COMMIT_WORK ,

BAPI_TRANSACTION_COMMIT it is absloute now, i think so.

Regrads

Santhosh

Read only

0 Likes
812

But coming error like " Function module BAPI_COMMIT_WORK does not exist

" pls help regarding this

Read only

former_member564202
Discoverer
0 Likes
812

Hi ,

Im using COMMIT WORK after updating a Custom table .

But in the FM " CKMS_BUFFER_POST_DYN " at the line

insert ckmlpp from table t_dyn_ckmlpp.

It is giving dump as ' The ABAP/4 Open SQL array insert results in duplicate database records.'

Use an ABAP/4 Open SQL array insert only if you are sure that none of

the records passed already exists in the database.

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"SAPSQL_ARRAY_INSERT_DUPREC" "CX_SY_OPEN_SQL_DB"

"SAPLCKMS" or "LCKMSU33"

"CKMS_BUFFER_POST_DYN".

Please help to solve this .

Read only

0 Likes
812

Hi ...

It is Solved.

Earlier i had used a COMMIT WORK after Modify.

MODIFY YH3CO_PLAN_PRICE FROM  TABLE I_SHIPMENT.

if sy-subrc = 0.

COMMIT WORK.

endif.

When i removed COMMIT WORK and executed. it is working fine without Dump, and updating table too.

Regards,

Varsha