Hello,
Below are few hints which can be useful for Unicde conversion projetcs.
Transaction to check the objects which are relevant for Unicode conversion : UCCHECK
1. File Interface - OPEN DATASET
The majority of ABAP changes needed on SAP system for Unicode involve the file interface. This section describes the expected changes for OPEN DATASET, READ, and TRANSFER statements.
1.1 - OPEN...TEXT MODE
The non-Unicode syntax for accessing the file system in text mode is:
OPEN DATASET dsn FOR access IN TEXT MODE.
The expected change for this type of syntax for Unicode is:
OPEN DATASET dsn FOR access IN TEXT MODE ENCODING DEFAULT.
The value of FOR access (INPUT, OUTPUT, APPENDING, UPDATE) will remain the same.
1.2 - OPEN...BINARY MODE
The non-Unicode syntax for accessing the file system in binary mode is:
OPEN DATASET dsn FOR access IN BINARY MODE.
The expected change for this type of syntax for Unicode is:
OPEN DATASET dsn FOR access IN LEGACY BINARY MODE.
The value of FOR access (INPUT, OUTPUT, APPENDING, UPDATE) will remain the same.
1.3 - READ/TRANSFER
No change to the syntax of READ or TRANSFER is needed. However, a runtime error triggers if the OPEN statement does not exist for these statements.
2. WS_UPLOAD/WS_DOWNLOAD
Functions WS_UPLOAD, WS_DOWNLOAD, UPLOAD, and DOWNLOAD are being replaced. In all cases, the new function GUI_UPLOAD will replace functions WS_UPLOAD and UPLOAD, and function GUI_DOWNLOAD will replace functions WS_DOWNLOAD and DOWNLOAD.
The snippet below show examples of how GUI_UPLOAD and GUI_DOWNLOAD should be implemented. The designation
Below are few hints which can be useful for Unicde conversion projetcs.
Transaction to check the objects which are relevant for Unicode conversion : UCCHECK
1. File Interface - OPEN DATASET
The majority of ABAP changes needed on SAP system for Unicode involve the file interface. This section describes the expected changes for OPEN DATASET, READ, and TRANSFER statements.
1.1 - OPEN...TEXT MODE
The non-Unicode syntax for accessing the file system in text mode is:
OPEN DATASET dsn FOR access IN TEXT MODE.
The expected change for this type of syntax for Unicode is:
OPEN DATASET dsn FOR access IN TEXT MODE ENCODING DEFAULT.
The value of FOR access (INPUT, OUTPUT, APPENDING, UPDATE) will remain the same.
1.2 - OPEN...BINARY MODE
The non-Unicode syntax for accessing the file system in binary mode is:
OPEN DATASET dsn FOR access IN BINARY MODE.
The expected change for this type of syntax for Unicode is:
OPEN DATASET dsn FOR access IN LEGACY BINARY MODE.
The value of FOR access (INPUT, OUTPUT, APPENDING, UPDATE) will remain the same.
1.3 - READ/TRANSFER
No change to the syntax of READ or TRANSFER is needed. However, a runtime error triggers if the OPEN statement does not exist for these statements.
2. WS_UPLOAD/WS_DOWNLOAD
Functions WS_UPLOAD, WS_DOWNLOAD, UPLOAD, and DOWNLOAD are being replaced. In all cases, the new function GUI_UPLOAD will replace functions WS_UPLOAD and UPLOAD, and function GUI_DOWNLOAD will replace functions WS_DOWNLOAD and DOWNLOAD.
The snippet below show examples of how GUI_UPLOAD and GUI_DOWNLOAD should be implemented. The designation
No comments:
Post a Comment