Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Lock Order when spec. Partner Function is maintained

$
0
0

Hi,

 

my requirement:

When a specific partner function in maintained in opportunity only a defined business role should be able to change the order.

 

I tried in BT111H_OPPT/OpportunityOVViewSet  method DO_VIEW_INIT_ON_ACTIVATION to lock the context BtadminH with entity->lock and the set an lock with FM ENQUEUE_ECRM_ORDERADM_H before user can change to edit mode.

 

But in both cases edit is possible.

 

 

Then i tried Auth Badi IF_EX_CRM_ORDER_AUTH_CHECK~CRM_ORDER_ADD_AUTH_CHECK.

But when i raise "raise no_authority" WebUI crashed with a BSP Error:

 

Exception ClassCX_SY_MESSAGE_IN_PLUGIN_MODE
Error Name
ProgramSAPLCRM_MESSAGES
IncludeLCRM_MESSAGESU01
Line493
Long text-

 

 

Anyone has a tip?

 

 

Regards

Th


Viewing all articles
Browse latest Browse all 4552

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>