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: 

Message type problem.

Former Member
0 Kudos

Hi Guru's,

I have a problem with a error message in a dynpro. If the error message (type e) goes with a text field, there is no problem, I can modify the text and continue. But I need to validate if a row of tablecontrol has been marked. The validation is correct but once it has left the error, dynpro is bloqued and I can't modify nothing.

Thanks

1 ACCEPTED SOLUTION

sbhutani1
Contributor
0 Kudos

Hi Pablo,

You can do one thing you can again call that screen or you can set the cursor on particular field after showing the message. it will not block the screen.

Try it out

Regards

Sumit Bhutani

Ps reward points if helpful

8 REPLIES 8

former_member927251
Active Contributor
0 Kudos

Hi,

Use the Message like this.

MESSAGE ID 'Message Class'

TYPE 'S'

NUMBER '101'

DISPLAY LIKE 'E'.

<b>Please reward points if it helps.</b>

Regards,

Amit Mishra

0 Kudos

This message allows to continue the program and I need that stop until has been validated

naimesh_patel
Active Contributor
0 Kudos

Hello,

Do like

in your Flow logic,

LOOP AT ITab.

CHAIN.

FIELD: itab-sel, itab-fld1, itab-fld2.

MODULE check_data ON CHAIN-INPUT.

ENDCHAIN.

ENDLOOP.

and check_data module is like,

if itab-sel = 'X'.

" validation

endif.

Regards,

Naimesh

Former Member
0 Kudos

Hi pablo,

plz use chain and endchain in PAI of screen XXX.And also use message class of type 'S'(means status bar information).Here dynpro can't block and it can't move to another screen without correct data, as we r using chain and endchain for validation.

Plz mark points if it is useful.

Thanks,

suma.

Former Member
0 Kudos

Hi Pablo,

in se51 place the table-fields in chain endchain.

for example.

PROCESS AFTER INPUT.

CHAIN.

FIELD: itab-fld1,

itab-fld2,

itab-fld3,

itab-fld4,

MODULE USER_COMMAND_0100.

ENDCHAIN.

in the module user_command_0100.

, u can do ur required validation.

reward pts. if helpful.

regards,

keerthi.

0 Kudos

The field of tablecontrol are only output, message " input/output field not defined"

Former Member
0 Kudos

Hi pablo,

if u want to stop the processing use error message.

like message e000(zz) with 'XXXXXX'.

regards,

keerthi.

sbhutani1
Contributor
0 Kudos

Hi Pablo,

You can do one thing you can again call that screen or you can set the cursor on particular field after showing the message. it will not block the screen.

Try it out

Regards

Sumit Bhutani

Ps reward points if helpful