2006 Sep 21 12:59 PM
Friends,
How do I overcome the problem of execution of <b>'LVC_ALV_CONVERT_TO_HTML'</b> function module? Can anybody help me out plz.
It is throwing an error as <b>'Error generating the test frame'</b> when executing.......how do I overcome this bug?
In the documentation too I couldnt find solution with system response. I even tried with where used list of this function module......but, it was no where used.....
I tried in 4.7 & 5.0 version.....No solution for its execution.
Anybody help me out plz....if possible could u provide some example code...
Thanks in advance,
CK
2006 Sep 21 1:01 PM
2006 Sep 21 1:15 PM
Hi,
check below code in FM WWW_ALV_CALL
call function 'LVC_ALV_CONVERT_TO_HTML'
exporting
it_classic_convert_html = html[]
i_back_url = l_back_url
i_file_dialog = space
i_main_url = l_url
i_start_variant = l_varix
i_start_layout = e_tabix
i_font_size = l_fontsize
importing
et_html = html[]
tables
it_variants = lt_vartext
it_layouts = et_alv_layouts
it_query_string = lt_query_string.
Regards
Amole
2006 Sep 21 1:19 PM
Hi,
FM 'LVC_ALV_CONVERT_TO_HTML' can't be executed
directly from se37. it need interface program
ABAP to export parameters.
<b>Error generating the test frame
Message no. FL 819
Diagnosis
The system could not generate a syntactically correct test frame for function module LVC_ALV_CONVERT_TO_HTML. You therefore cannot test the function module using the test environment. You have probably used an ABAP feature in the interface definition that is not yet supported in the test environment.
The error message is:
Type or field "TABLE" is generic. - No table linehas been specified
System Response
Procedure
Check whether you can change the interface of the function module so that it is possible to generate the test frame. If this is not possible,you will have to write your own utility for testing the function module.
Procedure for System Administration</b>
Regards
amole