2007 Oct 22 12:17 PM
Hi experts ,
I have to change hard code in the variants . Is there a way where i can search the variants .? Please help...
2007 Oct 22 2:16 PM
Thanks but here i will have to search each report specifying report name . Is there a way where i can probably get all reports with the variant parameter with a value 'ABCD'.? Please help
Shirali,
You can try this FM <b>RS_VARIANT_VALUES_TECH_DATA</b>, This will return the values in the table where you can check the value with the condition and you can update it .......
Hope this helps..
Chandra.
2007 Oct 22 12:25 PM
Hi Shirali,
Use function module F4_REPORT_VARIANT which will help you.
<b><REMOVED BY MODERATOR></b>
Satish
Message was edited by:
Alvaro Tejada Galindo
2007 Oct 22 12:41 PM
Hi Satish ,
How can I search of data in the variants . As i have to modify data in the sense parameter values associated with perticular variant .
Thanks
2007 Oct 22 12:59 PM
Hi,
do like this, hope you are expecting a kind of code like this.
PARAMETERS: VARIANT LIKE RSVARADMIN-VARIANT.
SUBMIT (PROGRAMM) VIA SELECTION-SCREEN
USING SELECTION-SET VARIANT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR VARIANT.
CHECK PROGRAMM NE SPACE.
CALL FUNCTION 'F4_REPORT_VARIANT'
EXPORTING
OBJECT = '*'
PROGRAM = PROGRAMM
IMPORTING
RESULT = VARIANT
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC <> 0.
MESSAGE E016(RP) WITH 'No variant were found for program'
PROGRAMM.
ENDIF.
<b><REMOVED BY MODERATOR></b>
Satish
Message was edited by:
Alvaro Tejada Galindo
2007 Oct 22 1:06 PM
This would give me the variant name but i want variant data .A variant would contain multiple parameters but i want to search all parameters in the variants having data 'ABCD' . Thanks .
2007 Oct 22 1:44 PM
2007 Oct 22 1:49 PM
Shirali,
Did you check FM <b>RS_VARIANT_CHANGE</b>... check the report how to use FM <b>RS_VARIANT_CHANGE</b>..
Check also..
<b>RS_CHANGE_CREATED_VARIANT
RS_VARIANT_CONTENTS</b>
Chandra.
2007 Oct 22 2:00 PM
Ya i did. But i need a way where i want to change all variants existing where parameter value is 'ABCD' and hence change this. Is there a way by which i can get the list of variants having the parameter value as 'ABCD".
2007 Oct 22 2:11 PM
Shirali,
You can try this FM <b>RS_VARIANT_VALUES_TECH_DATA</b>, This will return the values in the table where you can check the value with the condition and you can update it .......
Hope this helps..
Chandra.
2007 Oct 22 2:16 PM
Thanks but here i will have to search each report specifying report name . Is there a way where i can probably get all reports with the variant parameter with a value 'ABCD'.? Please help
2007 Oct 22 3:20 PM
Is there a table which stores all variants and its parameters with data? please help
2007 Oct 22 3:26 PM
Shirali,
The variant tables are...
TVARV --> for storing the variants
VARID --> Variant directory
VARIT --> Variant texts
VARI --> Variant storage
...I dont think you can update all the values of the variants without passing the Report Name....
Chandra.
2007 Oct 23 10:41 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |