cancel
Showing results for 
Search instead for 
Did you mean: 

Export to CSV Option in Segmentation Model

ShivaniParihar
Participant
0 Kudos

Hello Team,

We're using SAP Marketing on prem 2020 v and after the upgrade business users are not able to see 'Export to CSV' option in Segmentation model. I'm able to see may be because I have SAP_ALL access in roles.

Is it something role-related?

how can i enable/disable this feature?

I referred to a similar question which refers to a design feature. Are there any steps which i can follow?

Regards,
Pushpak

Accepted Solutions (1)

Accepted Solutions (1)

former_member599277
Contributor

Hi Pushpak,

Can you just check if the user has the below authorization Object in Role SAP_CEI_BCR_SEG1_OP

Authorization object : HPA_DWNLD

The authorization object comprises of the following fields:

  • HPA_OBJ (Business Object)
    Specifies the name of the business object for which the file action is defined.
  • HPA_DL_ACT (Download Action)
    Specifies the download action of the respective business object the user is allowed to execute.
  • ACTVT (Activity)
    16 (Execute): Controls if the user is allowed to execute the respecive download action with respect to the specified business object.

I can find the authorization check for CSV export happening in method REQUEST_GSEG_DWNLD of Class CL_GSEG_AUTH_SERVICES

  if is_dl_req-at_prev_csv eq abap_true.
*   CSV export from attribute preview
*   Due to limitations in Fiori Restriction Type Maintenance we must make the DL action unique *sigh*
    if iv_gseg_bo eq if_gseg_sm_c=>sc_bo_name.
*     SM
      authority-check object if_hpa_co=>auth_obj_hpa_dwnld
        id 'HPA_OBJ'    field iv_gseg_bo
        id 'HPA_DL_ACT' field if_gseg_sm_co=>co_dl_act_sm_at_prev_exp
        id 'ACTVT'      field if_gseg_sm_co=>co_auth_act_execute.
    else.
*     BB
      authority-check object if_hpa_co=>auth_obj_hpa_dwnld
        id 'HPA_OBJ'    field iv_gseg_bo
        id 'HPA_DL_ACT' field if_gseg_bb_co=>co_dl_act_bb_at_prev_exp
        id 'ACTVT'      field if_gseg_sm_co=>co_auth_act_execute.
    endif.
    if sy-subrc is initial.
      rs_dl_resp-at_prev_csv = abap_true.
    endif.
  endif.

Hope this helps with your query.

Regards,
Saravana

Answers (0)