Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with usage of 'LVC_ALV_CONVERT_TO_HTML' function module

Former Member
0 Kudos
285

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

3 REPLIES 3

Former Member
0 Kudos
114

HI,

Check..

  • Convertie en HTML.

call function 'LVC_ALV_CONVERT_TO_HTML'

exporting

it_data = itab_mt_data

it_info = itab_mt_info

i_file_dialog = ' '

importing

et_html = itab_html.

Regards,

Santosh

Former Member
0 Kudos
114

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

Former Member
0 Kudos
114

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