How to read variant info for a transaction
I went through a couple of threads in this regards but could not find answer to my question. In my case I have a function module in which the logic requires me to read a variant say "Z020" in the J3AT transaction and read all the fields' values and use that in the function module.
Is there any function module available where I say read this variant name in this transaction ?
Jaideep Sharma replied
Use RS_VARIANT_VALUES_TECH_DATA function module to fetch variants values.
Enter Report name which is linked to the transaction code and variant name for which you want to fetch the values. You will get all the values along with field names in VARIANT_VALUES which is tables parameter passed in to function module.