Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Two Workareas..

Former Member
0 Likes
604

How to create Two workareas for an internal table?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
576

Hi,

DATA: ITAB TYPE STANDARD TABLE OF MARA.

DATA: WA1 TYPE MARA. "first work area for ITAB

DATA: WA2 TYPE MARA. "second work area for ITAB

4 REPLIES 4
Read only

Former Member
0 Likes
576

Whats the problem in creating 2 wrk areas,

tables: mara.

data:wa1 like mara,

wa2 like mara.

Regards,

Read only

Former Member
0 Likes
577

Hi,

DATA: ITAB TYPE STANDARD TABLE OF MARA.

DATA: WA1 TYPE MARA. "first work area for ITAB

DATA: WA2 TYPE MARA. "second work area for ITAB

Read only

Former Member
0 Likes
576

data : begin of itab occurs 1,

col1 type i,

col2(6) type c,

end of itab.

data : wa like line of itab. "2 nd workarea where 1st work area is default workarea

" itab .

Read only

Former Member
0 Likes
576

tables: spfli.

data : wa1 type spfli,

wa2 type spfli.

If u want two work areas with the same name u can use TABLES * SPFLI along with tables spfli.

But this is obselete statement.