Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: SMARTFORMS - Smart Forms - Form Builder
Message number: 428
Message text: Parameters I_STYLE_VARIANT and I_STYLE_LANGUAGE are not specified
One of the parameters I_STYLE_VARIANT and I_STYLE_LANGUAGE has to be
specified.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Specify the parameter I_STYLE_LANGUAGE and leave the parameter
I_STYLE_VARIANT empty if you want a variant that is assigned to the
specified language to be returned.
If the parameter I_STYLE_VARIANT is filled, the variant specified (if
it exists) is returned.
Error message extract from SAP system. Copyright SAP SE.
SMARTFORMS428
- Parameters I_STYLE_VARIANT and I_STYLE_LANGUAGE are not specified ?The SAP error message SMARTFORMS428 indicates that the parameters
I_STYLE_VARIANT
andI_STYLE_LANGUAGE
are not specified when calling a Smart Form. This typically occurs when you are trying to print or display a Smart Form that requires specific style parameters, but they have not been provided in the function module call.Cause:
- Missing Parameters: The function module for the Smart Form is being called without the necessary parameters for style variant and language.
- Incorrect Function Module Call: The function module might be called incorrectly, or the parameters might not be passed properly.
- Default Values Not Set: If the Smart Form is designed to use specific styles and languages, and these are not set as defaults, the error will occur.
Solution:
To resolve this error, you need to ensure that the parameters
I_STYLE_VARIANT
andI_STYLE_LANGUAGE
are correctly specified when calling the Smart Form. Here are the steps to do this:
Identify the Function Module: Determine which function module is being used to call the Smart Form. This is usually
SSF_FUNCTION_MODULE_NAME
followed by the Smart Form name.Check Parameter Passing: When calling the Smart Form, ensure that you are passing the
I_STYLE_VARIANT
andI_STYLE_LANGUAGE
parameters. For example:DATA: lv_function_name TYPE rs38l_fnam, lv_style_variant TYPE tdsstylen, lv_style_language TYPE tdsstylen. CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING formname = 'YOUR_SMARTFORM_NAME' IMPORTING fm_name = lv_function_name EXCEPTIONS no_form = 1 no_function_module = 2 OTHERS = 3. IF sy-subrc = 0. CALL FUNCTION lv_function_name EXPORTING control_parameters = control_parameters output_options = output_options user_settings = 'X' i_style_variant = lv_style_variant i_style_language = lv_style_language IMPORTING job_output_info = job_output_info EXCEPTIONS formatting_error = 1 internal_error = 2 send_error = 3 user_cancelled = 4 OTHERS = 5. ENDIF.
Set Default Values: If applicable, set default values for the style variant and language in the Smart Form settings or in the calling program.
Check Smart Form Configuration: Ensure that the Smart Form itself is configured to use the specified styles and languages. You can do this by checking the Smart Form in transaction
SMARTFORMS
.Testing: After making the necessary changes, test the Smart Form again to ensure that the error is resolved.
Related Information:
By following these steps, you should be able to resolve the SMARTFORMS428 error and successfully call your Smart Form with the required parameters.
Get instant SAP help. Sign up for our Free Essentials Plan.
SMARTFORMS427
Navigation not possible
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SMARTFORMS426
To change the variant, use the menu
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SMARTFORMS440
This paragraph format is flagged as default paragraph for the style
What causes this issue? You are trying to delete a paragraph format that is marked as the default paragraph format for the style.System Response The...
SMARTFORMS441
Unable to find paragraph format &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.