Ansicht
Dokumentation

BAPI_EXPENDITUREPROGTREE_CREAT - Create Program Sub-Tree

BAPI_EXPENDITUREPROGTREE_CREAT - Create Program Sub-Tree

General Material Data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Function

Using this method, you can create a program sub-tree in the program entered. The program definition has to exist already in the system in which the sub-tree is being created. You can either create a separate program tree, or add a sub-tree to an existing program tree.

Set the TEST_RUN indicator to have the system check if creating the sub-tree is possible without errors. You receive a list showing any errors. In this way, you avoid the situation in which multiple errors cause the creation of the sub-tree to be interruped each time. The sub-tree is not created when this indicator is set.

Notes

You specify the program by entering these parameters:

You control the position, to which the sub-tree should be assigned, using the PARENT and PREDECESSOR fields.

The program positions are transferred in the PROGTREE internal table. Along with the master data, this table has to supply the hierarchy of the sub-tree.





Parameters

APPROVALYEAR
APPROVALYEAR_IN
LANGUAGE
LANGUAGE_ISO
PARENT
POSITION
PREDECESSOR
PROGRAM
PROGRAM_IN
PROGTREE
RETURN
TEST_RUN

Exceptions

Function Group

1158

Vendor Master (General Section)   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2666 Date: 20240523 Time: 110005     sap01-206 ( 35 ms )