on 11-28-2009 11:57 AM
For some shopping carts there is no button "change" on the Approval screen.
Considering you are using SRM SERVER 550 - SAPKIBKT14, note 1022237
was already implemented by SP implementation.
With this note function BBP_PDH_WFL_SECLEVEL_GET was changed and then
it makes the BADI BBP_WFL_SECUR_BADI to be always read and it returns
security level = '0'.
SAP note 1022237 is a standard note fixing a bug :
****************************
You want use Zero as a Security Level for all users. But this value is
never used when it was set via the BADI. Instead the regular user
settings will be used always.
*****************************
Now this function is :
IF lv_activ_implement_exist = 'X'.
CALL BADI if customer wants to change the default security level of
the user
CALL METHOD gv_wfl_sec_exit->set_security_level
EXPORTING
actual_user = iv_user
object_id = iv_object_id
object_type = iv_object_type
guid = iv_guid
scenario = iv_scenario
IMPORTING
new_sec_level = ev_sec_level.
ELSE.
CALL FUNCTION 'BBP_PDH_WFL_SECLEVEL_DB_GET'
EXPORTING
iv_user = iv_user
IMPORTING
ev_sec_level = ev_sec_level.
ENDIF.
Before, it was :
IF lv_activ_implement_exist = 'X'.
CALL BADI if customer wants to change the default security level of
the user
CALL METHOD gv_wfl_sec_exit->set_security_level
EXPORTING
actual_user = iv_user
object_id = iv_object_id
object_type = iv_object_type
guid = iv_guid
scenario = iv_scenario
IMPORTING
new_sec_level = ev_sec_level.
ENDIF.
IF ev_sec_level = 0. " if no value was set
if BADI is not programmed, get the security levels of the user
from the BUS4101 object (attribute 'SecurityLevel')
CALL FUNCTION 'BBP_PDH_WFL_SECLEVEL_DB_GET'
EXPORTING
iv_user = iv_user
IMPORTING
ev_sec_level = ev_sec_level.
ENDIF.
If you want the value of the user setting to be picked ,
the BADI should be deactivated .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Note 1397991 gives you an overview about this functionality.
Kind regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.