A new process in your organization indicates that you need to check the weights when a goods receipt is posted for an inbound delivery, and if the net weight is greater than the gross weight, then the system should save the inbound delivery on hold. You can divide the task of configuring the system to this new requirement in the following way:
Defining a validation routine:
define a validation routine in Customizing for
Service Parts Management (SPM)
by choosing
. Select routine 001 and assign the existing routine to a number in the customer namespace, say 601. The template gives details of how to access ASN data and how to log errors. Remove the comments in the ABAP code given in this routine and save.
Grouping of individual checks into a validation profile:
you can define validation profiles in Customizing for
Service Parts Management (SPM)
by choosing
. Create a new profile Z-FLGR-1. Assign routine 601 to this profile. Choose error on action as
Save on Hold
and save.
Assigning the required-field set and the validation profile to a scenario:
in our example process, we want the delivery to be saved on hold and not rejected since the impacts would be too severe with the latter. Hence, the check should be performed during the validation stage. In Customizing for
Service Parts Management (SPM)
, choose
. Set profile Z-FLGR-1 in the validation stage for the inbound action
FULLGR (Full goods receipt)
to system type
EWM
and choose
Save.
With this Customizing setup, you have defined a new check in the system.