Do you have any question about this error?
Message type: E = Error
Message class: FCO - Messages for Failure Cost Processing FCO
Message number: 311
Message text: This function can only be used on document header
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.
FCO311
- This function can only be used on document header ?The SAP error message FCO311 ("This function can only be used on document header") typically occurs when a function or operation that is intended to be executed at the document header level is mistakenly attempted at a line item level or in a context where the document header is not applicable.
Cause:
- Incorrect Context: The function you are trying to execute is designed to work with the document header, but the system is currently processing a line item or a different context.
- Program Logic Error: There may be a mistake in the custom code or user exit that is trying to call a header-level function while processing line items.
- User Action: The user may have selected a line item instead of the document header when trying to perform an action.
Solution:
- Check Context: Ensure that you are in the correct context when trying to execute the function. If you are working with line items, navigate to the document header and try again.
- Review Custom Code: If this error arises from custom development, review the code to ensure that header-level functions are only called when the context is appropriate.
- Use the Correct Transaction: Make sure you are using the correct transaction code that allows you to work with the document header.
- Debugging: If you have access to debugging tools, you can trace the execution to see where the error is being triggered and adjust the logic accordingly.
- Consult Documentation: Refer to SAP documentation or help resources for the specific function you are trying to use to ensure you are following the correct procedures.
Related Information:
If the issue persists after trying the above solutions, it may be beneficial to consult with your SAP support team or a technical consultant who can provide more in-depth assistance.
Get instant SAP help. Start your 7-day free trial now.
FCO310
Document &1 is a reversal document or was reversed
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FCO309
Document &1 cannot be reversed
What causes this issue? Document &V1& cannot be deleted from the document display because it is a scrap document or outward transfer document...
FCO312
Document &1 locked
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
FCO313
Error occurred while reversing material document &1 &2 - see log
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.