Ansicht
Dokumentation

PPEHI_PNGEN_MAINTAIN - Read Generic Engineering Node

PPEHI_PNGEN_MAINTAIN - Read Generic Engineering Node

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use the function module PPEHI_PNGEN_MAINTAIN to create, change, or delete generic engineering nodes from iPPE. You can also use this module to maintain relationships between generic engineering nodes and other iPPE objects.

The module must be provided with the node identification in the table GENERICNODEDATA. Nodes are identified by their internal identification (NODE_ID). You can use the function module PVSHI_INTERNAL_OBJECT_ID to determine the NODE_ID of a node (for nodes that already exist and for nodes that are to be created).

All data belonging to a node must be entered in the appropriate tables. The internal identification of the node (NODE_ID) must also be entered. Attributes that are not transferred to the module are deleted. For example, when only table GENERICNODEDATA is filled with data, the relevant nodes are created or changed. Any texts that exist for these nodes are deleted. When you change a node, we therefore recommend that you first use the function module PPEHI_PNGEN_READ to read the attributes of the node.

To delete generic engineering nodes or relationships, you must transfer the appropriate internal identifications in the table parameters GENERICNODEDATA and GENERICRELATION. The fields DELETE_FLG and DELETE_NONHIST_FLG must have the value 'X'. If the DEEP_DELETE_FLG field also has the value 'X', all references to the object being deleted from other iPPE objects are also deleted.

Example

Example coding can be found in the documentation for the PPEHI_GEN function group.

Notes

Customer enhancements for the generic engineering node are maintained using the table GENERICNODEEXTENSION. It contains the values for customer-specific fields. They are assigned to the appropriate node by the internal identification of the node (NODE_ID).

Further information





Parameters

GENERICNODEDATA
GENERICNODEEXTENSION
GENERICNODELONGTEXT
GENERICNODELONGTEXTHEADER
GENERICNODETEXT
GENERICRELATION
I_CREATE_FLG
I_MODE_ALL
I_MSG_HANDLING
RETURN

Exceptions

Function Group

PPEHI_GEN

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.

Length: 3220 Date: 20240523 Time: 142826     sap01-206 ( 59 ms )