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

Problems with screen painter

Former Member
0 Likes
461

Hi gurus,

I have a problem with the design of a report.

I created two parameter by code like this:


SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

PARAMETERS p_pernr TYPE persno.
PARAMETER: p_year  TYPE gjahr MATCHCODE OBJECT pca_shlp_ryear.

SELECTION-SCREEN END OF BLOCK b1.

After that i wanted to add a table control...so i went to the screen painter and created it using the wizard.

Everthing ok until now that i want to add a new parameter and i try to code it but when i do this, the screen painter erases the table control component. I guess it is because when the program creates the new version doesnt read the changes i made with the screen painter...

I know that i can create a new frame and add this parameter using the screen painter but, is there any way to achieve this coding it in the same order and the table control not being deleted?

Thank you.

1 REPLY 1
Read only

Former Member
0 Likes
355

Hi,

Selection Screen features differ from normal screens and if you change it manually the changes will not last for long and the changes will be lost at times once you activate it or once you transport it to another server. So, to full fill your requirement, you have to declare the screen as a normal screen and do the changes as needed.

Thanks & Regards,

Faheem.