Skip to Content
avatar image
Former Member

Table Control


i have to develop table control so that it should have header details in the top and the item details at bottom of the screen...for this whether i hav to develop 2 different tables in database or one table is enough?............while creating z-table whether i need to have a mark field for selection in ztable or it is not there is an option for line selectability in table control creation itself.....why i am asking this is when we write code for delete or add or something like this.....

when mark = 'x'.

delete itab......

if we dont have field in ztable what might be the above code?

can any one explain this?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 19, 2009 at 03:10 PM


    Usvally for header and item we have to crete two table.

    and about the mark filed: no need to insert the mark field in database table.

    you have to handle this field through program.

    define internal table : example if you want to one ztable in table control along with mark field means .

    sample code:Data:begin of it_control.

    include structure zxxxx.

    data: mark type c,

    end of it_control.

    while designing the table control in se51 use get from program option to select the rows and choose it_control internal table fields and insert those fields .

    handle this it_control through your program code.

    try to use this way . this will help to you.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      Please goto Tcode "ABAPDOCU"

      and navigate down to ABAP user dialog -> screens -> complex screen Elements -> Table control.

      For any such help please refer to ABAPDOCU tcode.

      Hope the discusion was helpful.