SAP Reports / Programs | Production Planning and Control | Material Requirements Planning | Master Data(PP-MRP-BD) SAP PP

MM61PF44 SAP ABAP INCLUDE - Firming Planned Orders: Execute User Commands







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


Text pool values


Title: Firming Planned Orders: Execute User Commands


INCLUDES used within this REPORT MM61PF44

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:

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = 'Daten geƤndert'(001) textline1 = 'Sollen die Daten gesichert werden'(002) IMPORTING answer = answer.

MD_PLANNED_ORDER_CHANGE CALL FUNCTION 'MD_PLANNED_ORDER_CHANGE' EXPORTING ecm61o = ls_cm61o eplaf = ls_plaf IMPORTING iplaf = ls_plaf.

MD_PLANNED_ORDER_SHOW CALL FUNCTION 'MD_PLANNED_ORDER_SHOW' EXPORTING ecm61o = ls_cm61o eplaf = ls_plaf.

UPD_PLAF_SINGLE CALL FUNCTION 'UPD_PLAF_SINGLE' EXPORTING iplaf = ls_plaf IMPORTING statu = lv_statu EXCEPTIONS object_logically_deleted = 1 OTHERS = 2.

PLAFX_STATUS_SET CALL FUNCTION 'PLAFX_STATUS_SET' EXPORTING statu = 'E' "Status 'Equal' plnum = ls_plaf-plnum EXCEPTIONS OTHERS = 1.

MD_PLANNED_ORDER_CHANGE CALL FUNCTION 'MD_PLANNED_ORDER_CHANGE' EXPORTING ecm61o = ls_cm61o eplaf = ls_plaf IMPORTING iplaf = ls_plaf icm61o = ls_cm61o.

REFRESH_PLAFX_TABLES CALL FUNCTION 'REFRESH_PLAFX_TABLES'.

MD_READ_MATERIAL CALL FUNCTION 'MD_READ_MATERIAL' EXPORTING ematnr = plafx-matnr ewerks = plafx-plwrk IMPORTING imt61d = ls_mt61d EXCEPTIONS error = 01.

MD_ORDERTYPE_PRODUCTION_ORDER * CALL FUNCTION 'MD_ORDERTYPE_PRODUCTION_ORDER' * EXPORTING WERKS = PLAFX-PLWRK * DISGR = LS_MT61D-DISGR * IMPORTING AUART = LV_AUART.

MD_READ_MATERIAL CALL FUNCTION 'MD_READ_MATERIAL' EXPORTING ematnr = plafx-matnr ewerks = plafx-plwrk IMPORTING imt61d = ls_mt61d EXCEPTIONS error = 01.

MD_ORDERTYPE_PROCESS_ORDER * CALL FUNCTION 'MD_ORDERTYPE_PROCESS_ORDER' note 498999 * EXPORTING WERKS = PLAFX-PLWRK * DISGR = LS_MT61D-DISGR * IMPORTING AUART = LV_AUART.

MD_PLANNED_ORDER_2_REQUISITION CALL FUNCTION 'MD_PLANNED_ORDER_2_REQUISITION' EXPORTING plaf1 = ls_plaf mdba1 = ls_mdba cm61o = ls_cm61o manyorders = iv_manyorders findsource = rm61p-kzzuo "TL 46C IMPORTING plaf2 = ls_plaf no_next_order = gv_no_next_order EXCEPTIONS error = 1.

MD_PEGGING CALL FUNCTION 'MD_PEGGING' EXPORTING edelkz = plauf edelnr = lv_delnr ematnr = plafx-matnr ewerks = plafx-plwrk eberid = plafx-berid EXCEPTIONS error = 01 no_requirements_found = 02 order_not_found = 03.

MD_SALES_ORDER_STATUS_REPORT CALL FUNCTION 'MD_SALES_ORDER_STATUS_REPORT' EXPORTING edelkz = plauf edelnr = lv_delnr ewerks = lv_werks "note 619124 EXCEPTIONS error = 01.

ENQUEUE_EMPLAFE CALL FUNCTION 'ENQUEUE_EMPLAFE' EXPORTING plnum = plafx-plnum _scope = '3' EXCEPTIONS foreign_lock = 2 system_failure = 3.

MD_EXPORT_ELEMENT_TO_MEMORY CALL FUNCTION 'MD_EXPORT_ELEMENT_TO_MEMORY' EXPORTING delkz = lv_delkz delnr = lv_delnr.



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