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

Message type E kill program

Former Member
0 Likes
1,091

Hi,

I have a:

MESSAGE e809(00) WITH zwqh-wqid wich is placed in after input module on a screen.

When it occurs, all input field on a screen has value "______________________" (underline) than, when I press enter... program is terminated 😕 Is that normal behaviour ? thx for help

5 REPLIES 5
Read only

rainer_hbenthal
Active Contributor
0 Likes
747

No.

Read only

Former Member
0 Likes
747

Hi,

Just write this way..

example:

parameters: p_num type i default 10.

data: v_text(20) type c value 'Variant'.

at selection-screen.

if p_num gt 5.

message e809(00) with v_text.

endif.

Regards,

Kumar Bandanadham

Read only

Former Member
0 Likes
747

Hi,

Instead of using MESSAGE e809(00) WITH zwqh-wqid.

Better move with MESSAGE S809(00) WITH zwqh-wqid DISPLAY LIKE 'E'.

Note: Make sure the control should not move further unless the criteria generating the error was

met properly.

Hope this will help you.

Regards,

Smart Varghese

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
747

paste ur code

Read only

Former Member
0 Likes
747

FLOW LOGIC:

PROCESS BEFORE OUTPUT.

MODULE STATUS_3001.

CALL SUBSCREEN SUBSCR_MATNR

INCLUDING sy-repid '3002'.

CALL SUBSCREEN SUBSCR_PARAM

INCLUDING sy-repid '3003'.

LOOP AT t_descr CURSOR obj_descr-current_line WITH CONTROL obj_descr.

ENDLOOP.

PROCESS AFTER INPUT.

CALL SUBSCREEN SUBSCR_MATNR.

CALL SUBSCREEN SUBSCR_PARAM.

LOOP AT t_descr.

MODULE update_descr.

ENDLOOP.

MODULE USER_COMMAND_3001.

in a module USER_COMMAND_3001 there is:

MESSAGE s809(00) WITH zwqh-wqid.

it works strange for me... after error message popup all input fileds under it looks wired, all content of subscreens disapear, after press enter everythig is closing 😕

Call stack looks like this:

Z_WEB_QUERIES === FORM ==========CHANGE_QUERY ( <- error message placed)

Z_WEB_QUERIES === MODULE (PBO) === STATUS_3001

Z_WEB_QUERIES === MODULE (PAI) === USER_COMMAND_3000

Z_WEB_QUERIES === EVENT ========= START-OF-SELECTION