Start of Content Area

Procedure documentation Creating Additional Data Records  Locate the document in its SAP Library structure

Use

Usually, a data record for the batch or direct input program is created from the contents of an LS structure in the input file.  If you need to distribute the data in the LS structure to multiple data records, you can use the FORM routine transfer_record to do this.

Procedure

...

       1.      From the list of steps, choose Maintain Field Mapping and Conversion Rules.
A screen appears.

       2.      Within a structure, select the last field the processing rule of which must have been worked on before the additional data record is being transferred. FORM routine transfer_record immediately starts transferring the additional record.
Alternatively, you can select processing times in the display variant, and then choose
END_OF_RECORD for the appropriate time.
Caution
Do not link the call of
transfer_record to a technical field (for example, record type or transaction code) under any circumstances.

       3.      Choose Field Mapping ® Editor.
The editor appears.

       4.      Enter the code. The call of the FORM routine reads: perform transfer_record.

       5.      Choose Table ® Save w/o check.

Result

Every call of transfer_record writes an additional data record to the input file for the batch or direct input program.

 

End of Content Area