Skip to Content
0
Former Member
Sep 20, 2008 at 08:00 AM

IDOC_STATUS_WRITE_TO_DATABASE

159 Views

Hi all,

I am using the function module 'Idoc_Status_write_to_database' in my report to change the idoc status.

I pass the IDOC number in the exporting parameter.

In the tables parameter for IDoc status i pass docnum, status,msgty,msgid,msgno,msgv1,uname,repid.

My report output consists of idoc number,status, message and many other fields.Based on certain criteria the status of the idoc should change to 51 or 53.

So i call the function module 'Idoc_Status_write_to_database'

inside a loop which contains all the idoc numbers in the output internal table.

But it gives a time out error.

But if i comment the function module and run the report it works fine.It does not time out.Any inputs wfor this will be highly appreciated.

Regards,

Subasree.