Skip to Content
author's profile photo
Former Member

Determining DataProvider infocube at runtime

I would like to know if there is an easy way to determine what InfoCube is assigned to a dataprovider at runtime of a Web template. My goal was to take the InfoCube name and then use it in some JavaScript code to control further logic in building the page. I saw some JavaScript functions in the API docs that get you Item properties or a DataProvider characteristic list, but I did not see anything to determine what the current value of INFOCUBE was.

My only thought was trying to inspect the URL string for the INFOCUBE pattern under a specific provider, but since we have encryption, I don't think that is feasible. Any thoughts on obtaining this would be appreciated.

Thanks.... Jody Chassereau

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Jul 19, 2004 at 02:55 PM

    Hi,

    use the web item text elements

    with generate_caption= and only_values=X ELEMENT_NAME_1=INFOCUBE

    http://help.sap.com/saphelp_nw04/helpdata/en/9f/4e9d39d44cd45ee10000000a11402f/frameset.htm

    Regards

    Heike

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thank you so much, Heike.. That was exactly what I needed to accomplish this and was much more straightforward than when I had the hidden select box. I really appreciate you explaining how to bring text element data into web template logic.

      Thanks! Jody