Skip to Content
Former Member
Jan 17, 2008 at 01:06 PM

Query on AT NEW


Hi I have a internal table i_vttp1 of following structure.

TYPES: BEGIN OF t_vttp1,

tknum TYPE vttp-tknum,

tpnum TYPE vttp-tpnum,

vbeln TYPE likp-vbeln,

kunnr TYPE likp-kunnr,

END OF t_vttp1.

Now i have to put a AT NEW for both the kunnr and tknum.

i have sorted the table. But i am nt very sure whether i can write "AT NEW kunnr tknum." ... like this. bcoz do far i have been using at new for single field only. kindly help.