cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ESS WDA CATS Not Working

Former Member
0 Kudos

Hi Experts:

I got this dump when running CATs from the portal (7.3) or testing in the WD configuration.

"Syntax error in program CL_XSS_CAT_1_APPLICATION_CORE=CP"

I have the profile name assigned to CVR and have the relevant role assigned to my user. The profile works when executed in CAT2. I did some customization in CAC2 (hiding most of the fields). but nothing seems to work. Consistenly got the same error. Is this configuration or authorization issue?

Here is the dump:

The following syntax error occurred in program

"CL_XSS_CAT_1_APPLICATION_CORE=CP " in include

"CL_XSS_CAT_1_APPLICATION_CORE=CM00K " in

line 96:

""L_DISP1" is not type-compatible with formal parameter "IM_TEXT1"."

" "

" "

" "

and where it happens in the code:

15 DATA:

16 l_cats_core TYPE REF TO cl_xss_cat_1_application_core.

17

18 CLASS cl_xss_cat_application DEFINITION LOAD.

19

20 IF cl_xss_cat_application=>instance IS INITIAL.

>>>> CREATE OBJECT l_cats_core

22 EXPORTING

23 im_scenario = im_scenario

24 im_pernr = im_pernr.

Any help is appreciated.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Here is source code dumnp: the exception occurs with CREATE OBJECT l_cats_core

The following syntax error occurred in program

"CL_XSS_CAT_1_APPLICATION_CORE=CP " in include

"CL_XSS_CAT_1_APPLICATION_CORE=CM00K " in

line 96:

""L_DISP1" is not type-compatible with formal parameter "IM_TEXT1"."

" "

" "

" "

DATA:

l_cats_core TYPE REF TO cl_xss_cat_1_application_core.

CLASS cl_xss_cat_application DEFINITION LOAD.

IF cl_xss_cat_application=>instance IS INITIAL.

CREATE OBJECT l_cats_core

EXPORTING

im_scenario = im_scenario

im_pernr = im_pernr.

ENDIF.

  • erzeuge und initialisiere die Applikation

CALL METHOD cl_xss_cat_application=>get_instance

EXPORTING

im_core = l_cats_core

RECEIVING

result = ex_application

EXCEPTIONS

pernr_not_enqueued = 1

profile_not_found = 2.

IF sy-subrc = 1.

RAISE pernr_not_enqueued.

ELSEIF sy-subrc = 2.

RAISE profile_not_found.

ENDIF.

Former Member
0 Kudos

I got 2 things confirmed with my client. 1. CP is not used in their system. 2. Time management status is 9 (time recording not required for employees but with time evaluation). Wonder if these settings are related to the error.

I tried with standard WD application configuration HRESS_AC_CATS_1, got the same error. Authorization issue can be excluded since I got no auth check failure in SU53 and the security guy said my user had all required authorizations. Data entry files should be ok since I can run all profiles and enter time with CAT2.

I will open a SAP note.

Thanks

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

good idea, also in the meantime, can you check in ST22 whats the dump and paste it here,

also ensure you are on correct SP levels!

Former Member
0 Kudos

Hi,

If you are using Concurrent Employment, please check if the necessary configuration is maintained for CE in order retrieve the Central person Id.

Hope this helps,

Regards,

Roy

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

did you launch from Se80 and verify?

ie PAOC_CATS_ESS_WDA

just check your are launching the standard application and ensure you apply the latest notes

This looks like an issue with a field or structire??

Former Member
0 Kudos

have you checked the sap note 1552077?

hmm another thing it may be totally unrelated but,.. cp = central person,. so does the test pernr you are using have the cp number as well ? worth a shot,.. try it and let us know how you go with it..

cheers