Commented Code and XML
Commented Code and XML
Commented Code and XML
LE_SHP_TAB_CUST_HEAD
EXIT_SAPLV50I_010
You should be able to update the LIKP or LIPS tables using the EXTENSION internal
tables.
Extend the fields in LIKP/LIKP and VBKOK/VBPOK with the custom fields.
<n0:MT_Summit_Shipments xmlns:n0="http://summit.com/interlink/Shipments">
<Shipments>
<Header>
<Order OrderNumber="8000017335" FreightCharges="0.00" ShipmentTrackingDetails=""
BillofLading=""/>
</Header>
<Detail>
<Item Warehouse="NTDC" LineNumber="000040" ItemNumber="2557" QtyShipped="0"
LotNumber="" ItemStatus="" Company_ID="US10"/>
<Item Warehouse="NTDC" LineNumber="000050" ItemNumber="2558" QtyShipped="5"
LotNumber="" ItemStatus="" Company_ID="US10"/>
</Detail>
</Shipments>
</n0:MT_Summit_Shipments>
* Set lock for further changes if the delivery is NTDC on delivery save.
IF if_trtyp = 'H'.
SELECT sign opti low high
INTO TABLE lt_filter_werks
FROM tvarvc
WHERE name = 'ZVDC_PLANT'.
IF ls_xlips-werks IN lt_filter_werks.
ls_xlikp-zzwlink_locked = 'X'.
MODIFY ct_xlikp FROM ls_xlikp INDEX 1.
ENDIF.
ENDIF.
IF la_lips-werks IN lt_filter_werks.
ENDIF.
ENDIF.
17343