Entering content frameProcess documentation Definition of Drag&Relate Targets Locate the document in its SAP Library structure

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

  1. You create a reference of a MiniALV row to a BOR object using a hyperlink in the respective row. You define the hyperlinks in the proxy report. For information on this, see Including Hyperlinks (Standard MiniALV) and Defining Hyperlinks (AddOn MiniALV). The MiniALV recognizes the following link syntax:
  2. dragrelate:ObjectName=<value>&ObjectType=<value>&ObjectKey=<value>&LogSys=<value>

    Example

    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

  3. As with Drag&Relate in other MiniApps, you must include the following template in your MiniApp frame for the MiniALV:

`include( ~service="system", ~theme="dm", ~language="", ~name="dragdrop.html" )`

 

 

Leaving content frame