cancel
Showing results for 
Search instead for 
Did you mean: 

SAP File Lifecycle Management - How can I add attribute validation checks

0 Kudos

Is it possible to create attribute validation checks for a file?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes, FLM system provides you the flexibility to define and perform customer specific attribute validation checks in addition to the standard attribute validation checks.

The system performs attribute validation through the /PSINDS/BADI_FILESEND – BadI. This BAdI contains the /PSINDS/IF_FILESEND~ ATTRIBUTE_VALUE_VERIFICATION  method.

You can use this method to validate the relationship between the values of two customer specified attributes, and to generate an error message for invalid selections. In this case, when a user selects a specific value for an attribute, the user must also select a related value in the second attribute. When the user selects an unrelated value and tries to save the same, the system displays an error message. For example, attribute A is country and attribute B is State. In this case, if the user selects country as India, he or she must select a state belonging to India. In case the user selects a non-Indian state, the system displays an error message.

Note that you can access this BAdI in SPRO under the path:

SAP Customizing Implementation Guide -> SAP NetWeaver -> Application Server -> SAP File Lifecycle Management -> BAdIs for SAP File Lifecycle Management -> BAdI: Set Print Layout; Validate Attribute Values; Verify File