SAP ISCD_SAMPLE_1200 Function Module for









ISCD_SAMPLE_1200 is a standard iscd sample 1200 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 iscd sample 1200 FM, simply by entering the name ISCD_SAMPLE_1200 into the relevant SAP transaction such as SE37 or SE38.

Function Group: VKK8
Program Name: SAPLVKK8
Main Program: SAPLVKK8
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISCD_SAMPLE_1200 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 'ISCD_SAMPLE_1200'"
EXPORTING
I_GPART = "Business Partner
I_BUKRS = "Company Code
I_VKONT = "Contract Account
* I_FKKEPOSC = "

IMPORTING
E_LINE1 = "First Line
E_LINE2 = "2nd Line
E_LINE3 = "3rd line

TABLES
* T_SEL_VALUES = "Selection Values
* T_ADDITIONAL_LINES = "Account Balance: Display Lines for List Header
* T_L_SELVALUES = "Account Balance: Selection Control (Values)
.



IMPORTING Parameters details for ISCD_SAMPLE_1200

I_GPART - Business Partner

Data type: FKKOP-GPART
Optional: No
Call by Reference: No ( called with pass by value option)

I_BUKRS - Company Code

Data type: FKKOP-BUKRS
Optional: No
Call by Reference: No ( called with pass by value option)

I_VKONT - Contract Account

Data type: FKKOP-VKONT
Optional: No
Call by Reference: No ( called with pass by value option)

I_FKKEPOSC -

Data type: FKKEPOSC
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISCD_SAMPLE_1200

E_LINE1 - First Line

Data type: FKKEPOSH-LINE1
Optional: No
Call by Reference: No ( called with pass by value option)

E_LINE2 - 2nd Line

Data type: FKKEPOSH-LINE2
Optional: No
Call by Reference: No ( called with pass by value option)

E_LINE3 - 3rd line

Data type: FKKEPOSH-LINE3
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ISCD_SAMPLE_1200

T_SEL_VALUES - Selection Values

Data type: FKKL1
Optional: Yes
Call by Reference: No ( called with pass by value option)

T_ADDITIONAL_LINES - Account Balance: Display Lines for List Header

Data type: FKKEPOSHL
Optional: Yes
Call by Reference: Yes

T_L_SELVALUES - Account Balance: Selection Control (Values)

Data type: FKKEPOSS2
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for ISCD_SAMPLE_1200 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_line1  TYPE FKKEPOSH-LINE1, "   
lv_i_gpart  TYPE FKKOP-GPART, "   
lt_t_sel_values  TYPE STANDARD TABLE OF FKKL1, "   
lv_e_line2  TYPE FKKEPOSH-LINE2, "   
lv_i_bukrs  TYPE FKKOP-BUKRS, "   
lt_t_additional_lines  TYPE STANDARD TABLE OF FKKEPOSHL, "   
lv_e_line3  TYPE FKKEPOSH-LINE3, "   
lv_i_vkont  TYPE FKKOP-VKONT, "   
lt_t_l_selvalues  TYPE STANDARD TABLE OF FKKEPOSS2, "   
lv_i_fkkeposc  TYPE FKKEPOSC. "   

  CALL FUNCTION 'ISCD_SAMPLE_1200'  "
    EXPORTING
         I_GPART = lv_i_gpart
         I_BUKRS = lv_i_bukrs
         I_VKONT = lv_i_vkont
         I_FKKEPOSC = lv_i_fkkeposc
    IMPORTING
         E_LINE1 = lv_e_line1
         E_LINE2 = lv_e_line2
         E_LINE3 = lv_e_line3
    TABLES
         T_SEL_VALUES = lt_t_sel_values
         T_ADDITIONAL_LINES = lt_t_additional_lines
         T_L_SELVALUES = lt_t_l_seltalues
. " ISCD_SAMPLE_1200




ABAP code using 7.40 inline data declarations to call FM ISCD_SAMPLE_1200

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 LINE1 FROM FKKEPOSH INTO @DATA(ld_e_line1).
 
"SELECT single GPART FROM FKKOP INTO @DATA(ld_i_gpart).
 
 
"SELECT single LINE2 FROM FKKEPOSH INTO @DATA(ld_e_line2).
 
"SELECT single BUKRS FROM FKKOP INTO @DATA(ld_i_bukrs).
 
 
"SELECT single LINE3 FROM FKKEPOSH INTO @DATA(ld_e_line3).
 
"SELECT single VKONT FROM FKKOP INTO @DATA(ld_i_vkont).
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!