on 2012 Jan 18 10:56 AM
Hi
My client has a business rule that says that only certain Order Types can be created for certain Notification types. There is not a 1:1 relationship for all Notification Types to Order Types, for example:
Z1 Notification can have PM02, PM05 and PM06 Order Types
Z2 Notification can have PM03 Order Type
Is there a way of limiting the values in the dropdown lists based on the Notification or Order Type that you are currently busy with? So for example if you're busy in IW21 and you have created a Z1 Notification... if you then click on the create Order button, it would then only show you PM02, PM05 and PM06 Order Types, as opposed to all available Maintenance Order Types.
The "Assign Notification Types to Order Types" config is set up with the default Order Types for Notifications. I can however not set the Order Type field (RIWO00-AUART) to display only, as this would prevent the user from selecting the Order Type where there is a 1:N relationship.
The same question applies for the scenario where you are in the Maintenance Order and click the Create Notification button.
Thanks
I guess, there is no standard way to do this. You need to maintain Z-table & whenever document is created, it should pick from that Z-table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pete
Thanks for the reply... and sorry for only answering now.
We're going to use IWO1_ORDER_BADI to prevent the users from creating PM01 Orders manually, as apposed to from a Maintenance Plan.
The developer looked at the BAdI to limit the Notification / Order combinations, but it did not look feasable. We've opted for using enhancement spots within the Maintenance Order program to do this. We've also built a Z table to store the allowed combinations, which would make future changes to the combinations easier.
The limitation of the values in the dropdown lists does not seem possible.
Cheers
Hi Werner
You can make use of 'Personal List' option, listed when type of orders appear in F4 list. Using this functionality you can limit the number of options which is displayed for a user under F4.
However, as per your requirement, options are not availble to display the options based on order type / notification type.
You may consider modifying this functionality with ABAP team.
Thanks.
User | Count |
---|---|
91 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.