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: 

statement is not accessible

Former Member
0 Kudos
118

hi i am new at here and ABAP.so i think question is easy for you.

report ztest7.

data xxx type string value 'fenerbahce'.

write xxx.

perform ccc.

form ccc .

xxx = 'galatasaray'.

write xxx.

endform.

write xxx.

this code gives a error which is "statement is not accessible". in the last row.

can you help me.

thanks.

altuko.

6 REPLIES 6

Former Member
0 Kudos
63

DATA xxx TYPE string VALUE 'fenerbahce'.

WRITE xxx.

PERFORM ccc.

WRITE xxx. -


>>>>>>this was the error.

FORM ccc .

xxx = 'galatasaray'.

WRITE xxx.

ENDFORM. "ccc

Former Member
0 Kudos
63

Hi Altuko,

Please write the last statement WRITE XXX after PERFORM CC like below :-

report ztest7.

data xxx type string value 'fenerbahce'.

write xxx.

perform ccc.

write xxx.

form ccc .

xxx = 'galatasaray'.

write xxx.

endform.

This will work. I have tested.

Please set to resolved if it helps you.

Regards

Abhii...

0 Kudos
63

Thanks.i see.

Former Member
0 Kudos
63

Moderator message - Sorry - this is not a training forum. Basic questions should not be asked. or answered.

0 Kudos
63

where i should ask that kind of question?

0 Kudos
63

You would probably be better off joining some other ABAP groups . I believe YAHOO has anumber of them.

(Probably best to avoid SAPFANS as well.)

Rob

Edited by: Rob Burbank on Nov 13, 2009 10:51 AM