I'm working with CRM WEB CLIENT 7.0 and I have a problem with a requirement, it is the following:
I develop a certain process to have the data that I need in an internal table.
I have to download that internal table into any folder of my local computer as a txt file by clicking a button.
I've used some methods to do it, but I can't download the data to a file, it just appear in the web browser.
Do you have any ideas guys?
These are the methods:
CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
text = lv_log
buffer = lv_xstring
FAILED = 1
OTHERS = 2
CALL METHOD cl_bsp_utility=>download
object_s = lv_xstring
content_type = 'application/download'
content_disposition = 'attachment;filename=prueba.txt'
response = response
navigation = navigation
Thanks in advance,