cancel
Showing results for 
Search instead for 
Did you mean: 

Read Organizational Assignment with CRM_ORDER_CHECK_AUTHORITY_GEN

Former Member
0 Kudos

Hello,

I want to control the access to ChaRM-documents with Objekt CRM_ORD_LP. I think, this works properly, if function CRM_ORDER_CHECK_AUTHORITY_GEN is running correctly.

CRM_ORDER_CHECK_AUTHORITY_GEN calls the function CRM_ORGMAN_FILL_WRK_WO_BUF importing structure CRMT_ORGMAN_WRK. And there's the problem: the structure CRMT_ORGMAN_WRK is always empty. So, the program can't find the organizational assignment (PPOMA_CRM).
Cause: the function CRM_ORGMAN_FILL_WRK_WO_BUF is making a select to view crmv_linkorgman. In this view I get no results, because the table CRMD_ORGMAN is empty. So, does anyone know, what I have to do, to generate items in this table?

Or is this the wrong way using CRM_ORD_LP?

Thx a lot.

Regards,
Ralph

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Done.

Writing an exit in CRM_ORDER_ADD_AUTH_CHECK solved the problem.

Answers (0)