BADI_LE_SHIPMENT - IM_SHIPMENTS_AT_SAVE
I am a beginner in abap and had a question on a custom enhancement to the BADI_LE_SHIPMENT-.AT_SAVE. I only want to read the shipments that have a completed date. Is there a field in the vtrlk table? If you can supply code that would be great. I have the following:
LOOP AT im_shipments_at_save-new_vtrlp INTO wa_vtrlp.
IF sy-subrc EQ 0.
READ TABLE im_shipments_at_save-new_vtrlk INTO wa_vtrlk
WITH KEY vbeln = wa_vtrlp-vbeln.