‎2006 May 10 10:24 AM
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
‎2006 May 10 12:07 PM
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
‎2006 May 10 10:31 AM
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
‎2006 May 10 10:48 AM
This message allows to continue the program and I need that stop until has been validated
‎2006 May 10 10:33 AM
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
‎2006 May 10 10:44 AM
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.
‎2006 May 10 10:51 AM
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.
‎2006 May 10 11:03 AM
The field of tablecontrol are only output, message " input/output field not defined"
‎2006 May 10 10:53 AM
Hi pablo,
if u want to stop the processing use error message.
like message e000(zz) with 'XXXXXX'.
regards,
keerthi.
‎2006 May 10 12:07 PM
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