2. ⢠This is the fourth in a series of presentations dedicated to SAP
Landscape Virtualization Management (LVM)
⢠This document provides a quick overview of how to integrate
an SAP Business Process Automation (BPA) web service in SAP
LVM
⢠The document is aimed at system administrators responsible
for configuring SAP LVM and are familiar with LVM Custom
Operations (see SlideShare presentation)
⢠The document assumes the reader has a knowledge of SAP BPA
and associated terminology
Introduction
3. Overview
⢠This
 custom
 operation
 controls
 BPA
 queues
 from
 LVM
⢠The
 custom
 operation
 for
 LVM
 is
 based
 on
 creation
 of
 the
Â
following
 LVM
 elements:
â Provider
 Implementation
â Custom
 Operation
⢠The
 custom
 operation
 for
 LVM
 is
 based
 on
 creation
 of
 the
Â
following
 BPA
 objects:
â Process
 Definition
â Web
 Service
⢠The
 custom
 operation
 also
 requires
 a
 script
 registered
 with
 the
Â
Host
 Agent
4. Process
 Definition
 in
 BPA
⢠Define the RedwoodScript process definition in BPA â e.g.
Custom_Set_Queue
5. Process
 Definition
 in
 BPA
⢠Give the process definition two output string parameters e.g. QN and
QA to represent the queue name and action to be carried out on the
queue i.e. HOLD (hold, closed) or RELE (release, open)
6. Web
 Service
 Definition
 in
 BPA
⢠Publish the process definition as a web service to be referenced
in the host agent script later e.g. WS_Custom_Set_Queue
7. Configuration
 in
 LVM
⢠Provider implementation for the BPA queue custom operations
⢠Setupèď¨Extensibilityèď¨Provider Implementation Definitions
8. Configuration
 in
 LVM
⢠Custom operation âHoldâ using the defined provider implementation
with the Operation parameter set to âHOLDâ
⢠Setupèď¨Extensibilityèď¨Custom Operation
9. Configuration
 in
 LVM
⢠Custom operation âReleaseâ using the defined provider
implementation with the Operation parameter set to âRELEâ
⢠Setupèď¨Extensibilityèď¨Custom Operation
10. Configuration
 in
 LVM
⢠Characteristic âJob Managed by BPAâused to indicate to LVM if the system is
managed by BPA â controls if the operation button is shown for the instance
⢠Configurationèď¨Characteristics
11. Operation
 in
 LVM
⢠Once the configuration is complete, the custom operation
group âBPA Queue Operationâ and âCustom Operationâ
selections will be visible for the chosen instance(s)
12. Host
 Agent
 Registered
 Script
⢠The
 configuration
 in
 LVM
 and
 BPA
 are
 hooked
 together
 with
 the
Â
host
 agent
 registered
 script
⢠The
 $[PARAM-ÂâOPERATION]
 can
 be
 seen
 being
 passed
 as
 the
Â
first
 parameter
 to
 the
 Korn script,
 indicating
 the
 custom
Â
operation
 being
 requested
 by
 LVM
⢠The
 queue
 name
 to
 be
 manipulated
 is
 automatically
 calculated
Â
by
 the
 script
 based
 on
 the
 SID
Â
File Content
ClusterAdm.conf Name: LVM_CustomOperation_BPAQueueAdm
Command: /sap/Scripts/SetQueue.ksh $[PARAM-OPERATION]
Workdir: $[DIR_HOME:#sapparam]
Username: root
ResultConverter: flat