Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 13, 2015 at 08:43 PM

    You will have to look at table NEW_VTTK.  I assume you will want field DTABF but I could be wrong  The planned date is DPABF.

    Add comment
    10|10000 characters needed characters exceeded