Entering content frameFunction documentation External Caller Locate the document in its SAP Library structure

Use

Using function modules you can call the specification information system from outside the SAP Environment, Health and Safety component. The function module runs a query and activates an output variant as necessary. In the function module an external caller is specified that controls which query is started.

Prerequisites

In Customizing for Product Safety, you have edited the IMG activity Specify External Callers.

Features

You can pass the following data to the function module:

For example, you can pass material numbers to which the specifications you are searching for must be assigned.

Using the external caller, the SAP System determines the query that is to be executed. This means the SAP System determines from all queries the one in whose header data the external caller was specified. When it does this, the SAP System always uses the first query it finds, that is an external caller must be assigned to only one query in the SAP Environment, Health and Safety component. In the header data for the query you can assign an output variant as required, which has the following effects:

If you do not assign an output variant, the query is executed and the hit list is displayed.

Activities

The following settings are necessary in order to be able to use the external caller function:

  1. Create the function module according to your requirements. Specify the external caller.
  2. Make sure that the function module can be called from the required position by adding the function module call to the menu, for example.
  3. In query management create the query that is to be executed (see Creating and Editing Queries). In its header data enter the external caller and the output variant if necessary (see Editing the Query Header). Note the following when creating the query:

 

 

Leaving content frame