Fonction SAP /SAPTRX/XCP_PP_ORDER_PMF10 - CP: manufacturing. Order for Production Malfunction Visibility Process

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ALL_APPL_TABLES TRXAS_TABCONTAINER 0 Container with references to all tables passed by the application
I_APPSYS /SAPTRX/APPLSYSTEM C 10 Logical system ID of an application system
I_APP_OBJECTS TRXAS_APPOBJ_CTABS 0 Tables all appl. object types
I_APP_OBJ_TYPES /SAPTRX/AOTYPES u 694 Application object type
I_APP_TYPE_CNTL_TABS TRXAS_APPTYPE_TABS 0 Control tables and nametabs for all appl. object types

Paramètre Reférence Long. Facultatif Description
E_CONTROL_DATA /SAPTRX/CONTROL_DATA 331 Control data for application objects
E_LOGTABLE BAPIRET2 548 X Return Parameter

Exception Description
CDATA_DETERMINATION_ERROR Error in control data determination
PARAMETER_ERROR Error in Parameters
STOP_PROCESSING Stop processing
TABLE_DETERMINATION_ERROR A required datatable could not be found

Functionality
This function module is used in the production malfunction visibilityprocess for the control parameter extractor.
This function module is only available when you use the work orderheader (WORKORDER_HEADER) as a main object table in the relevantapplication object type.
It selects data from the manufacturing order. Most of the data thatcould be relevant to supply chain event management is selected to allowuniversal use of the function.

Example
The following control parameters are created in this function module:

  • Manufacturing Order - ,,,,,,Order Header

  • Sales Order - ,,,,,,,,Order Header

  • Inspection Lot - ,,,,,,,,Order Header

  • Order Category - ,,,,,,,,Order Header

  • Planned Start Date - ,,,,,,Order Header

  • Planned Finish Date - ,,,,,,Order Header

  • Production Scheduler - ,,,,,,Order Header

  • MRP Controller - ,, ,,,,,,Order Header

  • Plant - ,,,,,,,,,,Order Header

  • APO Integration Indicator - ,,,,,,Status

  • Material - ,,,,,,,,,,Order Item

  • Batch - ,,,,,,,,,,Order Item

  • MRP Area - ,,,,,,,,,,Order Item

  • Work Center [0...n] - ,,,,,,Order Operation
  • Notes
    At least all the following fields should be filled in export parameterE_EXPEVENTDATA:

    • APPSYS (logical system ID of an application system)

    • APPOBJTYPE (application object type)

    • LANGUAGE (language)

    • MILESTONE (event name)

    • MILESTONENUM (counter)

    • EVT_EXP_DATETIME (expected date/time)

    • EVT_EXP_TZONE (expected event time zone)