cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Mass Change of Variants for WBS Elements After Coding Mask Change in S/4HANA Conversion

joh302
Discoverer
0 Likes
715

Hello SAP Community,

We are currently in the process of converting from ECC to S/4HANA, and as part of this transition, we’ve updated the coding mask for our WBS elements—from a 3-digit company code to a 4-digit company code.

This change has impacted all our existing variants that include WBS elements, as they were created based on the old 3-digit format. Now, we need to adjust these variants to reflect the new 4-digit company code structure (e.g. in tcode S_ALR_87013542).

My question is:
Is there a way to mass change or update variants that include WBS elements, especially in reports or transactions where these variants are used frequently?

We are looking for a solution that avoids manually adjusting each variant one by one, as this would be very time-consuming and error-prone.

If anyone has faced a similar situation or has insights into tools, programs, or best practices for handling this kind of mass update, your input would be greatly appreciated!

Thanks in advance for your support and ideas.

Best regards,
Johannes

Accepted Solutions (1)

Accepted Solutions (1)

Divyesh_Mistry
Active Contributor

Hi @joh302 ,

We are in middle of same journey moving from ECC to S4 Hana. We also faced the same challenge. Additionally, we had lot of custom z reports and programs.

The approach we took is, we created a utility whereby we down load the variant from source system  with a wrapper program to make changes to key data elements. Ensure you have mapping maintained in Z table in ECC so that wrapper program can download with updated S4 company code values. Afterwards create an utility for upload S4 to upload that file.

Remember SAP don't provide any standard solution to handle this. We have tons of variants and this is the approach what we followed in our project.

I hope this answer your question.
If you find my response helpful, kindly award a Kudos as small gesture which motivates me to serve you better.
Appreciate your feedback.
Thanks,
Divyesh

 

efstratios_tsantilis
Product and Topic Expert
Product and Topic Expert
0 Likes

.

Answers (2)

Answers (2)

efstratios_tsantilis
Product and Topic Expert
Product and Topic Expert

Hello Johannes,
I can also recommend report SVAR_VARIANTS_PARAM_OVERVIEW which can list parameter values across variants and reports. This is very useful to get a quick overview about the current values for specific parameters.

This report is quite new may have to installed with note 3501208. This note updates also other variant tools (e.g. RSVCHECK_NEW).

Kind regards,
Efstratios Tsantilis
ABAP Platform Developer Tools
SAP Development Support

efstratios_tsantilis
Product and Topic Expert
Product and Topic Expert

Hello Johannes,

please have a look at note 3271380: this contains a template report that can be used to write a custom z report to change variants values for a given report. Please check if this is applicable for you. 
Kind regards,
Efstratios Tsantilis 
ABAP Platform Developer Tools
SAP Development Support