Message type: E = Error
Message class:  SAPLWSPO - SAP Retail Store: Purchase Order 
Message number: 124
Message text: Document type &1 not in Customizing or contradicts item category default.
The document type has been passed to the application as parameter
IV_DOC_TYPE . One of the following situations has occurred:
This parameter was not set as an allowed document type for the store in
Customizing.
This parameter contradicts the parameter IV_ITEM_CAT in the application.
For example,  IV_DOC_TYPE = 'NB' contradicts IV_ITEM_CAT = '7'.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Do one of the following:
Add the document type to the allowed document types for the store.
Remove the parameter IV_ITEM_CAT when calling the application.
Error message extract from SAP system. Copyright SAP SE.
The SAP error message SAPLWSPO124 indicates that there is an issue with the document type specified in the system. Specifically, it states that the document type (&1) is either not defined in the Customizing settings or it contradicts the default item category settings. This error typically occurs in the context of logistics or sales documents, such as sales orders, purchase orders, or delivery documents. Cause Document Type Not Defined: The document type you are trying to use is not defined in the system's configuration. Contradictory Settings: The document type may be defined, but it does not match the expected settings for the item category being used. This could be due to incorrect configuration or a mismatch in the settings. Missing Customizing Entries: The necessary customizing entries for the document type and item category may not have been maintained. Solution To resolve this error, you can follow these steps: Check Document Type Configuration: Go to the SAP Customizing Implementation
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
SAPLWSPO123 Purchase order &2 is already being edited by user &1
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SAPLWSPO122 Enter a document number
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SAPLWSPO140 There are no more items
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SAPLWSPO141 Quantity entered in wrong format
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.