SAP SAPSCRIPT_DELETE_LOAD Function Module for
SAPSCRIPT_DELETE_LOAD is a standard sapscript delete load 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 sapscript delete load FM, simply by entering the name SAPSCRIPT_DELETE_LOAD into the relevant SAP transaction such as SE37 or SE38.
Function Group: STXG
Program Name: SAPLSTXG
Main Program: SAPLSTXG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SAPSCRIPT_DELETE_LOAD 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 'SAPSCRIPT_DELETE_LOAD'".
EXPORTING
* ALL = ' ' "
* WRITE = ' ' "
* CLIENT = SY-MANDT "
* CODEPAGE = 0 "
* DELETE = 'X' "
* FAMILY = ' ' "
* FORM = ' ' "
* HEIGHT = 0 "
* PRINTER = ' ' "
* STYLE = ' ' "
IMPORTING Parameters details for SAPSCRIPT_DELETE_LOAD
ALL -
Data type: SY-INPUTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WRITE -
Data type: SY-INPUTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CLIENT -
Data type: SY-MANDTDefault: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)
CODEPAGE -
Data type: TCP00-CPCODEPAGEOptional: Yes
Call by Reference: No ( called with pass by value option)
DELETE -
Data type: SY-INPUTDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FAMILY -
Data type: TFO01-TDFAMILYDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
FORM -
Data type: ITCTA-TDFORMDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
HEIGHT -
Data type: TFO03-TDFONTSIZEOptional: Yes
Call by Reference: No ( called with pass by value option)
PRINTER -
Data type: ITCDA-TDPRINTERDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
STYLE -
Data type: ITCDA-TDSTYLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SAPSCRIPT_DELETE_LOAD 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_all | TYPE SY-INPUT, " SPACE | |||
| lv_write | TYPE SY-INPUT, " SPACE | |||
| lv_client | TYPE SY-MANDT, " SY-MANDT | |||
| lv_codepage | TYPE TCP00-CPCODEPAGE, " 0 | |||
| lv_delete | TYPE SY-INPUT, " 'X' | |||
| lv_family | TYPE TFO01-TDFAMILY, " SPACE | |||
| lv_form | TYPE ITCTA-TDFORM, " SPACE | |||
| lv_height | TYPE TFO03-TDFONTSIZE, " 0 | |||
| lv_printer | TYPE ITCDA-TDPRINTER, " SPACE | |||
| lv_style | TYPE ITCDA-TDSTYLE. " SPACE |
|   CALL FUNCTION 'SAPSCRIPT_DELETE_LOAD' " |
| EXPORTING | ||
| ALL | = lv_all | |
| WRITE | = lv_write | |
| CLIENT | = lv_client | |
| CODEPAGE | = lv_codepage | |
| DELETE | = lv_delete | |
| FAMILY | = lv_family | |
| FORM | = lv_form | |
| HEIGHT | = lv_height | |
| PRINTER | = lv_printer | |
| STYLE | = lv_style | |
| . " SAPSCRIPT_DELETE_LOAD | ||
ABAP code using 7.40 inline data declarations to call FM SAPSCRIPT_DELETE_LOAD
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 INPUT FROM SY INTO @DATA(ld_all). | ||||
| DATA(ld_all) | = ' '. | |||
| "SELECT single INPUT FROM SY INTO @DATA(ld_write). | ||||
| DATA(ld_write) | = ' '. | |||
| "SELECT single MANDT FROM SY INTO @DATA(ld_client). | ||||
| DATA(ld_client) | = SY-MANDT. | |||
| "SELECT single CPCODEPAGE FROM TCP00 INTO @DATA(ld_codepage). | ||||
| "SELECT single INPUT FROM SY INTO @DATA(ld_delete). | ||||
| DATA(ld_delete) | = 'X'. | |||
| "SELECT single TDFAMILY FROM TFO01 INTO @DATA(ld_family). | ||||
| DATA(ld_family) | = ' '. | |||
| "SELECT single TDFORM FROM ITCTA INTO @DATA(ld_form). | ||||
| DATA(ld_form) | = ' '. | |||
| "SELECT single TDFONTSIZE FROM TFO03 INTO @DATA(ld_height). | ||||
| "SELECT single TDPRINTER FROM ITCDA INTO @DATA(ld_printer). | ||||
| DATA(ld_printer) | = ' '. | |||
| "SELECT single TDSTYLE FROM ITCDA INTO @DATA(ld_style). | ||||
| DATA(ld_style) | = ' '. | |||
Search for further information about these or an SAP related objects