SAP Reports / Programs

RWPSTLH_DINP SAP ABAP Report - Direct Input - Task List Hierarchy







RWPSTLH_DINP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Direct input for task list hierarchy With this report you create new task list hierarchies...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RWPSTLH_DINP 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 RWPSTLH_DINP. "Basic submit
SUBMIT RWPSTLH_DINP AND RETURN. "Return to original report after report execution complete
SUBMIT RWPSTLH_DINP 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: PCEFILEA = PC Excel File - Attributes
Selection Text: PCEFILEH = PC Excel File - Hierarchy
Selection Text: PCFILEA = PC Input File - Attributes
Selection Text: PCFILEH = PC Input File - Hierarchy
Selection Text: P_AENNR = Change Number
Selection Text: P_CIDUN = Check that Ext. ID is Unique
Selection Text: P_KYDAT = Key Date / Valid from
Selection Text: P_TEST = Test Run
Selection Text: P_XPCEF = Load from PC Excel File
Selection Text: P_XPC_F = Load from PC File
Selection Text: P_XSEQ_F = Load from Sequent. File
Selection Text: SEQFILEA = Seq. Input File - Attributes
Selection Text: SEQFILEH = Seq. Input File - Hierarchy
Title: Direct Input - Task List Hierarchy
Text Symbol: 001 = Global Data for New Task List Hierarchy
Text Symbol: 010 = Input Files
Text Symbol: 020 = Activity Parameter
Text Symbol: 100 = Select Hierarchy File
Text Symbol: 101 = Select Attribute File


INCLUDES used within this REPORT RWPSTLH_DINP

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:

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING mask = ' ,*.* ,*.*.'

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING mask = ' ,*.* ,*.*.'

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING mask = ' ,*.* ,*.*.'

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING mask = ' ,*.* ,*.*.'

WPSTLDI_CREATE_TASK_LIST_HIER CALL FUNCTION 'WPSTLDI_CREATE_TASK_LIST_HIER' EXPORTING i_kydat = p_kydat i_aennr = p_aennr i_tlh = tab_tlh i_tlattr = tab_tlattr i_check_extid_unique = p_cidun i_create_alog = c_yes i_test_run = p_test EXCEPTIONS unidentified_tl_in_tlh = 0 tl_leaf_not_found = 0 tl_parent_found_in_db = 0 tl_parent_no_attr = 0 extid_not_unique = 0 internal_error = 0 invalid_plnty = 0 invalid_external_number = 0 int_number_not_possible = 0 error_aenr = 0 error_lock = 0 no_authority = 0 tl_exists = 0 invalid_plant = 0 invalid_usage = 0 invalid_pl_group = 0 invalid_status = 0 invalid_sys_cond = 0 plant_not_unique = 0 cycle_found = 0 missing_equipment = 0 missing_func_loc = 0 invalid_equipment = 0 invalid_func_loc = 0 mix_e_with_floc = 0 diff_equipments_within_hier = 0 diff_flocs_within_hier = 0.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_filename "pcfilea TABLES data_tab = tab_tlattr EXCEPTIONS file_open_error = 1.

ALSM_EXCEL_TO_INTERNAL_TABLE CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE' EXPORTING filename = pcefilea i_begin_col = 1 i_begin_row = 2 i_end_col = 12 i_end_row = 30000 TABLES intern = lv_excel_tab EXCEPTIONS upload_ole = 2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = lv_excel_tab-value IMPORTING output = wa_tlattr-plnnr.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = lv_excel_tab-value IMPORTING output = wa_tlattr-plnal.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = lv_excel_tab-value IMPORTING output = wa_tlattr-equnr.

CONVERSION_EXIT_TPLNR_INPUT CALL FUNCTION 'CONVERSION_EXIT_TPLNR_INPUT' EXPORTING input = lv_excel_tab-value IMPORTING output = wa_tlattr-tplnr.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = lv_filename "pcfileh TABLES data_tab = tab_tlh EXCEPTIONS file_open_error = 1.

ALSM_EXCEL_TO_INTERNAL_TABLE CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE' EXPORTING filename = pcefileh i_begin_col = 1 i_begin_row = 2 i_end_col = 9 i_end_row = 30000 TABLES intern = lv_excel_tab EXCEPTIONS upload_ole = 2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = lv_excel_tab-value IMPORTING output = wa_tlh-parent_plnnr.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = lv_excel_tab-value IMPORTING output = wa_tlh-parent_plnal.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = lv_excel_tab-value IMPORTING output = wa_tlh-child_plnnr.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = lv_excel_tab-value IMPORTING output = wa_tlh-child_plnal.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' "n1796100 EXPORTING logical_filename = 'HTL_MASS_CREATE_FILE' CHANGING physical_filename = seqfilea EXCEPTIONS others = 1.

FILE_VALIDATE_NAME





CALL FUNCTION 'FILE_VALIDATE_NAME' "n1796100 EXPORTING logical_filename = 'HTL_MASS_CREATE_FILE' CHANGING physical_filename = seqfileh EXCEPTIONS others = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY'.



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