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

IN UPDATE TASK NOT WORKING

Former Member
0 Likes
2,266

Hi ,

I have used IN UPDATE TASK with a function module. Also used COMMIT WORK after the FM. Even then it is not working. If I comment the IN UPDATE TASK it is working. Any clues please ?

Thank you,

Surya.

10 REPLIES 10
Read only

BGarcia
Active Contributor
0 Likes
1,361

Hello Surya,

In t-code SE37, check if your FM attributes, is set to type 'Update Module'.

Kind regards.

Bruno

Read only

Former Member
0 Likes
1,361

Bruno,

Yes I did that already.

Thank you,

Surya.

Edited by: Surya on Jul 17, 2008 10:15 AM

Read only

Former Member
0 Likes
1,361

what are you doing inside the Function..?

Read only

Former Member
0 Likes
1,361

I am creating change history for a custom table fields.

Read only

Former Member
0 Likes
1,361

hello surya,

is the FM is V1 update or V2 update, chk the attributes of FM?

if V2 update then the change are not immediate.

regards

Amar

Read only

0 Likes
1,361

Hi Amar,

I assume that V1 and V2 are Start Immed. and Start Delayed under Attributes of FM( under Update Module). If so, I tried both , but no luck.. thanks for your reply.

Anyone have clues please let me know.

Thank you,

Surya

Read only

0 Likes
1,361

Hello Surya,

keep V1 (start immd)

you can try the statement, before calling FM

set update task local

this sets WP to the current WP.

i dont have anyother answer.

Regards

Amar

Read only

0 Likes
1,361

Hi Amar,

I tried this and no luck... I am still not sure of what is happening.

Can it be possible to debug this FM ?

Thank you,

Surya

Read only

0 Likes
1,361

This has been resolved.

Thank you,

Surya

Read only

0 Likes
1,361

This message was moderated.