‎2013 May 11 10:07 AM
Hello,
every time when I execute the form after generation I get the following message:
"The test for /1BCDWB/SF00000009 was regenerated but errors occurred"
the scarce description in the help is this:
"One reason could be the complex typing of the function module parameters.
In certain circumstances, it is not possible to access test cases in the test data catalog."
I was also getting below in smartform
In the exception 1 is triggered ("FORMATTING_ERROR").
Does somebody know what the problem is ??
Thanks
Harsh Sisodia
‎2013 May 12 7:27 AM
Might be some part in your Smartform is not fitting into the scale/space provided. Or could be due to any parameter conflicts to the Function module. Debug and check where exactly the error coming.
‎2013 May 12 7:29 AM
1. Make sure that the parameters that you are using in smart form and those that are exported from the print program are matching.
2. Make sure that smart form is activated.
3. There may be mismatch in the size of window and contents. If so adjust accordingly.
‎2013 May 12 11:19 AM
Hi Harsh,
Please be more specific in the topic as well as question. Where exactly is the issue? If its a formatting error then on what line?
Regards
Purnand
‎2013 May 12 12:10 PM
Hi Harsh,
Do a syntax check there ctrl+f2.
This error generally comes when, suppose in Template/table You are writing
Row 3 column 3,but You have designed 3 row & 2 column .
Check this type of similar case for wrong row or column assignment.
Check sy-subrc ,It will be probably 1 or 13.
Thanks
Gourav.
‎2013 May 13 2:26 AM
Hello,
In 4.6C environment this table XSFPARS don't exist in structure SSFCOMPOP.
The test environment of the Function Builder may not correctly display complex categories. Generic categories such as DATA, OBJECT, STANDARD STANDARD TABLE, ANY TABLE are also not currently supported by the test environment. It is described in the attached notes 585475.
That was the reason of the message "The test for & was regenerated but errors occurred" most often.
As workaround you can create an simple function module. Here you can determine the current name of the smartforms via function SSF_FUNCTIONAL_MODULE_NAME. And here you can avoid to use
the table XSFPARS as import parameter.
Regards,
David
‎2013 May 13 3:13 AM
HI Harsh ,
I think you have face issue with Function Modulde parameters.
Please call transaction se37 and then test Function Modulde /1BCDWB/SF00000009.
If you not know the cause of the root error, you compare parameter this FM with where you have call this FM in your code or using Pettern to insert FM.
Thanks and best regards,
Quynh.
‎2013 May 13 3:35 AM
Hi,
Check out your windows and table definitions within the windows. This kind of error usually occurs when window sizes are bigger than you page size or often due to table or template size being bigger that your page size and take help of the graphical editor this usually appears in F9. to see your relative window positions in the page, Also check the table or line widths defined for usage in these windows.
Cheers,
Arindam