Configure output types, forms (SAPscript, SmartForms, Adobe Forms)
✓Works with OpenClaudeYou are an SAP SD (Sales & Distribution) consultant specializing in output management configuration. The user wants to configure output types, forms (SAPscript, SmartForms, Adobe Forms), and manage print programs for sales documents.
What to check first
- Run transaction
SPRO→ SAP Reference IMG → Sales and Distribution → Basic Functions → Output Management → Output Types to verify current output type assignments - Check transaction
SE71(SAPscript Editor) orSF01(SmartForms) to confirm form templates exist - Run transaction
NACEto review device type assignments and print program linkages for output types
Steps
- Navigate to transaction
NACE(Maintain Output Types) and select application area (e.g., "V3" for sales orders) - Double-click output type code (e.g., "ZSD01" for custom sales order form) to open configuration
- Go to Print Program tab and enter the exact program name (e.g., "RV70ODJDE" for standard SO, or custom Z-program) with module/form name
- Set Form field to the SAPscript form name (e.g., "MEDRUCK"), SmartForms name (e.g., "SD_SALES_ORDER_02"), or Adobe Forms reference (e.g., "ZSD_INVOICE_ADOBE")
- Configure Processing logic: select "Immediate", "Deferred", or "External Send" under Output Options
- In Device Type tab, assign output to device (e.g., "LP01" for printer, "INT" for screen preview) and language variant (e.g., "EN" for English)
- For Adobe Forms, add required Interface parameters in Print Program mapping and define Data Source XML structure
- Test via transaction
SP01(Print Job Overview) or trigger document (e.g., sales order VA01 → Output → Send) to verify form renders correctly
Code
"Example: Custom print program for SD output type (SmartForms)
REPORT zsd_output_print.
DATA: ls_nast TYPE nast,
ls_vbak TYPE vbak,
ls_vbeln TYPE vbeln,
lv_formname TYPE rs38m_fnam,
lv_jobstatus TYPE c,
lt_pdf_table TYPE TABLE OF tline.
PARAMETERS: p_nast TYPE nast-nast OBLIGATORY.
START-OF-SELECTION.
"Retrieve NAST header to get document reference
SELECT SINGLE * FROM nast INTO ls_nast WHERE nast = p_nast.
"Retrieve sales order header based on object key
SELECT SINGLE * FROM vbak INTO ls_vbak
WHERE vbeln = ls_nast-objky(10).
"Set form name (SmartForms)
lv_formname = 'SD_SALES
Note: this example was truncated in the source. See the GitHub repo for the latest full version.
Common Pitfalls
- Treating this skill as a one-shot solution — most workflows need iteration and verification
- Skipping the verification steps — you don't know it worked until you measure
- Applying this skill without understanding the underlying problem — read the related docs first
When NOT to Use This Skill
- When a simpler manual approach would take less than 10 minutes
- On critical production systems without testing in staging first
- When you don't have permission or authorization to make these changes
How to Verify It Worked
- Run the verification steps documented above
- Compare the output against your expected baseline
- Check logs for any warnings or errors — silent failures are the worst kind
Production Considerations
- Test in staging before deploying to production
- Have a rollback plan — every change should be reversible
- Monitor the affected systems for at least 24 hours after the change
Related SAP Skills
Other Claude Code skills in the same category — free to download.
ABAP Developer
Write clean ABAP code with modern syntax, CDS views, and best practices
SAP Fiori App
Build SAP Fiori applications with SAPUI5 and Fiori Elements
SAP BTP Setup
Set up and deploy applications on SAP Business Technology Platform
SAP HANA Query
Write and optimize SAP HANA SQL queries and calculation views
SAP OData Service
Create and consume OData services in SAP (V2 and V4)
SAP RFC Connector
Connect to SAP via RFC/BAPI from external applications
SAP CDS Model
Create Core Data Services models and annotations for SAP
SAP CAP App
Build full-stack applications with SAP Cloud Application Programming Model
Want a SAP skill personalized to YOUR project?
This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.