Skip to Content
0
Former Member
Jun 29, 2007 at 09:19 AM

Statement is not accessible in module pool

360 Views

Hi,

I hav created a module pool program and in the TOP include i have declared Input1 , Input2 and Result(output).

Then in TOP , declared data :ok_code like sy-ucomm,

save_code like ok_code.

Here its getting activated in TOP.

Then when i m going to PAI and writing

save_code = ok_code.

clear ok_code.

CASE OK_CODE.

when 'ADD'.

Result = Input1 + Input2.

endcase.

So i m getting error statement is not accessible.

Frnds plzz help regarding this.

Thanking u all.

regards,

suraj