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: 

exclamatory mark not allowed in a table

former_member474499
Participant
0 Kudos

Hello

We have created a table whose primary key is a field ZCARA that will get special charcters. However when filling the table via sm30 using the generated table manager, we are not able to enter an exclamatory mark in this field. This entry is converted to a space when we press "enter".

Do you have any idea of how to deal with this issue? Is Exclamatiry fiel a wildcard character?

Thank you in advance.

Best regards.

Kima

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Read this note Note 734353 - Field deleted if exclamation mark is first character

and follow the steps described in this note to adjust your view Note 1108179 - ENO: texts with a '!' at the beginning disappear

1. Start transaction SE51 enter the function group name and screen number of your view.

2. Choose the 'Layout Editor' radio button and choose 'Change'.

3. Double-click on the field that you want to change.

4. On the 'Screen Painter: Attributes' dialog box, navigate to the 'Attributes' section on the 'Program' tab and select the 'Without Template' attribute at the very bottom.

5. Activate your change.

If you renegerate your view in the future these changes will be affected.

5 REPLIES 5

Former Member
0 Kudos

Hi Kima,

What is the data type for your field?  A character reference like CHAR50 should allow it.  If you are referencing a standard data type it may have a conversion routine attached to the domain which would make it a space.

Regards,

Todd

raymond_giuseppi
Active Contributor
0 Kudos

The "!" is interpreted as a "reset character" used to delete input from an SAP field. You can allow this character to be input without clearing the field with the Program Attributes for Screen Elements "without reset". But you will be require to edit the generated dynpro(s)  and will have to reapply this change after each and every generation of the dialog.

Regards,

Raymond

Former Member
0 Kudos

Hi,

Read this note Note 734353 - Field deleted if exclamation mark is first character

and follow the steps described in this note to adjust your view Note 1108179 - ENO: texts with a '!' at the beginning disappear

1. Start transaction SE51 enter the function group name and screen number of your view.

2. Choose the 'Layout Editor' radio button and choose 'Change'.

3. Double-click on the field that you want to change.

4. On the 'Screen Painter: Attributes' dialog box, navigate to the 'Attributes' section on the 'Program' tab and select the 'Without Template' attribute at the very bottom.

5. Activate your change.

If you renegerate your view in the future these changes will be affected.

former_member474499
Participant
0 Kudos

Hello,

Thank you a lot for you answers. That really helped me to solve my issue.

I used the note Note 734353 - Field deleted if exclamation mark is first character as a solution.

Best regards

0 Kudos

Great, so mark the question as answered.

reagards,

Felipe