Skip to Content
0
Former Member
Oct 18, 2011 at 05:38 AM

Shipment Dates Update

87 Views

Dear Gurus ,

I wrote a program that updates the Check in date of a shipment.The problem is that when i see the shipment

in vt03n i see it the overall status is red.

When i see it in vt02n becomes automatically yellow .

How can i make it yellow automatically ?

Look my code ..

...
...
    IF  ZGATESTRANS-TKNUM IS NOT INITIAL.
      CLEAR VTTK.
      SELECT SINGLE * FROM VTTK WHERE TKNUM = ZGATESTRANS-TKNUM.
      IF SY-SUBRC = 0.
        MOVE 'X' TO VTTK-STREG.
        MOVE SY-DATUM TO VTTK-DAREG.
        MOVE SY-UZEIT TO VTTK-UAREG.
        MODIFY VTTK.
      ENDIF.
    ENDIF.
...
...

Thanks a lot .....