SAP ISP_REPLACING_VAS_GET_FOR_DISP Function Module for
ISP_REPLACING_VAS_GET_FOR_DISP is a standard isp replacing vas get for disp 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 isp replacing vas get for disp FM, simply by entering the name ISP_REPLACING_VAS_GET_FOR_DISP into the relevant SAP transaction such as SE37 or SE38.
Function Group: JD01
Program Name: SAPLJD01
Main Program: SAPLJD01
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ISP_REPLACING_VAS_GET_FOR_DISP 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 'ISP_REPLACING_VAS_GET_FOR_DISP'".
EXPORTING
BEZTYP_REPL = "
FROM_DATE = "
REPLACED_DRERZ = "
REPLACED_PVA = "
* REPLACING_DRERZ = ' ' "
* REPLACING_PVA = ' ' "
TO_DATE = "
TABLES
ALL_VAS = "
REPL_SUBSCRIPTIONS = "
EXCEPTIONS
INTERNAL_ERROR = 1 INTERVALL_ERROR = 2
IMPORTING Parameters details for ISP_REPLACING_VAS_GET_FOR_DISP
BEZTYP_REPL -
Data type: JDTBZUS-BEZTYPOptional: No
Call by Reference: No ( called with pass by value option)
FROM_DATE -
Data type: JDTBZUS-GUEVONOptional: No
Call by Reference: No ( called with pass by value option)
REPLACED_DRERZ -
Data type: JDTBZUS-DRERTROptional: No
Call by Reference: No ( called with pass by value option)
REPLACED_PVA -
Data type: JDTBZUS-PVATRAOptional: No
Call by Reference: No ( called with pass by value option)
REPLACING_DRERZ -
Data type: JDTBZUS-DRERMTDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
REPLACING_PVA -
Data type: JDTBZUS-PVAMITDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TO_DATE -
Data type: JDTBZUS-GUEBISOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISP_REPLACING_VAS_GET_FOR_DISP
ALL_VAS -
Data type: JDVVAOptional: No
Call by Reference: No ( called with pass by value option)
REPL_SUBSCRIPTIONS -
Data type: JDTBZUSOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERVALL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISP_REPLACING_VAS_GET_FOR_DISP 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: | ||||
lt_all_vas | TYPE STANDARD TABLE OF JDVVA, " | |||
lv_beztyp_repl | TYPE JDTBZUS-BEZTYP, " | |||
lv_internal_error | TYPE JDTBZUS, " | |||
lv_from_date | TYPE JDTBZUS-GUEVON, " | |||
lv_intervall_error | TYPE JDTBZUS, " | |||
lt_repl_subscriptions | TYPE STANDARD TABLE OF JDTBZUS, " | |||
lv_replaced_drerz | TYPE JDTBZUS-DRERTR, " | |||
lv_replaced_pva | TYPE JDTBZUS-PVATRA, " | |||
lv_replacing_drerz | TYPE JDTBZUS-DRERMT, " ' ' | |||
lv_replacing_pva | TYPE JDTBZUS-PVAMIT, " ' ' | |||
lv_to_date | TYPE JDTBZUS-GUEBIS. " |
  CALL FUNCTION 'ISP_REPLACING_VAS_GET_FOR_DISP' " |
EXPORTING | ||
BEZTYP_REPL | = lv_beztyp_repl | |
FROM_DATE | = lv_from_date | |
REPLACED_DRERZ | = lv_replaced_drerz | |
REPLACED_PVA | = lv_replaced_pva | |
REPLACING_DRERZ | = lv_replacing_drerz | |
REPLACING_PVA | = lv_replacing_pva | |
TO_DATE | = lv_to_date | |
TABLES | ||
ALL_VAS | = lt_all_vas | |
REPL_SUBSCRIPTIONS | = lt_repl_subscriptions | |
EXCEPTIONS | ||
INTERNAL_ERROR = 1 | ||
INTERVALL_ERROR = 2 | ||
. " ISP_REPLACING_VAS_GET_FOR_DISP |
ABAP code using 7.40 inline data declarations to call FM ISP_REPLACING_VAS_GET_FOR_DISP
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 BEZTYP FROM JDTBZUS INTO @DATA(ld_beztyp_repl). | ||||
"SELECT single GUEVON FROM JDTBZUS INTO @DATA(ld_from_date). | ||||
"SELECT single DRERTR FROM JDTBZUS INTO @DATA(ld_replaced_drerz). | ||||
"SELECT single PVATRA FROM JDTBZUS INTO @DATA(ld_replaced_pva). | ||||
"SELECT single DRERMT FROM JDTBZUS INTO @DATA(ld_replacing_drerz). | ||||
DATA(ld_replacing_drerz) | = ' '. | |||
"SELECT single PVAMIT FROM JDTBZUS INTO @DATA(ld_replacing_pva). | ||||
DATA(ld_replacing_pva) | = ' '. | |||
"SELECT single GUEBIS FROM JDTBZUS INTO @DATA(ld_to_date). | ||||
Search for further information about these or an SAP related objects