Skip to Content

Consume SAP Calculation View with input parameters

Hi friends!

I'm trying to use calculation view made by SAP BOMExplosionQuery in my custom graphical calculation view but this SAP view has input parameter, so I'm getting an error.

How can I use this SAP View in my custom view? I'm trying to avoid script view 'cause I don't wanna use a loop lace.

Thanks for any help.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2014 at 05:32 PM

    You should define input parameter for yous custom view and map on wrapped view parameter.

    When calling custom view pass parameter via => expression, like:

    SELECT * FROM "<package>::VIEW_NAME" (PLACEHOLDER.\"$$PARAM_NAME$$\" =>'<param value>')";

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Fulvio,

      Still not much details.

      What are the parameters needed by BOMExplosionQuery (I'm not with a system with SAP HANA Live right now)


      I guess the parameter is exactly the material so in that case this view is prepared to answer one by one.

      Still doing loop what you can do is cache results per parameters call to avoid call it more than once.


      Regards, Fernando Da Rós

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.