AnsweredAssumed Answered

Set SAP Variant at runtime

Question asked by BryanCain601034 on Feb 25, 2014
Latest reply on Mar 4, 2014 by BryanCain601034

We have an SAP job that runs a standard transaction with a different variant based on day of week.  I'm hoping to make this a single job in the automation engine, but I can't figure a way to do it.  When I try the following script

:CONST &NAME# = 'TEST'
:SET &STRING# = STR_CAT(&NAME#, WW)
:PUT_ATT Variant = &STRING#
I get the following error:
Cannot change attribute 'VARIANT' for object type 'JOBS/R3'.

Am I doing something wrong or am I just out of luck here?

Thanks

Outcomes