Skip to Content
author's profile photo Former Member
Former Member

Drill Down Error DET_LEVEL

Hi,

I am writing a macro to enable data entry only when drill-down on 2 characteristics say Customer and Material.

=========================

IF

- Disaggregation Check

DET_LEVEL('9AMATNR')=1

AND

DET_LEVEL('9ACUST')=1

Row : KeyFigure (Attributes)=

ROW_INPUT(1)

ELSE

Row : KeyFigure (Attributes)=

ROW_INPUT(0)

ENDIF

=========================

When I try to generate this ,I am getting the error

the field DET_LEVEL is unkknown but there is a similar field CON_DET_LEVEL.

I tried using AGG_LEVEL also but then got the error that CON_AGG_LEVEl is available.

But I couldn't find either CON_DET_LEVEL or CON_AGG_LEVEL in functions list. Neither was I able to use it.

Can anyone tell me what could be the problem ?

Thanks,

Arunesh Chakrapani

Edited by: Arunesh Chakrapani on Jan 31, 2008 8:53 AM

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 12:48 PM

    HI Arunesh.

    In general, when maintaining parameters inside parenthesis make sure there is a space following the '(' and before the ')'.

    So in your example:

    DET_LEVEL('9AMATNR')=1

    should be

    DET_LEVEL( '9AMATNR' )=1

    Hope this helps.

    M

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 12:52 PM

    yes, that's true. I actually figured out some time back but thanks for the answer. Here is your points 😉

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.