sap - ABAP: How to declare table inside structure -


in order achieve smartform, i'm supposed declare table within structure. tried it's not working:

types: t_qase2 type table of qase.  types:  begin of ty_itab.   pruefer type qase-pruefer.   zeiterstl type qase-zeiterstl. *  ......(other fields)   ty_qase2 type t_qase2.   include structure s_f800komp. types end of ty_itab. 

to declare table in structure give table type non-unique key 1 of fields:

types: mytabletype type table of string non-unique default key.  types: begin of ty_itab,     pruefer    type qase-pruefer,     zeiterstl  type qase-zeiterstl,     mytable    type mytabletype, "table here     ty_qase2   type t_qase2.     include structure s_f800komp. types:  end of ty_itab. 

also notice end every line dot. in case have use ,


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -