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

OLAP BAPI - MDX Extension - SAP VARIABLES

Hello,

we use OLAP BAPI in oder to run queries angainst BW. Queries are written in MDX using the SAP VARIABLES extension to MDX. When using a variable for characteristic "0MATERIAL", the system returns an error stating that the specified value is not correct with this characteristic (we test our queries using tx "mdxtest"). In fact, the specified value exists for 0MATERIAL. Are there any further restrictions to using the SAP VARIABLES-clause (e.g., ALPHA-conversion exit)?

Thank you!

Kind regards,

Tom

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 22, 2005 at 09:23 PM

    All literals in SAP must have the right input format.

    The conversion routine for Materials is "MATN1".

    FM 'CONVERSION_EXIT_MATN1_INPUT' to convert External Material Numbers to Internal format. FM 'CONVERSION_EXIT_MATN1_OUTPUT' to convert Internal Material Numbers to External format.

    Hope that Helps!

    Rishi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Rishi,

      thank you for your comment. You are right - the conversion exit is MATN1. In fact it does not work either using a material number in external format or using a material number in internal format. Any further ideas - are there any specifics to MDX using clause SAP VARIABLES?

      Thank you!

      Kind regards,

      Tom

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.