‎2009 Oct 07 9:42 AM
Hi Experts,
I am transferring the data to application server in binary mode. I am getting the data which is delimited by # character by character as mentioned below.
#1#0#0#0#2#B# # # #2#0#0#9#
But it should come as ....... #100#02#B#2009
Can anyone tell me what would be the issue here?
Thanks.
‎2009 Oct 07 9:49 AM
Hello Reddy, <li>Please provide some code where that binary data is being generated. Thanks venkat.O
‎2009 Oct 07 10:01 AM
Thanks for your reply venkat.
Actually that code is there in the standard program RKETREXT which is used to export data from summarization level to File.
In that standard program, the code is written as mentioned below.
open dataset filename for output in binary mode.
call function 'RKD_TR_LEVEL_READ'
exporting
applclass = applclass
subclass = subclass
tabname = tabname
trcatnr = trcatnr
s_form_name = 'GET_DATA'
s_program_name = repid
read_dirty = ' '
importing
timestmp = timestmp
tables
selection_table = seltab.
they hv written the 'transfer' code in the dynamic form 'GET_DATA' which is there in the export parameter
form get_data
tables ce0_tab
using exit_flag like ceddb-flag.
loop at ce0_tab.
transfer ce0_tab to filename.
add 1 to count.
endloop.
endform.
Thanks.
‎2023 Jul 07 4:50 PM
Hello.
The file generated in binary with which tool can be viewed. I have not been able to open it correctly either with notepad++ or with excel.
Thanks.