SAP ISH_KHSTATV2003_INIT_SA1 Function Module for
ISH_KHSTATV2003_INIT_SA1 is a standard ish khstatv2003 init sa1 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 ish khstatv2003 init sa1 FM, simply by entering the name ISH_KHSTATV2003_INIT_SA1 into the relevant SAP transaction such as SE37 or SE38.
Function Group: NKHSTATV2003
Program Name: SAPLNKHSTATV2003
Main Program: SAPLNKHSTATV2003
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_KHSTATV2003_INIT_SA1 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 'ISH_KHSTATV2003_INIT_SA1'".
EXPORTING
I_STASP = "
I_EINRI = "
TABLES
IT_RSTASP = "
IT_ZANGEN = "
IT_VAKUUM = "
IT_KAISER = "
IT_FEHLGEB = "
IT_AMBOP = "
IMPORTING Parameters details for ISH_KHSTATV2003_INIT_SA1
I_STASP -
Data type: NFAL-STASPOptional: No
Call by Reference: Yes
I_EINRI -
Data type: EINRIOptional: No
Call by Reference: Yes
TABLES Parameters details for ISH_KHSTATV2003_INIT_SA1
IT_RSTASP -
Data type: RNRANGESTASPOptional: No
Call by Reference: No ( called with pass by value option)
IT_ZANGEN -
Data type: RNRANGEENTMODOptional: No
Call by Reference: No ( called with pass by value option)
IT_VAKUUM -
Data type: RNRANGEENTMODOptional: No
Call by Reference: No ( called with pass by value option)
IT_KAISER -
Data type: RNRANGEENTMODOptional: No
Call by Reference: No ( called with pass by value option)
IT_FEHLGEB -
Data type: RNRANGEGEBTYPOptional: No
Call by Reference: No ( called with pass by value option)
IT_AMBOP -
Data type: RNRANGEBWARTOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISH_KHSTATV2003_INIT_SA1 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_stasp | TYPE NFAL-STASP, " | |||
| lt_it_rstasp | TYPE STANDARD TABLE OF RNRANGESTASP, " | |||
| lv_i_einri | TYPE EINRI, " | |||
| lt_it_zangen | TYPE STANDARD TABLE OF RNRANGEENTMOD, " | |||
| lt_it_vakuum | TYPE STANDARD TABLE OF RNRANGEENTMOD, " | |||
| lt_it_kaiser | TYPE STANDARD TABLE OF RNRANGEENTMOD, " | |||
| lt_it_fehlgeb | TYPE STANDARD TABLE OF RNRANGEGEBTYP, " | |||
| lt_it_ambop | TYPE STANDARD TABLE OF RNRANGEBWART. " |
|   CALL FUNCTION 'ISH_KHSTATV2003_INIT_SA1' " |
| EXPORTING | ||
| I_STASP | = lv_i_stasp | |
| I_EINRI | = lv_i_einri | |
| TABLES | ||
| IT_RSTASP | = lt_it_rstasp | |
| IT_ZANGEN | = lt_it_zangen | |
| IT_VAKUUM | = lt_it_vakuum | |
| IT_KAISER | = lt_it_kaiser | |
| IT_FEHLGEB | = lt_it_fehlgeb | |
| IT_AMBOP | = lt_it_ambop | |
| . " ISH_KHSTATV2003_INIT_SA1 | ||
ABAP code using 7.40 inline data declarations to call FM ISH_KHSTATV2003_INIT_SA1
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 STASP FROM NFAL INTO @DATA(ld_i_stasp). | ||||
Search for further information about these or an SAP related objects