hi,
pls look at the code: i have written this in SORUCE CODE of the RFC, pls exclude the "submit" part. and look into the FM's which i have called.
submit zrpt_mm_045 EXPORTING LIST TO MEMORY
with s_werks IN WERK
with s_mtart IN MTARTS
with s_matnr IN MATNRS
with s_budat IN DATES
with s_lgort IN LGORTS
with rb1 = RB1
with rb2 = RB2
with rb3 = RB3
with variant EQ p_varis sign 'E'
AND RETURN.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = ITHEADER.
CALL FUNCTION 'WRITE_LIST'
EXPORTING
WRITE_ONLY = 'X'
TABLES
listobject = ITHEADER.
CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
EXPORTING
REPORT_NAME =
TEMPLATE_NAME = 'WEBREPORTING_REPORT'
TABLES
html = it2
listobject = ITHEADER.
in my TABLES option of FM i have it2 like w3html,
now when i call this RFC in EP the result is comming but it in very haphazard way. That is they are not in proper order.
Could any pls provide me the solution to get away with it.
Deepak