Skip to Content
author's profile photo Former Member
Former Member

Transfering file to application server in binary mode

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2009 at 08:49 AM

    Hello Reddy, <li>Please provide some code where that binary data is being generated. Thanks venkat.O

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.