Skip to Content
0

Job - SAP_CUAN_SP_GENERATE in Hybris Marketing for Scores

May 18, 2017 at 09:09 AM

43

avatar image

Hi,

We seem to have a few jobs of "SAP_CUAN_SP_Generate" which are hanging in a "Scheduled" status and we are unable to release them due to the following error:

"Definition of job SAP_CUAN_SP_GENERATE is incomplete. Operation is not possible".

I understand that this is a job that runs to execute the Scores being compiled and runs the method "generate_table_by_score_async" of the class cl_cuan_sp_srv_pst_enable_loc

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Matthias Reiner
May 22, 2017 at 11:56 AM
0

Hi Peter,

are you still facing this issue or got it resolved after this hint?

...

create user DDIC in your system, and assign sufficient authorization to that user. For instance, user DDIC needs authorization to
- create/drop tables in ABAP package $SAPCUAN_SP
- update/delete/insert for table CUAND_SP_VIEW
- write TADIR entries


Background:

The authorizations above shall be decoupled from the business user (current user). Therefore, we execute certain steps by "switching" to user DDIC, which we assume to exist:
SUBMIT sap_cuan_sp_generate USER 'DDIC' ...
(This can be found in class CL_CUAN_SP_SRV_PST_ENABLE_LOC -> GENERATE_TABLE_BY_SCORE: in line 128.)

It is planned for the future, to fully automate the setup, even for the case that user DDIC does not exist or does not have sufficient authorization...

Best,

Matthias

Share
10 |10000 characters needed characters left characters exceeded