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

data statement in subroutine

Former Member
0 Likes
753

does the data statement inside the form-endform statement

create any column in the selection screen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
726

Hi prathish,

1. As such, data statment does not affect the selection screen.

It only creates a variale in memory.

2. So even if it is written inside form-endform,

it won't affect any column in the selection screen.

regards,

amit m.

7 REPLIES 7
Read only

Former Member
0 Likes
727

Hi prathish,

1. As such, data statment does not affect the selection screen.

It only creates a variale in memory.

2. So even if it is written inside form-endform,

it won't affect any column in the selection screen.

regards,

amit m.

Read only

0 Likes
726

what r the components in the selection screen structure

Read only

0 Likes
726

Hi again,

1. For selection screen, we use syntax like

parameters, select-options.

2. eg. (just copy paste)

report abc.

data : mymatnr like mara-matnr.

parameters : a(10) type c.

select-options : matnr for mymatnr.

regards,

amit m.

Read only

0 Likes
726

is selection screen a structure or not?????/

if so what r its components

Read only

0 Likes
726

Selection screen is NOT a structure.

Read only

Former Member
0 Likes
726

Hi prathish..

Data statement will create just a work area it will not effect the selection screen.

and if you are talking about <b>Parameters</b>

u can not use these in the form - endform.

Hope it helps you...

Let me know if u have any more doubt...

Reward points if useful......

Suresh.......

Read only

Former Member
0 Likes
726

hi

first of all any data declarations doesnt create a field in selection screen u need parameters n select options

n more over u cant use them in form endform.

reward if helpful.

regards,

kiran kumar k