Mark,
What key field iin VBRK would I join in LIKP? LIKP-VBELN?
To find out the billing documents which are created with reference to a delivery,
From table VBFA, pass VBELV (Preceeding document) = delivery number
- fetch VBELN
For PGI date:
From table LIKP, pass VBELN = delivery number
- fetch WADAT_IST (Actual GI date)
- if field WADAT_IST is empty, then fetch WADAT (Planned goods movement)
For Invoice creation date:
From table VBRK, pass VBELN = billing document number
- fetch ERDAT