There are two options or more to define workarea, but we must define internal table firstly.
DATA : it_mara TYPE STANDARD TABLE OF mara.
DATA : wa_mara LIKE LINE OF it_mara.
OR
DATA : wa_mara TYPE mara.
Subscribe to:
Post Comments (Atom)
we had internal table , based on that how to declare the work area by using final table
ReplyDeleteIf you have an internal table already you can store the work area in two ways .
ReplyDeleteConsider we have a structure ty-mara and an internal table it_mara.
1)By using the statement types .
Data wa_mara type ty_mara.
2)BY using the statement like.
Data wa_mara like line of it_mara.
why do we have to define working area`? is it necessary
ReplyDeletehow to define workarea without DATA statement?
ReplyDelete