Ansicht
Dokumentation

/PM0/ABT_SVC_IO_CREATE - Create Insurable Object

/PM0/ABT_SVC_IO_CREATE - Create Insurable Object

TXBHW - Original Tax Base Amount in Local Currency   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this function module to create an insurable object.

The input parameters are listed below.

  • Input structure for the insurable object (parameter IS_IO).
  • Addresses of the insurable object (parameter IT_ADDRESS). One address must be defined as the standard address. Further addresses are optional.
  • Attribute for insurable object type Commercial Building (parameter IT_COMMERCIAL_UNIT).
  • Extension-In (parameter IT_EXTENSIONIN).
  • Address usage of insurable object (parameter IT_ADDRESS_USAGE).
  • Commit indicator (parameter IF_SAVE). In the standard system, the parameter is set to X, which means the insurable object is created when the function module is executed. If this parameter is not set, the insurable object is not created.
  • Check for duplicates (parameter IF_DPLSRCH). In the standard system, the parameter is set to X, which means the system checks insurable objects for duplicates.

You can create seven different categories of insurable objects: Home Contents, Building, Livestock, Auto, Declaration, Inventories, and Plant and Equipment. These different object categories require different parameters. You can likewise use the object categories and object types defined in Object Wizard.

When successfully executed, this function module returns the number of the new insurable object, the external object number, and the journal number. If an error occurs during creation, the function module returns error messages. If parameter IF_DPLSRCH is set to X, the function module also searches for possible duplicates of insurable objects.

Example

Notes

Further information





Parameters

ES_IO_KEY
ET_DPLSRCH
ET_EXTENSIONOUT
ET_MESSAGES
IF_DPLSRCH
IF_SAVE
IS_IO
IT_ADDRESS
IT_ADDRESS_USAGE
IT_COMMERCIAL_UNIT
IT_DECLN_ELMNT
IT_EXTENSIONIN

Exceptions

/PM0/CX_3FT_EXCEPTION

Function Group

/SAPLABT_SVC_INSURABLE_OBJ

rdisp/max_wprun_time - Maximum work process run time   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2517 Date: 20240420 Time: 001946     sap01-206 ( 93 ms )