Ansicht
Dokumentation

BAPI_SERVICE_CREATE - Creation of a Service Master Record

BAPI_SERVICE_CREATE - Creation of a Service Master Record

RFUMSV00 - Advance Return for Tax on Sales/Purchases   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This Business Application Programming Interface (BAPI) is used in the component External Services Management (MM-SRV).

The BAPI enables you to create service master records.

Example

Notes

Authorization
To be able to create service master records, you need the relevant authorization.
Authorization object Service Master (M_SRV_LS) is checked for activity 01 (Create).

Transfer

  • The service master data is transferred in the parameter IM_SERVICE_DATA.
  • The change parameters are transferred in the parameter IM_SERVICE_DATAX.
  • The short texts are transferred in the table SERVICE_DESCRIPTION.
  • The long texts are transferred in the table SERVICE_LONG_TEXTS.

Return messages
In addition to customers' own messages, success and error messages are returned during the entire service master processing in the parameter RETURN. The RETURN table thus contains information as to whether interface data has been processed incorrectly and issues success or error messages during the creation of service master records.

Restrictions
With this BAPI, it is not possible to:

  • Create several service master records at once. If you want to create several service records, reinvoke the method prior to each creation of a further master record.
  • Create a new service master record on the basis of an already existing one using the Create with Reference function.
  • Specify the displayable fields in the service master via field selection in Customizing. The field selection is not taken into account.
  • Create data for classification (configuration).

Customer enhancements
The following BAdIs are available for the BAPI BAPI_SERVICE_CREATE:

Further information





Parameters

EXTENSION_IN
EXTENSION_OUT
EX_SERVICE_DATA
EX_SERVICE_DATAX
IM_SERVICE_DATA
IM_SERVICE_DATAX
NO_NUMBER_RANGE_CHECK
RETURN
SERVICE
SERVICE_DESCRIPTION
SERVICE_LONG_TEXTS
TESTRUN

Exceptions

Function Group

BASB

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 4581 Date: 20240523 Time: 181454     sap01-206 ( 56 ms )