Symptom
- CMD_VALIDATE_BP extension point does not have an importing parameter for BP Identification.
- There is a requirement to validate newly created business partners using entered BP Grouping, Tax Category/Number, and BP Identification Type/Number.
- Custom logic was implemented using CMD_VALIDATE_BP, but the required importing parameter for BP Identification is missing.
- A method is sought to extract BP Identification information from the extension point.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Implement custom logic using the CMD_VALIDATE_BP extension point.
- Attempt to validate newly created business partners using BP Grouping, Tax Category/Number, and BP Identification Type/Number.
- Observe that the importing parameter for BP Identification is missing.
Cause
CMD_VALIDATE_BP does not provide importing parameters for BP Identification in the current version by design.
Resolution
- Do not use CMD_VALIDATE_BP for validations that require access to BP Identification data.
- Implement the validation using the Unified BAdI MDBPCV_VALIDATE_BP, which replaces CMD_VALIDATE_BP.
- Locate the custom logic entry point via: Object CVI_EI_ADAPTER → PROCESS_SINGLE_LUW → Line 45 → CL_MDBPCV_UFBD_UTIL=>PREP_CVIS_AND_CALL_BADI.
- Perform all required validations (Customer, Supplier, and general Business Partner data) within MDBPCV_VALIDATE_BP.
- Test the implementation to verify that BP Identification Type/Number can be read and validated as required.
See Also
Keywords
CMD_VALIDATE_BP, MDBPCV_VALIDATE_BP, Business Partner, identification, ID type, ID number, validation, custom logic, BAdI, missing parameter, import parameter, CVI_EI_ADAPTER, PROCESS_SINGLE_LUW, CL_MDBPCV_UFBD_UTIL , KBA , LO-MD-BP-2CL , Business Partners for Public Cloud , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public