SAP Reports / Programs

RFAWVZ58 SAP ABAP Report - German Foreign Trade Regulations Report Z5a







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


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 RFAWVZ58. "Basic submit
SUBMIT RFAWVZ58 AND RETURN. "Return to original report after report execution complete
SUBMIT RFAWVZ58 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: 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





Text Symbol: 700 = CoCd Ctry A Acct Af.comp.
Text Symbol: 701 = Doc.no. LIm ......Amount 000 ......Amount 899 Curr. T Remaining life
Text Symbol: 351 = Supplement Z 5a for AWV Continuation sheet no.
Text Symbol: 000 = General selections
Text Symbol: 001 = en
Text Symbol: 002 = Enter the key date
Text Symbol: 003 = CoCd Ctry AT Account no.
Text Symbol: 004 = Accts without country key in m/recrd
Text Symbol: 005 = Select customer or vendor
Text Symbol: 030 = Addit.specs for report not maintained (T001M)
Text Symbol: 031 = CoCd
Text Symbol: 032 = Error reading an A segment:
Text Symbol: 033 = Sg Acct no.
Text Symbol: 034 = Error reading a B segment:
Text Symbol: 035 = Sg CoCd Acct no.
Text Symbol: 040 = OTA doc.without ctry spec.:
Text Symbol: 200 = Date: &DATE Signature ...........................
Text Symbol: 301 = Supplement Z 5a for AWV State: &BLAND
Text Symbol: 302 = Sheet 2 Receivables and payables due from/to non-residents
Text Symbol: 303 = from the movement of goods and services
Text Symbol: 304 = Report acc.to ยง62, par. 1,3 and 5 of AWV
Text Symbol: 305 = In duplicate Monthly report for:
Text Symbol: 306 = To the state central bank Name or company of reporting entity
Text Symbol: 307 = &NAME
Text Symbol: 308 = &GEWERBE
Text Symbol: 310 = &ANSCHRIFT
Text Symbol: 311 = For forwarding to the Acctg clk:
Text Symbol: 312 = DEUTSCHE BUNDESBANK;Ffm &BEARBEITER
Text Symbol: 313 = ----- ---------------- -----
Text Symbol: 314 = I 3 I I &MELDNR I I P I
Text Symbol: 315 = ----- ---------------- -----
Text Symbol: 316 = S121
Text Symbol: 319 = I Receivables I Payables I
Text Symbol: 320 = I Fr.gds/srv.dliv.I I Fr.gds/srv.dliv.I I
Text Symbol: 323 = Debtor/creditor I Period up I Dwn pytI Period up I Dwn pytI
Text Symbol: 325 = ctry of residence I to 1 yrI >1 yr I made I to 1 yrI >1 yearI rec'vd I
Text Symbol: 330 = 1. Receivables/payables re: non-resident consolidation group members and
Text Symbol: 331 = non-residents with whom an investment is held
Text Symbol: 332 = I 31 I 32 I 33 I 34 I 35 I 36 I





Text Symbol: 333 = 2. Receivables/payables due from/to other non-resident non-banks
Text Symbol: 334 = I 41 I 42 I 43 I 44 I 45 I 46 I
Text Symbol: 335 = 1. Receivables/payables due from/to investment/consolidation group members
Text Symbol: 336 = 2. Receivables/payables due from/to other non-resident companies


INCLUDES used within this REPORT RFAWVZ58

No INCLUDES are used within this REPORT code!


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:

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.



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 RFAWVZ58 or its description.