Message type: E = Error
Message class:  FZ - Payment Transactions 
Message number: 317
Message text: No posting keys have been defined for company code clearing &, &
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 FZ317 indicates that there are no posting keys defined for the specified company code clearing. This typically occurs when you are trying to perform a transaction that requires specific posting keys for clearing accounts, but those keys have not been set up in the system for the relevant company code.
Cause: Missing Posting Keys: The primary cause of this error is that the posting keys required for the clearing process have not been defined for the specified company code.
Configuration Issues: There may be a configuration issue in the Financial Accounting (FI) module where the posting keys for clearing accounts have not been properly set up. Incorrect Company Code: The company code specified in the transaction may not have the necessary posting keys configured.
Solution: To resolve the FZ317 error, you can follow these steps: Check Posting Keys Configuration: Go to the SAP Easy Access screen. Navigate to the following path: SPRO -> IMG ->
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
FZ316 G/L acct & in comp.code & is not a reconciliation acct for acct type &
What causes this issue?  Account &V1& is entered as a reconciliation account in the customer/vendor master record or as a reconciliation accou...
FZ315 Withhld.tax for cntry & curr. & code & withhld.tax cntry & not defined
What causes this issue?  Withholding tax code <ZH>&V3&</> occurs in the document yet the data for this code was deleted in the mea...
FZ318 G/L account & & is a reconciliation account, so cannot be posted to
What causes this issue?  Postings are to be made to a G/L account that is flagged as a reconciliation account.System Response  The payment document is...
FZ319 G/L account & & only allows & as foreign currency but not &
What causes this issue?  Postings are to be made to a foreign currency account for currency &V3& with currency &V4&.System Response  T...
Click on this link to search all SAP messages.