Entering content frameSyntax documentation has_changed Locate the document in its SAP Library structure

You use this method to query whether the document of the instance document was changed in the office application:

CALL METHOD document->has_changed
     EXPORTING no_flush  = no_flush
     IMPORTING error     = error
               retcode   = retcode
               ret_value = ret_value.

Description of parameters

Parameter

Optional

Description

ret_value

 

Flags whether the document was changed This value is only set if the user has changed the document and the open_readonly parameter was set to initial when you opened the document.

Note

Since the close_document method also returns information about whether the document has changed, you will very rarely have to use the has_changed method.

Leaving content frame