Programme SAP RGSEX020 - Example: Find a Cost Element in a Cost Element Hierarchy

Description
The program searches for a specified cost element in a cost elementhierarchy which you have also specified.

Precondition
The cost element hierarchy must exist.

Output
The system outputs all of the cost element groups (end nodes in thecost element hierarchy) that contain the desired cost element. Thesystem also gives the short description of each of the cost elementgroups and the line number where it was found.

Example
To search for the cost element 400002 in the cost element hierarchyBAB-GKR for chart of accounts GKR you must call up the program with thefollowing parameters:

  • Chart of accounts: GKR

  • Cost element hierarchy: BAB-GKR

  • Find cost element: 400002