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

IDOC_INBOUND_FROM_FILE function module and UNICODE not allowed ?

Former Member
0 Likes
776

Hello all,

The IDOC_INBOUND_FROM_FILE function module doesn't allow inbound IDOCs to be processed if the UNICODE flag is set on with the WE21 transaction.

I turned on the WE21 UNICODE checkbox so that I could output characters in the extended set of UTF-8 characters. Most notably, I need to output the Euro Currency character (code 8364) and the em dash character (code 8212). This worked fine for my outbound files.

When I tried to import a normal 8-bit ASCII file with RSEINB00, the function module returns a code 8 because the UNICODE flag is set for the port. This is caused in form FIRST_RECORD_READ_AND_CHECK. The function module quits before the IDOC records are even processed at all. Look at the form code around line 168 of include program LEDINF01.

This seems very wierd since program RSEINB00 is commonly used for reading IDOC files.

Has anyone else experienced this?

Can anyone recommend a different function module or global class to use for inbound files?

Thanks

Ed Baker

P.S.

If any of you need a nice website illustrating characters available with UTF-8 encoding, try this one.

http://library.seaplusplus.net/software/plourde/utf8.html

Hello all,

The IDOC_INBOUND_FROM_FILE function module doesn't allow inbound IDOCs to be processed if the UNICODE flag is set on with the WE21 transaction.

I turned on the WE21 UNICODE checkbox so that I could output characters in the extended set of UTF-8 characters. Most notably, I need to output the Euro Currency character (code 8364) and the em dash character (code 8212). This worked fine for my outbound files.

When I tried to import a normal 8-bit ASCII file with RSEINB00, the function module returns a code 8 because the UNICODE flag is set for the port. This is caused in form FIRST_RECORD_READ_AND_CHECK. The function module quits before the IDOC records are even processed at all. Look at the form code around line 168 of include program LEDINF01.

This seems very wierd since program RSEINB00 is commonly used for reading IDOC files.

Has anyone else experienced this?

Can anyone recommend a different function module or global class to use for inbound files?

Thanks

Ed Baker

P.S.

If any of you need a nice website illustrating characters available with UTF-8 encoding, try this one.

http://library.seaplusplus.net/software/plourde/utf8.html

1 REPLY 1
Read only

Former Member
0 Likes
528

Question rephrased and asked again to improve clarity