UPX_MAIN_AREA_SET 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 UPX_MAIN_AREA_SET into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
UPXA - Select Planning Area
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.
Title: Program UPX_MAIN_AREA_SET
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
UPB_MAIN_AREA_DIALOG CALL FUNCTION 'UPB_MAIN_AREA_DIALOG' EXPORTING i_applc = l_applc IMPORTING e_area = l_area EXCEPTIONS illegal_applc = 1 dd_error = 2 db_error = 3 f4_error = 4 no_area_selected = 20 OTHERS = 6.
UPB_MAIN_AREA_GET CALL FUNCTION 'UPB_MAIN_AREA_GET' EXPORTING i_applc = l_applc i_no_popup = 'X' IMPORTING e_area = l_area EXCEPTIONS illegal_applc = 1 no_area_set = 2 dd_error = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.