Do you have any question about this error?
Message type: E = Error
Message class: EDOCUMENT_IN_EINV - eDocument Inda eInvoice
Message number: 021
Message text: Field 'LglNm' is not filled under node 'BuyerDtls'
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
EDOCUMENT_IN_EINV021
indicates that the fieldLglNm
(Legal Name) is not filled under the nodeBuyerDtls
in the electronic invoice (e-invoice) data structure. This error typically arises when generating or processing electronic invoices in compliance with specific legal requirements, such as those mandated by tax authorities.Cause:
- Missing Data: The
LglNm
field, which is required to contain the legal name of the buyer, is not populated in the invoice data.- Configuration Issues: There may be issues with the configuration of the e-invoicing solution in SAP, leading to the omission of required fields.
- Data Mapping Errors: If the data is being pulled from another system or module, there may be a mapping error that prevents the legal name from being transferred correctly.
Solution:
Check Data Entry: Ensure that the buyer's legal name is correctly entered in the relevant master data (e.g., customer master record). You can do this by navigating to the customer master data in SAP and verifying that the legal name is filled in the appropriate field.
Update Invoice Data: If the invoice is being created manually, ensure that the legal name is filled in the invoice creation screen. If it is generated automatically, check the data source for completeness.
Review Configuration: Check the configuration settings for the e-invoicing solution in SAP. Ensure that all required fields are correctly mapped and that the system is set up to pull the legal name from the appropriate source.
Consult Documentation: Refer to the SAP documentation or the specific e-invoicing guidelines provided by the relevant tax authority to ensure compliance with all required fields.
Testing: After making the necessary changes, test the invoice generation process again to ensure that the error is resolved.
Related Information:
By ensuring that the LglNm
field is populated correctly and that all configurations are in place, you should be able to resolve the EDOCUMENT_IN_EINV021
error.
Get instant SAP help. Start your 7-day free trial now.
Feature | Free Access | Free Trial |
---|---|---|
Basic SAP error explanation | ![]() |
![]() |
Step-by-Step Usage Guide | ![]() |
![]() |
Interactive SAP Coach Assistance | ![]() |
![]() |
AI Troubleshooting for T-Code Errors | ![]() |
![]() |
EDOCUMENT_IN_EINV020 'Gstin'(Customer GSTIN) & is not valid under node 'BuyerDtls'
Self-Explanatory Message Since SAP believes that this specific error message is ...
EDOCUMENT_IN_EINV019 Field 'Gstin'(Customer GSTIN) is not filled under node 'BuyerDtls'
Self-Explanatory Message Since SAP believes that this specific error message is ...
EDOCUMENT_IN_EINV022 Field 'Loc'(Location) is not filled under node 'BuyerDtls'
Self-Explanatory Message Since SAP believes that this specific error message is ...
EDOCUMENT_IN_EINV023 Field 'Pin' is not filled under node 'BuyerDtls'
Self-Explanatory Message Since SAP believes that this specific error message is ...
SAP messages fall into 3 different categories: Error messages
(message type = E), Warnings (W) or Informational (I) messages.
An error message will prevent you from continuing your work - it is a hard stop and you need to fix the error before you can proceed. A warning message will stop your work, however, you can then bypass the warning by pressing the Enter key on your keyboard. That said, it is still good practice to investigate the cause of the warning message and address it. An information message will not stop your work and is truly just for informational purposes.
Click on this link to search all SAP messages.