cancel
Showing results for 
Search instead for 
Did you mean: 

Disable PO Cancel Functionality in SUS

Former Member
0 Kudos

We will like to disable or hide the reject buttons for PO's in SUS. Currently when a supplier logs in he can confirm or reject the PO's. We are able to find the code for the "Reject All" button but are struggling with hiding the "X" next to each line item.

In similar way we also like to hide the create invoice functionality on ASN screen.

Any help ideas are greatly appreciated. I will reward good points to all the respondents.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Which scenario are you running ? MM-SUS or SRM-SUS ?

Do you want to disable the "Reject" feature only, or also the "Confirm" feature ?

If both, then you can control this with PO item document flow indicator.

If you don't ask for a PO Response, then supplier won't have to confirm or reject PO items.

This is driven by document itself, and you don't have to code anything.

Same apply for Invoice on ASN. If you don't ask for invoice in your PO item, then the "Create invoice" button won't be displayed.

In your PO (in SRM or in R/3), goto item detail, and unflag POR and Invoice flags.

If you need to keep Invoice flag for internal invoicing, then you must keep it but you can control SUS invoice with profiles:

You can control it via PFCG profile.

Ex: profile SAP_EC_SUS_INVOICER contains Display activity on all SUS doc types (BUS2230, BUS2231, BUS2232, BUS2233, BUS2235), but can create/modify only invoices (BUS2234).

You can also control allowed SUS action (ex: asninvadd.list) via authorisation object BBP_SUS_AC.

So you can design your own profile that meet your requirements.

Rgds

Christophe

Former Member
0 Kudos

Thanks for the response Christophe we are implementing MM-SUS. We will like to have the confirm button therefore we cannot use the document flow. Do you have any other suggestions for disabling/hiding the Cancel/Reject? For Invoices if I take the role out then the option will not show up or it will show up but the user will not be able access it? Your help is appreciated.

Former Member
0 Kudos

Hi,

If you want to keep the Confirmation but just hide Reject button, you will have to modify the BSP application SRMSUS:

Have a look at View --> Order --> order/detail_edit.inc, and search for 'BBP_SUS_UI/REJECT_ALL_POS'.

For Invoice, the button will disappear if you change the profil.

Invoice button in PO is controled by method IS_INV_CREATE_BTN_DISABLED of class CL_SUS_M_ORDER_DETAIL:

1- check activity 02 of object BUS2234

2- check PO header and item invoice flags

This should solve your issue.

Rgds

Christophe

Former Member
0 Kudos

Thanks Christophe,

That is exactly how I solved the problem thanks for your help.

Jai

Answers (0)