Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

The GCP CFM Interface must be licensed separatly.

Functions

Below is a list of functions (by logical name) which are provided by the GCP CFM Interface. The functions can be called directly by using the interface class /PCH/CL_GCP_CFM_XFACE or by using the RFC function modules of function group /PCH/GCP_CFM_XFACE. Hints for using the interface class can directly be found in class documentation.

...

Method Name
RFC Function Name

Description

ADD_DOCUMENT
/PCH/GCP_CFM_ADD_DOCUMENT

Adds the document / document version to the configuration.

CAN_DOC_BE_ADDED

...

GET_CHANGE_NO

CAN_DOCUMENT_BE_REGISTERED_MLD
/PCH/GCP_CFM_CAN_DOC_BE_REGMLD

Checks on a document can be registered in CFM mvD.

CAN_DOC_BE_REMOVED

...

PREP_MAT_CHANGE

...

START_MAT_CHANGE

...

GET_DATAPACKAGES

...

START_DP_CHANGE

...

REMOVE_DOCUMENT

...

PREP_MAT_CREATE

...

GET_CONFIGURATION

...

CAN_DOC_BE_REGMLD

...

REG_DOC_IN_MLD

...

CREATE_DATAPACKAGE
/PCH/GCP_CFM_CRE_DATAPACKAGE

Create data package for a configuration.

FREE
Class interface only

Free all ressources bound by class instance. To be called whenever the instance is no longer needed, respectively the calling program is ending.

GET_DOCUMENT_CFM_USAGE
/PCH/GCP_GET_DOC_CFM_USAGE

Determine use of a document in CFM.

GET_CHANGE_NO
/PCH/GCP_CFM_GET_CHANGE_NO

Returns change number to actual material, plant, sales organization or datapackage change.

GET_CHANGE_TOKEN
Class interface only

Returns change token for maintenance of current BO object.

GET_CONFIGURATION
/PCH/GCP_CFM_GET_CONFIGURATION

Reading the configuration for the current material/plant/sales organization.

GET_DATAPACKAGES
/PCH/GCP_CFM_GET_DATAPACKAGES

Determine existing and possible data packages.

PREPARE_MATERIAL_CHANGE
/PCH/GCP_CFM_PREP_MAT_CHANGE

Set CFM change data for material, plant or sales organization change.

PREPARE_MATERIAL_CREATE
/PCH/GCP_CFM_PREP_MAT_CREATE

Set CFM data for creating material, plant or sales organization.

REGISTER_DOCUMENT_IN_MLD
/PCH/GCP_CFM_REG_DOC_IN_MLD

Register document in CFM mvD.

REMOVE_DOCUMENT
/PCH/GCP_CFM_REMOVE_DOCUMENT

Removes a document from the configuration.

SET_DOCUMENT_OBJECT
Class interface only

Sets the active / to be used document.
For RFC functions, this is directly a parameter in corresponding functions.

SET_ECM_MODE
Class interface only

Sets exam type to document change number.
For RFC functions, this is directly a parameter in corresponding functions.

SET_MATERIAL_CLIENT
Class interface only

Sets the active / to be used material (client).
For RFC functions, this is directly a parameter in corresponding functions.

SET_MATERIAL_PLANT
Class interface only

Sets the active / to be used plant.
For RFC functions, this is directly a parameter in corresponding functions.

SET_MATERIAL_SALES_ORG
Class interface only

Sets the active / to be used sales organization.
For RFC functions, this is directly a parameter in corresponding functions.

START_DATAPACKAGE_CHANGE
/PCH/GCP_CFM_START_DP_CHANGE

Take data package of a configuration in change.

START_MATERIAL_CHANGE
/PCH/GCP_CFM_START_MAT_CHANGE

Starts a CFM change for material, plant or sales organization including status change or organization unit.

In the interface kit, tests report providing a template to call above functions, is included:

  • /PCH/GCP_CFM_XFACE_TEST direct RFC / Class calls

  • /PCH/GCP_CFM_EXTNS_TEST example using BAPI extension structrure