2007 Aug 08 12:50 PM
HI,
I have faced one problem while posting MIGO. As per the Badi , if Material price not maintained then system Should give error message. But for us ABAP dump is coming.
In our Method, we are writing as
message a999(zfi) with 'ZFI999 : Posting Not Possible'.
in Function Module MB_POST_GOODS_MOVEMENT , the following place only got error.
IF NOT sy-subrc IS INITIAL.
MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH "385830
sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
MESSAGE A263.
ENDIF.
My Requirement is , how can i write the Message in my class and i need only error message .
With Thanks,
Neptune.M
HI,
I have faced one problem while posting MIGO. As per the Badi , if Material price not maintained then system Should give error message. But for us ABAP dump is coming.
In our Method, we are writing as
message a999(zfi) with 'ZFI999 : Posting Not Possible'.
in Function Module MB_POST_GOODS_MOVEMENT , the following place only got error.
IF NOT sy-subrc IS INITIAL.
MESSAGE ID sy-msgid TYPE x NUMBER sy-msgno WITH "385830
sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
MESSAGE A263.
ENDIF.
My Requirement is , how can i write the Message in my class and i need only error message .
With Thanks,
Neptune.M
2007 Aug 08 1:47 PM
you yourself has asked for a dump.
message <b>a</b>999(zfi) with 'ZFI999 : Posting Not Possible'. Here the message type is A. Change it to an error message, u ll get rid of the short dump.
2007 Aug 08 1:53 PM
Hi,
I have tested for error message E, I, S. But if i use other than A, then system will allow to post the GRN.
But My requirement is i need error message . not dump and not allow to post.
With Regards,
Neptune.M
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |