Search on this Website

Monday, December 15, 2008

Macros used in Workflow Programming


The include file must have been included into the program in order to use these macros.
INCLUDE .

Declaring Container

SWC_CONTAINER . "Declaration
SWC_CREATE_CONTAINER . "Initialization

Writing value into container
SWC_SET_ELEMENT .
SWC_SET_TABLE .

Reading value from container
SWC_GET_ELEMENT .
SWC_GET_TABLE .


Creating a variable for the object reference
DATATYPE SWC_OBJECT.

Create the object reference.
SWC_CREATE_OBJECT .

To get Object Key and Object Type
SWC_GET_OBJECT_KEY .
SWC_GET_OBJECT_TYPE .

To execute Mehtod of Object
SWC_CALL_METHOD .
SWC_GET_TABLE_PROPERTY .
SWC_GET_PROPERTY SELF .

Raising Exceptions
EXIT_RETRUN
EXIT_OBJECT_NOT_FOUND

Setting Result Parameter of Synchronous method
SWC_SET_ELEMENT Result



No comments: