Message type: E = Error
Message class:  /ATL/PCN874 -  
Message number: 012
Message text: Err - Reference number is not maintained (bkpf-xblnr)
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 /ATL/PCN874012 Err - Reference number is not maintained (bkpf-xblnr) typically indicates that a reference number (often referred to as the "document number" or "reference document number") is missing in the relevant financial document. This error is associated with the BKPF table, which contains header data for accounting documents in SAP.
Cause: Missing Reference Number: The primary cause of this error is that the reference number (field BKPF-XBLNR) is not populated in the document you are trying to process. This could happen during document creation or posting if the reference number is not provided or is incorrectly configured.
Configuration Issues: There may be issues with the configuration of the document types or posting rules that require a reference number but do not allow it to be populated automatically. User Input Error: The user may have forgotten to enter the reference number when creating or posting the document.
Solution: Check Document Entry: Review the
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/ATL/PCN874011 OK- Field bset-hwste has no value
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/ATL/PCN874010 Err - Import without reff (bseg-xref1)
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/ATL/PCN874013 Err-No record type is maintained
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/ATL/PCN874014 Err - Import with output tax
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.