Application Development and Automation 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: 
Read only

call transformation id

Former Member
0 Likes
877

dear experts,

data : t001w like table of t001w with header line.

data: xml_out type string .

select * from t001w into table t001w.

call transformation ('ID')

source tab = t001w[]

result xml xml_out.

hear call transformation is giving result xml_out.

how can i download it to my desktop.

please guide me how to download.

thanks & regards,

surendra.

dear experts,

data : t001w like table of t001w with header line.

data: xml_out type string .

select * from t001w into table t001w.

call transformation ('ID')

source tab = t001w[]

result xml xml_out.

hear call transformation is giving result xml_out.

how can i download it to my desktop.

please guide me how to download.

thanks & regards,

surendra.

2 REPLIES 2
Read only

former_member194669
Active Contributor
0 Likes
499

Try this way


CALL FUNCTION 'HR_EFI_CONVERT_STRING_TO_TABLE'
EXPORTING
i_string = xml_out
i_tabline_length = 100
TABLES
et_table = IT_OUTPUT.

CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filetype = 'BIN'
filename = 'c:	emp	est.xml'
TABLES
data_tab = IT_OUTPUT.

Read only

Former Member
0 Likes
499

hi,

after getting the data in XML_OUT, use any of the given below function module

HR_EFI_CONVERT_STRING_TO_TABLE convert a string into a table

CONVERT_STRING_TO_TABLE Convert string to table

*CONVERT_TABLE_TO_STRING Convert string to table *

then pass the internal table to the GUI_DOWNLOAD to download the data.

Hope this helps

Regards

Ritesh