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

How to get screen value?

Former Member
0 Likes
1,212

Hi,

In my report im calling screen 100 for ALV oops. From that screen im going to another screen i.e. 200. Now in that screen(200) im calling a subscreen with selection option i.e so matnr. Now while enterring value into somatnr its not picking the value at one time , i have to hit enter twice. I can not use at-selection-screen as the main program is not a modulepool program. So how can I get the screen value at once? means i dont hav to press enter twice.

Hi,

In my report im calling screen 100 for ALV oops. From that screen im going to another screen i.e. 200. Now in that screen(200) im calling a subscreen with selection option i.e so matnr. Now while enterring value into somatnr its not picking the value at one time , i have to hit enter twice. I can not use at-selection-screen as the main program is not a modulepool program. So how can I get the screen value at once? means i dont hav to press enter twice.

6 REPLIES 6
Read only

Former Member
0 Likes
1,151

Hi,

I dont get a clear picture of what your problem is. A suggestion though, please debug your program, that might give you some hint on your problem. Would be easy if you paste your code here. Your screen values are captured saying, variable = screen_elements value in the subscreen.

Read only

0 Likes
1,151

In the subscreen of 200, i have a field named so_matnr which is decleared in main program as select options. Now if I execute my report it will call first screen 100 ( as its container for ALV oops), now from there im calling another screen i.e. 200( which has a subscreen) Now if I enter value in so_matnr and enter first time its not picking value after that agin I hav to press enter to get the value, I could not paste the code coz its a huge one.

Read only

0 Likes
1,151

Hi,

Try Assigning a MODIF ID to the s_matnr.

Read only

Former Member
0 Likes
1,151

Hi, I think you should use chain - endchain screen block to implement your process.

Read only

0 Likes
1,151

Hi taner,

As I m calling subscreen so I cant use chain n endchain for that field.

Read only

Former Member
0 Likes
1,151

Thanks all , I solved by myself.