Do you have any question about this error?
Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now →
Message type: E = Error
Message class: WD - Workflow definition
Message number: 339
Message text: Choose a document template
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.
WD339
- Choose a document template ?SAP Error Message:
WD339 - Choose a document template
Cause:
The error message WD339 - Choose a document template typically occurs in SAP Web Dynpro applications when the system expects a document template to be selected or assigned but none has been provided. This often happens in scenarios involving document generation, output management, or when working with services that require a predefined template (e.g., Smart Forms, Adobe Forms, or other document templates).
In other words, the application or process is trying to generate or display a document, but it cannot proceed because the required document template is missing or not specified.
Common Scenarios:
Assign or Select a Document Template:
Check Configuration:
Sales and Distribution -> Basic Functions -> Output Control
).Check User Input:
Debugging:
Transport and Deployment:
Transaction Codes:
SPRO
- For configuration of output types and form assignments.WE02
/ WE05
- For monitoring IDocs if output is triggered via IDocs.SMARTFORMS
- To check Smart Forms.SFP
- For Adobe Forms.Notes and Documentation:
Example:
If you provide the exact context or transaction where this error occurs, I can help with more specific steps.
Get instant SAP help. Sign up for our Free Essentials Plan.
WD338
Form '&' is not used
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WD337
Workflow configuration deactivated
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
WD340
The document template specified no longer exists
What causes this issue? The <ZH>document from template</> step type refers to a document template that does not exist. It was probably de...
WD341
This workflow definition does not have any document templates
What causes this issue? The workflow definition contains a step of type <ZH>document from template</>. The use of this step type requires...
Click on this link to search all SAP messages.