‎2008 Nov 17 3:47 PM
Hi,
I have defined a new output type at delivery header level . This is processed using a special function and on processing moves stock from unrestricted to a order special stock.
I need to update the "processing log" of the output with the material document number. Can any one please let me know how I can write to this "processing log" of the output?
Thanks in advance.
Regards.
Hari.
‎2008 Nov 17 10:47 PM
Use function NAST_PROTOCOL_UPDATE:
* No orders found
wa_msgv_1 = nast-objky+0(10).
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = c_msgtype
msg_nr = 30
msg_ty = 'S'
msg_v1 = 'No orders found for delivery'
msg_v2 = wa_msgv_1
EXCEPTIONS
OTHERS = 1.
‎2008 Nov 17 10:47 PM
Use function NAST_PROTOCOL_UPDATE:
* No orders found
wa_msgv_1 = nast-objky+0(10).
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = c_msgtype
msg_nr = 30
msg_ty = 'S'
msg_v1 = 'No orders found for delivery'
msg_v2 = wa_msgv_1
EXCEPTIONS
OTHERS = 1.