Application Development 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: 

Syntax error in program "ZCL_IM_HRPAD00INFTY===========CP ".

0 Kudos

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.

2 REPLIES 2

former_member186746
Active Contributor
0 Kudos

se38

type in: ZCL_IM_HRPAD00INFTY===========CP

change.

fix problem.

abhijitzope
Active Participant
0 Kudos

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