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: 

Getting error "Statement not accessible"! Please help!

Former Member
0 Kudos

We upgraded from 4.6C to ECC6.0 and some warnings in 4.6C are "syntax errors" in ECC6.0! I have the following code:

SELECTION-SCREEN BEGIN OF BLOCK B4 WITH FRAME TITLE TEXT-T04.

UNIX_SINGLE 'MYPAR1' MYPAR3 P_BDWAVE TEXT-SS3.

SELECTION-SCREEN END OF BLOCK B4.

UNIX_SINGLE is a macro. I found some information on this error here but could not relate my problem to any of those forums! Could someone please help! Any answers will be rewarded.

Thanks.

--Mithun

3 REPLIES 3

Former Member
0 Kudos

Hello,

The error in ABAP means that an event has to be defined .

Define an event before ur code.

Regards,

Deepu.K

Former Member
0 Kudos

Thanks Deepu. Could you please tell me how to define an event/macro?

Thanks.

Mithun

0 Kudos

DEFINE CLEAN.
CLEAR &1
REFRESH &1
END-OF-DEFINITION.

You call it like this...


CLEAN MY_INTERNAL_TABLE.

Greetings,

Blag.