Ansicht
Dokumentation

PVSHI_PNCMP_READ - iPPE: Read Nodes of Product Structure

PVSHI_PNCMP_READ - iPPE: Read Nodes of Product Structure

ROGBILLS - Synchronize billing plans   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use the function module PVSHI_PNCMP_READ to read the nodes, alternatives, and relationships of the product structure. You can also read the relationships for the activities of the process structure and the generic engineering node.

  • Read product structure nodes
All nodes to be read must be specified in the table COMPONENTNODEDATA. The node is identified by its internal identification (NODE_ID). The function modules PVSHI_INTERNAL_OBJECT_ID or PVSHI_PNCMP_GETLIST can be used to determine the internal identification for an external identification (node name and product class).
In this case, the function module returns all attributes of this node, such as texts and variance schemes. All alternatives and relationships assigned to this node and this alternative are also returned.
  • Read alternatives
All alternatives to be read are specified in the table COMPONENTALTERNATIVEDATA. The alternative is identified by its internal identification (ALTERNATIVE_ID). The internal identification of an alternative can be determined with the function module PVSHI_INTERNAL_OBJECT_ID.
In this case, the function module reads all attributes of the alternatives, as well as all assigned relationships.
  • Read relationships
All relationships to be read must be specified in the tables COMPONENTRELATION (PVS relationships), ACTIVITYRELATION (relationships for the process structure), and GENERICRELATION (relationships for the generic engineering node). The relationships are identified by their internal identification (RELATION_ID), which can be determined using the function module PVSHI_INTERNAL_RELATION_ID. The tables COMPONENTNODEDATA and COMPONENTALTERNATIVEDATA cannot be filled.
In this case, the function module reads the attributes of these relationships. If a relationship has several historical statuses, they are all output. If only specific historical statuses are to be read, the change number must be specified in the CHANGE_NO field in the tables COMPONENTRELATION and GENERICRELATION. The parameter I_CHANGENO_SPECIFIED must contain the value 'X'.

Example

Notes

Further information





Parameters

ACTIVITYRELATION
ACTIVITYRELATIONCONSTRAINT
ADMINDATA
COMPONENTALTERNATIVEDATA
COMPONENTALTERNATIVETEXT
COMPONENTALTLONGTEXT
COMPONENTALTLONGTEXTHEADER
COMPONENTNODEDATA
COMPONENTNODEEXTENSION
COMPONENTNODELONGTEXT
COMPONENTNODELONGTEXTHEADER
COMPONENTNODETEXT
COMPONENTRELATION
GENERICRELATION
I_CHANGENO_SPECIFIED
I_MODE_ALL
I_MSG_HANDLING
RETURN
VARIANCESCHEME
VARIANCESCHEMEHEADER

Exceptions

Function Group

PPEHI_CMP

Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 4943 Date: 20240523 Time: 140925     sap01-206 ( 73 ms )