SAP FT_SLS_UPLOAD_PREPARE_MASSDATA Function Module for NOTRANSL: Ges. Kontrolle: Upload: Aufbereitung der SLS-Daten
FT_SLS_UPLOAD_PREPARE_MASSDATA is a standard ft sls upload prepare massdata SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Ges. Kontrolle: Upload: Aufbereitung der SLS-Daten 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 ft sls upload prepare massdata FM, simply by entering the name FT_SLS_UPLOAD_PREPARE_MASSDATA into the relevant SAP transaction such as SE37 or SE38.
Function Group: VFSM
Program Name: SAPLVFSM
Main Program:
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FT_SLS_UPLOAD_PREPARE_MASSDATA 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 'FT_SLS_UPLOAD_PREPARE_MASSDATA'"NOTRANSL: Ges. Kontrolle: Upload: Aufbereitung der SLS-Daten.
EXPORTING
* I_PROGRAMMNAME = "Predefined Type
* I_LAND_GEGRU = "Country of origin of legal regulations for legal control
IMPORTING
ES_EXIT_CAUSED_BY_USER = "
TABLES
TI_FSLS = "Foreign Trade: Legal Control - SLS - Ref. Structure XFSLS
TI_FSLSN = "Foreign Trade: Legal Control - SLS - Ref. Structure XFSLSN
TI_FSLSA = "Foreign Trade: Legal Control-SLS-Reference Structure XFSLSA
* T_XFSLS = "Foreign Trade: Legal Control - SLS - Ref. Structure XFSLS
* T_XFSLSN = "Foreign Trade: Legal Control - SLS - Ref. Structure XFSLSN
* T_XFSLSA = "Foreign Trade: Legal Control-SLS-Reference Structure XFSLSA
* T_YFSLS = "Foreign Trade: Legal Control - SLS - Ref. Structure XFSLS
* T_YFSLSN = "Foreign Trade: Legal Control - SLS - Ref. Structure XFSLSN
* T_YFSLSA = "Foreign Trade: Legal Control-SLS-Reference Structure XFSLSA
EXCEPTIONS
NO_DATA_SELECTED = 1 NO_NUMBER_GET_NEXT = 2 NO_DATA_SAVED = 3
IMPORTING Parameters details for FT_SLS_UPLOAD_PREPARE_MASSDATA
I_PROGRAMMNAME - Predefined Type
Data type: SY-REPIDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LAND_GEGRU - Country of origin of legal regulations for legal control
Data type: T606G-GGLNDOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FT_SLS_UPLOAD_PREPARE_MASSDATA
ES_EXIT_CAUSED_BY_USER -
Data type: SLIS_EXIT_BY_USEROptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FT_SLS_UPLOAD_PREPARE_MASSDATA
TI_FSLS - Foreign Trade: Legal Control - SLS - Ref. Structure XFSLS
Data type: FSLSVBOptional: No
Call by Reference: No ( called with pass by value option)
TI_FSLSN - Foreign Trade: Legal Control - SLS - Ref. Structure XFSLSN
Data type: FSLSNVBOptional: No
Call by Reference: No ( called with pass by value option)
TI_FSLSA - Foreign Trade: Legal Control-SLS-Reference Structure XFSLSA
Data type: FSLSAVBOptional: No
Call by Reference: No ( called with pass by value option)
T_XFSLS - Foreign Trade: Legal Control - SLS - Ref. Structure XFSLS
Data type: FSLSVBOptional: Yes
Call by Reference: No ( called with pass by value option)
T_XFSLSN - Foreign Trade: Legal Control - SLS - Ref. Structure XFSLSN
Data type: FSLSNVBOptional: Yes
Call by Reference: No ( called with pass by value option)
T_XFSLSA - Foreign Trade: Legal Control-SLS-Reference Structure XFSLSA
Data type: FSLSAVBOptional: Yes
Call by Reference: No ( called with pass by value option)
T_YFSLS - Foreign Trade: Legal Control - SLS - Ref. Structure XFSLS
Data type: FSLSVBOptional: Yes
Call by Reference: No ( called with pass by value option)
T_YFSLSN - Foreign Trade: Legal Control - SLS - Ref. Structure XFSLSN
Data type: FSLSNVBOptional: Yes
Call by Reference: No ( called with pass by value option)
T_YFSLSA - Foreign Trade: Legal Control-SLS-Reference Structure XFSLSA
Data type: FSLSAVBOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_DATA_SELECTED - No data was selected
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_NUMBER_GET_NEXT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_DATA_SAVED - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FT_SLS_UPLOAD_PREPARE_MASSDATA 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_ti_fsls | TYPE STANDARD TABLE OF FSLSVB, " | |||
| lv_i_programmname | TYPE SY-REPID, " | |||
| lv_no_data_selected | TYPE SY, " | |||
| lv_es_exit_caused_by_user | TYPE SLIS_EXIT_BY_USER, " | |||
| lt_ti_fslsn | TYPE STANDARD TABLE OF FSLSNVB, " | |||
| lv_i_land_gegru | TYPE T606G-GGLND, " | |||
| lv_no_number_get_next | TYPE T606G, " | |||
| lt_ti_fslsa | TYPE STANDARD TABLE OF FSLSAVB, " | |||
| lv_no_data_saved | TYPE FSLSAVB, " | |||
| lt_t_xfsls | TYPE STANDARD TABLE OF FSLSVB, " | |||
| lt_t_xfslsn | TYPE STANDARD TABLE OF FSLSNVB, " | |||
| lt_t_xfslsa | TYPE STANDARD TABLE OF FSLSAVB, " | |||
| lt_t_yfsls | TYPE STANDARD TABLE OF FSLSVB, " | |||
| lt_t_yfslsn | TYPE STANDARD TABLE OF FSLSNVB, " | |||
| lt_t_yfslsa | TYPE STANDARD TABLE OF FSLSAVB. " |
|   CALL FUNCTION 'FT_SLS_UPLOAD_PREPARE_MASSDATA' "NOTRANSL: Ges. Kontrolle: Upload: Aufbereitung der SLS-Daten |
| EXPORTING | ||
| I_PROGRAMMNAME | = lv_i_programmname | |
| I_LAND_GEGRU | = lv_i_land_gegru | |
| IMPORTING | ||
| ES_EXIT_CAUSED_BY_USER | = lv_es_exit_caused_by_user | |
| TABLES | ||
| TI_FSLS | = lt_ti_fsls | |
| TI_FSLSN | = lt_ti_fslsn | |
| TI_FSLSA | = lt_ti_fslsa | |
| T_XFSLS | = lt_t_xfsls | |
| T_XFSLSN | = lt_t_xfslsn | |
| T_XFSLSA | = lt_t_xfslsa | |
| T_YFSLS | = lt_t_yfsls | |
| T_YFSLSN | = lt_t_yfslsn | |
| T_YFSLSA | = lt_t_yfslsa | |
| EXCEPTIONS | ||
| NO_DATA_SELECTED = 1 | ||
| NO_NUMBER_GET_NEXT = 2 | ||
| NO_DATA_SAVED = 3 | ||
| . " FT_SLS_UPLOAD_PREPARE_MASSDATA | ||
ABAP code using 7.40 inline data declarations to call FM FT_SLS_UPLOAD_PREPARE_MASSDATA
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 REPID FROM SY INTO @DATA(ld_i_programmname). | ||||
| "SELECT single GGLND FROM T606G INTO @DATA(ld_i_land_gegru). | ||||
Search for further information about these or an SAP related objects