SAPData Class 

Definition

Original class of this plug-in; representation of an SAP work item.

Remarks

You can use this class to edit the container data of a workflow or work item in a form. The Fields property refers to an object in the Fields list class that represents the container elements. The elements themselves can be accessed with the Value property. The important methods here are the Start method, which can be used to start a workflow, and the Execute method that executes work items.

SAPData plug-in type classes implement the SAPData interface that provides the SAPforms Designer and other SAPforms components with access to certain types of R/3 data structures and interfaces. In other words, these classes can be regarded as being synonymous with various plug-ins of this type.

A SAPData object is usually also instantiated with the SAPForm object. The SAPData object is then referenced by the SAPData property of the SAPForm object. An object of the SAPData class, however, cannot exist without an object of the SAPForms class.

If you want to develop your own SAPData-type plug-ins, you should use the source code supplied for the SAPforms Data Plug-Ins for Demo as a reference (template). The template is stored in the directory ...\sapforms\sapddemo.

Classification

SAPforms Data Plug-In for Workflow

à SAPData Class

à Connection (Property)

à Execute (Method)

à Fields (Property)

à Load (Method)

à LoadInstance (Method)

à LogIt (Method)

à Name (Property)

à Offline (Property)

à Options (Method)

à R3DoNotUse (Property)

à Receiver (Property)

à SAPXmit (property)

à Save (Method)

à SaveInstance (Method)

à Start (Method)

à SuppressSystemSelection (Property)

à UpdateInstance (Method)

à Value (Property)

à Version (Property))

à WorkitemID (Property)