Start of Content Area

Procedure documentation Creating Transfer Routines  Locate the document in its SAP Library structure

Procedure

...

       1.      In the transfer rule maintenance screen, choose Create Routine for the relevant InfoObject.

       2.      For the transfer rule choose Routine Create in the dialog box.

       3.      Specify a name for the local transfer routine that you want to create.

       4.      You have the option of using transfer structure fields in the routine. You can choose between

·         No fields:

The routine does not use any source structure fields. Make this selection when you determine the user name from a system variable (SY-UNAME), for example.

·         All fields:

The routine uses all source structure fields. In contrast to explicitly selecting all fields (see below), this option also includes fields that are added to the source structure later.

·         Selected fields:

If you make this selection, you have to explicitly select the fields used. Also in the program editor for implementing routines, only the selected fields are available to you in this case. 

Note

You need these settings, for example when using SAP RemoteCubes, so that you can also determine the transfer structure fields for InfoObjects that are filled using transfer routines.

Choose Next. You get to the transfer routine ABAP editor.

       5.      Create a local transfer routine or change an existing routine.

Note

You can not delete the fields used in the routines from the transfer structure. They are displayed in the where-used list

For SAP RemoteCubes you may have to create an inversion routine for transaction data. See also Inversion Routines.

       6.      Save your entries.

See also:

Error Handling in Transfer Routines

 

End of Content Area