SAP Reports / Programs | Customer Bill of Services | Industry Solution Engineering & Construction | Customer Bill of Services(IS-EC-BOS) SAP IS

RADBOS05 SAP ABAP Report - Cost estimate report







RADBOS05 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 RADBOS05 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 RADBOS05. "Basic submit
SUBMIT RADBOS05 AND RETURN. "Return to original report after report execution complete
SUBMIT RADBOS05 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: PPOSNR = Item number
Selection Text: PVARIANT = Selection Variant
Selection Text: PVBELN = Document number
Title: Cost estimate report
Text Symbol: 001 = Sales document
Text Symbol: 002 = Selection Variant
Text Symbol: 003 = Sales Document No. :
Text Symbol: 004 = Item :
Text Symbol: 005 = Sold-To Party :
Text Symbol: 006 = PO Number :
Text Symbol: 010 = Sub Item
Text Symbol: 011 = Main Item
Text Symbol: 012 = Service
Text Symbol: 013 = Outline


INCLUDES used within this REPORT RADBOS05

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:

SD_SALES_DOCUMENT_PREFETCH

SD_SALES_DOCUMENT_PREFETCH CALL FUNCTION 'SD_SALES_DOCUMENT_PREFETCH' EXPORTING i_sales_view = sales_view i_memory_read = ' ' * I_PRINT_MODE = ' ' TABLES i_vbak_keytab = it_vbak_keytab fxvbak = it_vbak * FXVBAP = * FXVBEP = * FXVBKD = * FXVBPA = * FXSADR = * FXVBUK = * FXVBUP = * FXKOMV = * FXKONH = * FXKONP = * FXKONM = * FXKONW = * FXVEDA = * FXTHEAD = * FXTLINE = * FXVBFA = * FCUREF = * FCUCFG = * FCUINS = * FCUPRT = * FCUVAL = * FCUBLB = * FCUVK = * FXFPLA = * FXFPLT = * FXVBUV = * RETURN = . " end of CALL FUNCTION 'SD_SALES_DOCUMENT_PREFETCH'

SD_SALES_DOCUMENT_PREFETCH CALL FUNCTION 'SD_SALES_DOCUMENT_PREFETCH' EXPORTING i_sales_view = sales_view i_memory_read = ' ' * I_PRINT_MODE = ' ' TABLES i_vbak_keytab = it_vbak_keytab * FXVBAK = fxvbap = it_vbapvb * FXVBEP = fxvbkd = it_vbkdvb fxvbpa = it_vbpavb * fxsadr = it_sadrvb * FXVBUK = * FXVBUP = * fxkomv = it_komv * FXKONH = * FXKONP = * FXKONM = * FXKONW = * FXVEDA = * fxthead = it_theadvb * fxtline = it_textline * fxvbfa = it_vbfa_tabl * FCUREF = * FCUCFG = * FCUINS = * FCUPRT = * FCUVAL = * FCUBLB = * FCUVK = * FXFPLA = * FXFPLT = * FXVBUV = return = it_return.

SD_SALES_DOCUMENT_PREFETCH " end of CALL FUNCTION 'SD_SALES_DOCUMENT_PREFETCH' *IBS_DI_BOQ_SI * READ TABLE it_vbkdvb WITH KEY vbeln = pvbeln-low * posnr = pposnr-low INTO wa_vbkdvb.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = g_save * i_tabname_header = 'SERVICES' * i_tabname_item = 'DETAILS_LIST' * it_default_fieldcat = IMPORTING e_exit = g_exit es_variant = gx_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

MS_READ_SERVICE_PACKAGE

MS_READ_SERVICE_PACKAGE CALL FUNCTION 'MS_READ_SERVICE_PACKAGE' EXPORTING no_cond = ' ' no_change_doc = ' ' no_text = ' ' TABLES i_packno = p_it_packno i_eslh = it_eslh i_esll = it_esll * I_ESUH = * I_ESUC = * I_ESKL = * i_konv = it_konv * I_A081 = * I_A082 = * I_A215 = * I_KONH = * I_KONP = * I_KONM = * I_KONW = * i_stxh = it_stxh * i_stxl = it_stxl * I_CDHDR = * I_CHPOS = . " end of CALL FUNCTION 'MS_READ_SERVICE_PACKAGE'

MS_SUBDIVISION_FOR_PRINT CALL FUNCTION 'MS_SUBDIVISION_FOR_PRINT' EXPORTING packno = p_wa_packno-packno TABLES gliederung = outline EXCEPTIONS packno_not_exist = 01.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' "top_of_page event is called EXPORTING i_list_type = 0 IMPORTING et_events = lt_event.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = grepid i_internal_tabname = 'SERVCALC' i_structure_name = 'ADBOS_SERVCALC' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = gt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY * CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * EXPORTING ** I_INTERFACE_CHECK = ' ' ** I_BYPASSING_BUFFER = ** I_BUFFER_ACTIVE = ' ' * I_CALLBACK_PROGRAM = GREPID * I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' * I_CALLBACK_USER_COMMAND = G_USERCOMMAND ** I_STRUCTURE_NAME = * IS_LAYOUT = * IT_FIELDCAT = GT_FIELDCAT ** IT_EXCLUDING = ** IT_SPECIAL_GROUPS = ** IT_SORT = ** IT_FILTER = ** IS_SEL_HIDE = ** I_DEFAULT = 'X' * I_SAVE = 'X' * IS_VARIANT = G_VARIANT * IT_EVENTS = ** 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 ** IMPORTING ** E_EXIT_CAUSED_BY_CALLER = ** ES_EXIT_CAUSED_BY_USER = * TABLES * T_OUTTAB = SERVCALC.

REUSE_ALV_LIST_DISPLAY * " end of CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' * ** IF sy-subrc <> 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = grepid i_callback_pf_status_set = lc_set_pf_status i_callback_user_command = g_usercommand is_layout = gs_layout it_fieldcat = gt_fieldcat i_save = abap_true is_variant = g_variant it_events = lt_event *---Start of coding by C5065696 on 31/05/2005--------* it_event_exit = list_events_exit[] *---end of coding by C5065696 on 31/05/2005--------*
TABLES t_outtab = servcalc EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING is_layout = gs_layout it_sort = save_sort[].

RS_TREE_PUSH CALL FUNCTION 'RS_TREE_PUSH' EXCEPTIONS OTHERS = 1.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' * EXPORTING * INSERT_ID = '000000' * RELATIONSHIP = ' ' TABLES nodetab = lt_notetab EXCEPTIONS tree_failure = 1 id_not_found = 2 wrong_relationship = 3 OTHERS = 4.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = lv_repid callback_user_command = 'RS_TREE_OKCODE' * CALLBACK_TEXT_DISPLAY = callback_moreinfo_display = 'RS_TREE_MORE_INFO' * CALLBACK_COLOR_DISPLAY = callback_top_of_page = 'RS_TREE_TOP_OF_PAGE' * CALLBACK_GUI_STATUS = status = 'OWN' * check_duplicate_name = '1' * COLOR_OF_NODE = '4' * COLOR_OF_MARK = '3' * COLOR_OF_LINK = '1' * COLOR_OF_MATCH = '5' * LOWER_CASE_SENSITIVE = ' ' * MODIFICATION_LOG = ' ' * node_length = 30 * text_length = 4 * TEXT_LENGTH1 = 0 * TEXT_LENGTH2 = 0 * RETURN_MARKED_SUBTREE = ' ' * SCREEN_START_COLUMN = 0 * SCREEN_START_LINE = 0 * SCREEN_END_COLUMN = 0 * SCREEN_END_LINE = 0 * SUPPRESS_NODE_OUTPUT = ' ' * LAYOUT_MODE = ' ' * USE_CONTROL = STREE_USE_LIST * IMPORTING * F15 = EXCEPTIONS OTHERS = 0.

RS_TREE_POP CALL FUNCTION 'RS_TREE_POP' EXCEPTIONS empty_stack = 1 OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_GET





CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING es_layout = gs_layout et_fieldcat = gt_fieldcat et_sort = list_sort[] EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING is_layout = gs_layout it_fieldcat = gt_fieldcat it_sort = save_sort[] EXCEPTIONS OTHERS = 0.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING es_layout = gs_layout et_sort = list_sort[].

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING is_layout = gs_layout it_sort = save_sort[].



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