cancel
Showing results for 
Search instead for 
Did you mean: 

Hide Costing condition

Former Member
0 Kudos

As customers needs they want that a certain users can see the Cost condition in sales order and others cant see it so they do not know the profit

Please give me the steps to do this.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can write a routine and attach and attach to the condition type under alternate calculation, the logic can be as

*{ INSERT

*if sy-uname eq 'user -id'.

  • sy-subrc = 0.

  • else.

  • sy-subrc = 4.

*endif.

*} INSERT

Prasad

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Please check note 105621 - Authorization check for the condition screen.

Thanks.