cancel
Showing results for 
Search instead for 
Did you mean: 

how to create internal table for a structure in BSP

Former Member
0 Kudos

hi ,

I have created a Structure in BSP.I want to create an internal table for that Structure. But in my coding ie.

<% data: begin of itab_1 .
                 include type zuvendstr.
                 data:end of itab_1.
                 data wa_str like line of itab_1.
                 loop at itab_1 into wa_str. %>
                 
                <tr>
                 <td><%=wa_str-name%> </td>

                       <%endloop.%>

In this zuvendstr is Structure ,wa_str is workarea and itab_1 is an Internal table.But it is showinng an error that itab_1 is unknown.But we cannot define internal tables for an Structure in Page Attributes.So,please resolve how to create internal table for Structure in BSPS

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

thnk for u answer,this hepled me alot

Former Member
0 Kudos

Hi,

You can define itab_1 like this (assuming zuvendstr is a structure type):

DATA: itab_1 TYPE TABLE OF zuvendstr.

Regards,

Tanguy