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

statement is not accessible

Former Member
0 Likes
923

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.

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

Former Member
0 Likes
868

DATA xxx TYPE string VALUE 'fenerbahce'.

WRITE xxx.

PERFORM ccc.

WRITE xxx. -


>>>>>>this was the error.

FORM ccc .

xxx = 'galatasaray'.

WRITE xxx.

ENDFORM. "ccc

Read only

Former Member
0 Likes
868

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...

Read only

0 Likes
868

Thanks.i see.

Read only

Former Member
0 Likes
868

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

Read only

0 Likes
868

where i should ask that kind of question?

Read only

0 Likes
868

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