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 make screen fields editable

Former Member
0 Likes
1,992

Hi all,

iam writing a validation for FD32 transaction in exit, if the validation fails showing error message.

Porblem is when ever error message comes and after that if i press enter fields are going to mode of non editable ( Display mode), how to make them editable which were already editable ( before error message comes).

Iam not using module pool program for this, iam writing code in include exit and throwing the message.

Thanks,

1 ACCEPTED SOLUTION
Read only

deepak_dhamat
Active Contributor
0 Likes
1,100

Hi,

include mm_messages_mac. "useful macros for message handling

if <Your Condition > .

mmpur_message_forced 'E' 'ME' '083' text-001 '' '' ''.

endif.

TEXT-001 => is Text element you can type your message and activate that text element .

regards

DeepaK.

Hi all,

iam writing a validation for FD32 transaction in exit, if the validation fails showing error message.

Porblem is when ever error message comes and after that if i press enter fields are going to mode of non editable ( Display mode), how to make them editable which were already editable ( before error message comes).

Iam not using module pool program for this, iam writing code in include exit and throwing the message.

Thanks,

4 REPLIES 4
Read only

Former Member
0 Likes
1,100

Hi

Here Your Message Type is 'E' Change It .

Regards

Ajit

Read only

Former Member
0 Likes
1,100

Hi,

You can use pop up window to display error message as below:

-Quote-

AT SELECTION-SCREEN ON ABCD.

IF <condition fails>.

CALL FUNCTION 'FC_POPUP_ERR_WARN_MESSAGE'

EXPORTING

popup_title = 'Error'

  • IS_ERROR = 'X'

message_text = 'Error message description'

start_column = 25

start_row = 6

.

STOP.

ENDIF.

-Unquote-

You may also use:

-Quote-

IF <condition fails>.

MESSAGE 'abcd' TYPE 'E'.

ENDIF.

-Unquote-

Kindly let me know whether this is of any help or not.

Regards,

Shayeree.

Read only

raviahuja
Contributor
0 Likes
1,100

Hi,

Try to use message type W or S. But make sure you specifically come out of the program since these two messages don't stop the flow of program and continue even after raising message.

Thanks.

Ravi

Read only

deepak_dhamat
Active Contributor
0 Likes
1,101

Hi,

include mm_messages_mac. "useful macros for message handling

if <Your Condition > .

mmpur_message_forced 'E' 'ME' '083' text-001 '' '' ''.

endif.

TEXT-001 => is Text element you can type your message and activate that text element .

regards

DeepaK.