SAP RV_FTT_GOV_MEMORY_HANDLING Function Module for NOTRANSL: Außenhandel: Meldungen an Behörden: Key für Datenexport ins Memo
RV_FTT_GOV_MEMORY_HANDLING is a standard rv ftt gov memory handling 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: Außenhandel: Meldungen an Behörden: Key für Datenexport ins Memo 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 rv ftt gov memory handling FM, simply by entering the name RV_FTT_GOV_MEMORY_HANDLING into the relevant SAP transaction such as SE37 or SE38.
Function Group: V50G
Program Name: SAPLV50G
Main Program: SAPLV50G
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RV_FTT_GOV_MEMORY_HANDLING 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 'RV_FTT_GOV_MEMORY_HANDLING'"NOTRANSL: Außenhandel: Meldungen an Behörden: Key für Datenexport ins Memo.
EXPORTING
MODE = "
* PROGRAM = "
TABLES
* INCOMPLETION_DATA_HEADER = "
* TABLE_DATA = "
* OUTPUT_TAB = "
* OUTPUT_DETAIL_TAB = "
* ACCUMULATION_FIELDS = "
* SUM_LINE = "
* MEDIUM = "
* RECORD_LOG = "
* PAR_MTYP_TAB = "
* SOURCE_FILE = "
* DESTINATION_FILE = "
* INCOMPLETION_DATA_ITEM = "
* DESTINATION_FILE_USA = "
* CALLING_PROGRAM_SEL = "
* SPOOL_ID = "
* SEGMENT_DATA = "
* NON_REPORTED_TAB = "
* SELECTION_LOG = "
* SELECTION_TABLE_1 = "Selection Parameters
* SELECTION_TABLE_2 = "
* SELECTION_LOG_OPEN = "Open business events
* NO_LOG = "
* ALV_VARIANT_1 = "
* ALV_VARIANT_2 = "
EXCEPTIONS
ILLEGAL_MODE = 1 EXPORT_FAILED = 2 IMPORT_FAILED = 3
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_SAPLV50G_001 Periodic declarations: User exit data selection: Selection
EXIT_SAPLV50G_002 Periodic declarations: User exit data selection: DB update
IMPORTING Parameters details for RV_FTT_GOV_MEMORY_HANDLING
MODE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PROGRAM -
Data type: SY-CPROGOptional: Yes
Call by Reference: Yes
TABLES Parameters details for RV_FTT_GOV_MEMORY_HANDLING
INCOMPLETION_DATA_HEADER -
Data type: V50G_INCOMPLETION_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLE_DATA -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
OUTPUT_TAB -
Data type: V50G_OUTPUT_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
OUTPUT_DETAIL_TAB -
Data type: V50G_OUTPUT_DETAIL_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
ACCUMULATION_FIELDS -
Data type: V50G_ACCUMULATION_CRITERIAOptional: Yes
Call by Reference: No ( called with pass by value option)
SUM_LINE -
Data type: V50G_SUM_LINE_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
MEDIUM -
Data type: V50G_MEDIUM_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
RECORD_LOG -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
PAR_MTYP_TAB -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
SOURCE_FILE -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
DESTINATION_FILE -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
INCOMPLETION_DATA_ITEM -
Data type: V50G_INCOMPLETION_DATAOptional: Yes
Call by Reference: No ( called with pass by value option)
DESTINATION_FILE_USA -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
CALLING_PROGRAM_SEL -
Data type:Optional: Yes
Call by Reference: Yes
SPOOL_ID -
Data type:Optional: Yes
Call by Reference: Yes
SEGMENT_DATA -
Data type: V50G_SEGMENT_DATAOptional: Yes
Call by Reference: Yes
NON_REPORTED_TAB -
Data type: V50G_NON_REPORTED_DATAOptional: Yes
Call by Reference: Yes
SELECTION_LOG -
Data type: V50G_SELECTION_LOGOptional: Yes
Call by Reference: No ( called with pass by value option)
SELECTION_TABLE_1 - Selection Parameters
Data type: RSPARAMSOptional: Yes
Call by Reference: No ( called with pass by value option)
SELECTION_TABLE_2 -
Data type: RSPARAMSOptional: Yes
Call by Reference: No ( called with pass by value option)
SELECTION_LOG_OPEN - Open business events
Data type: V50G_SELECTION_LOG_OPENOptional: Yes
Call by Reference: No ( called with pass by value option)
NO_LOG -
Data type: V50G_NO_LOGOptional: Yes
Call by Reference: No ( called with pass by value option)
ALV_VARIANT_1 -
Data type: DISVARIANTOptional: Yes
Call by Reference: No ( called with pass by value option)
ALV_VARIANT_2 -
Data type: DISVARIANTOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ILLEGAL_MODE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXPORT_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
IMPORT_FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RV_FTT_GOV_MEMORY_HANDLING 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_mode | TYPE STRING, " | |||
| lv_illegal_mode | TYPE STRING, " | |||
| lt_incompletion_data_header | TYPE STANDARD TABLE OF V50G_INCOMPLETION_DATA, " | |||
| lt_table_data | TYPE STANDARD TABLE OF V50G_INCOMPLETION_DATA, " | |||
| lt_output_tab | TYPE STANDARD TABLE OF V50G_OUTPUT_TAB, " | |||
| lt_output_detail_tab | TYPE STANDARD TABLE OF V50G_OUTPUT_DETAIL_TAB, " | |||
| lt_accumulation_fields | TYPE STANDARD TABLE OF V50G_ACCUMULATION_CRITERIA, " | |||
| lt_sum_line | TYPE STANDARD TABLE OF V50G_SUM_LINE_TAB, " | |||
| lt_medium | TYPE STANDARD TABLE OF V50G_MEDIUM_TAB, " | |||
| lt_record_log | TYPE STANDARD TABLE OF V50G_MEDIUM_TAB, " | |||
| lt_par_mtyp_tab | TYPE STANDARD TABLE OF V50G_MEDIUM_TAB, " | |||
| lt_source_file | TYPE STANDARD TABLE OF V50G_MEDIUM_TAB, " | |||
| lt_destination_file | TYPE STANDARD TABLE OF V50G_MEDIUM_TAB, " | |||
| lv_program | TYPE SY-CPROG, " | |||
| lv_export_failed | TYPE SY, " | |||
| lt_incompletion_data_item | TYPE STANDARD TABLE OF V50G_INCOMPLETION_DATA, " | |||
| lt_destination_file_usa | TYPE STANDARD TABLE OF V50G_INCOMPLETION_DATA, " | |||
| lt_calling_program_sel | TYPE STANDARD TABLE OF V50G_INCOMPLETION_DATA, " | |||
| lt_spool_id | TYPE STANDARD TABLE OF V50G_INCOMPLETION_DATA, " | |||
| lt_segment_data | TYPE STANDARD TABLE OF V50G_SEGMENT_DATA, " | |||
| lt_non_reported_tab | TYPE STANDARD TABLE OF V50G_NON_REPORTED_DATA, " | |||
| lv_import_failed | TYPE V50G_NON_REPORTED_DATA, " | |||
| lt_selection_log | TYPE STANDARD TABLE OF V50G_SELECTION_LOG, " | |||
| lt_selection_table_1 | TYPE STANDARD TABLE OF RSPARAMS, " | |||
| lt_selection_table_2 | TYPE STANDARD TABLE OF RSPARAMS, " | |||
| lt_selection_log_open | TYPE STANDARD TABLE OF V50G_SELECTION_LOG_OPEN, " | |||
| lt_no_log | TYPE STANDARD TABLE OF V50G_NO_LOG, " | |||
| lt_alv_variant_1 | TYPE STANDARD TABLE OF DISVARIANT, " | |||
| lt_alv_variant_2 | TYPE STANDARD TABLE OF DISVARIANT. " |
|   CALL FUNCTION 'RV_FTT_GOV_MEMORY_HANDLING' "NOTRANSL: Außenhandel: Meldungen an Behörden: Key für Datenexport ins Memo |
| EXPORTING | ||
| MODE | = lv_mode | |
| PROGRAM | = lv_program | |
| TABLES | ||
| INCOMPLETION_DATA_HEADER | = lt_incompletion_data_header | |
| TABLE_DATA | = lt_table_data | |
| OUTPUT_TAB | = lt_output_tab | |
| OUTPUT_DETAIL_TAB | = lt_output_detail_tab | |
| ACCUMULATION_FIELDS | = lt_accumulation_fields | |
| SUM_LINE | = lt_sum_line | |
| MEDIUM | = lt_medium | |
| RECORD_LOG | = lt_record_log | |
| PAR_MTYP_TAB | = lt_par_mtyp_tab | |
| SOURCE_FILE | = lt_source_file | |
| DESTINATION_FILE | = lt_destination_file | |
| INCOMPLETION_DATA_ITEM | = lt_incompletion_data_item | |
| DESTINATION_FILE_USA | = lt_destination_file_usa | |
| CALLING_PROGRAM_SEL | = lt_calling_program_sel | |
| SPOOL_ID | = lt_spool_id | |
| SEGMENT_DATA | = lt_segment_data | |
| NON_REPORTED_TAB | = lt_non_reported_tab | |
| SELECTION_LOG | = lt_selection_log | |
| SELECTION_TABLE_1 | = lt_selection_table_1 | |
| SELECTION_TABLE_2 | = lt_selection_table_2 | |
| SELECTION_LOG_OPEN | = lt_selection_log_open | |
| NO_LOG | = lt_no_log | |
| ALV_VARIANT_1 | = lt_alt_variant_1 | |
| ALV_VARIANT_2 | = lt_alt_variant_2 | |
| EXCEPTIONS | ||
| ILLEGAL_MODE = 1 | ||
| EXPORT_FAILED = 2 | ||
| IMPORT_FAILED = 3 | ||
| . " RV_FTT_GOV_MEMORY_HANDLING | ||
ABAP code using 7.40 inline data declarations to call FM RV_FTT_GOV_MEMORY_HANDLING
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 CPROG FROM SY INTO @DATA(ld_program). | ||||
Search for further information about these or an SAP related objects