SAP Reports / Programs

J_1BLFDI SAP ABAP Report - DIRF







J_1BLFDI is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report creates the DIRF files which are required by Brazilian fiscal authorities to report IRRF for natural persons and companies...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 J_1BLFDI 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

J1B_LFDI - DIRF


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 J_1BLFDI. "Basic submit
SUBMIT J_1BLFDI AND RETURN. "Return to original report after report execution complete
SUBMIT J_1BLFDI 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: APPLSERV = Application Server
Selection Text: COMP_AM = Maximum Sales w/o WH Tax
Selection Text: CUR_YEAR = Current Year
Selection Text: C_CPF = Representative's CPF No.
Selection Text: DATEVNT = Date of Event
Selection Text: DIRF_NO = DIRF Number
Selection Text: FILECRE = Create File
Selection Text: FNAME = File Name
Selection Text: FNAMEAPS = File name (application server)
Selection Text: FNAMEPRS = File Name (Presentation Server
Selection Text: LAYOUT = Layout ID
Selection Text: OSTEN = Ostensive Partner
Selection Text: PCOMPANY = Company
Selection Text: PRESSERV = Presentation Server (Local)
Selection Text: PRE_YEAR = Previous Year
Selection Text: PRINT = Certificate Printout
Selection Text: PSEI1 = Original
Selection Text: PSEI2 = Replacement
Selection Text: PVENDORS = Vendor
Selection Text: PWITHT = Withholding Tax Type
Selection Text: PYEAR = Year
Selection Text: P_ABROAD = Income re. Inh./ Abroad
Selection Text: P_CUP = World Cup Payment Request
Selection Text: P_INSSTP = INSS Withholding Tax Type
Selection Text: P_PUBLIC = Publicly Owned Company
Selection Text: P_SPECLS = Special Situation
Selection Text: R_CPF = CPF
Selection Text: R_EMAIL = E-Mail
Selection Text: R_EXT = Extension
Selection Text: R_FAX = Fax Number
Selection Text: R_NAME = Name
Selection Text: R_PHONE = Telephone Number
Selection Text: SNUMBER = Starting No. for Certificate
Selection Text: TESTRUN = Test Run (Screen Display Only)
Title: DIRF
Text Symbol: EXT = Extn
Text Symbol: 507 = Tel. No.
Text Symbol: 100 = Year Doc No. LI Vendor Ty. Co Tax Base Tax Amount





Text Symbol: 101 = CNPJ Number
Text Symbol: 102 = File Name
Text Symbol: 103 = Declaring Year
Text Symbol: 104 = Sei Code
Text Symbol: 105 = DIRF
Text Symbol: 200 = Output
Text Symbol: 201 = Selection Criteria
Text Symbol: 202 = Additional Selection Criteria
Text Symbol: 203 = File Type
Text Symbol: 204 = Certificate Print Control
Text Symbol: 205 = Control Parameters
Text Symbol: 206 = Data
Text Symbol: 207 = Main Data
Text Symbol: 208 = Accountant Data
Text Symbol: 209 = Outgoing
Text Symbol: 210 = Person Responsible
Text Symbol: 211 = Other File Data
Text Symbol: 300 = Seq. No. 1 CNPJ Dat YY M
Text Symbol: 301 = 2 CNPJ Code T CNPJ/CPF Vendor
Text Symbol: 302 = 3 CNPJ Code Records
Text Symbol: 303 = Month Tax base Deduction Tax Amount
Text Symbol: 310 = Documents Automatically Assigned to Main Business Place
Text Symbol: 311 = DocNo
Text Symbol: 320 = Certificate Printout
Text Symbol: 321 = CoCd BPlace Vendor
Text Symbol: 400 = *** Error: Form could not be opened
Text Symbol: 401 = Error occurred while opening form (&1,&2)
Text Symbol: 402 = *** Error: A form could not be determined
Text Symbol: 404 = Certificate Printed
Text Symbol: 500 = Current Year
Text Symbol: 501 = Prev. Year
Text Symbol: 502 = Repres. cpf
Text Symbol: 503 = Layout
Text Symbol: 504 = Event Date
Text Symbol: 505 = Name
Text Symbol: 506 = CPF


INCLUDES used within this REPORT J_1BLFDI

INCLUDE J_1BLFDI_DATA.
INCLUDE J_1BLFDI_SCR. "1803933
INCLUDE J_1BLFDI_MP135.





INCLUDE J_1BLFDI_STANDART.
INCLUDE J_1BLFDI_OUTPUT.
INCLUDE J_1BLFDI_INPUT.
INCLUDE J_1BLFDI_MAINLOOP.


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:

No SAP FUNCTION MODULES are executed within this report code!



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