5. /IQX/GET_FORM_DATA_ONE_LIST
Attributes:
Function Group - /IQX/FAB_API
Description - Get FAB Form Definition and Instance Data (One-List)
Remote Enabled Function Module
Import Parameters
Parameter | Type | Default | Optional | Pass by Value | Short Text |
---|---|---|---|---|---|
IV_FORM_NAME | /IQX/FORM_NAME | Yes | Yes | Form Name (eForms) | |
IV_INSTANCE | /IQX/INSTANCE | Yes | UI5 Forms Data Instance GUID | ||
IV_UNAME | SY-UNAME | Yes | Yes | ABAP System Field: Name of Current User |
Export Parameters
Parameter | Type | Pass by Value | Short Text |
---|---|---|---|
ES_HEADER_INSTANCE | /IQX/FORMHD_INST | Yes | eForm Header Instance Data (run-time values) |
ET_ELEMENTS | /IQX/FORMS_ELEM_TT | Yes | /IQX/FORMS_ELEM Table Type |
ET_DATA | /IQX/FORMS_INSTANCE_DATA_TT | Yes | /IQX/FORMS_INSTANCE_DATA_STRUC Table Type |
ET_RELATED_DATA | /IQX/FORMS_REL_I_TT | Yes | /IQX/FORMS_REL_I Table Type |
ET_ATTACHMENTS | /IQX/ATTACHMENT_TT | Yes | /IQX/ATTACHMENT Table Type |
ET_ALLOWED_ACTIONS | /IQX/STATUS_ACTIONS_TT | Yes | FAB Actions Table Type |
ET_KEY_VALUE_DATA | /IQX/ONE_LIST_KEY_VALUE_TT | Yes | Key - Value Table Type |
ET_GROUP_DATA | /IQX/ONE_LIST_KEY_GROUP_DAT_TT | Yes | /IQX/ONE_LIST_GROUP_DATA_ST Tabe Type |
ET_GROUP_SUMMARY | /IQX/ONE_LIST_KEY_GROUP_SUM_TT | Yes | /IQX/ONE_LIST_GROUP_SUM_ST Tabe Type |
Changing Parameters
None
Tables
None
Exceptions
None
Documentation
- This FM gets all the form related data based on the form name and the instance number or User name.
- The FM '/IQX/GET_FORM_DATA' is used to fetch the form related data.
- In the table 'et_allowed_actions' from the above FM, get the action pertaining to the Onelist action.
- If it exists, get the class name for the form and call the class method 'FORMAT_FOR_ONE_LIST' for formatting the data for OneList.
- This method formats the data and gives the output in the tables et_key_value_data, et_group_data, et_group_summary.