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: 

ABAP syntax error: Comma without preceding colon (after ?)

richard_m2
Explorer
0 Kudos

Hi,

I am getting syntax error during data declaration, can someone give input on what the error means?

Error: Comma without preceding colon (after SIGN(1) ?).

*This is part of the program:*

DATA: Begin of TAB occurs 10.

sign(1),

option(2),

low like lfa1-lifnr,

high like lfa1-lifnr,

End of TAB.

Thanks.

1 ACCEPTED SOLUTION

former_member156446
Active Contributor
0 Kudos
DATA: Begin of TAB occurs 10,
sign(1),
option(2),
low like lfa1-lifnr,
high like lfa1-lifnr,
End of TAB.

or

data: ra_tab type standard table of selopt.

2 REPLIES 2

former_member156446
Active Contributor
0 Kudos
DATA: Begin of TAB occurs 10,
sign(1),
option(2),
low like lfa1-lifnr,
high like lfa1-lifnr,
End of TAB.

or

data: ra_tab type standard table of selopt.

0 Kudos

Thank you, Jay. This is duplicate message posting, the issue is resolved. I put period instead of comma.