Show TOC

  Example: Validation Framework Configuration

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:

  1. Defining a validation routine: define a validation routine in Customizing for Service Parts Management (SPM) by choosing Start of the navigation path Extended Inbound Delivery Processing (SPM) Next navigation step Configure Inbound Validations Next navigation step Define Validation Routines End of the navigation path . 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.

  2. Grouping of individual checks into a validation profile: you can define validation profiles in Customizing for Service Parts Management (SPM) by choosing Start of the navigation path Extended Inbound Delivery Processing (SPM) Next navigation step Configure Inbound Validations Next navigation step Maintain Validation Profiles End of the navigation path . Create a new profile Z-FLGR-1. Assign routine 601 to this profile. Choose error on action as Save on Hold and save.

  3. 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 Start of the navigation path Extended Inbound Delivery Processing (SPM) Next navigation step Configure Inbound Validations Next navigation step Maintain Validation Profile and Req. Field Set Determination End of the navigation path . Set profile Z-FLGR-1 in the validation stage for the inbound action FULLGR (Full goods receipt) to system type EWM and choose Save.

Result

With this Customizing setup, you have defined a new check in the system.