cancel
Showing results for 
Search instead for 
Did you mean: 

NAST_PROTOCOL_UPDATE

Former Member
0 Kudos

I am trying to send a mail through Z output type for a Delivery.

If the mail Id is not available. I need to update message

I am using FM : NAST_PROTOCOL_UPDATE . But I am not getting expected o/p.

Please helop me out here ....

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

maybe you havent used the NAST_PTOCOL_UPDATE fm correctly.

correct way -

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' if the sy subrc for this is NE 0; Set the return code as 1 and call the NAST_PROTOCOL_UPDATE AS MENTIONED BELOW:


  CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
    EXPORTING
      msg_arbgb = syst-msgid
      msg_nr    = syst-msgno
      msg_ty    = syst-msgty
      msg_v1    = syst-msgv1
      msg_v2    = syst-msgv2
      msg_v3    = syst-msgv3
      msg_v4    = syst-msgv4.
   EXCEPTIONS
      OTHERS    = 1.  

Let us know if it works for you with the info given above.

Cheers,

Varna

Edited by: Varna17 on Sep 23, 2009 7:58 AM

aabhas_wilmar
Contributor
0 Kudos

Can you paste the initial few lines of your code and few lines of the code where you are calling NAST_PROTOCOL_UPDATE?