06-10-2008 2:12 PM
i have created new output type ZXXX for VT01N and VT02N (shipment) for sending Fax.
my task is:
this output type has to be triggered automatically and fax has to
be resent when any of below changes made using Tcode VT02N
here are the changes:
Changes made to the shipment start date/time field-
VTTK-TKNUM- DPTBG
VTTK-TKNUM- UPTBG
When there are stop order changes made to the stages
VTTS=TKNUM-TSRFO
When the carrier is changed in the shipment
VTTK-TDLNR
When delivery appointment date/times are entered or changed.
VTTS-TKNUM-DPTEN.
VTTS-TKNUM-UPTEN.
how can we do this?
Edited by: RamaKrishna Karnati on Jun 10, 2008 3:12 PM
Edited by: RamaKrishna Karnati on Jun 10, 2008 3:30 PM
Edited by: RamaKrishna Karnati on Jun 10, 2008 3:31 PM
06-10-2008 2:53 PM
Hi,
please check SAP note 693307 - "Shipment message determination".
Regards
Walter Habich
06-12-2008 4:38 AM
06-26-2008 3:02 PM
Hi,
try the user exit EXIT_SAPLV56U_004.
use the following tables parameters of this function module to determine whether the values are changed:
I_XVTTK - Shipment Headers (Current)
I_YVTTK - Shipment Headers (Old)
I_XVTTS - Shipment Stages (Current)
I_YVTTS - Shipment Stages (Old)
if any change is made to any of the fields, you can trigger the standard output type by using the function module WFMC_MESSAGE_SINGLE. you will have to pass a structure of type NAST with the required vlaues.
try this...
cheers
jubin