
Definition of Drag&Relate Targets
Purpose
You can use this hyperlink syntax to define links that allow users to drag a row of the MiniALV to a transaction. The transaction is started in the SAP GUI for the HTML Environment and displayed in midi size in the browser.
Unlike when you
start transactions using the prefix transaction , you create the reference to the transaction not using the name of the transaction, but using a business object which is assigned to both the transaction and to a row in the MiniALV (through the hyperlink).Prerequisites
The hyperlink must contain a parameter
LogSys= <value> for the logical system. To determine the value for this parameter, you use the function module OWN_LOGICAL_SYSTEM_GET which selects the logical system from client table T000 . If you have the necessary authorizations, you can also call transactions from other systems.If you want to use Drag&Relate with the MiniALV, you must implement the MiniALV
as part of a MiniApp (a socalled MiniApp frame).To create the reference of a MiniALV row to a transaction, you must define the relevant BOR objects. For information on this, see the section
Drag&Relate in the Workplace documentation, and in particular the section Drag&Relate from a MiniApp to a Transaction in a Logical System.Integration
dragrelate:ObjectName=<value>&ObjectType=<value>&ObjectKey=<value>&LogSys=<value>

A link in the MiniALV could look like this, for example (line breaks were added for better clarity):
dragrelate:
ObjectName=Customer&ObjectType=KNA1&
ObjectKey=0000000001&LogSys=QCSCLNT050
`include( ~service="system", ~theme="dm", ~language="", ~name="dragdrop.html" )`