Application Development 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: 

trigger output in VT02N automatically when changes done to Shipment.

Former Member
0 Kudos

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

3 REPLIES 3

former_member435013
Active Participant
0 Kudos

Hi,

please check SAP note 693307 - "Shipment message determination".

Regards

Walter Habich

0 Kudos

This is not relevant to my scenario.

0 Kudos

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