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

Reset Time Limit for ABAP Program

Former Member
0 Likes
2,339

Hi All,

Does anybody know the Function Module name which resets the <b>time limit counter to zero</b>? If knows then plz tell me how to use that function module?

Thanks In Advance,

Sagar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,150

I don't know a function module,

but a "commit work." will also reset the time limit counter.

Grettings

Frank Brackmann

13 REPLIES 13
Read only

Former Member
0 Likes
2,151

I don't know a function module,

but a "commit work." will also reset the time limit counter.

Grettings

Frank Brackmann

Read only

0 Likes
2,150

Hi Frank,

I need to do in ABAP Report which shows an ALV Output. I should use "commit work" whenever i perform database operation. I don't do any database updation. So think this won't work for it.

Hi Vinod,

In report how should i use the "message". It will stop the program excecution at that point so everytime user interruption required to get the output.

Regards,

Sagar Vadher

Read only

0 Likes
2,150

Hi Sagar,

Are you just guessing that the COMMIT WORK statement will not work? Or have you tried it and found it to be of not much use ?

Regards,

Anand Mandalika.

Read only

0 Likes
2,150

If you use a success message type the program execution will not stop. May be you can give a message saying that 'Processing data, please wait'.

e.g. Message S100.

Thanks

Vinod

Read only

0 Likes
2,150

Hi Sagar,

You can use the "commit work" without having any database operation.Plz try it out,i think it will solve your problem.

Greeting

Frank Brackmann

Read only

0 Likes
2,150

Hi Anand,

I reffered SAP Help. I find that "commit work" can be used whenever we want to commit database operation. No i haven't tried yet.

Regards,

Sagar

Read only

0 Likes
2,150

Hi Sagar,

I agree that COMMIT WORK is not exactly designed for this purpose. But as far as I know it does reset the program time counter internally. The reasons for that can be found when you read about Dialog Step / Programming Database Updates.

Please do try using it and then let us know if it doesn't work.

Regards,

Anand Mandalika.

Read only

0 Likes
2,150

Hi Vinod,

I used the "Message" but it didn't work.

Hi Poornanad & Frank,

I will let you know using "Commit Work".

Regards,

Sagar

Read only

Vinod_Chandran
Active Contributor
0 Likes
2,150

Try using the MESSAGE command. I think this will trigger a commit work and reset the time counter.

Read only

das_shubhashish
Explorer
0 Likes
2,150

Hi Sagar,

You can do Commit Work or call a Function module TH_REDISPATCH inside loop after executing certain amount of data records.

Hope this helps.

Thanks,

Shubh

Read only

FredericGirod
Active Contributor
2,150

19 years latter

I am not sure he waits behind his computer for your solution

Read only

abo
Active Contributor
0 Likes
2,150

it's barely 17 years 😛

Read only

FredericGirod
Active Contributor
2,150

it was before the lunchtime meal and his bottle of wine ...