
- SAP Scripts Tutorial
- SAP Scripts - Home
- SAP Scripts - Overview
- SAP Scripts - Smart Forms
- SAP Scripts - Form Painter
- SAP Scripts - Layout Set
- SAP Scripts - Print Program
- SAP Scripts - Creating a Window
- SAP Scripts - Output Area
- SAP Scripts - Text Module
- SAP Scripts - Grouping Text
- SAP Scripts - Format Options
- SAP Scripts - Output Types
- SAP Scripts - Control Print Output
- SAP Scripts - Data Formats
- SAP Scripts - Export
- SAP Scripts - Import
- SAP Scripts - Control Tables
- SAP Scripts - Text & Graphics
- SAP Scripts - Control Commands
- SAP Scripts - Copy Scripts
- SAP Scripts - Standard Text
- SAP Scripts - Word Processing
- SAP Scripts - Create a Document
- SAP Scripts - Update a Document
- SAP Scripts - Find a Document
- SAP Scripts - Save a Document
- SAP Scripts - Delete a Document
- Print Preview of a Document
- SAP Scripts - Format Conversion
- SAP Scripts - Raw Data Interface
- SAP Scripts - Output Mode Spool
- SAP Scripts - Output Mode IDOC
- Create a Script in the System
- SAP Scripts Useful Resources
- SAP Scripts - Quick Guide
- SAP Scripts - Useful Resources
- SAP Scripts - Discussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
SAP Scripts - Output Mode IDOC
IDOC stands for Intermediate Document and is used to transfer the documents/forms for printing from SAP to other system. When this output method is used, the structure of Header, Sort, Data, and Control record remains the same, however, the flags - H, S, D, and C go missing. There is a separate segment that is used for Sort, Data, and Control - E1RDI_BODY and this segment comes before the Control record.
The header segment in E1RDI_BODY doesn’t contain any document number and CLOSE_FORM function module returns the document number.
When you use function modules START_FORM and END_FORM to print multiple documents in a single request, a single IDOC is created and the status of IDOC is set to 30.

Advertisements