Fonction SAP BAPI_CMS_RIG_CREATE - RIGHTS CREATE BAPI

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESS_DATA BAPICMS_STR_OMS_ADDR_CRT u 1280 X BAPI : Address details
ADMIN_DATA BAPICMS_STR_OMS_ORGUNIT_CRT u 66 X BAPI : Organizational Units and Bank area.
ASSET_DATA BAPICMS_STR_RIG_AST_CRT u 324 X BAPI : Structure for asset details
CATEGORY BAPICMS_STR_RIG_PKY_SKY-CATEGORY C 6 Object Category
CLAIMS_DATA BAPICMS_STR_RIG_CLM_CRT u 119 X BAPI: Rights-Claim data
COMMON_DATA BAPICMS_STR_RIG_COMMON_CRT u 164 X BAPI: Rights Common Data
INSURANCE_DATA BAPICMS_STR_LIF_INS_CRT u 408 X BAPI : Life insurance data
PATENTS_DATA BAPICMS_STR_RIG_PAT_CRT u 152 X BAPI: Rights-Patent data
PROCESSEXTENSION BAPI_CMS_STR_CENTRAL-PROCESSEXTENSION C 1 X Flag: Execute Customer Extensions (BAdIs) in BAPI
RIGHTS_TYPE BAPICMS_STR_RIG_PKY_SKY-TYPE C 6 Collateral object type
TESTRUN BAPI_CMS_STR_CENTRAL-TESTRUN C 1 X Switch to Simulation Session for Write BAPIs

Paramètre Reférence Type Long. Description
RIGHT_IDENTIFIER BAPICMS_STR_RIG_IDENTIFIER_GET-RIG_IDENTIFIER C 32 BAPI : Rights-Create-Structure for Semantic Keys
RIGHT_KEYS BAPICMS_STR_RIG_PKY_SKY u 52 BAPI : Rights-Create-Structure for Semantic Keys

Paramètre Reférence Long. Facultatif Description
BUSINESS_PARTNERS BAPICMS_STR_OMS_BP_CRT 64 X BAPI : Structure for Business Partner Link details
DOCUMENTS BAPICMS_STR_OMS_DOC_CRT 114 X BAPI : Structure for Document Service Link details
EXTENSIONIN BAPIPAREX 990 X Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
EXTENSIONOUT BAPIPAREX 990 X Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
INSURED_PERSON_DATA BAPICMS_STR_INS_PERSON_CRT 128 X BAPI : Insured persons data
NOTES BAPICMS_STR_OMS_NOTES_CRT 162 X BAPI : Structure for Notes created on Movables
OBJECT_INSURANCE_DATA BAPICMS_STR_OMS_INS_CRT 318 X BAPI : Structure for Insurance Data details
OBJECT_INSURANCE_DOCUMENTS BAPICMS_STR_OMS_INS_DOC_CRT 118 X BAPI : Structure for Insurance Document Service Link
OBJECT_INSURANCE_PARTNERS BAPICMS_STR_OMS_INS_BP_CRT 58 X BAPI : Structure for Business Partner Link for Insurance
RETURN BAPIRET2 548 X Return Parameter
SYSTEM_STATUS BAPICMS_STR_OMS_SYS_STAT_CRT 5 X System status
USER_STATUS BAPICMS_STR_USR_STAT 5 X User status
VALUES_DATA BAPICMS_STR_OMS_VALUES_CRT 76 X BAPI : Structure for Value service link details

Functionality
Use this method to create a rights object of the following category:
Rights
Patents
Claims
You can use the import parameters to provide information for the rightsobject. You use tables to enter your data for the rights objectincluding data for the specific business of the rights object categories
, business partners, documents, notes and calculated values.
This method returns :
Semantic key of the rights/patents object (ID) and the rights objecttype
A table of return codes

Description
This parameter passes the unique identifier assigned to the newlycreated rights/patents object. This is:
Rights/Patent GUID
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter passes the unique semantic identifier assigned to thenewly created rights/patents object. These are:
Rights/Patent ID
Rights/Patent Type
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter must be implemented to create a new rights object.Mandatory values to be passed are:
Address id
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter must be implemented to create a new rights object.Mandatory values to be passed are:
Administration organizational unit
Bank area
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter contains the asset specifc data of the rights object.
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter is mandatory to create a new rights object.

Description
This parameter contains the data specific to rights object of categoryClaims.
The following values may be entered:
Due date
Composition
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter contains the common data of the rights objects. Thefollowing values may be entered:
Identification
Description
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter contains the insurance data for the collateral rightsobjects. The following values may be entered:

  • Insurance type

  • Insurance identification

  • Insurance description

  • Note: For more information on the individual parameter fields,see the data element documentation in the ABAP Dictionary.

    Description
    This parameter contains the data specific to rights object of categoryPatents.
    The following values may be entered:
    Patent number
    Registration date
    For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

    Description
    Use this parameter to specify specify whether the details specified bythe Customers in a Business Add-In of this method, must be retrieved.
    You will find information on the meaning of the parameter in thedocumentation for the data element Execute Extension(s)(BAdI).

    Value range
    X = Yes: In general the planned customer extensions should be executed.

    Description
    This parameter is mandatory to create a new rights object.
    You can define rights object types and other essential attributes(including certain default values) in the IMG activity Define RightsObject Types.

    Description
    If this parameter is set, the method will only be executed in the testrun. All checks are then carried out, without an entry being made in thedatabase.
    This is used for write BAPIs to check the entries for the objectinstance in the database before actually creating the instance. Theobject instance is not actually created, merely simulated, and the datais not written to the database (updated).

    Value range
    ' ' (no value)
    No value means that the database is updated. This is the default settingand corresponds to the expectations of the calling program.
    'X'
    This value means that the BAPI is called in simulation mode and that nodata is written to the database.

    Description
    This table contains the values for the business partners assigned to theobjects. The mandatory values are:
    Business partner identification
    Business partner function
    For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

    Description
    This table contains the values for the documents relevant to theobjects. The mandatory values are:
    Document reference identification
    Document type
    For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

    Description
    You can use this parameter to transfer user-specific enhancments to aBAPI. The customer has to complete the EXTENSION structure and thesystem automatically continues processing it. If you have not definedany user-specific fields, then you can transfer a blank EXTENSIONINstructure.

    Default

    Further information
    You can find more information in the BAPI programming guide in thechapter for enhancements to BAPIs.

    Description
    You can use this parameter to transfer user-specific enhancments to aBAPI. The customer has to complete the EXTENSION structure and thesystem automatically continues processing it. If you have not definedany user-specific fields, then you can transfer a blank EXTENSIONINstructure.

    Default

    Further information
    You can find more information in the BAPI programming guide in thechapter for enhancements to BAPIs.

    Description
    This parameter contains the insurance-specific details for the insuredpersons.

    Description
    This table contains the details of the notes created for therights/patents object. These details are transfered only if you havechecked the flag FLAG_NOTES while determining the scope for the importparameters.

    Description
    This parameter contains the insurance data for the rights/patentsobject. The following values may be entered:
    Insurance type
    Insurance identification
    Insurance description
    For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

    Description
    This parameter contains the insurance documents for the rights/patentsobject. The following values may be entered:
    Insurance identification
    Documents id
    Documents type
    For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

    Description
    This parameter contains the insurance partners for the rights/patentsobject. The following values may be entered:
    Insurance identification
    Business partner id
    Business partner function
    For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

    Description
    This table contains all the return messages (including the errormessages for plausibility checks ) from the method call.

    Description
    This parameter contains the details of the internal status of theobject.

    Value range
    The following system statuses are possible for rights/patents objects :
    Created
    Active
    Inactive
    Legally active
    Calculation relevant
    Note : Only the following combinations of system statuses are allowed:
    Created + Calculation relevant
    Active + Calculation relevant
    Inactive + Calculation relevant
    Legally active + Calculation relevant
    If you want to set the system status to Calculation relevant, then inthe Implementation Guide (IMG) Customizing, you must explicity set thestatus to a combination of a system status with calculation relevant.
    Note : Internal plausibility checks are defined to validate the inputdata before a system status is set for a rights/patents object.

    Default
    By default, all new rights/patents objects assume the status Created.

    Description
    This parameter contains the values data of the rights/patents object.Atleast the following values must be transfered :
    Value Type
    Calculated Value
    Entered Value
    For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.