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

Variable type attribute in the WEB

I have the following problem using variable of type attribute using the Web as front-end tool.

In fact we use variable of type characteristic set in the web with no problem using

the example published in PDF document "Call a BSP Web Interface with Predefined Selections".

But the variable of type attribute doesn't work as expected and as works using Microsoft Excel or SAP ALV Grid

as front-end tool because it is not able to write the attribute value in "Set variable" screen.

May you help us?

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 20, 2004 at 09:10 PM

    Nicola,

    the how-to paper explicitly mentions that "you cannot use a variable type attribute, as this type cannot be set using the API".

    You have two options:

    - code the WHEN 'ATTRIBUTE' section yourself using ABAP class CL_SEM_VARIABLE

    - replace the attribute variable with a CHARACTERISTIC variable type exit.

    Regards

    Marc

    SAP NetWeaver RIG, US BI

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Marc Bernard

      Hello Marc, your councils have been much precious.

      I have created a function and it's executed from the BSP every time that a user load a layout in which it is necessary to value one o more variables of type attribute.

      Best regards,

      Nicola Commari

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.