I want to create a pattern in abap editor.
the pattern description is as follows:
when i enter the pattern name in other pattern . the system should ask the table name(ztable). and after entering the table name the system should print all the fields of that ztable.
like below -all the fields of ztable should get printed in abap editor.
fld1 fld2 fld3 fld4 ......
can we create such a zpattern in abap editor.
if currently exists such pattern which only prints the list of all fields of ztable (or standard table),
moreover i'll create patthern for statements like
move i_tab1-fld1 to i_tab2-fld1. move i_tab1-fld2 to i_tab2-fld2. move i_tab1-fld3 to i_tab2-fld3.
where i_tab1 is like ztable1 and i_tab2 is like ztable2.
suggest some code to implement above.