Application Development and Automation 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: 
Read only

NAST Protocol Update

Former Member
0 Likes
2,170
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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
947

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

2 REPLIES 2
Read only

Former Member
0 Likes
948

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

Read only

Former Member
0 Likes
947

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