Hi experts,
Im using the function module NAST_PROTOCOL_UPDATE to populate the processing log for purchase order.
(Im not using smartforms and all. Im just creating IDOC using function module MASTER_IDOC_DISTRIBUTE for the output type of the PO(in PO which is maintained in yellow status., ie dispatch time is set as 3))
Now for processing log creation, I tried the following code.
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
EXPORTING
msg_arbgb = i_processlog-msgid
msg_nr = i_processlog-msgno
msg_ty = i_processlog-msgty
MSG_V1 = i_processlog-msgv1
MSG_V2 = i_processlog-msgv2
MSG_V3 = i_processlog-msgv3
MSG_V4 = i_processlog-msgv4
EXCEPTIONS
OTHERS = 1 .
where i_processlog is a header line contains appropriate values.
But still, im not getting the processing log in PO.
please give me the solution for this.
(Can you give me the sample code to solve the issue?)
regards
subash