The QPPD Business Service (BUS) serves as an interface for the developer to be able to use the QPPD from customer programs. All basic functionalities of the QPPD cockpit can be controlled via the BUS.
Interface /SCT/QP_IF_BUS
Method  | Documentation  | 
|---|---|
activate  | Activate global generation You can use this method to activate global generation for a rule.  | 
activity  | Execute operation You can use this method to execute an operation on a specification. Existing rules are taken into account. In Customizing, an operation can be set as a user operation or a non-user operation. Operations that are declared as non-user operations are not available in the QPPD interface. They can only be executed using the coding, such as this BUS method.  | 
change  | Change data Change data in the specification. The change parameters are passed in the form of node data tables. Depending on the number of fields defined per line, the following can be achieved: GUID: An existing node is determined for the GUID. VTYP: An existing node is determined for the VTYP if this is marked as unique in the hierarchy. Otherwise, a new node is created for the VTYP. None: The containing VTYP in the hierarchy is determined for each entry in a value table. If no corresponding node exists, it is created. However, all of this only works with VTYPs marked as unique in the hierarchy. This method should be enclosed in a CREATE method in each concrete VART class. In their implementation, specific conversions of the corresponding VART structure can be implemented if required.  | 
copy  | Copying a complete specification With this method, a complete specification including data, subnodes, etc. can be copied. It should be noted that the GUID and VNR still change. The status of the copied rule is also not transferred; the new rule has the initial status.  | 
create  | Create a specification Create a new specification. This method should be enclosed in a CREATE method in each concrete VART class. The implementation of this should include a call with a fixed specification type. The type of the return parameter should also correspond to the concrete class. In this way, the instantiation of the concrete VART class is kept as simple as possible. Above all, this eliminates the need for explicit casting of the object reference if concrete methods are to be accessed.  | 
create_child  | Create an original child for a node Use this method to create a child under a specification or item.  | 
create_copy  | Creating a node as a copy Create a copy of a rule. It is important to note here that this is not a 1 to 1 copy, as the VNR and VVS change as if a new specification were being created. Only the data is identical. The status is also not transferred, so if a released specification is copied, the new specification is not released but is in the initial status.  | 
create_ref  | Create a child with a reference  | 
create_rel  | Creating a relationship between two existing nodes  | 
create_version  | Create a new version for a specification  | 
delete  | Deleting a specification Deleting an entire specification or deleting individual data of a specification and its children  | 
delete_rel  | Delete the relation between two nodes  | 
display  | Call the Cockpit and display an object You can use this method to open a specification in the QPPD interface. You can use IV_NEW_MODE to control whether it should be opened in a new window or not.  | 
do_version_replace  | Version replacement  | 
edit  | Call Cockpit and edit an object  | 
free  | Removing QPPD objects from memory  | 
generate  | Generating an object  | 
get_buffered_nodes  | Read object from memory without loading it  | 
get_expl_date  | Return the current explosion date  | 
is_loaded  | an object is loaded in memory  | 
load  | Loading multiple specifications  | 
read  | Reading the data for an object  | 
read_info  | Reading the data for an object  | 
save  | Save  | 
save_info  | Saving the info tables  | 
select  | Read QVC data from the database  | 
set_expl_date  | Set the explosion date  | 
set_globgen_off  | Trying to disable the GG  | 
set_globgen_on  | Trying to activate the GG  | 
start_cockpit  | Launch the cockpit  | 
workmode_change  | Set the object to change mode  | 
workmode_display  | Set the object to display mode  |