SAP Scripts Output Mode Spool - SAP Scripts

What is output mode spool in SAP scripts?

Usually, RDI output format includes four different types of record values. Here each record consists a flag that explains about the record type - Header (H), Data (D), Sort (S) and Control (C).
  • Header Record
  • Data Record
  • Sort Record
  • Control Record
output

Header Record

Here, each form you send to an external text system for print will starts with a flag - H that shows the Header record structure. Header part of the document includes below fields −
  • Form name
  • Document number
  • RDI version
  • Language
  • Device type
  • Client and many other fields in Header Record structure

Sort Record

Sort record field followed by sort field which is resented by flag - S. Here each form contains 10 internal and 5 external sort fields, 32-characters length for each field.

Data Record

Data record followed by sort record and it consists of a flag - D that shows the data record structure. It includes below fields −
  • Form window name
  • Start of the next main window
  • Name of the text element
  • Start of the text element
  • Symbol name to identify symbol in the text element
  • Value of the symbol

Control Record

Each document in SAP includes a control record represented by flag - C and is used to interpret the data in the form. Control Record provides the following details −
  • Code Page and Language Information − When you use an insert statement to add a text in other language, the system adds the control record that contains Code Page and Language to write the data record. For code Page - CODEPAGE keyword is used and for Language - LANGUAGE keyword is used.
Example − CCODEPAGE 1000 LANGUAGE DE
  • Page Name − Using the control record, when you start a new page you add a control record to specify the page name. Keyword used to specify page name - PAGENAME.
Example − CPAGENAME SECOND

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

SAP Scripts Topics