Entering content frameBackground documentation LoadInstance (Method) Locate the document in its SAP Library structure

Definition

Method that loads the data content of a SAPData object from a file.

Remarks

The method is usually called when data flows from the SAP System to the SAPforms form and is to be displayed by the SAPforms form. This is the case, for example, when a work item is executed. The form is then started by the SAPforms Helper and the R3F file is forwarded as a parameter. The existence of a parameter when the SAPforms form is started ensures that the LoadInstance method is called in the Init() method of the SAPform object. The GetData method is usually called after the LoadInstance method.

Parameter

Description

Path

Complete path designation

Classification 1

LoadInstance

ß SAPData Class

ß SAPforms Data Plug-In for Workflow

Properties

Loads the workflow information from an R3F file to the SAPData object. The current container element values can be interrogated and changed using the SAPData.Value and SAPData.Fields(s).Data properties in particular.

Classification 2

LoadInstance

ß SAPData Class

ß SAPforms Data Plug-In for Demo

Properties

The method saves the contents of a field in the FieldValues array. This method requires that the elements be saved in a fixed order. Even though the field name is contained in the file, it is not evaluated.

Leaving content frame