SAP ISHMED_F4_ALLG Function Module for
ISHMED_F4_ALLG is a standard ishmed f4 allg SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for ishmed f4 allg FM, simply by entering the name ISHMED_F4_ALLG into the relevant SAP transaction such as SE37 or SE38.
Function Group: N1PS
Program Name: SAPLN1PS
Main Program: SAPLN1PS
Appliation area: N
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ISHMED_F4_ALLG pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ISHMED_F4_ALLG'".
EXPORTING
* I_DISP_KEY = ' ' "
* I_TITLE = ' ' "
* I_VCODE = 'UPD' "
* I_MFSEL = ' ' "
* I_ENTER_KEY = 'X' "
* I_REFRESH = ' ' "Refresh Display
* I_ACTIVEX = ' ' "
* I_DISP_CODE = 'X' "
* I_DISP_OTHER_FIRST = ' ' "
* I_DISP_OTHER = ' ' "
* I_HEADLINE = ' ' "
* I_HEIGHT = 10 "
* I_LEN_KEY = 10 "
* I_LEN_CODE = 10 "
* I_LEN_OTHER = 10 "
* I_LEN_TEXT = 60 "
* I_SORT = 'C' "
IMPORTING
E_KEY = "
TABLES
T_F4TAB = "
* T_FUNCTION = "
IMPORTING Parameters details for ISHMED_F4_ALLG
I_DISP_KEY -
Data type: RNT40-MARKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TITLE -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VCODE -
Data type:Default: 'UPD'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_MFSEL -
Data type: RNT40-MARKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ENTER_KEY -
Data type: RNT40-MARKDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_REFRESH - Refresh Display
Data type: RNT40-MARKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ACTIVEX -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DISP_CODE -
Data type: RNT40-MARKDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DISP_OTHER_FIRST -
Data type: ISH_ON_OFFDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_DISP_OTHER -
Data type: RNT40-MARKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_HEADLINE -
Data type: RN1F4Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_HEIGHT -
Data type:Default: 10
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LEN_KEY -
Data type:Default: 10
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LEN_CODE -
Data type:Default: 10
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LEN_OTHER -
Data type:Default: 10
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LEN_TEXT -
Data type:Default: 60
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SORT -
Data type: RNT40-MARKDefault: 'C'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for ISHMED_F4_ALLG
E_KEY -
Data type: RN1F4-KEYOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISHMED_F4_ALLG
T_F4TAB -
Data type: RN1F4Optional: No
Call by Reference: No ( called with pass by value option)
T_FUNCTION -
Data type: RN1FUNCOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISHMED_F4_ALLG Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.DATA: | ||||
lv_e_key | TYPE RN1F4-KEY, " | |||
lt_t_f4tab | TYPE STANDARD TABLE OF RN1F4, " | |||
lv_i_disp_key | TYPE RNT40-MARK, " SPACE | |||
lv_i_title | TYPE RNT40, " SPACE | |||
lv_i_vcode | TYPE RNT40, " 'UPD' | |||
lv_i_mfsel | TYPE RNT40-MARK, " SPACE | |||
lv_i_enter_key | TYPE RNT40-MARK, " 'X' | |||
lv_i_refresh | TYPE RNT40-MARK, " SPACE | |||
lv_i_activex | TYPE C, " SPACE | |||
lv_i_disp_code | TYPE RNT40-MARK, " 'X' | |||
lv_i_disp_other_first | TYPE ISH_ON_OFF, " SPACE | |||
lt_t_function | TYPE STANDARD TABLE OF RN1FUNC, " | |||
lv_i_disp_other | TYPE RNT40-MARK, " SPACE | |||
lv_i_headline | TYPE RN1F4, " SPACE | |||
lv_i_height | TYPE RN1F4, " 10 | |||
lv_i_len_key | TYPE RN1F4, " 10 | |||
lv_i_len_code | TYPE RN1F4, " 10 | |||
lv_i_len_other | TYPE RN1F4, " 10 | |||
lv_i_len_text | TYPE RN1F4, " 60 | |||
lv_i_sort | TYPE RNT40-MARK. " 'C' |
  CALL FUNCTION 'ISHMED_F4_ALLG' " |
EXPORTING | ||
I_DISP_KEY | = lv_i_disp_key | |
I_TITLE | = lv_i_title | |
I_VCODE | = lv_i_vcode | |
I_MFSEL | = lv_i_mfsel | |
I_ENTER_KEY | = lv_i_enter_key | |
I_REFRESH | = lv_i_refresh | |
I_ACTIVEX | = lv_i_activex | |
I_DISP_CODE | = lv_i_disp_code | |
I_DISP_OTHER_FIRST | = lv_i_disp_other_first | |
I_DISP_OTHER | = lv_i_disp_other | |
I_HEADLINE | = lv_i_headline | |
I_HEIGHT | = lv_i_height | |
I_LEN_KEY | = lv_i_len_key | |
I_LEN_CODE | = lv_i_len_code | |
I_LEN_OTHER | = lv_i_len_other | |
I_LEN_TEXT | = lv_i_len_text | |
I_SORT | = lv_i_sort | |
IMPORTING | ||
E_KEY | = lv_e_key | |
TABLES | ||
T_F4TAB | = lt_t_f4tab | |
T_FUNCTION | = lt_t_function | |
. " ISHMED_F4_ALLG |
ABAP code using 7.40 inline data declarations to call FM ISHMED_F4_ALLG
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8."SELECT single KEY FROM RN1F4 INTO @DATA(ld_e_key). | ||||
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_disp_key). | ||||
DATA(ld_i_disp_key) | = ' '. | |||
DATA(ld_i_title) | = ' '. | |||
DATA(ld_i_vcode) | = 'UPD'. | |||
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_mfsel). | ||||
DATA(ld_i_mfsel) | = ' '. | |||
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_enter_key). | ||||
DATA(ld_i_enter_key) | = 'X'. | |||
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_refresh). | ||||
DATA(ld_i_refresh) | = ' '. | |||
DATA(ld_i_activex) | = ' '. | |||
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_disp_code). | ||||
DATA(ld_i_disp_code) | = 'X'. | |||
DATA(ld_i_disp_other_first) | = ' '. | |||
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_disp_other). | ||||
DATA(ld_i_disp_other) | = ' '. | |||
DATA(ld_i_headline) | = ' '. | |||
DATA(ld_i_height) | = 10. | |||
DATA(ld_i_len_key) | = 10. | |||
DATA(ld_i_len_code) | = 10. | |||
DATA(ld_i_len_other) | = 10. | |||
DATA(ld_i_len_text) | = 60. | |||
"SELECT single MARK FROM RNT40 INTO @DATA(ld_i_sort). | ||||
DATA(ld_i_sort) | = 'C'. | |||
Search for further information about these or an SAP related objects