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

Function Module called in Update Task

Former Member
0 Likes
818

Hi Gurus,

We are calling Sales Order Change in update task inside the user Exit MV50FZ1. We can see that the FM is called in update task after the commit work and the return of the FM shows the success message. But still the changes are not saved to the DB.

Can any one help me out with this one.

Rashit

6 REPLIES 6
Read only

Former Member
0 Likes
763

check sm21 or sm13 to see if the update was successful

Read only

0 Likes
763

Hi,

Thanks for the quick reply.

In SM21 I checked. It is giving me the error Transaction Failed.

Regards

Rashit

Read only

0 Likes
763

SM13 will give you more detail.

Read only

0 Likes
763

Hi,

Sorry i missed to write about SM13. I do not see any message in SM13.

We are not getting update terminated error so I doubt we get anything there in SM13.

Regards

rashit

Read only

Former Member
0 Likes
763

Hi,

Do update debugging..and then check if the function module is executing with the data...and check if the update/insert statement is called in the debugging..

THanks

Naren

Read only

Former Member
0 Likes
763

Hi,

If two commit works are called in update task the update will end up with error. Check whether any Commit work is present in the funtion module? If so you may use it in some other method like at save or something like that.

Regards,

Renjith Michael.