GMIA_LIST_PROCESS 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 GMIA_LIST_PROCESS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
GMBPL
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'GMIA_LIST_PROCESS' "GMIA LINE ITEMS DISPLAY AND PROCESS
* EXPORTING
* i_callback_program = " sy-repid
* i_callback_pf_status_set = " slis_formname
* i_callback_user_command = " slis_formname
* i_fieldcat_program = " sy-repid
* i_fieldcat_tabname = " slis_tabname
* i_fieldcat_inclname = " trdir-name ABAP program name
* i_fieldcat_strucnam = " dd02l-tabname Table Name
* i_variant = " disvariant Layout (External Use)
* TABLES
* it_gmia_list = " gmia_list LIST OUTPUT of GMIA LINE ITEMS
* it_gmia = " gmia Actual line item table
* it_message = " gmbpl_t_messlog
. " GMIA_LIST_PROCESS
The ABAP code below is a full code listing to execute function module GMIA_LIST_PROCESS 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).
| it_it_gmia_list | TYPE STANDARD TABLE OF GMIA_LIST,"TABLES PARAM |
| wa_it_gmia_list | LIKE LINE OF it_it_gmia_list , |
| it_it_gmia | TYPE STANDARD TABLE OF GMIA,"TABLES PARAM |
| wa_it_gmia | LIKE LINE OF it_it_gmia , |
| it_it_message | TYPE STANDARD TABLE OF GMBPL_T_MESSLOG,"TABLES PARAM |
| wa_it_message | LIKE LINE OF it_it_message . |
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_i_callback_program | TYPE SY-REPID , |
| it_it_gmia_list | TYPE STANDARD TABLE OF GMIA_LIST , |
| wa_it_gmia_list | LIKE LINE OF it_it_gmia_list, |
| ld_i_callback_pf_status_set | TYPE SLIS_FORMNAME , |
| it_it_gmia | TYPE STANDARD TABLE OF GMIA , |
| wa_it_gmia | LIKE LINE OF it_it_gmia, |
| ld_i_callback_user_command | TYPE SLIS_FORMNAME , |
| it_it_message | TYPE STANDARD TABLE OF GMBPL_T_MESSLOG , |
| wa_it_message | LIKE LINE OF it_it_message, |
| ld_i_fieldcat_program | TYPE SY-REPID , |
| ld_i_fieldcat_tabname | TYPE SLIS_TABNAME , |
| ld_i_fieldcat_inclname | TYPE TRDIR-NAME , |
| ld_i_fieldcat_strucnam | TYPE DD02L-TABNAME , |
| ld_i_variant | TYPE DISVARIANT . |
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 GMIA_LIST_PROCESS or its description.
GMIA_LIST_PROCESS - GMIA LINE ITEMS DISPLAY AND PROCESS GMHD_INSERT_LINES - Insert lines of a held document in table GMHBDGTLINE GMHD_INSERT_HEADER - Insert a held document in table GMHBDGTHEADER GMHD_INSERT_FYDLINES - Insert lines of a held document in table GMHBDGTLINE GMHD_GET_LINES - Get entry document line items from GMHBDGTLINE GMHD_GET_HEADER - Get header contents from GMHBDGTHEADER