SAP Reports / Programs

UPB_DATA_IMPORT SAP ABAP Report - Planning Applications: Import Master and Transaction Data







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


Text pool values


Title: Planning Applications: Import Master and Transaction Data
Text Symbol: TD1 = Transaction Data
Text Symbol: NTD = Select Transaction Data Again
Text Symbol: NMD = Select Master Data Again
Text Symbol: NEW = Only complete new values
Text Symbol: MD2 = Import Master Data to Characteristic
Text Symbol: WRK = Editing
Text Symbol: TRA = Execute Import
Text Symbol: TD3 = Display Transaction Data
Text Symbol: TD2 = Import Transaction Data
Text Symbol: MD1 = Master Data
Text Symbol: BMD = Get Master Data from Buffer
Text Symbol: AR1 = Import Data on Planning Area
Text Symbol: ALL = Import All Values
Text Symbol: 002 = No
Text Symbol: 001 = Yes
Text Symbol: IMP = Import Transaction Data
Text Symbol: DIS = Only Display Import
Text Symbol: CL1 = Import Data from Client
Text Symbol: CFM = Execute import anyway?
Text Symbol: BTD = Get Transaction Data from Buffer


INCLUDES used within this REPORT UPB_DATA_IMPORT

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:

UPB_DATA_MD_IMPORT_CHAR * CALL FUNCTION 'UPB_DATA_MD_IMPORT_CHAR' * EXPORTING * i_area = p_area * i_chanm = pt_chanm-low * i_mode = l_md_mode * EXCEPTIONS * no_data = 1 * structure_mismatch = 2 * failed = 3 * OTHERS = 4.

UPB_DATA_MD_DIRECTORY * CALL FUNCTION 'UPB_DATA_MD_DIRECTORY' * EXPORTING * i_chanm = pt_chanm-low * IMPORTING * eto_directory = gto_md_directory.

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * titlebar = text-imp * diagnose_object = 'UPB_TEXT_CONFIRM_DATA_IMPORT' * text_question = text-cfm * text_button_1 = text-001 * text_button_2 = text-002 * default_button = '2' * display_cancel_button = ' ' * popup_type = 'ICON_MESSAGE_ERROR' * IMPORTING * answer = l_answer * EXCEPTIONS * text_not_found = 0 * OTHERS = 0.

UPB_DATA_TD_IMPORT_AREA * CALL FUNCTION 'UPB_DATA_TD_IMPORT_AREA' * EXPORTING * i_area = p_area * i_display_data = p_sel_ds * EXCEPTIONS * no_data = 1 * structure_mismatch = 2 * failed = 3 * foreign_lock = 4 * user_cancel = 5 * OTHERS = 6.

UPB_DATA_TD_DIRECTORY * CALL FUNCTION 'UPB_DATA_TD_DIRECTORY' * EXPORTING * i_area = p_area * IMPORTING * eto_directory = gto_td_directory.



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