Message type: E = Error
Message class:  OIJ_LT - TSW Messages in laytime and demurrage module 
Message number: 031
Message text: No line item has been selected.
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 OIJ_LT031 ("No line item has been selected") typically occurs in the context of the SAP Oil and Gas (OIJ) module, particularly when working with line items in transactions related to logistics or inventory management. This error indicates that the system expects a selection of line items for processing, but none have been selected.
Causes:
No Selection Made: The most straightforward cause is that the user has not selected any line items in the relevant screen or transaction.
Filters Applied: If filters are applied that exclude all line items, the system may not display any items to select.
User Authorization: The user may not have the necessary authorizations to view or select certain line items.
Data Issues: There may be issues with the data in the system, such as missing or incomplete entries that prevent line items from being displayed or selected.
Solutions:
Select Line Items: Ensure that you are selecting the appropriate line Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
OIJ_LT030 Actual laytime calculation could not be performed.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OIJ_LT029 Selected nom.line not been pegged for laytime for item frt contract.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OIJ_LT032 No laytime, demurrage results exist for this nomination.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
OIJ_LT033 Item &1 has not been pegged for "laytime by item" pegtype.
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.