SAP Function BAPI_SERVICE_GET_DETAIL - Read Detailed Data for a Service Master Record

Parameter Reference Type Length Default Optional Text
SERVICENUMBER BAPISRVPAR-SERVICE C 18 Service Master Record Number
SERVICETEXTS BAPISRVPAR-SELECTION C 1 SPACE X Service Description

Parameter Reference Type Length Text
SERVICEGENERALDATA BAPISRV u 187 General Data on Service

Parameter Reference Length Optional Text
RETURN BAPIRET2 548 Return Parameter
SERVICETEXTLINES BAPISRVTXT 156 X Long Text of Service Master Record

Functionality
This method delivers a selection of detailed data pertaining to aspecified external service. This data is valid client-wide.

Example

Notes

Further information
To enable the data to be read successfully, you need the authorizationto display service master data.
Messages are returned in the parameter RETURN. The parameterdocumentation lists the return values and their meaning.

Description
This structure is used to return the general service data to thecalling program.
General data in the service master record include the short text, unitof measure, and valuation class.

Description
The service master record number clearly identifies an externalservice.

Value range
Dictionary data type CHAR (field length 18).

Default
The parameter must be entered (mandatory-entry field).

Description
Indicator allowing you to specify that the long text for a servicemaster record is to be read by the system. If you do not set theindicator, no long texts will be displayed.

Description
This table contains all messages that may arise during processing.

Description
Outputs the long text for a service master record.
This long text is only read if you have set the parameter SERVICE_TEXTS(reading of long text).