Message type: E = Error
Message class:  FI - TR-FM Funds Management 
Message number: 402
Message text: Document cannot be saved because data is still missing
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 FI402 ("Document cannot be saved because data is still missing") typically occurs in the Financial Accounting (FI) module when you attempt to save a financial document (such as an invoice, journal entry, or payment) that has incomplete or missing required data. This error is a safeguard to ensure that all necessary information is provided before the document is processed.
Causes:
Missing Required Fields: Certain fields that are mandatory for the document type you are trying to save may not be filled in. This can include fields like account numbers, amounts, tax codes, or other relevant data.
Incorrect Document Type: The document type you are using may not be compatible with the data you have entered.
Validation Rules: Custom validation rules or configurations in your SAP system may require additional data that has not been provided.
Incomplete Master Data: Related master data (like vendor or customer records) may be incomplete or missing Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FI401 Expenditure budget addresses are different
What causes this issue?  The expenditure FM account assignments are different.System Response  The system rejects your input.How to fix this error?  C...
FI383 Not all fields are defined in the special interval area
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FI403 The line item selected does not increase the budget
What causes this issue?  You have chosen a line item whose revenue address does not increase the budget.System Response  Function not executed.How to ...
FI404 There are no documents which increase the budget
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.