EUP_GENERATE_IFORM_WITH_FIELDS is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name EUP_GENERATE_IFORM_WITH_FIELDS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
GP_PROCESS_RUNTIME
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'EUP_GENERATE_IFORM_WITH_FIELDS' "Generate interactive form with fields.
EXPORTING
iv_template_id = " guid_32 GUID in 'CHAR' Format in Uppercase
iv_global_version = " int4 Natural number
iv_local_version = " int4 Natural number
iv_executor = " sy-uname User Name
iv_accept_by = " dats Field of type DATS
iv_anonymos = " char1 Single-Character Flag
* iv_delivery_channel = " string
* iv_recipient_address = " string
* iv_message_form_file_name = " string
* iv_message_attachment_one = " eup_form_attachment Hold an attachment to be sent along with an Interactive Form
* iv_message_attachment_two = " eup_form_attachment Hold an attachment to be sent along with an Interactive Form
iv_system_id = " sy-sysid Name of SAP R/3 System
IMPORTING
ev_mime_type = " string
ev_form_data = " xstring
ev_task_id = " guid_32 GUID in 'CHAR' Format in Uppercase
* TABLES
* it_fields = " eup_st_co_field_table Callable object fields table.
* it_message_template_fields = " eup_message_template_fields Name, value pairs used for generating interactive forms.
EXCEPTIONS
ENGINE_EXCEPTION = 1 "
INVOCATION_EXCEPTION = 2 "
. " EUP_GENERATE_IFORM_WITH_FIELDS
The ABAP code below is a full code listing to execute function module EUP_GENERATE_IFORM_WITH_FIELDS including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_ev_mime_type | TYPE STRING , |
| ld_ev_form_data | TYPE XSTRING , |
| ld_ev_task_id | TYPE GUID_32 , |
| it_it_fields | TYPE STANDARD TABLE OF EUP_ST_CO_FIELD_TABLE,"TABLES PARAM |
| wa_it_fields | LIKE LINE OF it_it_fields , |
| it_it_message_template_fields | TYPE STANDARD TABLE OF EUP_MESSAGE_TEMPLATE_FIELDS,"TABLES PARAM |
| wa_it_message_template_fields | LIKE LINE OF it_it_message_template_fields . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_ev_mime_type | TYPE STRING , |
| ld_iv_template_id | TYPE GUID_32 , |
| it_it_fields | TYPE STANDARD TABLE OF EUP_ST_CO_FIELD_TABLE , |
| wa_it_fields | LIKE LINE OF it_it_fields, |
| ld_ev_form_data | TYPE XSTRING , |
| ld_iv_global_version | TYPE INT4 , |
| it_it_message_template_fields | TYPE STANDARD TABLE OF EUP_MESSAGE_TEMPLATE_FIELDS , |
| wa_it_message_template_fields | LIKE LINE OF it_it_message_template_fields, |
| ld_ev_task_id | TYPE GUID_32 , |
| ld_iv_local_version | TYPE INT4 , |
| ld_iv_executor | TYPE SY-UNAME , |
| ld_iv_accept_by | TYPE DATS , |
| ld_iv_anonymos | TYPE CHAR1 , |
| ld_iv_delivery_channel | TYPE STRING , |
| ld_iv_recipient_address | TYPE STRING , |
| ld_iv_message_form_file_name | TYPE STRING , |
| ld_iv_message_attachment_one | TYPE EUP_FORM_ATTACHMENT , |
| ld_iv_message_attachment_two | TYPE EUP_FORM_ATTACHMENT , |
| ld_iv_system_id | TYPE SY-SYSID . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name EUP_GENERATE_IFORM_WITH_FIELDS or its description.
EUP_GENERATE_IFORM_WITH_FIELDS - Generate interactive form with fields. EUP_CREATE_BSP_OUTPUT_STRUCT - Creates top level strucutre for BSP callable object output parameters. EUP_CO_EXECUTE_WITH_FIELDS - Execute callable object with fields. EUP_CALLABLE_OBJECT_EXECUTE - Executes a callable object. EUP_BSP_DELETE_IV_CTX - Delete the bsp input context. Not to be called by the BSP application. ETX_DOC_SET_FI_DOC_NUMBER - Set Fi-Document number for ETXDH-DOC_NUMBER