‎2007 Nov 20 12:55 PM
Hi All,
As part of my Unicode upgrade in old versons the program is as follows.
data:ipad LIKE pad27.
data:A1001 LIKE P1001.
ipad = a1001-adata.the above code is throwing unicode error.
Can any one help me to resolve this problem.
regards
Krishna
‎2007 Nov 20 12:58 PM
Hi
do like this and see
data:ipad type pad27.
data:A1001 type P1001.
ipad = a1001-adata.
Regards
Anji
‎2007 Nov 20 12:59 PM
‎2007 Dec 13 10:38 AM
Hi All
I am sorry to say that i got answer for this Issue.
Use the following function modules
CALL METHOD cl_hr_adata_type_cast=>padnn_to_adata
EXPORTING
padnn =
IMPORTING
ADATA = .
CALL METHOD cl_hr_adata_type_cast=>adata_to_padnn
EXPORTING
adata =
IMPORTING
PADNN =
.
‎2007 Dec 13 10:42 AM
Hi,
Dont use LIKE instead of that use TYPE data element
data:ipad type pad27.
data: adata type adata.
ipad = a1001-adata.
Regards,
PRashant