Check for Partner on Equipment Master (IE01)

We have a requirement to check that sold-to partner function is mandatory during equipment creation (IE01). This can be done via configuration. However, the requirement is also to allow users to delete this partner using IE02. Hence they only want the partner to be mandatory during IE01 and not IE02.

I believe only way to do this is using a user-exit. We know of a user-exit IEQM0003 that is allows us to put in logic before equipment is saved. However, this user-exit doesn't have parameters to partner data.

Is there any other user-exit that can be used?

Answer: 

You could check to see if you could read the partner from the memory within the FM. However you could potentially accomplish the same using the following steps without programming.

You could use the View profile settings in configuration and transaction variant functionality (SHD0) to accomplish this. 

-> As a first step Make sure to add the Partner view as a sub screen to the very first screen using View profile settings for the equipment category in SPRO. (This will force the partner field to be available directly on the initial screen when a piece of equipment is created).

---> Now create a Transaction variant for the standard transaction IE01 and here select the sold to partner custom type and leave the value field blank.

- Now on the configuration for the Transaction set the Partner type to be imported with value "SP" and mark the content field to be mandatory.

-- Leave all other settings to default and save and exit.

---> Now set this Transaction variant as a standard variant for this transaction.

This should do the trick.  The user will be forced to enter the sold to party on the screen. 

- However for change transaction (IE02) the user can delete this partner type without any issues.

Have a SAP PM Problems?
SAP PM Forum - Do you have a SAP PM Question?

SAP Plant Maintenance Books
SAP PM Books - Certification, Interview Questions and Configuration

SAP PM
SAP PM Tips and Plant Maintenance Discussion Forum

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.