Question: what are variants in sap?
Answer: Variant is a concept of saving a set of input fields with values with a particular name, so that we can use the same set of inputs next time, the below is the example of creating variants in SAP ABAP programs. Create a program with a selection-screen. REPORT ZSAPN_DYNAMICDATE.