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

J_1BLB03 SAP ABAP Report - Overview of Production and Inventory







J_1BLB03 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 controle da produção e do estoque...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_1BLB03 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_LB03 - Modelo 3


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_1BLB03. "Basic submit
SUBMIT J_1BLB03 AND RETURN. "Return to original report after report execution complete
SUBMIT J_1BLB03 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: P_ACCPRI = D .
Selection Text: MVTYP = D .
Selection Text: MBLNR = D .
Selection Text: REPTITL = Alternative Report Name
Selection Text: REMOVNF = Delete Notas Fiscais
Selection Text: P_MATLED = Parallel Stock Valuation
Selection Text: PAGEBRK = Page Break for Each Material
Selection Text: NF_INCL = Report Notas Fiscais
Selection Text: MONTH = Posting Period
Selection Text: MAT = Material Number
Selection Text: LFGJA = Fiscal Year
Selection Text: INTDOC = Report Internal Matl Documents
Selection Text: FIRSTPAG = First Page
Selection Text: CLEARNF = Delete Nota Fiscal Values
Selection Text: CHECKFI = Valuated Stock
Selection Text: BUKRS = Company Code
Selection Text: BRANCH = Branch
Selection Text: BOOKSIZE = Pages Per Book
Selection Text: ALLNFS = Report All Notas Fiscais
Title: Overview of Production and Inventory
Text Symbol: 635 = MovTypes
Text Symbol: 634 = Movements
Text Symbol: 633 = Company
Text Symbol: 632 = Initial Stock:
Text Symbol: 631 = BOOK OF STOCK AND PRODUCTION CONTROL - BSPC - MODELO P3
Text Symbol: 630 = Error List:
Text Symbol: 629 = Total Issues:
Text Symbol: 628 = Total Receipts:
Text Symbol: 627 = Balance:
Text Symbol: 626 = Movement Types
Text Symbol: 625 = Material
Text Symbol: 624 = Movement List
Text Symbol: 622 = No Movements
Text Symbol: 621 = CONTROLE QUANTITATIVO DA PRODUCAO E DO ESTOQUE
Text Symbol: 620 = LIVRO REGISTRO CONTROLE DA PRODUCAO E DO ESTOQUE - RCPE - MODELO P3
Text Symbol: 616 = 3 - Diversas
Text Symbol: 615 = 2 - Em outro estabelecimento
Text Symbol: 614 = 1 - No proprio estabelecimento





Text Symbol: 613 = (a) Codigo de Entradas e Saidas
Text Symbol: 102 = Output Type
Text Symbol: 111 = Selection Criteria for Movements
Text Symbol: 112 = Selection Criteria for Materials
Text Symbol: 113 = Reporting Period
Text Symbol: 114 = Output Control
Text Symbol: 200 = LIVRO REGISTRO CONTROLE DA PRODUÇÃO E DO ESTOQUE - RCPE - MODELO P3 | (a) Código de Entradas e Saídas
Text Symbol: 201 = |-----------------------------------------
Text Symbol: 202 = CONTROLE QUANTITATIVO DA PRODUCAO E DO ESTOQUE | (a) Codigo de Entradas e Saidas
Text Symbol: 210 = Firma : | 1 - No próprio estabelecimento
Text Symbol: 220 = Inscrição Estadual:
Text Symbol: 230 = CNPJ : | 2 - Em outro estabelecimento
Text Symbol: 240 = Folha :
Text Symbol: 250 = Mes ou Periodo/Ano: | 3 - Diversas
Text Symbol: 260 = Produto:
Text Symbol: 261 = Unidade :
Text Symbol: 262 = Classificação Fiscal:
Text Symbol: 263 = Quantidade inicial: Valor inicial:
Text Symbol: 264 = Quantidade final : Valor final :
Text Symbol: 270 = Documento | Lancamento | Entradas e Saidas | |
Text Symbol: 271 = ---------------------------------------------------------------------------------------------------| |
Text Symbol: 272 = Es |Ser | | | | Codificacao |E|C| | | | |
Text Symbol: 273 = pe |Sub-| Numero | Data |Dia|--------------|/|O| Quantidade | Valor | IPI | Estoque | Observacoes
Text Symbol: 274 = cie|ser | | | |Contab.|Fiscal|S|D| | | | |
Text Symbol: 280 = Description of movement types
Text Symbol: 290 = Estoque inicial:
Text Symbol: 291 = Bal.:
Text Symbol: 292 = Total de entradas:
Text Symbol: 293 = Total de saidas:
Text Symbol: 390 = List of errors:
Text Symbol: 600 = Quantidade inicial:
Text Symbol: 601 = Valor inicial:
Text Symbol: 602 = Quantidade final :
Text Symbol: 603 = Valor final :
Text Symbol: 604 = Classificação Fiscal:
Text Symbol: 605 = Unidade :
Text Symbol: 606 = Produto:
Text Symbol: 610 = Company :
Text Symbol: 611 = CNPJ :





Text Symbol: 612 = Mes ou Periodo/Ano:


INCLUDES used within this REPORT J_1BLB03

INCLUDE J_1BLB03_IN68.


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:

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = lfgja I_PERIV = PERIV I_POPER = poper IMPORTING E_DATE = datum_low EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = lfgja I_PERIV = PERIV I_POPER = poper IMPORTING E_DATE = datum_high EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

J_1BREAD_BRANCH_DATA CALL FUNCTION 'J_1BREAD_BRANCH_DATA' EXPORTING BRANCH = branch BUKRS = 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 = start_date IMPORTING VERSION = cfop_version EXTENSION = ext_len CFOPLENGTH = cfop_length EXCEPTIONS DATE_MISSING = 1 VERSION_NOT_FOUND = 2 OTHERS = 3.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = datum_low i_periv = periv IMPORTING e_buper = buper e_gjahr = gjahr EXCEPTIONS input_false = 1 t009_notfound = 2 t009b_notfound = 3 OTHERS = 4.

J_1B_CHECK_NEW_PERIOD_CLOSING CALL FUNCTION 'J_1B_CHECK_NEW_PERIOD_CLOSING' EXPORTING i_bukrs = bukrs i_lfgja = gjahr i_lfmon = buper+1(2) i_caller = modelo_3 EXCEPTIONS period_not_closed = 1 not_possible = 2 no_marv_for_bukrs = 3 only_mbew = 4 future_period = 5 OTHERS = 6.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = '8B' msgty = 'E' msgv1 = it_mdata-matnr msgv2 = it_mdata-werks txtnr = '472'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = '8B' msgty = 'E' msgv1 = marc-steuc msgv2 = sy-langu txtnr = '471'.

J_1B_READ_MBEW_MBEWH

J_1B_READ_MBEW_MBEWH_NEW * CALL FUNCTION 'J_1B_READ_MBEW_MBEWH' " begin note 862318 * EXPORTING * i_mbew = mbew * IMPORTING * e_mbew = mbew CALL FUNCTION 'J_1B_READ_MBEW_MBEWH_NEW' EXPORTING i_mbew = mbew i_b_svs = 'X' " display_line-b_svs IMPORTING e_mbew = mbew e_eqbew = eqbewsave " end note 862318 EXCEPTIONS no_selection = 1 OTHERS = 2.

MESSAGE_STORE * CALL FUNCTION 'MESSAGE_STORE' * EXPORTING * arbgb = '8B' * msgty = 'E' * msgv1 = it_mdata-matnr * msgv2 = check_acc_estoque * msgv3 = oldinfo-lbkum * txtnr = '498'.

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.

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING input = j_1bnflin-menge kzmeinh = 'X' matnr = j_1bnflin-matnr meinh = j_1bnflin-meins meins = msegmeins IMPORTING output = msegmenge EXCEPTIONS conversion_not_found = 1 input_invalid = 2 material_not_found = 3 meinh_not_found = 4 meins_missing = 5 no_meinh = 6 output_invalid = 7 overflow = 8 OTHERS = 9.

J_1B_NF_VALUE_DETERMINATION CALL FUNCTION 'J_1B_NF_VALUE_DETERMINATION' EXPORTING nf_header = j_1bnfdoc IMPORTING ext_header = wk_indoc TABLES nf_item = wk_lin nf_item_tax = wk_stx ext_item = wk_inlin EXCEPTIONS OTHERS = 1.

MATERIAL_UNIT_CONVERSION CALL FUNCTION 'MATERIAL_UNIT_CONVERSION' EXPORTING input = j_1bnflin-menge kzmeinh = 'X' matnr = j_1bnflin-matnr meinh = j_1bnflin-meins meins = msegmeins IMPORTING output = msegmenge EXCEPTIONS conversion_not_found = 1 input_invalid = 2 material_not_found = 3 meinh_not_found = 4 meins_missing = 5 no_meinh = 6 output_invalid = 7 overflow = 8 OTHERS = 9.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = '8B' msgty = 'E' msgv1 = it_mdata-matnr msgv2 = check_acc_estoque msgv3 = oldinfo-lbkum txtnr = '498'.




J_1B_READ_MBEW_MBEWH_NEW CALL FUNCTION 'J_1B_READ_MBEW_MBEWH_NEW' "1487825 EXPORTING "1487825 i_mbew = mbew "1487825 i_b_svs = display_line-b_svs "1487825 IMPORTING "1487825 e_mbew = mbew "1487825 e_eqbew = eqbewsave "1487825 EXCEPTIONS "1487825 no_selection = 1 "1487825 OTHERS = 2. "1487825

J_1B_READ_MSKU_MSKUH_OF_MBEW CALL FUNCTION 'J_1B_READ_MSKU_MSKUH_OF_MBEW' "1487825 EXPORTING "1487825 i_mbew = mbew "1487825 IMPORTING "1487825 e_mbew = mskusave. "1487825

J_1B_READ_MSLB_MSLBH_OF_MBEW CALL FUNCTION 'J_1B_READ_MSLB_MSLBH_OF_MBEW' "1487825 EXPORTING "1487825 i_mbew = mbew "1487825 IMPORTING "1487825 e_mbew = mslbsave. "1487825

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' "1678335 EXPORTING id = lc_param_screen "1678335 values = lt_value_screen. "1678335

VRM_DELETE_VALUES CALL FUNCTION 'VRM_DELETE_VALUES' "1678335 EXPORTING id = lc_param_screen. "1678335



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