Start of Content Area

Function documentation Global Functions  Locate the document in its SAP Library structure

Use

The LSM Workbench provides a range of functions that you can use at any position in the ABAP code.

Note

To some extent, global functions may have a significant impact on the runtime of the data conversion program and therefore should be used with care.

Features

Global function

Description

transfer_record.

The current record (that is, the record for the current target  structure) is transferred to the output buffer.

transfer_this_record '...'.

A record of a different target structure is transferred to the output buffer. The name of the target structure has to be specified as argument between quotation marks.

at_first_transfer_record.

The current record is transferred to the output buffer if it is the first transaction involved.

on_change_transfer_record.

The current record is transferred to the output buffer if it has changed as compared to the last record.

transfer_transaction.

The current transaction is written to the output file. This transfers all the records of the output buffer to the output file.

skip_record.

The current record is not transferred to the output buffer.

skip_transaction.

The current transaction is not written to the output file.

 

Activities

A list of the global functions available can be displayed in step Maintain field mapping and conversion rules. Double-click on _GLOBAL_DATA_ to branch to the code. Choose Insert ® Global function.

 

End of Content Area