It is appears to me that it will be necessary to use Import/Export to retrieve and update the variants. However, I haven't been able to find any documentation on how to do this. I know that the data cluster is VARI. What are the Cluster Ids in VARI and what data do they represent? I have searched the online documentation but have not been able to find anything. Also, if you look at the structure for VARI, one of the fields is Relation ID (RELID). I don't know if that is actually the Cluster ID or something else. For example, in our system, if I look at the entries for program RFBIBL00, I see entries with Relation IDs of VA, VB, and VC. I don't know which to use. Can you give me any help or advice on extracting and updating report variants? The ultimate goal is to write an ABAP program that will do a search/replace of report variants against a range of ABAP report programs.
As there is no documentation for cluster tables. Usually, the only way to find out how they work is look at the source code where SAP have used it themselves. Unfortunately, with variants, the relevant source code is hidden. I suspect that the values can only be accessed using C functions.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header. Continue Reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order. Continue Reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.