SAP Reports / Programs | Supplier Relationship Management | Enterprise Buyer | Enterprise/Business Partner Management(SRM-EBP-ADM) SAP SRM

B_UPLOAD_COST_CENTER_ATTRIBUTE SAP ABAP Report - Program B_UPLOAD_COST_CENTER_ATTRIBUTE







B_UPLOAD_COST_CENTER_ATTRIBUTE 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 B_UPLOAD_COST_CENTER_ATTRIBUTE 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 B_UPLOAD_COST_CENTER_ATTRIBUTE. "Basic submit
SUBMIT B_UPLOAD_COST_CENTER_ATTRIBUTE AND RETURN. "Return to original report after report execution complete
SUBMIT B_UPLOAD_COST_CENTER_ATTRIBUTE 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: FILENAME = File Name
Selection Text: INHERITV = Use Inherited Values
Selection Text: TESTMODE = Test Mode
Title: Program B_UPLOAD_COST_CENTER_ATTRIBUTE
Text Symbol: 001 = File for Upload
Text Symbol: 002 = Checks
Text Symbol: E01 = Transport Record Active in Tax Table T77S0 (Note 384111)
Text Symbol: E03 = No Invalid Rows Selected
Text Symbol: I01 = Input Values Are Consistent
Text Symbol: I02 = Input Values Already Exist
Text Symbol: I03 = Input Values Are Inconsistent
Text Symbol: I04 = Data being read ...
Text Symbol: I05 = Cost Center Exists (Locally)
Text Symbol: I06 = Cost Center Exists (Inherited)
Text Symbol: I07 = Cost Center Was Deleted


INCLUDES used within this REPORT B_UPLOAD_COST_CENTER_ATTRIBUTE

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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_INACTIVE' info = text-i01 IMPORTING RESULT = gv_icon_space EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_GREEN' info = text-i01 IMPORTING RESULT = gv_icon_green EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_YELLOW' info = text-i02 IMPORTING RESULT = gv_icon_yellow EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_LED_RED' info = text-i03 IMPORTING RESULT = gv_icon_red EXCEPTIONS OTHERS = 0.

BBP_GET_BACKEND_SYSTEMS CALL FUNCTION 'BBP_GET_BACKEND_SYSTEMS' TABLES et_logical_systems = gt_logsys et_messages = gt_return.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_buffer_active = ' ' i_callback_program = gv_repid i_callback_pf_status_set = 'ALV_SET_PF_STATUS' i_callback_user_command = 'ALV_USER_COMMAND' is_layout = gv_layout it_excluding = gt_extab it_fieldcat = gt_fieldcat TABLES t_outtab = gt_output EXCEPTIONS program_error = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = 'Daten werden gelesen ... '(i04).

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = gv_file has_field_separator = ';' header_length = 0 TABLES data_tab = lt_file EXCEPTIONS invalid_type = 1 no_authority = 2 access_denied = 3 bad_data_format = 4 header_not_allowed = 5 separator_not_allowed = 6 OTHERS = 7.

SUSR_USER_CHECK_EXISTENCE CALL FUNCTION 'SUSR_USER_CHECK_EXISTENCE' EXPORTING user_name = -uname EXCEPTIONS user_name_not_exists = 1 OTHERS = 2.

BBP_OM_STRUC_GET_ORG_FROM_USER CALL FUNCTION 'BBP_OM_STRUC_GET_ORG_FROM_USER' EXPORTING user = -uname IMPORTING orgunit = ls_orgunit EXCEPTIONS OTHERS = 1.

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING user_name = -uname IMPORTING user_usr03 = ls_usr03 EXCEPTIONS user_address_not_found = 1 OTHERS = 2.

BBP_READ_ATTRIBUTES CALL FUNCTION 'BBP_READ_ATTRIBUTES' EXPORTING iv_user = -uname it_attr_list = lt_attr_id[] IMPORTING et_attr = lt_attr[] EXCEPTIONS OTHERS = 1.

BBP_READ_ATTRIBUTES CALL FUNCTION 'BBP_READ_ATTRIBUTES' EXPORTING iv_orgunit = -orgunit it_attr_list = lt_attr_id[] IMPORTING et_attr = lt_attr[] EXCEPTIONS OTHERS = 1.

BBP_UPDATE_ATTRIBUTES CALL FUNCTION 'BBP_UPDATE_ATTRIBUTES' EXPORTING user_id_p = iv_user_id replace_p = ' ' TABLES it_attr_p = it_attributes EXCEPTIONS object_not_found = 1 times_invalid = 2 update_error = 3 OTHERS = 4.

BBP_UPDATE_ATTRIBUTES CALL FUNCTION 'BBP_UPDATE_ATTRIBUTES' EXPORTING user_id_p = iv_user_id replace_p = 'X' TABLES it_attr_p = it_attributes EXCEPTIONS object_not_found = 1 times_invalid = 2 update_error = 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 B_UPLOAD_COST_CENTER_ATTRIBUTE or its description.