cancel
Showing results for 
Search instead for 
Did you mean: 

For some shopping carts there is no button "change" on the Approval screen.

Former Member
0 Kudos

For some shopping carts there is no button "change" on the Approval screen.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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 .

Answers (1)

Answers (1)

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

Note 1397991 gives you an overview about this functionality.

Kind regards,

Ricardo