‎2006 Jul 25 10:56 AM
Hi,
I want to change the variant's values through my program.
The problem is: one field contents are 60 characters long and I can't use the FM 'RS_CHANGE_CREATED_VARIANT' because it has limitation of changing/creating field's content up to 45 characters.
Secondly, field CLUSTD of table VARI contains the field's value in some different format than CHAR.
It's urgent.
Hope to get some solution soon.
Regards,
Bobby
‎2006 Jul 25 11:22 AM
hi Bobby,
chk this prog RS_CHANGE_VARIANT
Reward points if useful
‎2006 Jul 25 11:26 AM
Check with <b>RS_CHANGE_CREATED_VARIANT_RFC</b> also.
Cheers,
TM
‎2006 Jul 25 12:17 PM
FM 'RS_CHANGE_CREATED_VARIANT_RFC' also has limitation of changing/creating field's content up to 45 characters.
Program RS_CHANGE_VARIANT calls the selection-screen of the program. However, I want to pass the new values of variant from my program only.
‎2006 Aug 20 9:35 AM
Hi Bobby,
I have also the same situation what u have mentioned here.
i want to change the Varaint of a program thro a program which is scheduled in backgroung.Please inform me if u have got any function module to change the variant value thro program.
Thanks
Arun
‎2006 Aug 20 1:21 PM
‎2006 Aug 29 7:20 PM
Hi
I recently saw this thread and thought of keeping my reply as well.
In order to update the variant thru the pgm,if the FM's has the constraints with the length,then you can try this.
In the selection screen,after selecting the variant, when you go with save,it takes you to the variant attributes.Here you can select the option 'Save field with out values' for the reqd field and can then populate the values to that field frm the pgm.
Hope this helps.
‎2007 May 31 4:39 PM
Bobby,
Any luck with this. I am in same situation too.....Im trying to download variants to a flat file. But 45 char limit is a issue. I can download with IMPORT statement but when I try to EXPORT it I have issues again with 45 limit.
If you have got thru this issue, please update with what you have done to overcome.
thanks
Bhaskar