SAP RV_FTT_GOV_LOG_DISPLAY Function Module for NOTRANSL: Außenhandel: Meldungen an Behörden: Ausgabe des Selektionsprotok









RV_FTT_GOV_LOG_DISPLAY is a standard rv ftt gov log display 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: Ausgabe des Selektionsprotok 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 log display FM, simply by entering the name RV_FTT_GOV_LOG_DISPLAY 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_LOG_DISPLAY 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_LOG_DISPLAY'"NOTRANSL: Außenhandel: Meldungen an Behörden: Ausgabe des Selektionsprotok
EXPORTING
REPORTING_TYPE = "
* FILE_NAME = "
* FLAG_DATA_COMPRESSED = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* REPORTING_MONTH = "
* REPORTING_YEAR = "
* COMPANY_CODE = "
* CALL_FROM_ENJOY = ' ' "
COUNTRY = "
MEDIUM = "
* PRINT_FORM = 'PRINT_FORM' "
* REPORT_ID = "
* ADDRESS = "
FLOW_OF_GOODS = "
* VARIANT = "
* FILE_CREATED = "

TABLES
TABLE_DATA = "
COVER_SHEET = "
* SEGMENT_DATA = "
* STATUS_EXCLUSION = "

EXCEPTIONS
INVALID_COUNTRY = 1 INVALID_MEDIUM = 2 WRONG_REPORTING_TYPE = 3 NO_STRUCTURE_RECEIVED = 4
.




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_LOG_DISPLAY

REPORTING_TYPE -

Data type: V50G_I_REPORTING_TYPE
Optional: No
Call by Reference: No ( called with pass by value option)

FILE_NAME -

Data type:
Optional: Yes
Call by Reference: Yes

FLAG_DATA_COMPRESSED - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: Yes
Call by Reference: Yes

REPORTING_MONTH -

Data type: VEIAV-DATUMMONA
Optional: Yes
Call by Reference: Yes

REPORTING_YEAR -

Data type: VEIAV-DATUMJAHR
Optional: Yes
Call by Reference: Yes

COMPANY_CODE -

Data type: VEIAV-NUMMBUKRS
Optional: Yes
Call by Reference: Yes

CALL_FROM_ENJOY -

Data type:
Default: SPACE
Optional: Yes
Call by Reference: Yes

COUNTRY -

Data type: T005-INTCA
Optional: No
Call by Reference: No ( called with pass by value option)

MEDIUM -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

PRINT_FORM -

Data type:
Default: 'PRINT_FORM'
Optional: Yes
Call by Reference: No ( called with pass by value option)

REPORT_ID -

Data type: SY-REPID
Optional: Yes
Call by Reference: No ( called with pass by value option)

ADDRESS -

Data type: ADRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

FLOW_OF_GOODS -

Data type: VEIAV-ARRIVDEPA
Optional: No
Call by Reference: No ( called with pass by value option)

VARIANT -

Data type: DISVARIANT
Optional: Yes
Call by Reference: No ( called with pass by value option)

FILE_CREATED -

Data type: RFPDO1-USVSFILE
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RV_FTT_GOV_LOG_DISPLAY

TABLE_DATA -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

COVER_SHEET -

Data type: V50G_COVER_SHEET
Optional: No
Call by Reference: No ( called with pass by value option)

SEGMENT_DATA -

Data type: V50G_SEGMENT_DATA
Optional: Yes
Call by Reference: No ( called with pass by value option)

STATUS_EXCLUSION -

Data type: V50G_EXTAB
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

INVALID_COUNTRY -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

INVALID_MEDIUM -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

WRONG_REPORTING_TYPE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NO_STRUCTURE_RECEIVED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RV_FTT_GOV_LOG_DISPLAY 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_table_data  TYPE STANDARD TABLE OF STRING, "   
lv_reporting_type  TYPE V50G_I_REPORTING_TYPE, "   
lv_invalid_country  TYPE V50G_I_REPORTING_TYPE, "   
lv_file_name  TYPE V50G_I_REPORTING_TYPE, "   
lv_flag_data_compressed  TYPE V50G_I_REPORTING_TYPE, "   
lv_reporting_month  TYPE VEIAV-DATUMMONA, "   
lv_reporting_year  TYPE VEIAV-DATUMJAHR, "   
lv_company_code  TYPE VEIAV-NUMMBUKRS, "   
lv_call_from_enjoy  TYPE VEIAV, "   SPACE
lv_country  TYPE T005-INTCA, "   
lt_cover_sheet  TYPE STANDARD TABLE OF V50G_COVER_SHEET, "   
lv_invalid_medium  TYPE V50G_COVER_SHEET, "   
lv_medium  TYPE V50G_COVER_SHEET, "   
lt_segment_data  TYPE STANDARD TABLE OF V50G_SEGMENT_DATA, "   
lv_wrong_reporting_type  TYPE V50G_SEGMENT_DATA, "   
lv_print_form  TYPE V50G_SEGMENT_DATA, "   'PRINT_FORM'
lt_status_exclusion  TYPE STANDARD TABLE OF V50G_EXTAB, "   
lv_no_structure_received  TYPE V50G_EXTAB, "   
lv_report_id  TYPE SY-REPID, "   
lv_address  TYPE ADRS, "   
lv_flow_of_goods  TYPE VEIAV-ARRIVDEPA, "   
lv_variant  TYPE DISVARIANT, "   
lv_file_created  TYPE RFPDO1-USVSFILE. "   

  CALL FUNCTION 'RV_FTT_GOV_LOG_DISPLAY'  "NOTRANSL: Außenhandel: Meldungen an Behörden: Ausgabe des Selektionsprotok
    EXPORTING
         REPORTING_TYPE = lv_reporting_type
         FILE_NAME = lv_file_name
         FLAG_DATA_COMPRESSED = lv_flag_data_compressed
         REPORTING_MONTH = lv_reporting_month
         REPORTING_YEAR = lv_reporting_year
         COMPANY_CODE = lv_company_code
         CALL_FROM_ENJOY = lv_call_from_enjoy
         COUNTRY = lv_country
         MEDIUM = lv_medium
         PRINT_FORM = lv_print_form
         REPORT_ID = lv_report_id
         ADDRESS = lv_address
         FLOW_OF_GOODS = lv_flow_of_goods
         VARIANT = lv_variant
         FILE_CREATED = lv_file_created
    TABLES
         TABLE_DATA = lt_table_data
         COVER_SHEET = lt_cover_sheet
         SEGMENT_DATA = lt_segment_data
         STATUS_EXCLUSION = lt_status_exclusion
    EXCEPTIONS
        INVALID_COUNTRY = 1
        INVALID_MEDIUM = 2
        WRONG_REPORTING_TYPE = 3
        NO_STRUCTURE_RECEIVED = 4
. " RV_FTT_GOV_LOG_DISPLAY




ABAP code using 7.40 inline data declarations to call FM RV_FTT_GOV_LOG_DISPLAY

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 DATUMMONA FROM VEIAV INTO @DATA(ld_reporting_month).
 
"SELECT single DATUMJAHR FROM VEIAV INTO @DATA(ld_reporting_year).
 
"SELECT single NUMMBUKRS FROM VEIAV INTO @DATA(ld_company_code).
 
DATA(ld_call_from_enjoy) = ' '.
 
"SELECT single INTCA FROM T005 INTO @DATA(ld_country).
 
 
 
 
 
 
DATA(ld_print_form) = 'PRINT_FORM'.
 
 
 
"SELECT single REPID FROM SY INTO @DATA(ld_report_id).
 
 
"SELECT single ARRIVDEPA FROM VEIAV INTO @DATA(ld_flow_of_goods).
 
 
"SELECT single USVSFILE FROM RFPDO1 INTO @DATA(ld_file_created).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!