Skip to Content
avatar image
Former Member

Message type problem.

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Best Answer
    May 10, 2006 at 11:07 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • May 10, 2006 at 09: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

    Add comment
    10|10000 characters needed characters exceeded

  • May 10, 2006 at 09: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10, 2006 at 09: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10, 2006 at 09: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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10, 2006 at 09:53 AM

    Hi pablo,

    if u want to stop the processing use error message.

    like message e000(zz) with 'XXXXXX'.

    regards,

    keerthi.

    Add comment
    10|10000 characters needed characters exceeded