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

declare WOrkarea

Former Member
0 Likes
718

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
Read only

h_senden2
Active Contributor
0 Likes
688

data: wa type ROIITANKDIP_DISPLAY.

regards,

Hans

Please reward all helpful answers !!!!!

Read only

Former Member
0 Likes
688

mansi,

Data : wa_stru like ROIITANKDIP_DISPLAY occurs 0.

Read only

Former Member
0 Likes
688

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

Read only

0 Likes
688

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

Read only

0 Likes
688

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

Read only

Former Member
0 Likes
688

Hi ,

data work_area type ROIITANKDIP_DISPLAY .

rgds

Deepak.

Read only

Former Member
0 Likes
688

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.