Load (Method) 

Definition

Loads structure information to SAPforms objects.

Remarks

Classification 1

Load

ß SAPData class

ß SAPforms Data Plug-In for Workflow

ß SAPData class

ß SAPforms Data Plug-In for Function Modules

ß SAPData class

ß SAPforms Data Plug-In for IDoc

ß SAPData class

ß SAPform Data Plug-In for Demo

Properties

Loads the property values of an SAPData object from a structured string. As a result, the status of the SAPData object that was previously saved permanently with the Save method is restored.

This saves the additional overheads that would result if the structure information had to be loaded each time from the original source. This method is usually called within the Load method of the SAPForm class.

Parameter

Description

From

Character string containing the structure information

Classification 2

Load

ß Field Class

ß SAPforms Data Plug-In for Workflow

ß SAPforms Data Plug-In for Function Modules

ß SAPforms Data Plug-In for IDoc

Properties

Loads the property values of a field object from a structured string. As a result, the status of the field object that was previously saved permanently with the Save method is restored.

For this method to be called successfully, the next character at the Pos position must be keyword "Fld".

Parameter

Description

From

Structured string.

Pos

Current position within the string. Should point to the number of remaining properties to read.

Classification 3

Load

ß Fields Class

ß SAPforms Data Plug-In for Workflow

ß SAPforms Data Plug-In for Function Modules

ß SAPforms Data Plug-In for IDoc

Properties

Loads the property values of a fields object from a structured string. As a result, the status of the fields object that was previously saved permanently with the Save method is restored.

Parameter

Description

From

Character string that provides the structure information.

Pos

Current search position within the character string.

Classification 4

Load

ß Segment class

ß SAPforms Data Plug-In for IDoc

Properties

Reconstructs the segment object from a structured string. Counterpart of the Save method.

Parameter

Description

From

Character string containing structure information.

Pos

Current search position within the character string.

Classification 5

Load

ß Segments class

ß SAPforms Data Plug-In for IDoc

Properties

This method reconstructs the segment list from a structured string. Counterpart of the Save method.

Parameter

Description

From

Character string containing structure information.

Pos

Current search position within the character string.

Classification 6

Load

ß Link class

ß SAPforms Form Plug-In for Visual Basic

ß SAPforms Form Plug-In for MS Outlook

ß SAPforms Form Plug-In for MS Office

Properties

This method reconstructs an object of the Link class from the serialized representation.

It assumes that the next token is located at the Pos position in the serialized representation of the "Fld" keyword.

Parameter

Description

From

Serialization string.

Pos

Current position within the character string.

Classification 7

Load

ß SAPForm class

ß SAPforms Form Plug-In for Visual Basic

ß SAPForm class

ß SAPforms Form Plug-In for MS Outlook

ß SAPForm class

ß SAPforms Form Plug-In for MS Office

Properties

Method for loading form controls into Controls Collection from a form or form template.

Note that the form information is not stored in the Tag property of this object, but reconstructed each time the form is loaded. This method is called at design time and at runtime. It has to populate the Controls collection for both cases. At runtime, the method is called by the user code in the form's Load method. When the form is designed, the method is called by the SAPForms Designer or from outside SAPForms. If you are using the SAPForms Designer as a stand-alone application, the Load method is called with Mode=2. This instructs the Load method to load the form from a file. If you are using the SAPForms Designer as a plug-in, the Load method is invoked from the hosting environment and receives the proprietary form description as a parameter. The populated SAPForm object should be passed to the SAPForms Designer by the PlugIn method of the Designer class.

Parameter

Description

Frm

form or form template containing controls.

Mode

0=design time (add-in), 1=design time (file), 2=runtime.

Classification 8

Load

ß SAPXmit class

ß SAPforms Data Plug-In for Demo

ß SAPXmit class

ß SAPforms Form Plug-In for Outlook

ß SAPXmit class

ß SAPforms Transmit Plug-In for RFC

ß SAPXmit class

ß SAPforms Transmit Plug-In for MAPI

ß SAPXmit class

ß SAPforms Transmit Plug-In for SAPMAPI

ß SAPXmit class

ß SAPforms Transmit Plug-In for WinSock

ß SAPXmit class

ß SAPforms Transmit Plug-In for Demo

Properties

Loads the property values of an SAPXmit object from a structured string. As a result, the status of the SAPXmit object that was previously saved permanently with the Save method is restored.

Parameter

Description

From

Character string containing the structure information