Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

dialog program - table with table control is initial

hey ,

i have a progarm type 1 with several screens .

in the main screen i have a table with table control that i created with the wizard that is based on :

type : begin of ST1.

         X        type char10,
         Y        type char10,
         mark  type char 10

       end of ST1.

TBL_ST1 TYPE table of ST1 with header line .

only field x is open for edit.

i'm trying in the pai and the pbo to know if TBL_ST1 is initial in all of the cases ( even if the user delete the line manualy or with the minus button )

when i use read table tbl_st1 in the pai or pbo i dosnt always get the right RC if the table is empty ,

the same for " IF TBL_ST1 IS INIITIAL ' .

i'm using - chain , module XXX at chain-input , end module .

what kind of logical expression / event will get the right RC if the table is initial ?

regards and many thanks


Former Member
Not what you were looking for? View more on this topic or Ask a question