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

Open dataset

Former Member
0 Likes
661

Hi ,

I want to transfer some data to application server using opendatset non-unicode option. From the application server data is passed to a nonunicode system.

The data contains some special chanracters which were trnsfered to application server using unicode option.As the system to which i want to transfer data is nonunicode system i have to use nonunicode option but this is resulting in dump .Please reply me with solution .

Regards,

Soumya.

Hi ,

I want to transfer some data to application server using opendatset non-unicode option. From the application server data is passed to a nonunicode system.

The data contains some special chanracters which were trnsfered to application server using unicode option.As the system to which i want to transfer data is nonunicode system i have to use nonunicode option but this is resulting in dump .Please reply me with solution .

Regards,

Soumya.

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
642

Hi,

Use opendataset with addition MODE ENCODING NON-UNICODE


DATA: outfile(512) TYPE c.
 
OPEN DATASET outfile FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.

loop at itab into wa_itab.
  TRANSFER wa_itab TO outfile.
endloop.
 
CLOSE DATASET outfile.

aRs

Read only

0 Likes
642

I used OPEN DATASET outfile FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.

But the data is having special characters thats why it is giving dump .

In non-unicode option it is not allowing special charactrs .

Read only

0 Likes
642

Check this link

http://help.sap.com/saphelp_nw04/helpdata/en/79/c554a0b3dc11d5993800508b6b8b11/content.htm

Try to use ENCODING UTF-8

or use

OPEN DATASET dsn IN LEGACY TEXT MODE

aRs

Read only

0 Likes
642

Will the non-unicode system accept this data .

As i know that non-unicode system will accept only non-unicode data.