SAP Function SWFMOD_GET_COMPLEX_TYPE - Get the modeler complex type

Parameter Reference Type Length Default Optional Text
IV_TABLE_FLAG SWFMOD_FLAG C 1 X General Flag (X/' ') Indicates if multiline
IV_TYPE STRING g 0 Element name in upper/lower case

Parameter Reference Type Length Text
EV_COMPLEX_TYPE STRING g 0
EV_RETCODE SYSUBRC I 4 Return Value, Return Value After ABAP Statements

Parameter Reference Length Optional Text
ET_MESSAGE_LINES SWR_MESSAG 274 Messages
ET_MESSAGE_STRUCT SWR_MSTRUC 224 Workflow interfaces: Message structure

Functionality
Build the complex type used by the workflow modeler

Example
Let's take the example of table type SWFMOD_COMP_PROFILES having forline type the structure PPFSCONDE. Then if the container element ismultiline then the result would be PPFSCONDE[].SWFMOD_COMP_PROFILES.N (Nfor not deployable, means we do not see structure fields).
For a structure PPFSCONDE container element (not multiline) then theresult will be: PPFSCONDE.PPFSCONDE.Y