cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Order creation button

former_member201357
Participant
0 Kudos

Hi All

Thank in advance for giving your precious time.

Mu requirement is to remove "Order Creation button from Notification" via user status. From my end try to replicate the same via non serialized status and with couple of "Object type". but I didn't found "Order Creation" option any where, So that I can hide it.

Pl suggest if I am moving in wrong direction.

Regards

PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I would like to suggest an option of user status control. In BS02, define a user for notification object type. something like below. With this button will not be removed but user wont be allowed to create an order.

With this, if you can prevent creation of order & system will propose a message as shown below.

Regards,

Amol

Former Member
0 Kudos

In addition to Amol's useful suggestion, you can hide the "Create Order" fields on the screen by configuring your notification type in OIAL and marking the following fields as "hidden":

TEXT7_/

XICON_ORDER

VIQMEL-AUFNR

As Terence says, the menu path method of creating an order will still be available, but at least the button to create an order will be gone.

Paul

Answers (2)

Answers (2)

jogeswararao_kavala
Active Contributor
0 Kudos

Hello pmsap9

  • Have a look at this useful post in this direction:  Do you want to hide NOPR / NOCO icons of PM/CS/QM Notifications?
  • You apply the thing explained for NOPR and NOCO icons in the above post here also. Only difference is the Order icon will not be disappearing, but it will be dysfunctional.
  • Let's suppose you want to prevent user from Creating Order during IW21 tcode for a Notification type say 'M2' then, just put this simple code in the include ZXQQMU35 of user-exit QQMA0024 and the job is done.

IF i_tq80-qmart = 'M2' AND sy-tcode = 'IW21' .

   APPEND 'COAE' TO t_ex_fcode.

ENDIF.

With this code, while user creating M2 notification (IW21), when clicks on Order create icon, he gets an error in the status bar.

So this stops from creating an Order in the above conditions. You can make simple changes in the code to suit to your situation.

Good luck

KJogeswaraRao

MTerence
Active Contributor
0 Kudos

Hi,

You can hide the button in the header screen, but still you have option through menu.

We have multiple options

1. User exit

2. Authorization

3. Screen variant SHD0

Regards

Terence

former_member201357
Participant
0 Kudos

Hi Maria

Thanks for your prompt reply. but our client are using few system status. Once status changed from "Pending for Approval" to "Approved" only user should get that Notification creation button.

Is there any way to capture it via user status.  

MTerence
Active Contributor
0 Kudos

Hi,

Refer Amol reply, should satisfy your requirement

Hopefully the user status should be controlled via Authorization.

Regards

Terence