Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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


While running the PA40 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.


Phani Miriyala.

Not what you were looking for? View more on this topic or Ask a question