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

utf-7/utf-8 encryption

Former Member
0 Likes
817

Hi,

We have a requirement in which the payment list file generated after payment run(f110) is to be encrypted using utf-7 / utf-8 encoding.We are now using sap 4.6c version.

i tried using MD5 generator and client does't want that.

Are there any Function modules to encrypt the file into utf-7/utf-8 ?

Can you please share your views and help me to proceed further in the development.

Thankyou

Gowri

1 ACCEPTED SOLUTION
Read only

MarcinPciak
Active Contributor
0 Likes
671

If you want to upload it to Application Server use


OPEN DATASET dset FOR OUTPUT IN TEXT MODE ENCODING UTF-8.

"then transfer

If for download on desktop use


DATA itab_str TYPE TABLE OF string.

APPEND 'Some text in UTf-8' TO itab_str.

CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
    filename                        = 'C:\utf.txt'
    FILETYPE                        = 'ASC'
    CODEPAGE                        = '4110' "UTF-8 codepage
  tables
    data_tab                        = itab_str.

Regards

Marcin

2 REPLIES 2
Read only

MarcinPciak
Active Contributor
0 Likes
672

If you want to upload it to Application Server use


OPEN DATASET dset FOR OUTPUT IN TEXT MODE ENCODING UTF-8.

"then transfer

If for download on desktop use


DATA itab_str TYPE TABLE OF string.

APPEND 'Some text in UTf-8' TO itab_str.

CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
    filename                        = 'C:\utf.txt'
    FILETYPE                        = 'ASC'
    CODEPAGE                        = '4110' "UTF-8 codepage
  tables
    data_tab                        = itab_str.

Regards

Marcin

Read only

0 Likes
671

Hi Marcin,

we are using sap 4.6c version and don't have the option of codepage in GU_DOWNLOAD function module.

Thankyou

Gowri