Hello Andrew,
here is the ABAP code concerning SC delivery date for good or timeframe for service.
IF NOT cs_sc_item_data-leadtime IS INITIAL. cs_sc_item_data-deliv_date = sy-datlo + cs_sc_item_data-leadtime. ELSE. cs_sc_item_data-deliv_date = sy-datlo. ENDIF. * fill performance period for services IF cs_sc_item_data-product_type = c_ptype_service. cs_sc_item_data-vper_start = cs_sc_item_data-deliv_date. ENDIF.
This is FORM create_sc_item_data from BBP_WS_IMPORT_SC_DATA function module.
Regards.
Laurent.