on 2025 Jul 09 1:14 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 11 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.