RFAWVZ58 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Schedule Z 5A, of the German foreign trade regulations stipulates that receivables and payables in respect of non-resident companies, (divided between associated and non-associated non-resident companies) are to be reported on this form to the respective state central bank, for forwarding to the German Central Bank...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 RFAWVZ58 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: ABKONT = Reconciliation account
Selection Text: ABSCHL = Down payment posting key
Selection Text: BELEGART = Document type
Selection Text: BELEGNUM = Document number
Selection Text: BU-DATUM = Posting date
Selection Text: BUKREIS = Company code
Selection Text: DEBITOR = Customer section
Selection Text: DKONTO = Customer account
Selection Text: DS_OUT = File name
Selection Text: KKONTO = Vendor account
Selection Text: KREDITOR = Vendor section
Selection Text: LAND = Country
Selection Text: P500 = Exemption limit in thous. DEM
Selection Text: PA_EP = Line item list
Selection Text: P_ZBUKR = Reporting company code
Selection Text: STICHTAG = Key date
Selection Text: UMSATZKZ = Special G/L indicator
Title: German Foreign Trade Regulations Report Z5a
Text Symbol: 355 = Monthly report for:
Text Symbol: 356 = I 3 I I &MELDNR I I P I Name or co.of entity required to report
Text Symbol: 357 = ----- ---------------- ----- &NAME
Text Symbol: 358 = ----- ---------------- -----
Text Symbol: 400 = Total
Text Symbol: 401 = Of which
Text Symbol: 402 = in German Marks
Text Symbol: 403 = in for.currency
Text Symbol: 450 = No reporting necessary; neither total receivables nor total payables
Text Symbol: 451 = exceed 500,000 DEM in the company code:
Text Symbol: 500 = Dataset could not be opened: Program termination
Text Symbol: 501 = Dataset name:
Text Symbol: 502 = No records were written to the data medium
Text Symbol: 505 = Reporting item without country key in company code
Text Symbol: 506 = Country: &LAND1 item: &POSITION amount: &BETRAG
Text Symbol: 600 = Technical settings
Text Symbol: 601 = Further selections
Text Symbol: 602 = Output control
Text Symbol: 603 = Posting params
Text Symbol: 604 = Test run
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = 'AWV' parameter_3 = stichtag CHANGING physical_filename = ds_out EXCEPTIONS OTHERS = 1.
BUKRS_AUTHORITY_CHECK CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' EXPORTING XDATABASE = 'B' TABLES XBUKREIS = BUKREIS.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING * entry_kind_of_addr = space ADDRESS_SELECTION = I_ADDR1_SEL "USR0340A IMPORTING "USR0340A SADR = SADR "USR0340A EXCEPTIONS "USR0340A ADDRESS_NOT_EXIST = 1 "USR0340A OTHERS = 1. "USR0340A
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_filename parameter_1 = sy-repid parameter_2 = 'AWV' parameter_3 = stichtag CHANGING physical_filename = ds_out EXCEPTIONS OTHERS = 1.
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 RFAWVZ58 or its description.