Application Development 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: 

declare WOrkarea

Former Member
0 Kudos

Hi abappers,

i want to declare a work area for a structure ROIITANKDIP_DISPLAY in OO ABAP.

can u give me the syntax for the same.

regards,

mansi.

7 REPLIES 7

h_senden2
Active Contributor
0 Kudos

data: wa type ROIITANKDIP_DISPLAY.

regards,

Hans

Please reward all helpful answers !!!!!

Former Member
0 Kudos

mansi,

Data : wa_stru like ROIITANKDIP_DISPLAY occurs 0.

Former Member
0 Kudos

HI,

data: begin of itab occurs 10, 
           ab type c, 
           cd type i, 
        end of itab.  " this table will have the header line. 

data: wa_itab like itab. " explicit work area for itab

Regards

Sudheer

0 Kudos

Can u tell me how to declare an internal table in OO ABAP with a header line.

0 Kudos

like this

<b>data: w_ekbe type standard table of ekbe initial size 0,

w_ekbe_l like line of w_ekbe,

loop at w_ekbe into w_ekbe_l where belnr ne w_lips-vbeln.

w_sum_d = w_sum_d + w_ekbe_l-menge.

endloop.</b>

Regards

Prabhu

Former Member
0 Kudos

Hi ,

data work_area type ROIITANKDIP_DISPLAY .

rgds

Deepak.

Former Member
0 Kudos

Hi,

its not possible to create an internal table with header line in OO ABAP.

for that we need to go for field-symbols.

check this his may be helpful.

http://help.sap.com/saphelp_46c/helpdata/en/fc/eb387a358411d1829f0000e829fbfe/content.htm

regards,

bharat.