Hello Dries,
BAPI_CUSTOMERCONTRACT_CHANGE doesn't have AEDAT in their returning TABLE parameters.
It can be achieved through extensions available in the BAPI.
move 'VBAP' to ls_extensionin-structure.
move SY-DATUMto ls_extensionin-valuepart1.
append ls_extensionin to lt_extensionin.
CALL FUNCTION 'BAPI_CUSTOMERCONTRACT_CHANGE'
--------
-------
TABLES
EXTENSIONIN = lt_extensionin.
You can check in SCN on how to implement the extensions in BAPI.
Regards,
Thanga