SAP Reports / Programs | Occasional Platform User | Gateway Business Suite Enablement | Gateway SAP Data Enablement(OPU-BSE-SDE) SAP OPU

/IWBEP/REP_EPM_CONTENT_GEN SAP ABAP Report - Program to generate NW Demo Model content in BEP







/IWBEP/REP_EPM_CONTENT_GEN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Use this screen to generate NW Demo Model Utility Class for BEP for Business Partner, Sales Order and Product...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 /IWBEP/REP_EPM_CONTENT_GEN 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 /IWBEP/REP_EPM_CONTENT_GEN. "Basic submit
SUBMIT /IWBEP/REP_EPM_CONTENT_GEN AND RETURN. "Return to original report after report execution complete
SUBMIT /IWBEP/REP_EPM_CONTENT_GEN 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: P_X_SO = Sales Order
Selection Text: P_X_PO = Product
Selection Text: P_X_BP = Business Partner
Selection Text: P_TRANSP = Transport
Selection Text: P_SO_CLS = Sales Order Class Name
Selection Text: P_PO_CLS = Product Class Name
Selection Text: P_DEV = Package Name
Selection Text: P_BP_CLS = Business Partner Class Name
Selection Text: P_ADDTRA = Add to transport
Title: Program to generate NW Demo Model content in BEP
Text Symbol: 121 = Enter Product Class Name
Text Symbol: 120 = Enter Sales Order Class Name
Text Symbol: 119 = Enter Business Partner Class Name
Text Symbol: 118 = Enter Package Name
Text Symbol: 117 = Package Option
Text Symbol: 116 = Utility class generated with errors.
Text Symbol: 115 = Utility classes generation cancelled
Text Symbol: 114 = ' already exist. Do you want to overwrite?
Text Symbol: 113 = Class '
Text Symbol: 112 = No
Text Symbol: 111 = Yes
Text Symbol: 110 = Transport Options
Text Symbol: 109 = SAP_BASIS 7.02 SP7 & above is required to run this program
Text Symbol: 107 = Utility classes are generated successfully
Text Symbol: 106 = TADIR Entry Creation Failed
Text Symbol: 105 = Error while generating the utility classes
Text Symbol: 104 = Invalid Transport Request
Text Symbol: 103 = Invalid Package
Text Symbol: 102 = No Transport Specified
Text Symbol: 101 = Generate Utility Class Implementation for Product, Sales Order and Business Partner


INCLUDES used within this REPORT /IWBEP/REP_EPM_CONTENT_GEN

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:

TR_READ_DEVCLASSES CALL FUNCTION 'TR_READ_DEVCLASSES' EXPORTING it_devclass = lt_packages IMPORTING et_devclass = lt_result.

SCAN_ABAP_OBJECTS_CLASSES CALL FUNCTION 'SCAN_ABAP_OBJECTS_CLASSES' CHANGING vseo_tabs = ls_vseo_tabs method_impls = lt_method_impls sourc_tab = l_tab_resultcode.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_test_modus = abap_false wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'CLAS' wi_tadir_obj_name = lv_object_name wi_tadir_author = sy-uname wi_tadir_devclass = ls_package-devclass wi_tadir_masterlang = sy-langu EXCEPTIONS OTHERS = 25.

TR_REQUEST_CHOICE CALL FUNCTION 'TR_REQUEST_CHOICE' EXPORTING iv_suppress_dialog = lv_suppress_dialog iv_request_types = ' ' iv_request = p_transp it_e071 = lt_objects iv_lock_objects = 'X' IMPORTING es_request = ls_trrequest EXCEPTIONS invalid_request = 1 invalid_request_type = 2 user_not_owner = 3 no_objects_appended = 4 enqueue_error = 5 cancelled_by_user = 6 recursive_call = 7 OTHERS = 8.

SEO_CLASS_CREATE_COMPLETE CALL FUNCTION 'SEO_CLASS_CREATE_COMPLETE' EXPORTING devclass = ls_obj-devclass version = seoc_version_active genflag = seox_true authority_check = seox_true overwrite = seox_true suppress_method_generation = seox_false method_sources = lt_methods_source CHANGING class = ls_class inheritance = ls_inheritance redefinitions = lt_redefinitions implementings = lt_implementings methods = lt_methods attributes = lt_attributes types = lt_types exceps = lt_exceps aliases = lt_aliases PARAMETERS = lt_parameters EXCEPTIONS existing = 1 is_interface = 2 db_error = 3 component_error = 4 no_access = 5 other = 6 OTHERS = 7.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = lv_question text_button_1 = text-111 text_button_2 = text-112 display_cancel_button = '' IMPORTING answer = lv_ans.



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 /IWBEP/REP_EPM_CONTENT_GEN or its description.