Skip to Content
avatar image
Former Member

Web: Linking Similar Objects

I'm creating a web template that includes information from several queries based on different InfoCubes. I'd like to use a single drop-down list to allow the user to select the value of an InfoObject that appears as a (dimensional) characteristic in one cube and a navigable attribute in another. Since the technical names are not the same (OBJECT1 versus OBJECT2__OBJECT1) it is not sufficient to select both data providers in the 'List' of the 'Affected Data Providers' property, however the user would not perceive them as different and would not expect to have to select them separately.

Can anyone suggest a way to link the two objects to the same drop-down control?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 05, 2004 at 08:47 PM

    .. add Last Post Date

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 07, 2004 at 01:48 PM

    Hi Robert,

    just do the following: Use a drop-Down-Box web item with the attribute ONLY_VALUES = X and generate_caption =   . This will result in HTML coding of only the option values. Now you can easily create your own select-HTML-Tag with an onchange Javascript-Command. Use the Web API (Online Documentation to create your own filter command).

    see:

    http://help.sap.com/saphelp_bw33/helpdata/en/f5/6c013a53271a05e10000000a11402f/frameset.htm

    and

    http://help.sap.com/saphelp_bw33/helpdata/en/59/edfe395dd76846e10000000a114084/frameset.htm

    Regards

       Heike

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Heike,

      Thank you very much for your response.

      I have added the form and the select block that obtains its values from the data provider, and the Onchange command as you suggested. It works fine for filtering either table, but I cannot find the syntax for specifying two data providers and their respective filter objects in the same action= command. The online help includes FILTER examples where two objects update multiple data providers but not my case; I've tried every combination I can think of including adding CMD_1=... , CMD_2=... so far without success.

      Here's my test code that includes just two providers and a single drop-down. Can you suggest how I need to modify it to have the desired effect?

      Many thanks,

      Rob



              ÂÂ


              ÂÂ
              ÂÂ
              ÂÂ
              ÂÂ
               DATA_PROVIDER: DATAPROVIDER_2



              ÂÂ


              ÂÂ
              ÂÂ
              ÂÂ
              ÂÂ
               DATA_PROVIDER: DATAPROVIDER_1


              ÂÂ


              ÂÂ
              ÂÂ
               TEMPLATE PROPERTIES






           ÂÂ







              ÂÂ


              ÂÂ
              ÂÂ
              ÂÂ
              ÂÂ
               ITEM: TABLE_1


              ÂÂ


              ÂÂ
              ÂÂ
              ÂÂ
              ÂÂ
               ITEM: TABLE_2