cancel
Showing results for 
Search instead for 
Did you mean: 

SDP94 Hide Buttons with Badi /SAPAPO/SDP_INTERACTmethod FCODES_EXCLUDE

Former Member
0 Kudos

Hello,

The Promotion Planning in transaction SDP94 contains buttons for removing objects from the Promotion (fcode PM_CUT and fcode PM_CUT_ALL).

Problem: The user should not be allowed to add or remove objects (materials) to the promotion.

It works to remove the buttons for assigning objects (PROM_OBJT or PROM_MOBJT) but it ist not possible to remove the buttons for removing the objects (fcode PM_CUT or PM_CUT_ALL).

I tried it with BadI /SAPAPO/SDP_INTERACTmethod FCODES_EXCLUDE

can anyone help me? Thanks

bernhard

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Bernhard,

Have you tried using authorizations instead? I think you can use the authorization object C_APO_PROM (available as of SCM 4.1) to prevent a user from changing a promotion.

Hope this helps.

Former Member
0 Kudos

hello,

thanks for your answer,

with the authorization object C_APO_PROM i can only prevent a user completely from changing a promotion. But the goal is that the user can plan data in the promotion, but he should not be allowed to add or remove objects (materials).

Therefore the only thing i want to do is setting some buttons inactive.

it is possible to set the buttons for adding objects inactive, but ist ist not possible to set the buttons for removing (PM_CUT) inactive.

any ideas?

Former Member
0 Kudos

Hello again,

we got a new oss note 1091150 which solves my problem.

thanks for help.

bernhard

Former Member
0 Kudos

oss note 1091150

Answers (0)