Skip to Content

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

IDOC_STATUS_WRITE_TO_DATABASE

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.

Tags:
Not what you were looking for? View more on this topic or Ask a question