SAP Reports / Programs | Sales and Distribution | Foreign Trade | Basic Functions(SD-FT-PRO) SAP SD

RVFTPRAN SAP ABAP Report - Foreign Trade Preference: Request / Dun Long-term Vendor Declaration







RVFTPRAN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The preference agreements between the international economic blocs determine which goods from which countries of origin are allowed to be imported to countries with a preferential tariff...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RVFTPRAN into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

LEAN - Request long-term VendDecl. (vendor)


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RVFTPRAN. "Basic submit
SUBMIT RVFTPRAN AND RETURN. "Return to original report after report execution complete
SUBMIT RVFTPRAN VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_ESOK1 = Chargeable
Selection Text: P_ESOK2 = Consignment
Selection Text: P_ESOK3 = Subcontracting
Selection Text: P_ESOKP = Pipeline
Selection Text: P_EULIF = EU vendors only
Selection Text: P_HERKL = Country of departure
Selection Text: P_LAND1 = Plant country
Selection Text: P_MTXT0 = Text container for letters
Selection Text: P_NEWPG = Form per material
Selection Text: P_NOPRE = Do not print preference zones
Selection Text: P_POPUP = Issue without print preview
Selection Text: P_PREIS = Lower price limit
Selection Text: P_PRENG = Print. form valitity date
Selection Text: P_PRNTR = Printer
Selection Text: P_SHOWL = Display list
Selection Text: P_SIMUL = Simulated run
Selection Text: P_SPRAS = Language key
Selection Text: P_STAWN = Commodity code
Selection Text: P_USEPR = Automatic date determination
Selection Text: P_USER = User ID for sender
Selection Text: P_VARIA = List variant
Selection Text: P_ZONES = Comments re preference zones
Selection Text: S_EKGRP = Purchasing group
Selection Text: S_EKORG = Purchasing organization
Selection Text: S_LIFNR = Vendor
Selection Text: S_MATKL = Material group
Selection Text: S_MATNR = Material number
Selection Text: S_MTART = Material type
Selection Text: S_WERKS = Plant
Selection Text: P_ESOK0 = Normal
Selection Text: P_EKVER = Aggregate
Selection Text: P_EINSP = Common language
Selection Text: P_DOKSP = Vendor language
Selection Text: P_BETPR = PO tolerance check active
Selection Text: P_BETOL = PO tolerance days
Title: Foreign Trade Preference: Request / Dun Long-term Vendor Declaration
Text Symbol: 001 = Organizational units
Text Symbol: 002 = Vendor/Material





Text Symbol: 003 = Send requst/reminder
Text Symbol: 004 = TextContainer
Text Symbol: 005 = Document language
Text Symbol: 007 = Processing
Text Symbol: 008 = Common language
Text Symbol: 009 = Language key
Text Symbol: 010 = Check purch.ord.toler.
Text Symbol: 011 = PO tolerance days
Text Symbol: 012 = Texts
Text Symbol: 013 = Options
Text Symbol: 014 = IssueTo
Text Symbol: 015 = Issue list
Text Symbol: 016 = Print
Text Symbol: 017 = Aggregate
Text Symbol: 018 = Retain country of origin
Text Symbol: 019 = Retain commodity code
Text Symbol: 020 = Retain plant country
Text Symbol: 021 = Purch. info recds
Text Symbol: 100 = Form
Text Symbol: 101 = Lang.
Text Symbol: P01 = Default


INCLUDES used within this REPORT RVFTPRAN

INCLUDE RVFTPRANTOP.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

RS_SUBMIT_INFO call function 'RS_SUBMIT_INFO' IMPORTING p_submit_info = rssubinfo.

FT_VEND_DECL_MM call function 'FT_VEND_DECL_MM' exporting i_betpr = p_betpr i_betol = p_betol i_preis = p_preis i_ansch = p_ansch i_mahne = p_mahne i_maxma = p_maxma i_doksp = p_doksp i_einsp = p_einsp i_spras = p_spras i_eulif = p_eulif i_simul = p_simul i_showl = p_showl i_ekver = p_ekver i_nopre = p_nopre i_newpg = p_newpg i_popup = p_popup i_varia = p_varia i_prntr = p_prntr i_esok0 = p_esok0 i_esok1 = p_esok1 i_esok2 = p_esok2 i_esok3 = p_esok3 i_esokp = p_esokp i_herkl = p_herkl i_stawn = p_stawn i_land1 = p_land1 i_user = p_user i_fname = p_fname i_preng = p_preng i_list = p_list i_file = p_file i_word = p_word i_form = p_form i_usepr = p_usepr i_zones = p_zones importing e_prntd = lv_prntd tables r_ekorg = s_ekorg r_werks = s_werks r_ekgrp = s_ekgrp r_lifnr = s_lifnr r_matnr = s_matnr r_mtart = s_mtart r_matkl = s_matkl changing * I_MTXT0 = * I_MTXT1 = * I_MTXT2 = * I_MTXT3 = * I_MTXT4 = * I_MTXT5 = * I_MTXT6 = * I_MTXT7 = * I_MTXT8 = itab_t604l = itab_t604l exceptions no_data_found = 1 data_locked = 2 language_missing = 3 maxma_too_low = 4 maxma_too_high = 5 text_name_missing = 6 text_not_found = 7 new_error = 8 no_kind_of_purchaseinfo_record = 9 others = 10.

REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_disvariant i_save = 'A' IMPORTING es_variant = ls_disvariant EXCEPTIONS not_found = 1 program_error = 2 others = 3.

DYNP_VALUES_READ call function 'DYNP_VALUES_READ' EXPORTING dyname = c_progname2 dynumb = '1001' translate_to_upper = 'X' TABLES dynpfields = itab_fields.

RETRIEVAL_TEXT call function 'RETRIEVAL_TEXT' exporting name = p_mtxt id = 'ST' language = '*' selection_screen = 'X' * TEXTTYPE = '*' importing header = lv_thead exceptions canceled = 1 retrieval_error = 2 invalid_id = 3 invalid_language = 4 others = 5.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RVFTPRAN or its description.