Anfang des Inhaltsbereichs

Syntaxdokumentation GET_QUICKINFO  Dokument im Navigationsbaum lokalisieren

Verwendung

Die Methode GET_QUICKINFO am Service-Objekt (RUNTIME->DDIC_UTILS) liefert die Quickinfo zu einem elementaren Datenobjekt mit Dictionary-Bezug. Als Quickinfo wird die Kurzbeschreibung zum zugehörigen Datenelement oder ein Strukturfeld mit direkter Typeingabe zurückgeliefert.

Parameter und Ausnahmen

Importing-Parameter:

 

DATA_OBJECT_REF

Referenz auf ein Datenobjekt

 

LANGU

Sprache (optional) mit Default SYST-LANGU

Returning-Parameter:

 

QUICKINFO

Quickinfo

Exceptions:

 

CX_BSP_SERVICES_PARAM

 
 

CX_BSP_SERVICES_NOTFOUND

 

Beispiel

Seitenattribute

Attribut

Auto

TypArt

Bezugstyp

Beschreibung

carrid_title

 

TYPE

STRING

Kurztext

carrid_label

 

TYPE

STRING

Label

carrid_value

 

TYPE

STRING

Wert

Ereignis OnInitialization

* declaration

data: dataref type ref to data.

data: flightstruct type sflight.

 

* fill data reference

get reference of flightstruct-carrid into dataref.

 

* get quickinfo (title)

try.

    carrid_title = runtime->ddic_utils->get_quickinfo(

               data_object_ref = dataref langu = langu_select ).

catch cx_bsp_services into l_ex_services.

*   catch exception into message object

    errortext = l_ex_services->get_text( ).

    call method messages->add_message

         exporting condition = 'CARRID_TITLE'

                   message = errortext

                   severity = CL_BSP_MESSAGES=>CO_SEVERITY_ERROR.

    carrid_title = 'CARRID_TITLE'.

endtry.

carrid_value = ‘LH’.

Layout

<%-- text input with label and quickinfo --%>

<span title=" <%=carrid_title%> "> <%=carrid_label%> </span>&nbsp;

    <input type=text name="carrid_select" value="carrid_label">

 

<%-- table with labels and quickinfo as column header --%>

<table class="bspTbvStd" cellpadding = "4">

    <tr class="bspTbvHdrStd">

      <th><span title=" <%=carrid_title%> "> <%=carrid_label%> </span></th>

      <th><span title=" <%=connid_title%> "> <%=connid_label%> </span></th>

    </tr>

</table>