Application Development 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: 

Commit Work Problem

Former Member
0 Kudos

Hi!

When i try to run from a User Exit the function module

MB_CREATE_GOODS_MOVEMENT, the following erros message appears:

====

The function module MB_CREATE_GOODS_MOVEMENT cannot be executed

Message no. M7 299

Diagnosis

The function module MB_CREATE_GOODS_MOVEMENT is called up for the

second time. After it was called up the first time, the function

module MB_POST_GOODS_MOVEMENT was called, but a COMMIT WORK was not

carried out in the calling program.

As running the two function modules again would result in the database

being incorrectly updated, processing is terminated. System Response

Procedure Please ensure that a COMMIT WORK is set after you call up

the function module MB_POST_GOODS_MOVEMENT.

====

The commit work is executed after de function module is called. Any

ideas?

1 REPLY 1

Former Member
0 Kudos

do a 'commit work', just before u call the function module.

but make sure, this is not gonna affect what u are trying to do..

if the system had already called that FM, why you are calling it again in the user exit...?