Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Variant creation

Former Member
0 Kudos

Hi,

We have a variant for a SE38 program, which is being used by a batch job to execute the program in the background.

We would like to change the variant directly in production, but find in the attributes that the variant is protected.

My questions are:

1) How can I change the variant

2) If I cannot change the variant then I would like to delete it and create a new variant with the same name. In that case how can I enter values in the attributes? Because on the selection screen of the program, there is a field called Idoc Run Date. This field should be populated dynamically. In the current variant (which we would like to change) find that there is a parameter for idoc run date RS_VARI_V_TODAY_X.

3) If I delete the existing variant will it also delete the parameter RS_VARI_V_TODAY_X.

4) How do I create the parameter RS_VARI_V_TODAY_X (or any other parameter). and attach it to the new variant.

Any help would be appreciated.

Thanks in advance.

MIck

1 ACCEPTED SOLUTION

naimesh_patel
Active Contributor
0 Kudos

Run your program in online mode in production.

On the selection screen, put all the values you want to store as variant.

Now press the Save button.

You will be directed to Variant creation screen.

Give your variant name.

Save it.. it will ask for "overwritten".. say yes.

Regards,

Naimesh Patel

2 REPLIES 2

former_member195698
Active Contributor
0 Kudos

Try the transaction SHD0

Regards,

Abhishek

naimesh_patel
Active Contributor
0 Kudos

Run your program in online mode in production.

On the selection screen, put all the values you want to store as variant.

Now press the Save button.

You will be directed to Variant creation screen.

Give your variant name.

Save it.. it will ask for "overwritten".. say yes.

Regards,

Naimesh Patel