Show TOC Start of Content Area

Procedure documentation Creating Attributes for Specifying Web Target Parameters  Locate the document in its SAP Library structure

Use

You can specify parameters for external Web targets, accessed by Web target iViews, and supply them with information other than the key information of the source object. This procedure does not precisely include the definition of the parameters for a target transaction as in the Drag&Relate variants discussed previously, but means completing a “target URL” of a Web service (such as a transport or shipping service) by adding the information of the (dragged) source object.

This graphic is explained in the accompanying text

When maintaining the metadata, you can specify function modules for reading additional object attributes that are not specified in the Business Object Repository (BOR). The export parameters of these function modules provide information for parametrizing the “target URLs” of external Web services. These function modules can have any fields as import parameters, but it must be possible to parameterize these fields with key fields of the source business object type.

Note

In contrast to the normal target transactions, Web targets cannot execute collective search helps. Here you can assign any function modules that are called at runtime and that provide their export interface to the SAP Unifier for R/3. Any interface is possible, but it must be specified meaningfully with parameters for the key components of the object or with fixed values.

For more information about Web target iViews, see Navigation with Web Target iViews.

You can also create a suitable ad-hoc query to define the parameters for external Web targets.

Procedure

...

       1.      Start Transaction SPO0.

       2.      To change the definition of an existing object type, choose the relevant object type in the Object type field using the F4 help or by typing the exact name in this field.

       3.      Choose Display to the right of the field.

       4.      Switch to change mode by choosing Display/change.

       5.      Choose the Attribute access tab.

       6.      Enter the function module that you wish to use for the attribute access.

       7.      The prefix is used to distinguish between function modules if several function modules with the same parameter names are used to read detailed data for an object.

       8.      The icon in the first column of the table takes you to the Maintain Parameters screen. Specify here the values for the import parameters, such as key fields of the source object, fixed values or system variables.

       9.      Test the access to the attribute. To do so choose Test on the Attribute access tab.

   10.      Save your entries.

Result

You have created attributes that can be used to specify parameters for external Web targets.

 

End of Content Area