on 02-12-2016 1:54 PM
All,
I have a requirement to insert a default hierarchy variable based on the sy-uname running a query. The user should also have the ability to change this value if required.
I have created a hierarchy variable:
General Tab:
Type = Hierarchy Node
Processing By: Manual Input/Default Value
Reference Characteristic = Profit_ctr
Details:
Several Single Values
Mandatory
Variable is Ready for Input
In CMOD I have a case statement for i_step.
when 1, I want it to execute my code to determine the profit centre of the user.
However when I add a break-point, it stops at another variable I have created (a date variable - interval/mandatory) no problem, but doesn't stop for my hierarchy variable.
Is it not possible to set a default value for hierarchies?
I'd be very grateful if anyone can explain how I can do this. I need the values to be pre-populated in the selection box.
Alternatively if it is not possible as standard, where the code breaks for the date variable at step1, is there another way I can add my hierarchy variable row into itab i_t_var_range?
We are running BW7.4 SP6
Thanks.
Hi Angela,
The problem is that the variable is configured as: Processing By: Manual Input/Default Value.
It should be: Processing By: Customer Exit.
Best regards,
Sander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.