Show TOC

Function documentationPeriodic Data Transfer Locate this document in the navigation structure

 

You can use the program /SAPDMC/SAP_LSMW_INTERFACE to transfer data to the SAP system periodically rather than once only.

Integration

/SAPDMC/SAP_LSMW_INTERFACE is an additional program of the LSMW.

Prerequisites

  • The LSMW object has been created completely and tested.

  • The "source application" periodically provides one or several files on the application server.

  • The LSMW object does not access files stored on the front end.

  • You have set the indicator for periodic data transfer in step Maintain Object Attributes.

Features

The periodic data transfer is carried out in the following steps:

  1. Importing Data

  2. Converting Data

  3. Importing Data

    Caution Caution

    Files stored on the PC must not be used.

    End of the caution.

Activities

Schedule the program /SAPDMC/SAP_LSMW_INTERFACE according to your requirements. To do this, create a variant and use transaction SM36 (  System   Services   Jobs   Define Job  ) to create a job.

Note Note

When you define the parameters for executing the program, you can specify a flag file. This flag file is optional. The file is used to construct a handshake with the application that provides the input file(s).

End of the note.
  • The main program for the periodic transfer of data only runs if the specified flag file exists.

  • Once the transfer of data has been completed, the main program deletes the flag file.

  • The application that provides the input file(s) must be compatible with this flag file: Before new files are generated, a check is made to see whether the flag file exists. If so, the program stops. Otherwise, the files are generated and the flag file is created.

    Note Note

    Some of the standard batch input and direct input programs use additional parameters. Some of these parameters are sent externally. For information on which parameters are used by which programs, see the table below or the source code of the program /SAPDMC/SAP_LSMW_INTERFACE.

    End of the note.
Programs/User Parameters

Program

Parameters Used

Test without Update

Creating a Batch Input Session

BI, DI, Call Transaction, Test

Lock mode

Measure

User Group

RAALTD01

RAALTD11

X

RCCLBI01

RCCLBI02

RCCLBI03

RCCTBI01

X

RCSBI010

RCSBI020

RCSBI030

RCSBI040

X

RCVBI010

X

RFBIBL00

X

RHALTD00

X

RLBEST00

RLPLAT00

X

RMDATIND

X

RPUSTD00

X

X

Note Note

You can specify a variant for the read program, the conversion program, and any batch input or direct input programs that you use. You must define these variants in advance.

End of the note.