CL_EBR_DATA_POC - PMC Interface for EBR

CL_GUI_FRONTEND_SERVICES - Frontend Services   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Functionality

Class 'CL_EBR_DATA_POC' defines the interface between the Process Manufacturing Cockpit (PMC) and ElectronicBatch Record (EBR). Documents in the current system and external documents (decentralized process coordination)are handled equally. For external documents only, the external ID for a control recipe and the RFC connection are established via the

'CR_GET_DEC_PISHEET_FROM_BUFFER'

function.

Decentralized process coordination supports the cascaded sending of control recipes and messages. Bearingthis in mind, class'CL_EBR_DATA_POC' supports parallel access to more than one external system at thesame time as well as cascading access. The function named above only provides the external ID and theRFC connection for the system that is actually contacted. The RFC connections must, therefore, be correctly maintained in the different systems.

The following data is to be available for EBR:

  • Archiving files (XML, XSL, CSS, GIF)
  • Data for limits that are exceeded
  • Data for deviations from process steps (digital signature with comments)
  • Comments about the relevant documents and the individual elements in the documents.

Class 'CL_EBR_DATA_POC' also contains status management for the PMC documents for the caller (EBR). The calker can request the following actions for individual documents or for a list of documents:

  • REFRESH: The data mentioned above is updated if out-of-date.
  • PREPARE: The document is prepared for archiving (status check, lock with scope 1)
  • UPDATE: The change in status is written to the update task (scope lock is now 2).

The caller must trigger or settle posting for the documents that exist locally. In the case of external documents, the store function for the data must be called explicitly, immediately before the local data is stored.

For each PMC document, an instance of class 'CL_EBR_DATA_POC' is generated when accessed. The instancebuffers all data mit the current version number. Class 'CL_EBR_DATA_POC' implements an internal instance management. The alternative method of accessing the PMS DomainModel, the OS transaction, is reduced to a minimum.

When external systems are accessed, the number of RFC calls is minimzed. This is possible if the actions described above are requested for a list of documents and not for single documents only.

Relationships

iXML

CL_LAYOUT_POC

CL_XML_DOCUMENT_POC

CL_APPLICATION_STEP_POC

CR_GET_DEC_PISHEET_FROM_BUFFER

Further information



TXBHW - Original Tax Base Amount in Local Currency   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.


Length: 2742 Date: 20120526 Time: 142709     triton ( 157 ms )