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: 5O - Notifications in the Master Data Area (Austria)
Message number: 504
Message text: Enter a form ID for &1 &2
In order to create a pay slip, the following items must be available:
A form ID for the corresponding model wage type in table <ZH>T512E</>
The form background in table <ZH>T512P</>
The preparation of form fields in the table <ZH>T512Q</>.
Enter the form ID for your pay slip L16 form.
Error message extract from SAP system. Copyright SAP SE.
5O504
- Enter a form ID for &1 &2 ?The SAP error message 5O504 ("Enter a form ID for &1 &2") typically occurs in the context of SAPscript or Smart Forms when the system expects a form ID to be specified for a particular output type or document type, but it is missing or not properly configured.
Cause:
- Missing Form ID: The error indicates that the system is expecting a form ID for the specified output type (represented by &1) and document type (represented by &2), but it has not been provided.
- Configuration Issues: The output type may not be correctly configured in the system, leading to the absence of a corresponding form ID.
- Custom Development: If there are custom developments or modifications in the output processing, they may not have been properly set up to include the necessary form ID.
Solution:
Check Output Type Configuration:
- Go to transaction NACE (or SPRO for configuration).
- Navigate to the relevant application area (e.g., Sales, Purchasing).
- Check the output type configuration for the specific output type that is causing the error.
- Ensure that a valid form ID is assigned to the output type.
Assign Form ID:
- If a form ID is missing, you can assign a valid SAPscript or Smart Form to the output type.
- Make sure that the form ID corresponds to the correct document type and is active.
Review Custom Code:
- If there are any custom developments related to the output processing, review the code to ensure that it correctly handles the assignment of form IDs.
- Check for any conditions that might prevent the form ID from being set.
Testing:
- After making the necessary changes, test the output generation process to ensure that the error no longer occurs.
Related Information:
If the issue persists after following these steps, it may be beneficial to consult with your SAP Basis or ABAP team for further investigation.
Get instant SAP help. Sign up for our Free Essentials Plan.
5O503
Specify a date of issue
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
5O502
Use this report for periods as of 01/1994.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
5O505
Which payslip do you want to print? &
What causes this issue? You have made either no entry or an incorrect entry in the parameter <DS:DE.P03C_P_PRN>Create which pay slip?</>H...
5O506
Which output type would you like? &
What causes this issue? You have made either an incorrect or no entry in the the parameter <DS:DE.P03C_P_ART>Type of output</>How to fix ...
Click on this link to search all SAP messages.