SAP ISH_WP_VIEW_L07_FORMS_GET Function Module for IS-H: Read Case-Related Forms
ISH_WP_VIEW_L07_FORMS_GET is a standard ish wp view l07 forms get 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: Read Case-Related Forms 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 wp view l07 forms get FM, simply by entering the name ISH_WP_VIEW_L07_FORMS_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: N_WP
Program Name: SAPLN_WP
Main Program: SAPLN_WP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISH_WP_VIEW_L07_FORMS_GET 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_WP_VIEW_L07_FORMS_GET'"IS-H: Read Case-Related Forms.
EXPORTING
SS_EINRI = "IS-H: Institution
SS_FALNR = "IS-H: Case Number
* SS_VIEWTYPE = 'L07' "IS-H / IS-H*MED: View Type
SS_VIEWID = "IS-H / IS-H*MED: Identification of View
* SS_STORN = ' ' "Read Canceled Forms also
* SS_CREATE_DEFAULTS = ' ' "Create Standard Forms, if Necessary
TABLES
* SS_NWVIEW_L07_FORMS = "IS-H: Forms Entered for Case
EXCEPTIONS
NOTHING_FOUND = 1
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLN1WP_001 IS-H*MED: User Exit Medical Unit List - Display Fields
EXIT_SAPLN1WP_002 IS-H*MED: User Exit Medical Unit List Fields - Functions
EXIT_SAPLN2WP006_001 IS-H*MED: User Exit Functions f. Clin.Work Station - View Type - Documents
EXIT_SAPLN2WP006_002 IS-H*MED: User-Exit Display fór Clin. Work Station - View Type Documents
IMPORTING Parameters details for ISH_WP_VIEW_L07_FORMS_GET
SS_EINRI - IS-H: Institution
Data type: EINRIOptional: No
Call by Reference: No ( called with pass by value option)
SS_FALNR - IS-H: Case Number
Data type: FALNROptional: No
Call by Reference: No ( called with pass by value option)
SS_VIEWTYPE - IS-H / IS-H*MED: View Type
Data type: NVIEWTYPEDefault: 'L07'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_VIEWID - IS-H / IS-H*MED: Identification of View
Data type: NVIEWIDOptional: No
Call by Reference: No ( called with pass by value option)
SS_STORN - Read Canceled Forms also
Data type: ISH_ON_OFFDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
SS_CREATE_DEFAULTS - Create Standard Forms, if Necessary
Data type: NXFELDDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISH_WP_VIEW_L07_FORMS_GET
SS_NWVIEW_L07_FORMS - IS-H: Forms Entered for Case
Data type: NWVIEW_L07_FORMSOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
NOTHING_FOUND - No Forms Found
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISH_WP_VIEW_L07_FORMS_GET 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_einri | TYPE EINRI, " | |||
| lv_nothing_found | TYPE EINRI, " | |||
| lt_ss_nwview_l07_forms | TYPE STANDARD TABLE OF NWVIEW_L07_FORMS, " | |||
| lv_ss_falnr | TYPE FALNR, " | |||
| lv_ss_viewtype | TYPE NVIEWTYPE, " 'L07' | |||
| lv_ss_viewid | TYPE NVIEWID, " | |||
| lv_ss_storn | TYPE ISH_ON_OFF, " ' ' | |||
| lv_ss_create_defaults | TYPE NXFELD. " ' ' |
|   CALL FUNCTION 'ISH_WP_VIEW_L07_FORMS_GET' "IS-H: Read Case-Related Forms |
| EXPORTING | ||
| SS_EINRI | = lv_ss_einri | |
| SS_FALNR | = lv_ss_falnr | |
| SS_VIEWTYPE | = lv_ss_viewtype | |
| SS_VIEWID | = lv_ss_viewid | |
| SS_STORN | = lv_ss_storn | |
| SS_CREATE_DEFAULTS | = lv_ss_create_defaults | |
| TABLES | ||
| SS_NWVIEW_L07_FORMS | = lt_ss_nwview_l07_forms | |
| EXCEPTIONS | ||
| NOTHING_FOUND = 1 | ||
| . " ISH_WP_VIEW_L07_FORMS_GET | ||
ABAP code using 7.40 inline data declarations to call FM ISH_WP_VIEW_L07_FORMS_GET
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_ss_viewtype) | = 'L07'. | |||
| DATA(ld_ss_storn) | = ' '. | |||
| DATA(ld_ss_create_defaults) | = ' '. | |||
Search for further information about these or an SAP related objects