Skip to Content
0
Former Member
Dec 06, 2006 at 11:54 AM

Hierarchy Variable with customer exit

164 Views

I have created a hierarchy variable for COSTCENTER and have used in the filter part of a Query to restrict the costcenter values.

The Variable will provide selection screen and the drop down in the seletion screen will be populated through a customer exit.

I have an characteristic infoobject which is 1 character has username 0TCTUSERNM and Authorization for hierarchy 0TCTAUTHH as compounding characteristics.

The infoobject has usernames and the costcenter values as compounding characteristic information.

In the customer exit, the a selection is done from above mentioned infoobject based on sy-uname and the corresponding costcenter values stored in 0TCTAUTHH is picked and added to the range table.

When I run the query, it displays the restricted values of nodes and leaves selected from the master data of the above mentioned infoobject, but when I run the query from the selection screen, it given an error message.

The error message is

BRAIN 643 'Value technical node name for variable name of hierarchy is invalid'.

I am working on 3.5. Thanks.