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

This syntax error 'Statement is not accessible'

Former Member
0 Likes
2,603

hi,

Writng the following syntax

data c1_obj type ref to c1.

create object c1_obj.

error is showing as

'Statement is not accessible'

kindly tell me the reason.

thanks in advance

Ansuman

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
730

Ashuman,

data c1_obj type ref to c1.

start-of-selection.
create object c1_obj.

Amit.

3 REPLIES 3
Read only

Former Member
0 Likes
731

Ashuman,

data c1_obj type ref to c1.

start-of-selection.
create object c1_obj.

Amit.

Read only

0 Likes
730

Buddy,

Can you please tell the reason, please dont mind as i'm new to ABAP.......

Edited by: vivekd on Jun 1, 2011 2:20 PM

Read only

Former Member
0 Likes
730

When u r creating a object of the class , specify to start with ' start-of-selection'