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

Using internal tables in mvc based bsp application

Hello all,

Is it not possible to declare a internal table type structure(not declared in ddic) and display the data in the view in a mvc based bsp application?If possible then how??

Regards,

Niky.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Nov 05, 2007 at 03:05 PM

    It is possible with BSP flow logic but not in MVC application.

    <b>*Reward each useful answer</b>

    Raja T

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 06, 2007 at 01:49 PM

    Sure it is possible. You just don't have the TYPES tab like you do in the page flow logic. However you can always declare types in code blocks within the view if you need to.

    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title=" " >
        <htmlb:form>
          <%
      data ireslt type standard table of string.
      data isflight type standard table of sflight.
      select * from sflight into table isflight.
          %>
          <htmlb:tableView id    = "isflight"
                           table = "<%= isflight %>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>

    Add a comment
    10|10000 characters needed characters exceeded

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.