Hi Friends,
I am creating a Pivot format excel sheet using I_OI_DOCUMENT_PROXY and I_OI_SPREADSHEET_INTERFACE.with I_OI_PIVOT classes. I am hardly trying to save the excel sheet in background directly to the local path folder and sending as an attachment to the user email-id.
I didn't get my shot for saving it in background method but I am sure I am crossed half of the way to send this excel sheet as an attachment to the user email-id. I used the method save_document_to_table using I_OI_DOCUMENT_PROXY to move the excel worksheet values to the internal table and I can see the unicode values in the internal table. To send this further as an email attachment, i have to convert this as character or string values where I am facing difficulty to move further. I have tried most the standard function modules convert the xstring to string values but none can be worked out due the the parameters are different between the method and the FM.
Is anyone can help me how to convert this internal table unicode values to string and make it as an email attachment, it would be really appreciated with points.
Please suggest .
Regards.