

Here are the steps to create formatted Excel.
Web dynpro alv tutorial how to#
I got Script Parse error and when checked few tags were open.īlog ABAP and Excel – Create Formatted Excel using XML by Naimesh on SDN explains how to use transformation for use, bingo! Matches the requirement, since GUI_FRONTEND cannot be used, dummy data being passed to XML as a source as table and rest of the XML generated is pasted in ‘Z’ transformation and in result is XML. Though this is workable solution, but is error prone and slight miss of tag is head banging. CONCATENATE TEXT -TDLINE CL_ABAP_CHAR_UTILITIES => NEWLINE INTO TEXT.

APPEND INITIAL LINE TO P_T_XML_DATA ASSIGNING.
Web dynpro alv tutorial code#
"- rest of the XML code "- " " "-below is end of appended code. I started with the second approach, like:ĪPPEND INITIAL LINE TO P_T_XML_DATA ASSIGNING.

So the question is What other solution is available to get the formatted excel downloaded? Below are few references which made it possible. If a context is created using dictionary structure it will be good only for displaying names. But when formatted cells are required this approach fails due to Excel property. Approach available: Excel download from WebDynpro Application can be done by simply concatenating fields and then adding row below it.
