01-25-2011 9:05 AM
Hi all
im getting the syntax error "statement not accessble" in the following piece of code inside customer exit .
i have declard the field symbol <fs_copa> as type any also . even then im getting the error .
DATA:l_string TYPE string VALUE '(SAPLKEAB)<GS_CE_ITEM>'.
FIELD-SYMBOLS: <fs_copa> TYPE CE1AERO.
UNASSIGN <fs_copa>.
ASSIGN (l_string) TO <fs_copa>.
plz tell me how to fix this ..
01-25-2011 9:09 AM
Hi Pavan,
Statement Not Accessible means the code you incorporated is in Open place.
That means not within modules, not within form endform statements neither belongs to an Event, nor between Function Endfunction statement etc
So Check the concluding statement before this code like Endform, endfunction endclass, endmodule etc
Cheerz
Ram
01-25-2011 9:10 AM
Hi,
I checked your code replacing CE1AERO by another db table and it was okay.
The error must be outside this part of code, I think the lines before!
Regards,
Klaus
01-25-2011 9:20 AM
hii all
i activated the code ididnt get any error . my problem is solved
thanks