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

help about selection-screen

Former Member
0 Likes
1,067

selection-screen: begin of block abc with frame title text-001.

select-options: vb for vbak-vbeln.

select-options: erd for vbak-erdat .

selection-screen: end of block abc.

im getting syntax error :between "data begin of name" and " data end of name"only data statements are allowed.

plz help y dis is so.i checkd my syntax .that is correct but still im getting error.

thnks n regards

mukesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,013

HI,

The error is with declaration of structure or table. Please check that.

Selection screen declaration is correct.

8 REPLIES 8
Read only

Former Member
0 Likes
1,013

hi

you must declare

tables:vbak.

Regards

Read only

Former Member
0 Likes
1,014

HI,

The error is with declaration of structure or table. Please check that.

Selection screen declaration is correct.

Read only

0 Likes
1,013

hi,

Declare the following before the selection screen:

tables:vbak.

this would do the needful.

regards Parijat

Read only

Former Member
0 Likes
1,013

Declare the table you are using( Tables: Table name)

Regards,

Kalyan.

Read only

former_member209217
Active Contributor
0 Likes
1,013

Hi,

I tried it in my system.

Declare vbak using tables.

Tables:vbak.

Apart from that evrything is fine.

Regards,

Lakshman.

Read only

Former Member
0 Likes
1,013

Hi Mukesh,

Define it as



Tables: vbak

selection-screen: begin of block abc with frame title text-001.
select-options: vb for vbak-vbeln.
select-options: erd for vbak-erdat .
selection-screen: end of block abc.

Regards,

Pravin

Read only

Former Member
0 Likes
1,013

If you are getting syntax error then how can you be so sure of your syntax.

Declare the TABLES vbak.

Also comment few linew and do a syntax check. you will get to know where the error is.

Revert if you need more help. with the exact line number of error and msg.

Read only

Former Member
0 Likes
1,013

hi;

declare table in the beginning:

TABLES: vbak.                                          " standard table

regards

rahul

Edited by: RAHUL SHARMA on Dec 30, 2008 9:37 AM