SAP IST_SAMPLE_0793 Function Module for
IST_SAMPLE_0793 is a standard ist sample 0793 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 ist sample 0793 FM, simply by entering the name IST_SAMPLE_0793 into the relevant SAP transaction such as SE37 or SE38.
Function Group: IST_CA_KORR
Program Name: SAPLIST_CA_KORR
Main Program: SAPLIST_CA_KORR
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IST_SAMPLE_0793 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 'IST_SAMPLE_0793'".
EXPORTING
* I_COTYP = "
* I_AMOUNT = "
* I_CURR = "
* I_SIMILAR_PAYFORMS = '1' "
* I_VKONT = "
* I_GPART = "
* I_VTREF = "
* I_OPBEL = "
* I_DIALOG = "
* I_PAYH = "
* I_PAYHX = "
* I_AMOUNT_TYPE = "
CHANGING
C_BASICS = "
C_ADDONS = "
C_LAYOUT = "
TABLES
* T_FKKEPOS = "
* T_FKKEPOS_ALL = "
* T_SEL_KEYS = "
* T_SEL_FIELDS = "
* T_SEL_VALUES = "
* T_FKKOP = "
IMPORTING Parameters details for IST_SAMPLE_0793
I_COTYP -
Data type: COTYP_KKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AMOUNT -
Data type: BETRW_KKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CURR -
Data type: BLWAE_KKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SIMILAR_PAYFORMS -
Data type: SIMILAR_PAYFORMS_KKDefault: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VKONT -
Data type: VKONT_KKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_GPART -
Data type: GPART_KKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VTREF -
Data type: VTREF_KKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_OPBEL -
Data type: OPBEL_KKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DIALOG -
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PAYH -
Data type: PAYHOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PAYHX -
Data type: PAYHXOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AMOUNT_TYPE -
Data type: PAYF_AMOUNT_TYPE_KKOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for IST_SAMPLE_0793
C_BASICS -
Data type: FKK_MAD_BASICSOptional: No
Call by Reference: Yes
C_ADDONS -
Data type: FKK_CORR_SINGLEOptional: No
Call by Reference: Yes
C_LAYOUT -
Data type: TAB_LAYOUTOptional: No
Call by Reference: Yes
TABLES Parameters details for IST_SAMPLE_0793
T_FKKEPOS -
Data type: FKKEPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
T_FKKEPOS_ALL -
Data type: FKKEPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
T_SEL_KEYS -
Data type: FKKL1Optional: Yes
Call by Reference: No ( called with pass by value option)
T_SEL_FIELDS -
Data type: FKL0_SEFOptional: Yes
Call by Reference: No ( called with pass by value option)
T_SEL_VALUES -
Data type: FKL0_SELOptional: Yes
Call by Reference: No ( called with pass by value option)
T_FKKOP -
Data type: FKKOPOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for IST_SAMPLE_0793 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_i_cotyp | TYPE COTYP_KK, " | |||
| lv_c_basics | TYPE FKK_MAD_BASICS, " | |||
| lt_t_fkkepos | TYPE STANDARD TABLE OF FKKEPOS, " | |||
| lv_i_amount | TYPE BETRW_KK, " | |||
| lv_i_curr | TYPE BLWAE_KK, " | |||
| lv_i_similar_payforms | TYPE SIMILAR_PAYFORMS_KK, " '1' | |||
| lv_i_vkont | TYPE VKONT_KK, " | |||
| lv_c_addons | TYPE FKK_CORR_SINGLE, " | |||
| lt_t_fkkepos_all | TYPE STANDARD TABLE OF FKKEPOS, " | |||
| lv_i_gpart | TYPE GPART_KK, " | |||
| lv_c_layout | TYPE TAB_LAYOUT, " | |||
| lt_t_sel_keys | TYPE STANDARD TABLE OF FKKL1, " | |||
| lv_i_vtref | TYPE VTREF_KK, " | |||
| lt_t_sel_fields | TYPE STANDARD TABLE OF FKL0_SEF, " | |||
| lv_i_opbel | TYPE OPBEL_KK, " | |||
| lt_t_sel_values | TYPE STANDARD TABLE OF FKL0_SEL, " | |||
| lt_t_fkkop | TYPE STANDARD TABLE OF FKKOP, " | |||
| lv_i_dialog | TYPE XFELD, " | |||
| lv_i_payh | TYPE PAYH, " | |||
| lv_i_payhx | TYPE PAYHX, " | |||
| lv_i_amount_type | TYPE PAYF_AMOUNT_TYPE_KK. " |
|   CALL FUNCTION 'IST_SAMPLE_0793' " |
| EXPORTING | ||
| I_COTYP | = lv_i_cotyp | |
| I_AMOUNT | = lv_i_amount | |
| I_CURR | = lv_i_curr | |
| I_SIMILAR_PAYFORMS | = lv_i_similar_payforms | |
| I_VKONT | = lv_i_vkont | |
| I_GPART | = lv_i_gpart | |
| I_VTREF | = lv_i_vtref | |
| I_OPBEL | = lv_i_opbel | |
| I_DIALOG | = lv_i_dialog | |
| I_PAYH | = lv_i_payh | |
| I_PAYHX | = lv_i_payhx | |
| I_AMOUNT_TYPE | = lv_i_amount_type | |
| CHANGING | ||
| C_BASICS | = lv_c_basics | |
| C_ADDONS | = lv_c_addons | |
| C_LAYOUT | = lv_c_layout | |
| TABLES | ||
| T_FKKEPOS | = lt_t_fkkepos | |
| T_FKKEPOS_ALL | = lt_t_fkkepos_all | |
| T_SEL_KEYS | = lt_t_sel_keys | |
| T_SEL_FIELDS | = lt_t_sel_fields | |
| T_SEL_VALUES | = lt_t_sel_values | |
| T_FKKOP | = lt_t_fkkop | |
| . " IST_SAMPLE_0793 | ||
ABAP code using 7.40 inline data declarations to call FM IST_SAMPLE_0793
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.| DATA(ld_i_similar_payforms) | = '1'. | |||
Search for further information about these or an SAP related objects