1. /IQX/DELETE_FORM_DATA

Attributes:

Function Group - /IQX/FAB_API

Description - Delete FAB Form Instance Data

Remote Enabled Function Module

Import Parameters

ParameterTypeDefaultOptionalPass by ValueShort Text
IV_FORM_NAME/IQX/FORM_NAME

   Yes

        YesForm Name (eForms)
IV_INSTANCE/IQX/INSTANCE

        YesUI5 Forms Data Instance GUID
IV_UNAMESY-UNAME
    Yes        YesABAP System Field: Name of Current User

Export Parameters

None

Changing Parameters

None

Tables

None

Exceptions

NOT_AUTHORIZED 

Documentation

  • This FM enables the user to delete any form related data from the tables '/iqx/forms_inst' and '/iqx/forms_rel_i'. 

          The data is deleted based on the instance number and other parameters such as form name and user name.

  • AUTHORITY-CHECK OBJECT '/IQX/FAB'
    I'BEGRU' FIELD auth_group
    ID '/IQX/ACTIV' FIELD '04'.
  • An authorization check is made to see if the user has access to edit the object mentioned above,

          and an exception 'NOT_AUTHORIZED' is raise in case the user doesn't have access to delete the data.

  • Once the data instance is deleted, the table '/iqx/formhd_inst' is updated with the deletion flag, user details and date it was deleted.