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

J_1BLB02 SAP ABAP Report - List of Outgoing Documents







J_1BLB02 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 Brazilian Legal Book 'Registro de Saídas' (Modelo 2)...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_1BLB02 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_LB02 - Modelo 2


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_1BLB02. "Basic submit
SUBMIT J_1BLB02 AND RETURN. "Return to original report after report execution complete
SUBMIT J_1BLB02 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: ZFMANAUS = Z.F. de Manaus (Tax Region)
Selection Text: QUINZENA = Fifteen Days
Selection Text: MES = Month
Selection Text: LEGAL = Legal Format
Selection Text: INCL_SRV = Services with CFOP Code
Selection Text: FIRSTPAG = First Page Number
Selection Text: DECENDIO = Ten Days
Selection Text: BOOKSIZE = Pages Per Book
Selection Text: ACC = List Display
Title: List of Outgoing Documents
Text Symbol: 399 = Base:
Text Symbol: 398 = ICST:
Text Symbol: 396 = Totais ICMS:
Text Symbol: 395 = Subtotal ICMS:
Text Symbol: 393 = 7.00 Saídas e/ou Prestações de Serviços para o Exterior
Text Symbol: 392 = 6.00 Saídas e/ou Prestações de Serviços para Outros Estados
Text Symbol: 391 = 5.00 Saídas e/ou Prestações de Serviços para o Estado
Text Symbol: 390 = Resumo Mensal de Operações e Prestações por Código Fiscal ICMS
Text Symbol: 385 = Total geral
Text Symbol: 382 = mes
Text Symbol: 381 = quinzena
Text Symbol: 380 = decêndio
Text Symbol: 366 = Valor do Imposto por Sub. Tribut.
Text Symbol: 365 = Base de Cálculo
Text Symbol: 364 = Valor Contábil
Text Symbol: 363 = VF
Text Symbol: 362 = Operações realizadas com não contribuintes
Text Symbol: 361 = Operações realizadas com contribuintes
Text Symbol: 360 = Demonstrativo por Estado de Destino da Mercadoria ou da Prestação do Serviço - ICMS
Text Symbol: 350 = Registro de Saídas (Modelo 2) - Errorlist
Text Symbol: 400 = Errorlist
Text Symbol: 401 = BOOK OF ISSUES - BI - MODELO P2
Text Symbol: 402 = Demonstrative per State of Destination of Goods or Services - ICMS
Text Symbol: 403 = Monthly Resume of Operations and Provisions per ICMS Fiscal Code
Text Symbol: 404 = 5.00 Issues and/or Provisions of Services for the Same State
Text Symbol: 405 = 6.00 Issues and/or Provisions of Services for Other States
Text Symbol: 406 = 7.00 Issues and/or Provisions of Services for Abroad
Text Symbol: 407 = Abbreviations in Column 'Observations':





Text Symbol: 408 = Freight ICMS ST Value
Text Symbol: 409 = Freight ICMS ST Calculation Base
Text Symbol: 500 = Abreviações na coluna 'Observações':
Text Symbol: 501 = Valor ICMS Sub. trib. frete
Text Symbol: 502 = Base de cálculo ICMS Sub. trib. frete
Text Symbol: 600 = Information for CIAP
Text Symbol: 601 = Total "Base de Cálculo"
Text Symbol: 602 = Total "Outras"
Text Symbol: 603 = Total "Isentas ou Não Tributadas"
Text Symbol: 604 = CIAP Factor
Text Symbol: 605 = Tax-Free ICMS Amount
Text Symbol: 606 = Total ICMS Amount
Text Symbol: 208 = Folha :
Text Symbol: 205 = CNPJ :
Text Symbol: 204 = Inscr. Est.:
Text Symbol: 202 = Firma :
Text Symbol: 200 = LIVRO REGISTRO DE SAÍDAS - RS - MODELO P2
Text Symbol: 180 = Output Type
Text Symbol: 154 = ST
Text Symbol: 153 = IPI
Text Symbol: 152 = ICMS
Text Symbol: 151 = TOTAL
Text Symbol: 130 = Services
Text Symbol: 120 = Create Tax Subtotals for Each
Text Symbol: 110 = Additional parameters
Text Symbol: 102 = Zona Fr. de Manaus
Text Symbol: 101 = Cancelado
Text Symbol: 100 = Output control
Text Symbol: 090 = Ref. a NF Simp Fat.
Text Symbol: 088 = Ret. de Industrial.
Text Symbol: 087 = Rem. p/Industrial.
Text Symbol: 086 = Ref. a NF Simp Rem.
Text Symbol: 085 = Rem. em Consignação
Text Symbol: 084 = Simples Faturamento de merc. cons. NF
Text Symbol: 082 = Simples Faturamento
Text Symbol: 081 = Complementar a NF
Text Symbol: 080 = Devolução NF
Text Symbol: 341 = Data |N° NF -Serie|N° int. da correção|N° int. da NF orig.|Cancelado?
Text Symbol: 340 = Registro de Saídas (Modelo 2) - Not assignable corrections





Text Symbol: 302 = Total number of pages (all books)
Text Symbol: 301 = Number of books printed
Text Symbol: 300 = Statistics for Registro de Saídas
Text Symbol: 270 = Sem movimento
Text Symbol: 246 = Não Tributadas |Outras |Observações
Text Symbol: 245 = Isentas ou | |
Text Symbol: 244 = ---------------------------------------|
Text Symbol: 243 = Ops. sem Débito do Imposto |
Text Symbol: 242 = ---------------------------------------|
Text Symbol: 241 = |
Text Symbol: 236 = ST |Cálculo |Alíq. |Debitado |
Text Symbol: 235 = IPI |Base de | |Imposto |
Text Symbol: 234 = ICMS|----------------------------------------------|
Text Symbol: 233 = |Operações com Débito do Imposto |
Text Symbol: 232 = ---------------------------------------------------|
Text Symbol: 231 = Valores Fiscais
Text Symbol: 226 = cie|Serie|Numero |Dia|Dest|Contabil |bil|Fiscal |
Text Symbol: 225 = pe |Sub- | | |UF |Valor |ta | |
Text Symbol: 224 = Es |Serie| | | | |Con| |
Text Symbol: 223 = | | | | | | | |
Text Symbol: 222 = ----------------------------| |-----------|
Text Symbol: 221 = Documentos Fiscais | |Codificacao|
Text Symbol: 209 = Mes ou Período/Ano:


INCLUDES used within this REPORT J_1BLB02

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 bukrs = j5_bukrs importing * address = branch_data = branch_data cgc_number = cgc_number address1 = address1 exceptions others = 04.

J_1B_CFOP_GET_VERSION CALL FUNCTION 'J_1B_CFOP_GET_VERSION' EXPORTING LAND1 = address1-country REGION = address1-region date = j5_pdate-low IMPORTING VERSION = cfop_version EXTENSION = ext_len CFOPLENGTH = cfop_length EXCEPTIONS DATE_MISSING = 1 VERSION_NOT_FOUND = 2 OTHERS = 3.

MESSAGES_INITIALIZE call function 'MESSAGES_INITIALIZE'.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' "1478473 EXPORTING "1478473 input = j5_nfeno-low "1478473 IMPORTING "1478473 output = j5_nfeno-low. "1478473

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' "1478473 EXPORTING "1478473 input = j5_nfeno-high "1478473 IMPORTING "1478473 output = j5_nfeno-high. "1478473

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' "1478473 EXPORTING "1478473 input = j5_serie-low "1478473 IMPORTING "1478473 output = j5_serie-low. "1478473

CONVERSION_EXIT_ALPHA_INPUT



CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' "1478473 EXPORTING "1478473 input = j5_serie-high "1478473 IMPORTING "1478473 output = j5_serie-high. "1478473

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' "1478473 EXPORTING "1478473 input = j5_serie-low "1478473 IMPORTING "1478473 output = j5_serie-low. "1478473

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' "1478473 EXPORTING "1478473 input = j5_serie-high "1478473 IMPORTING "1478473 output = j5_serie-high. "1478473

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' "NFE exporting "NFE arbgb = '8B' "NFE msgty = 'E' "NFE msgv1 = j_1bnflin-reftyp "NFE msgv2 = j_1bnflin-refkey "NFE msgv3 = j_1bnfdoc-nfenum "NFE msgv4 = j_1bnfstx-taxtyp "NFE txtnr = '456'. "NFE

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-400 exceptions no_messages = 2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' "1478473 EXPORTING "1478473 input = ls_nfegaps-nfenum "1478473 IMPORTING "1478473 output = key-nfenum. "1478473

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' "1478473 EXPORTING "1478473 input = corr-series "1478473 IMPORTING "1478473 output = corr-series. "1478473

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' "1478473 EXPORTING "1478473 input = formout-series "1478473 IMPORTING "1478473 output = formout-series. "1478473

J_1B_NF_NUMBER_CONDENSE call function 'J_1B_NF_NUMBER_CONDENSE' exporting nf_number = j_1bnfdoc-nfnum series = j_1bnfdoc-series nf_number9 = j_1bnfdoc-nfenum "NFE importing ref_number = ref_number 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 J_1BLB02 or its description.