SAP ISH_ACCIDENT_SUBSCREEN_OUTPUT Function Module for IS-H: Transfer Data from Subscreen









ISH_ACCIDENT_SUBSCREEN_OUTPUT is a standard ish accident subscreen output SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-H: Transfer Data from Subscreen processing and below is the pattern details for this FM, 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 accident subscreen output FM, simply by entering the name ISH_ACCIDENT_SUBSCREEN_OUTPUT into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_ACCIDENT_SUBSCREEN_OUTPUT 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_ACCIDENT_SUBSCREEN_OUTPUT'"IS-H: Transfer Data from Subscreen
IMPORTING
SS_CURSOR = "Cursor Position on Screen
SS_CURSOR_OFF = "Cursor Position in Field
SS_CURSOR_PRG = "Program for Cursor Position
SS_CURSOR_DYN = "Screen (Dynpro) for Cursor Position
SS_CURSOR_FORCE = "Set Cursor after Function Key Pressed

CHANGING
SS_OKCODE = "Function Input
.



EXPORTING Parameters details for ISH_ACCIDENT_SUBSCREEN_OUTPUT

SS_CURSOR - Cursor Position on Screen

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

SS_CURSOR_OFF - Cursor Position in Field

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

SS_CURSOR_PRG - Program for Cursor Position

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

SS_CURSOR_DYN - Screen (Dynpro) for Cursor Position

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

SS_CURSOR_FORCE - Set Cursor after Function Key Pressed

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

CHANGING Parameters details for ISH_ACCIDENT_SUBSCREEN_OUTPUT

SS_OKCODE - Function Input

Data type: SY-UCOMM
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_ACCIDENT_SUBSCREEN_OUTPUT 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_ss_cursor  TYPE TNDYM-CURSR, "   
lv_ss_okcode  TYPE SY-UCOMM, "   
lv_ss_cursor_off  TYPE SY-CUCOL, "   
lv_ss_cursor_prg  TYPE SY-REPID, "   
lv_ss_cursor_dyn  TYPE SY-DYNNR, "   
lv_ss_cursor_force  TYPE ISH_TRUE_FALSE. "   

  CALL FUNCTION 'ISH_ACCIDENT_SUBSCREEN_OUTPUT'  "IS-H: Transfer Data from Subscreen
    IMPORTING
         SS_CURSOR = lv_ss_cursor
         SS_CURSOR_OFF = lv_ss_cursor_off
         SS_CURSOR_PRG = lv_ss_cursor_prg
         SS_CURSOR_DYN = lv_ss_cursor_dyn
         SS_CURSOR_FORCE = lv_ss_cursor_force
    CHANGING
         SS_OKCODE = lv_ss_okcode
. " ISH_ACCIDENT_SUBSCREEN_OUTPUT




ABAP code using 7.40 inline data declarations to call FM ISH_ACCIDENT_SUBSCREEN_OUTPUT

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 CURSR FROM TNDYM INTO @DATA(ld_ss_cursor).
 
"SELECT single UCOMM FROM SY INTO @DATA(ld_ss_okcode).
 
"SELECT single CUCOL FROM SY INTO @DATA(ld_ss_cursor_off).
 
"SELECT single REPID FROM SY INTO @DATA(ld_ss_cursor_prg).
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_ss_cursor_dyn).
 
 


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!