Message type: E = Error
Message class:  VCH_HL_TRACE - Messages for Trace 
Message number: 404
Message text: Unable to execute customer logic for BAdI &1
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message VCH_HL_TRACE404 indicates that there is an issue with executing customer logic for a Business Add-In (BAdI) in the SAP system. This error typically arises when the system is unable to find or execute the implementation of the specified BAdI. Causes: Missing Implementation: The BAdI implementation may not exist or may not be activated in the system. Incorrect BAdI Name: The BAdI name specified in the error message may be incorrect or misspelled. Authorization Issues: The user executing the transaction may not have the necessary authorizations to access the BAdI implementation. Runtime Errors: There may be runtime errors in the BAdI implementation code that prevent it from executing properly.
Configuration Issues: The BAdI may not be properly configured in the system, leading to execution failures. Solutions: Check BAdI Implementation: Go to transaction SE18 (BAdI Definition) and check if the BAdI is defined. Then, go to transaction SE19 (BAdI Implementation) to see if there is an active implementation
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
VCH_HL_TRACE403 Retracted value &1 from &2 by BAdI
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VCH_HL_TRACE402 Assigned value &2 to &3 type &1 by BAdI
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VCH_HL_TRACE405 Unable to retract value with ID &1 from &2 . &3
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
VCH_HL_TRACE406 Unable to assign value with ID &1 to &2 . &3
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.