SAP Reports / Programs | Plant Maintenance | Maintenance Processing | Maintenance Orders(PM-WOC-MO) SAP PM

IBAPI_ALM_MMSRV_UNITTEST_READ SAP ABAP INCLUDE - Include IBAPI_ALM_MMSRV_UNITTEST_READ







IBAPI_ALM_MMSRV_UNITTEST_READ 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 IBAPI_ALM_MMSRV_UNITTEST_READ 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 IBAPI_ALM_MMSRV_UNITTEST_READ. "Basic submit
SUBMIT IBAPI_ALM_MMSRV_UNITTEST_READ AND RETURN. "Return to original report after report execution complete
SUBMIT IBAPI_ALM_MMSRV_UNITTEST_READ 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 IBAPI_ALM_MMSRV_UNITTEST_READ


INCLUDES used within this REPORT IBAPI_ALM_MMSRV_UNITTEST_READ

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:

IBAPI_ALM_ORDERSERVICES_READ CALL FUNCTION 'IBAPI_ALM_ORDERSERVICES_READ' EXPORTING iv_orderid = lcl_unittest_setup=>gs_test_data-aufnr IMPORTING et_serviceoutline = gt_service_outlines_ibapi et_servicelines = gt_service_lines_ibapi et_servicelimit = gt_limits_ibapi et_servicecontractlimits = gt_contract_limits_ibapi TABLES et_messages = lt_messages.

IBAPI_H_ORDER_READ CALL FUNCTION 'IBAPI_H_ORDER_READ' EXPORTING iv_aufnr = lcl_unittest_setup=>gs_test_data-aufnr iv_enqueue_order = space IMPORTING es_caufvd = gs_order es_affld = ls_affld EXCEPTIONS order_locked = 1 order_read_error = 2 OTHERS = 3.

IBAPI_O_OPERATIONS_GET CALL FUNCTION 'IBAPI_O_OPERATIONS_GET' EXPORTING iv_aufnr = gs_order-aufnr iv_aplfl = ls_affld-plnfl iv_with_suboper = space TABLES ct_afvgd = gt_operations EXCEPTIONS read_error = 1 OTHERS = 2.

IBAPI_ALM_ORDERSERVICES_READ CALL FUNCTION 'IBAPI_ALM_ORDERSERVICES_READ' EXPORTING iv_orderid = lcl_unittest_setup=>gs_test_data-aufnr IMPORTING et_serviceoutline = gt_service_outlines_ibapi et_servicelines = gt_service_lines_ibapi et_servicelimit = gt_limits_ibapi et_servicecontractlimits = gt_contract_limits_ibapi TABLES et_messages = lt_messages.

BAPI_ALM_ORDER_GET_DETAIL CALL FUNCTION 'BAPI_ALM_ORDER_GET_DETAIL' EXPORTING number = lcl_unittest_setup=>gs_test_data-aufnr TABLES return = lt_return et_serviceoutline = lt_service_outlines et_servicelines = lt_service_lines et_servicelimit = lt_limits et_servicecontractlimits = lt_contract_limits.

IBAPI_ALM_ORDERSERVICES_READ CALL FUNCTION 'IBAPI_ALM_ORDERSERVICES_READ' EXPORTING iv_orderid = lcl_unittest_setup=>gs_test_data-aufnr IMPORTING et_serviceoutline = gt_service_outlines_ibapi et_servicelines = gt_service_lines_ibapi et_servicelimit = gt_limits_ibapi et_servicecontractlimits = gt_contract_limits_ibapi TABLES et_messages = lt_messages.



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