SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_1BLFA1_OLD SAP ABAP Report - File as Per Law ICMS 131/97







J_1BLFA1_OLD is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter J_1BLFA1_OLD 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 J_1BLFA1_OLD. "Basic submit
SUBMIT J_1BLFA1_OLD AND RETURN. "Return to original report after report execution complete
SUBMIT J_1BLFA1_OLD 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: TOTADJ = Total Adjustment File
Selection Text: TESTRUN = Test Run
Selection Text: REGIONS = Regions of Destination/Origin
Selection Text: PRESSERV = Presentation Server (Local)
Selection Text: NORMAL = Normal File
Selection Text: INTST = Interstate - Sub. Trib. Only
Selection Text: INTER = Interstate - w/wo Sub. Trib.
Selection Text: IDENT = Identification Code
Selection Text: FILE_P = File Name (Present'n Server)
Selection Text: FILE_A = File Name (Application Server)
Selection Text: CONTACT = Contact Person
Selection Text: CFOPS = CFOP
Selection Text: ASSETS = Exclude Assets/Consumption
Selection Text: APPLSERV = Application Server
Selection Text: ALLOP = All Transactions
Title: File as Per Law ICMS 131/97
Text Symbol: 506 = In order to generate a file, rerun the program without selecting "Test run"
Text Symbol: 505 = You have only executed a test run (displayed on the screen only). No file has been generated.
Text Symbol: 500 = The file has been downloaded to
Text Symbol: 403 = Total
Text Symbol: 402 = Number of Records
Text Symbol: 401 = Record Type
Text Symbol: 400 = Number of Records per Record Type
Text Symbol: 390 = Error List
Text Symbol: 202 = Total Number of Records
Text Symbol: 201 = Number of Records
Text Symbol: 200 = Record
Text Symbol: 105 = Reasons
Text Symbol: 104 = Contents
Text Symbol: 103 = Administration Data
Text Symbol: 102 = Regions and CFOPs
Text Symbol: 101 = Output Control
Text Symbol: 507 = and in "File name," enter the path, directory, and name of the file.


INCLUDES used within this REPORT J_1BLFA1_OLD

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:

J_1BREAD_BRANCH_DATA * CALL FUNCTION 'J_1BREAD_BRANCH_DATA' * EXPORTING * branch = j5_brnch "branch code * bukrs = j5_bukrs "company code * IMPORTING * address1 = address * branch_data = branch_data * cgc_number = cgc_number * EXCEPTIONS * OTHERS = 04.

MESSAGES_INITIALIZE * CALL FUNCTION 'MESSAGES_INITIALIZE'.

J_1B_NF_PARTNER_READ * CALL FUNCTION 'J_1B_NF_PARTNER_READ' * EXPORTING * partner_type = j_1bnfdoc-partyp * partner_id = j_1bnfdoc-parid * partner_function = j_1bnfdoc-parvw * doc_number = j_1bnfdoc-docnum * IMPORTING * parnad = parnad * EXCEPTIONS * OTHERS = 04.

MESSAGE_STORE * CALL FUNCTION 'MESSAGE_STORE' * EXPORTING * arbgb = '8B' * msgty = 'E' * msgv1 = j_1bnflin-reftyp * msgv2 = j_1bnflin-refkey * msgv3 = j_1bnfdoc-nfnum * msgv4 = j_1bnfstx-taxtyp * txtnr = '456'.

MESSAGE_STORE ** CALL FUNCTION 'MESSAGE_STORE' ** EXPORTING ** ARBGB = '8B' ** MSGTY = 'E' ** MSGV1 = J_1BNFLIN-REFTYP ** MSGV2 = J_1BNFLIN-REFKEY ** MSGV3 = J_1BNFDOC-MODEL ** MSGV4 = INTJ_1BAJ-TAXGRP ** TXTNR = '457'.

MESSAGES_GIVE * CALL FUNCTION 'MESSAGES_GIVE' * TABLES * t_mesg = t_mesg * EXCEPTIONS * OTHERS = 1.

MESSAGES_SHOW * CALL FUNCTION 'MESSAGES_SHOW' * EXPORTING * corrections_option = ' ' * corrections_func_text = ' ' * object = text-390 * EXCEPTIONS * no_messages = 2.

ARCHIVFILE_SERVER_TO_CLIENT * CALL FUNCTION 'ARCHIVFILE_SERVER_TO_CLIENT' * EXPORTING * path = file_a * targetpath = file_p * EXCEPTIONS * error_file = 1 * OTHERS = 2.

DD_GET_DD03P * CALL FUNCTION 'DD_GET_DD03P' * EXPORTING * langu = sy-langu * tabname = table * noincl = 'X' * defstatus = 'A' * status = 'A' * TABLES * dd03p_tab = dd03p_tab.

J_1B_NF_PARTNER_READ * CALL FUNCTION 'J_1B_NF_PARTNER_READ' * EXPORTING * partner_type = *j_1bnfdoc-partyp * partner_id = *j_1bnfdoc-parid * doc_number = *j_1bnfdoc-docnum * partner_function = *j_1bnfdoc-parvw * IMPORTING * parnad = wa_parnad * EXCEPTIONS * OTHERS = 04.



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