SAP ABAP Data Element P08_PAE_SPOOL (Separate Spool File Identifier)
Hierarchy
SAP_HRCGB (Software Component) Sub component SAP_HRCGB of SAP_HR
   PY-GB (Application Component) United Kingdom
     PC08 (Package) HR accounting: GB
Basic Data
Data Element P08_PAE_SPOOL
Short Description Separate Spool File Identifier  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type CHAR2    
Data Type CHAR   Character String 
Length 2    
Decimal Places 0    
Output Length 2    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Spool File 
Medium 15 Spool File Id. 
Long 21 Spool File Identifier 
Heading 21 Spool File Identifier 
Documentation

Definition

This field is not used in SAP standard but is available to customers to use as they require.

Use

The field is used to identify subsets of PAE notices that need to be in the same spool file.

Dependencies

The selection screen parameter "Separate Spool Files" must be ticked for this field to be used by the calling program.

Example

You are printing 35,000 letters.

10,000 Postponement letters     SMARTFORM "PO"

20,000 Transitional Period letters     SMARTFORM "TP"

1,000 NEJH not in a QPS letters     SMARTFORM "NEJH"

1,000 NEJH in a QPS letters     SMARTFORM "NEJH_IN_QPS"

1,000 EW not in a QPS letters     SMARTFORM "EW"

1,000 EW in a QPS letters     SMARTFORM "EW_IN_QPS"

500 EW not in a QPS letters     SMARTFORM "ND"

500 EW in a QPS letters     SMARTFORM "ND_IN_QPS"

By ticking the "Separate Spool Files" field you will get one file per unique form (i.e. in this case 8 spool files). But you have a further requirement to break down these 8 files again into more spool files.

Example 1

If you set the field SPOOL to "1" on one of the postponement letters then you will get a separate spool file for that one letter and all the rest will be in another spool file.

Example 2

If you set the field SPOOL to "1" on one of the postponement letters and you set the field SPOOL to "2" on one of the postponement letters and you set the field SPOOL to "3" on one of the postponement letters then you will get 3 separate spool files for that 3 letters "1", "2" and"3" and the rest will be in another spool file.

You can set the field SPOOL in the relevant PAE BADI (EXIT_ADJUST_PAEDATA). You can also SORT a whole spool file using the relevant PAE BADI (EXIT_SORT_PAEDATA).

History
Last changed by/on SAP  20131127 
SAP Release Created in