‎2007 Apr 13 4:27 PM
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = ?
msg_nr = ?
msg_ty = ?
MSG_V1 = 'Sales Order has been sent for credit check'
* MSG_V2 = ' '
* MSG_V3 = ' '
* MSG_V4 = ' '
* EXCEPTIONS
* MESSAGE_TYPE_NOT_VALID = 1
* NO_SY_MESSAGE = 2
* OTHERS = 3
.I need to use this function module to populate the message after clicking processing log for output determination of sales order. I simply need to say that Sales Order No X has been sent for credit check.
What should the values be
‎2007 Apr 13 4:32 PM
Hi,
You can create a message in SE91...And give the message number & message class..
Or you can give an existing message class which has just &.
Try this..
Ex..
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = '00'
msg_nr = '208'
msg_ty = 'S'
MSG_V1 = 'Sales Order has been sent for credit check'
MSG_V2 = ' '
MSG_V3 = ' '
MSG_V4 = ' '
EXCEPTIONS
MESSAGE_TYPE_NOT_VALID = 1
NO_SY_MESSAGE = 2
OTHERS = 3
.
Thanks,
Naren
‎2007 Apr 13 4:32 PM
Hi,
You can create a message in SE91...And give the message number & message class..
Or you can give an existing message class which has just &.
Try this..
Ex..
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = '00'
msg_nr = '208'
msg_ty = 'S'
MSG_V1 = 'Sales Order has been sent for credit check'
MSG_V2 = ' '
MSG_V3 = ' '
MSG_V4 = ' '
EXCEPTIONS
MESSAGE_TYPE_NOT_VALID = 1
NO_SY_MESSAGE = 2
OTHERS = 3
.
Thanks,
Naren
‎2007 Apr 13 4:34 PM
Hi,
Please try this.
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = 'VN' "<--- SYST-MSGID
msg_nr = '149' "<--- SYST-MSGNO
msg_ty = 'I' "<--- SYST-MSGTY
MSG_V1 = 'Sales Order has been sent for credit check'.
Regards,
Ferry Lianto