SAP Reports / Programs

J_1BLB07_NEW SAP ABAP Report - Physical Inventory Overview - Modelo 7 (Brazil)







J_1BLB07_NEW 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_1BLB07_NEW 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_LB07N - Modelo 7 new


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_1BLB07_NEW. "Basic submit
SUBMIT J_1BLB07_NEW AND RETURN. "Return to original report after report execution complete
SUBMIT J_1BLB07_NEW VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Valuated Inventory of Previous Period
Selection Text: BOOKSIZE = Book Size
Selection Text: FIRSTPAG = First Page
Selection Text: OBSERV = Additional Information
Selection Text: P_ALV = List Display
Selection Text: P_BRANCH = Business Place
Selection Text: P_BUKRS = Company Code
Selection Text: P_CUCON = Consignment Stock at Customer
Selection Text: P_LFGJA = Fiscal Year
Selection Text: P_LFMON = Month
Selection Text: P_MATNR = Material
Selection Text: P_SVS = Specially Valuated Stock
Selection Text: P_VECON = Consignment Stock at Vendor
Selection Text: P_WIP = Work in Process (WIP)
Selection Text: P_WIPD = D .
Selection Text: P_WRITE = Legal Format
Selection Text: SO-BKLAS = Valuation Class
Title: Physical Inventory Overview - Modelo 7 (Brazil)
Text Symbol: 230 = CNPJ :
Text Symbol: 240 = Page :
Text Symbol: 250 = Stock As Of :
Text Symbol: 260 = Observatn
Text Symbol: 300 = Data not found for BP &
Text Symbol: 301 = Prokect and Sales Order Stock:
Text Symbol: 302 = Customer Consignment Stock:
Text Symbol: 303 = Vendor Consignment Stock:
Text Symbol: 304 = Work in Process:
Text Symbol: 390 = Error reading material valuation tables: no selection possible
Text Symbol: 391 = Error reading material valuation tables: general error
Text Symbol: 400 = Error reading table MSLB: no selection possible
Text Symbol: 401 = Error reading table MSLB: conversion error
Text Symbol: 402 = Error reading table MSLB: general error
Text Symbol: 410 = Error reading work-in-process tables: no selection possible
Text Symbol: 411 = Error reading work-in-process tables: conversion error
Text Symbol: 412 = Error reading work-in-process tables: general error
Text Symbol: 413 = Stock
Text Symbol: 414 = Fiscal
Text Symbol: 415 = Description





Text Symbol: 416 = UOM
Text Symbol: 417 = Quantity
Text Symbol: 418 = Unit
Text Symbol: 500 = Observations
Text Symbol: 501 = BOOK OF INVENTORY - BI - Modelo P7
Text Symbol: 220 = State Tax Number:
Text Symbol: 001 = Fiscal Description/Val. Area
Text Symbol: 002 = UoM Quantity Unit Total
Text Symbol: 003 = Valuation Class
Text Symbol: 004 = Sum of Fiscal Classification
Text Symbol: 005 = Total
Text Symbol: 006 = Contd
Text Symbol: 007 = Valuation Area
Text Symbol: 008 = Val. Type
Text Symbol: 009 = Valuation Class Total
Text Symbol: 010 = Total
Text Symbol: 011 = Valuation Area Total
Text Symbol: 012 = Material Val.
Text Symbol: 013 = Page
Text Symbol: 014 = For Val. Area
Text Symbol: 015 = Matl Type
Text Symbol: 016 = No Material Assignment
Text Symbol: 017 = Overview Valuation Classes
Text Symbol: 018 = Values
Text Symbol: 019 = Classificatn
Text Symbol: 020 = Material
Text Symbol: 021 = Business Place
Text Symbol: 022 = Val.
Text Symbol: 030 = NCM Code
Text Symbol: 031 = ValTy.
Text Symbol: 050 = Own Stock
Text Symbol: 051 = Vendor Stock
Text Symbol: 052 = Customer Stock
Text Symbol: 053 = Work in Process
Text Symbol: 060 = Total: Own Stock
Text Symbol: 061 = Total: Vendor Stock
Text Symbol: 062 = Total: Customer Stock
Text Symbol: 063 = Total: Work in Process
Text Symbol: 064 = Total: Business Place





Text Symbol: 102 = Output Type
Text Symbol: 114 = Print Control
Text Symbol: 115 = Period
Text Symbol: 116 = Special Stock
Text Symbol: 117 = Error Log
Text Symbol: 118 = Error Description
Text Symbol: 119 = Valuation period
Text Symbol: 120 = (DD/MM/YYYY)
Text Symbol: 200 = Livro Registro de Inventário - RI - Modelo P7
Text Symbol: 210 = Company :


INCLUDES used within this REPORT J_1BLB07_NEW

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:

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING i_gjahr = p_lfgja i_periv = ld_periv i_poper = ld_period IMPORTING e_date = ld_datum_low 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 = p_bukrs i_lfgja = p_lfgja i_lfmon = p_lfmon i_caller = modelo_7 EXCEPTIONS period_not_closed = 1 not_possible = 2 no_marv_for_bukrs = 3 only_mbew = 4 future_period = 5 OTHERS = 6.

DATE_CHECK_PLAUSIBILITY CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' "1658407 EXPORTING "1658407 date = p_date "1658407 EXCEPTIONS "1658407 plausibility_check_failed = 1. "1658407

J_1BREAD_BRANCH_DATA CALL FUNCTION 'J_1BREAD_BRANCH_DATA' EXPORTING branch = p_branch bukrs = p_bukrs IMPORTING address = address branch_data = branch_data cgc_number = cgc_number EXCEPTIONS OTHERS = 04.

MARV_SINGLE_READ CALL FUNCTION 'MARV_SINGLE_READ' EXPORTING bukrs = p_bukrs IMPORTING wmarv = marv EXCEPTIONS not_found = 1 wrong_call = 2 OTHERS = 3.

K_KOKRS_SET call function 'K_KOKRS_SET' EXPORTING display = ' ' i_kokrs = current_kokrs popup = '0' IMPORTING e_kokrs = current_kokrs EXCEPTIONS not_found = 01.

FUNCTION_IMPORT_INTERFACE CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE' EXPORTING FUNCNAME = 'CKMLWIP_READ_SETTLE' * IMPORTING * GLOBAL_FLAG = * REMOTE_CALL = * UPDATE_TASK = TABLES EXCEPTION_LIST = DUMMY1 EXPORT_PARAMETER = DUMMY2 IMPORT_PARAMETER = DUMMY3 * CHANGING_PARAMETER = TABLES_PARAMETER = DUMMY4 * P_DOCU = EXCEPTIONS ERROR_MESSAGE = 1 FUNCTION_NOT_FOUND = 2 INVALID_NAME = 3 OTHERS = 4.

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

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

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

KKA_CHECK_CC_CURR_IN_OBJ_CURR call function 'KKA_CHECK_CC_CURR_IN_OBJ_CURR' EXPORTING i_co_area = current_kokrs IMPORTING cc_curr_in_obj_curr = gd_cc_curr_in_obj_curr.

J_1B_READ_WIP CALL FUNCTION 'J_1B_READ_WIP' EXPORTING i_mbew = "1519427 * i_meins = my_meins " note 653705 * i_comp_waers = m_waers " note 653705 * i_cont_waers = lv_control_area_curr " note 653705 i_bukrs = p_bukrs " note 653705 i_kokrs = current_kokrs " note 653705 i_vers = ld_versn_obj " note 653705 i_curr_kokrs = gd_curr_kokrs " note 653705 i_curtp_kokrs = gd_curtp_kokrs " note 653705 i_curr_bukrs = gd_curr_bukrs " note 653705 i_curtp_bukrs = gd_curtp_bukrs " note 653705 i_objcurr = gd_cc_curr_in_obj_curr " note 653705 i_wipd = p_wipd " note 653705 i_lfmon = p_lfmon i_lfgja = p_lfgja i_read_buffered = 'X' "1519427 IMPORTING e_mbew = wipsave e_eqbew = wipspecsave EXCEPTIONS no_selection = 1 * conversion_error = 2 " note 653705 * OTHERS = 3. " note 653705

RK_KOKRS_FIND call function 'RK_KOKRS_FIND' EXPORTING bukrs = sd_bukrs IMPORTING kokrs = sd_kokrs EXCEPTIONS others = 3.




K_KOKRS_READ call function 'K_KOKRS_READ' EXPORTING kokrs = id_kokrs IMPORTING e_tka01 = ls_tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 others = 3.

K_CVTYP_GET call function 'K_CVTYP_GET' EXPORTING i_currtyp = ls_tka01-ctyp i_valutyp = id_valutyp IMPORTING e_cvtyp = cd_curtp_kokrs EXCEPTIONS illegal_combination = 1 others = 2.

DETERMIN_BWKEY_BUKRS_FOR_PLANT * call function 'DETERMIN_BWKEY_BUKRS_FOR_PLANT' * exporting * werk = id_werk * importing * bukrs = cd_bukrs.

FI_COMPANY_CODE_DATA call function 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = id_bukrs IMPORTING e_t001 = ls_t001 EXCEPTIONS system_error = 1 others = 2.

K_CVTYP_GET call function 'K_CVTYP_GET' EXPORTING i_currtyp = '10' i_valutyp = id_valutyp IMPORTING e_cvtyp = cd_curtp_bukrs EXCEPTIONS illegal_combination = 1 others = 2.

K_VERSN_VALUATION call function 'K_VERSN_VALUATION' EXPORTING i_kokrs = sd_kokrs TABLES t_tka09_v = lt_tka09 EXCEPTIONS no_basic_version = 1 wrong_customizing = 2 valuation_profile_not_active = 3 others = 4.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = gc_status * I_CALLBACK_USER_COMMAND = * I_STRUCTURE_NAME = IS_LAYOUT = ls_layout IT_FIELDCAT = lt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' I_SAVE = gc_save * IS_VARIANT = IT_EVENTS = lt_eventtab * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IR_SALV_LIST_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = GT_OUTPUT EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = * I_STRUCTURE_NAME = IS_LAYOUT = ls_layout IT_FIELDCAT = lt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' I_SAVE = gc_save * IS_VARIANT = IT_EVENTS = lt_eventtab * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IR_SALV_LIST_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = GT_LIST1 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = * I_STRUCTURE_NAME = IS_LAYOUT = ls_layout IT_FIELDCAT = lt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' I_SAVE = gc_save * IS_VARIANT = IT_EVENTS = lt_eventtab * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IR_SALV_LIST_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = GT_LIST2 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = * I_STRUCTURE_NAME = IS_LAYOUT = ls_layout IT_FIELDCAT = lt_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' I_SAVE = gc_save * IS_VARIANT = IT_EVENTS = lt_eventtab * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IR_SALV_LIST_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = GT_LIST3 EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = g_repid * I_INTERNAL_TABNAME ='GT_OUTPUT' I_STRUCTURE_NAME = GV_STRUCT * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = g_repid * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING CT_FIELDCAT = xt_fieldcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = g_repid * I_INTERNAL_TABNAME ='GT_LIST1' I_STRUCTURE_NAME = GV_STRUCT * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = g_repid * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING CT_FIELDCAT = xt_fieldcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = g_repid * I_INTERNAL_TABNAME ='GT_LIST2' I_STRUCTURE_NAME = GV_STRUCT * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = g_repid * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING CT_FIELDCAT = xt_fieldcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3 .

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = g_repid * I_INTERNAL_TABNAME ='GT_LIST3' I_STRUCTURE_NAME = GV_STRUCT * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = g_repid * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING CT_FIELDCAT = xt_fieldcat EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3 .

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = l_log_handle EXCEPTIONS OTHERS = 1.

BAL_DSP_PROFILE_POPUP_GET CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET' IMPORTING e_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_log_handle = l_log_handle i_msgty = GC_ETYPE i_text = LS_LIST-TEXT i_s_context = ls_context EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.



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