Developer

Step

A step defines a single piece of processing to be performed by SAP Mobile Platform Server with a specific back-end system. There are different types of steps, which are defined based on the system connection. A step defines an action, and the back-end system on which the action is taken. A step is not executed by SAP Mobile Platform Server unless it is referenced by another definition that defines server processing.

A step usage definition provides the context and purpose to a step definition. The step defines the back-end system and the task to perform. The context of the step dictates the values the step can access within the application data.

All steps, regardless of type, update data to a back-end system, including adding, editing, or deleting. All step types can also retrieve data from the back-end system, and return it to the Agentry Server for use in the application.

Step types include one each for OData, Java Virtual Machine, SQL Database, and HTTP-XML system connection types, and two for file system connections. When you create a step definition in the Agentry Editor, first specify the system connection, which must already exist. Then specify the step type.
  • SQL Query: A SQL Query step is defined for a SQL Database system connection and contains the SQL logic to be processed by SAP Mobile Platform Server for a database back-end system.
  • Java Steplet: A Java Step, or Steplet, is defined for a Java Virtual Machine system connection and contains the Java logic to be processed by SAP Mobile Platform Server for a Java interface.
  • XML via HTTP: An XML via HTTP step is defined for an HTTP-XML system connection and defines a URL called by SAP Mobile Platform Server and also defines how the XML data returned from this call is mapped to the data members of the mobile application.
  • OData: An OData step is defined for an OData System connection The step defines a URL called by SAP Mobile Platform Server, and also specifies how the XML data returned from this call is mapped to the data members of the mobile application.
  • File Command Line: A File Command Line step is defined for a file system connection and defines a command to be executed by SAP Mobile Platform Server on the host system of the server.
  • File Document Management: A File Document Management step is defined for a file system connection and defines a command to be executed by SAP Mobile Platform Server on the host system of the server in support of transferring files between the server and the Agentry Client.