SAP Reports / Programs | Cross-Application Components | SAP Multiresource Scheduling(CA-MRS) SAP CA

/MRSS/CREATE_CAPA_POTS01 SAP ABAP INCLUDE - Include /MRSS/CREATE_CAPA_POTS01







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


Text pool values


Title: Include /MRSS/CREATE_CAPA_POTS01


INCLUDES used within this REPORT /MRSS/CREATE_CAPA_POTS01

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:

/MRSS/CAPACITY_POT_RES_PLN_F4 CALL FUNCTION '/MRSS/CAPACITY_POT_RES_PLN_F4' EXPORTING iv_objid = '00000000' IMPORTING et_obj_list = lt_obj_list.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'OBJID' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P_OBJID_LOW' stepl = sy-stepl value_org = 'S' TABLES value_tab = lt_obj_list return_tab = lt_returntab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = abap_true.

/MRSS/POT_API_UPDATE CALL FUNCTION '/MRSS/POT_API_UPDATE' EXPORTING is_datets_interval = ls_datets_interval iv_commit = ' '.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = abap_true.

BAPI_TRANSACTION_ROLLBACK CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.

DEQUEUE_/MRSS/E_POT_OBJ * CALL FUNCTION 'DEQUEUE_/MRSS/E_POT_OBJ' * EXPORTING * mode_/mrss/d_pot_obj = 'S' * client = sy-mandt * guid = ls_pot_objs-guid.

/MRSS/POT_API_CREATE_MASS CALL FUNCTION '/MRSS/POT_API_CREATE_MASS' DESTINATION 'NONE' STARTING NEW TASK lv_task_name PERFORMING get_results ON END OF TASK EXPORTING it_objid = gt_objid * it_qualct = gt_qualct * it_pot_intv = gt_pot_intv it_qualct = lt_qualct_fm it_pot_intv = lt_pot_intv_fm iv_start_ts = lv_start_ts * iv_end_ts = lv_end_ts * iv_start_date = lv_start_date iv_save = p_prod iv_commit = p_prod EXCEPTIONS system_failure = 1 communication_failure = 2 OTHERS = 3.

Z_MRS_SERVICE_POT_UPDATE

BAPI_TRANSACTION_COMMIT * CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' * EXPORTING * wait = abap_true.

BAPI_TRANSACTION_ROLLBACK CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.



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 /MRSS/CREATE_CAPA_POTS01 or its description.