cancel
Showing results for 
Search instead for 
Did you mean: 

Using internal tables in mvc based bsp application

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

raja_thangamani
Active Contributor
0 Kudos

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

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

Raja T

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

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>

Former Member
0 Kudos

Problem solved.thanks.