10-24-2007 11:23 AM
Hi,
While running the PA40 transaction..am giving the from date :24.10.2007(any date) and selecting the 'Hire New Employee' tab from personnel actions. If i click on execute button it is giving Runtime Error.
<b>Error analysis</b>
The following syntax error was found in the program
ZCL_IM_HRPAD00INFTY===========CP :
"A line of "NEW_IMAGE" and "LW_2001_NEW" are not mutually convertible. "
"In a Unicode program "NEW_IMAGE" must have the same structure layout a"
"s "LW_2001_NEW" independent of the length of a . Unicode character. Un"
"icode character."
Source code:
12 ELSE.
13 CONCATENATE '\CLASS=' imp_class INTO abs_type_classname.
14 ***** dynamic object creation *******************************
>>>>> CREATE OBJECT instance TYPE (abs_type_classname).
16 ******************************************************************
17 imp_obj-imp_name = imp_name.
18 imp_obj-calling_obj = caller.
Please do the needfull.
Thanks in advance.
Regards,
Phani Miriyala.
10-24-2007 1:41 PM
10-24-2007 2:30 PM
Hi,
its seems unicode problem in your BADI code.
(1) goto se24 transaction.
(2) enter the class name ZCL_IM_HRPAD00INFTY===========CP '
(3) select the properties tab.
(4) in general data tick the check box 'Unicode checks active'.
if error persist then in same way you have also check all the implemetation of BADI's for unicode tick
Hope it will help you.
regards,
ABHIJIT ZOPE