Currently, are you capturing the warranty details somewhere in SAP ? If so, your job is easy by explaining the logic to your ABAPer and ask them to include the technical coding in the existing smartform being used for billing to fetch the required data to invoice output.
On the other hand, if the warranty details are not captured in SAP, then you need to develop a zee table where user have to maintain the required master data for warranty and as and when billing documents are generated, the above logic should be adopted.
G. Lakshmipathi