7. /IQX/GET_USER_WORKLIST

7. /IQX/GET_USER_WORKLIST

Attributes:

Function Group - /IQX/FAB_API

Description - Get Forms In User's Worklist (Due For Action)

Remote Enabled Function Module

Import Parameters

Parameter

Type

Default

Optional

Pass by Value

Short Text

Parameter

Type

Default

Optional

Pass by Value

Short Text

IV_USER_NAME

SY-UNAME



    

        Yes

ABAP System Field: Name of Current User

IV_FILTER

STRING



Yes

Yes



IV_FORM_NAME

/IQX/FORM_NAME



Yes

Yes



Export Parameters

Parameter

Type

Pass by Value

Short Text

Parameter

Type

Pass by Value

Short Text

ET_INSTANCES

/IQX/FORM_INSTANCE_DATA_TT

        Yes

/IQX/FORM_INSTANCE_DATA Table Type

Changing Parameters

None

Tables

None

Exceptions

None

Documentation

  • This FM gets the list of tasks from the user's worklist based on the user name, filter(of approval states) and the form name.

  • If no filter is applied, by default it takes the filter  'ToBeApprovedByMe'.

  • The data is then fetched by passing the above information to the FM  '/IQX/FAB_GET_HEADER_INSTANCES'.