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: 

Define lenght in SE51 will change upon transporting

Former Member
0 Kudos

Hi Expert's,

Good Day!

I would like some help regarding my object on transaction SE51 (screen painter). I was changing the Define Length from 45 to 55 upon activating their will be a pop-up information message will appear "Selection screen: Report generation makes screen changes ineffective". After the activation the Define Length in transaction se41 will now be 55.

However, upon transporting to another Box/system the Define Length will be 45 instead of 55. Can you help me how to solve this problem? What to do to avoid the changes in the Define Length so that it would still be 55 instead of 45?

Answer's will be a great help.

Thank you,

~Junne Ray

Edited by: jrvillacortz on Mar 17, 2009 1:37 AM

4 REPLIES 4

Former Member
0 Kudos

Hi,

It looks like you change a selection screen from a report. By default when you activate a report which does contain:

1. SELECT-OPTIONS, and

2. PARAMETERS,

SAP will automatically create a selections screen for you.

If you want to lengthen the field, you need to change the data element or data type that it refers too. Never change it from SE51, screen painter but rather use SE38, ABAP editor. Why, because every time, the report is activated again, that is the case, when you transport it to another system, it will use back the definition that you use in the SELECT-OPTIONS or PARAMETERS.

Please do it this way:

Example currently you defined it:

PARAMETERS: P_UNAME LIKE CHAR01 (In the screen painter the length is 1 character)

Change it to:

PARAMETERS: P_UNAME LIKE CHAR10 (In the screen painter the length will become 10 chars upon activation).

Regards,

Lim...

Former Member
0 Kudos

Hi Lim,

Thank you for your response it seems that using SELECT-OPTIONS the generated selection screen has a limited length of 45. And also the SELECT-OPTIONS FOR table and field it is base to has 60 char.

Doyou know another work around for this?

Thank you,

~Junne Ray

Edited by: jrvillacortz on Mar 18, 2009 12:57 PM

0 Kudos

Hi ,

Go ahead and activate the program.

Ignore that message which u got.

U can change the length for the input field using se51 by navigating to the layout of the screen.

The length which u set thru se51 will be shown when the program is executed.

Regards,

Lakshman

Former Member
0 Kudos

Hi,

Thank you for your response unfortunately when i activate it would change. how ever upon transporting to another box the change Define Length will be back to original. before changes it's 45 and after changes it's 55 and upon transporting to another box it would still be 45.

Answer's will be a great help.

Thank you so much,

~Junne Ray

Edited by: jrvillacortz on Mar 23, 2009 4:46 AM