Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Run time - Time out

I am getting into runtime error as the the program is timing out as time taken to process is more than teh runtime.

My code goes as below:

if s_oifpbl-lgort+0(2) = 'WP'.
      concatenate s_final-zeubcd  s_final-mvgr1 into lv_wascode separated by space.
      else.
        lv_wascode = ' '.
      endif.

Will it solve the problem if I write it

concatenate s_final-zeubcd  s_final-mvgr1 into lv_wascode separated by space.
if s_oifpbl-lgort+0(2) <> 'WP'.
        lv_wascode = ' '.
      endif.

As the problem only started after I added this code part in the program .The program was runnig fine before addition of this.

Thanks

Former Member
replied

> I am getting into runtime error as the the program is timing out as time taken to process is more than teh runtime.

> My code goes as below:

>

if s_oifpbl-lgort+0(2) = 'WP'.
>       concatenate s_final-zeubcd  s_final-mvgr1 into lv_wascode separated by space.
>       else.
>         lv_wascode = ' '.
>       endif.

I don't think above said "concatenate" giving you the runtime dump. i think it because of some other code.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question