Fonction SAP BAPI_ODSO_CHANGE - Change DataStore

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DETAILS BAPI6116 u 246 DataStore Object with all Properties
ODSOBJECT BAPI6116-ODSOBJECT C 30 DataStore Object

Paramètre Reférence Long. Facultatif Description
INDEXES BAPI6116IN 34 X Indexes for a DataStore Object
INDEXESINFOOBJECTS BAPI6116II 67 X DataStore Object InfoObjects in Indexes
INFOOBJECTS BAPI6116IO 68 InfoObjects in DataStore Object
NAVIGATIONATTRIBUTES BAPI6116NA 120 X Navigation Attributes for the DataStore Object
RETURN BAPIRET2 548 X Detailed log in case of error

Functionality
This function module modifies an existing ODS object. You must includeall properties of the ODS object in the parameter DETAILS.
You must include the structure of the ODS object in the tableparameters:

  • The InfoObject in the ODS object,

  • The navigation attributes in the ODS object,

  • The ODS object indexes, and

  • The InfoObjects in the indexes.

  • If there are errors, a detailed log is returned in the parameterRETURNTABLE.

    Description
    Detailed information about the DataStore object.
    You must at least fill the name of the DataStore object and should alsoassign a text.

    Description
    This table contains the DataStore-object indexes with information aboutwhether they are unique indexed. The indexes with names 010, 020, 030,... to 160 are created in the customer name space.

    Description
    The assignment of InfoObjects to indexes is contained in this table. TheInfoObjects included here must be contained in the DataStore object.

    Description
    This table has the InfoObjects contained in the DataStore object withinformation about whether they are key or data fields.
    The position POSIT must not be filled, but is determined by the sequenceof entries.

    Description
    The navigation attributes activated in the DataStore object arecontained in this table. You can specify the name of the navigationattribute (for example, ATRNAVNM = '0COSTCENTER__0COMP_CODE' for theattribute 'company code' of the characteristic 'cost center'), or youcan specify the name of the characteristic and the name of the attribute(for example, CHANM = '0COSTCENTER' and ATTRINM = '0COMP_CODE').
    The characteristic must then be included in the InfoObject table in theDataStore object. Also, the attribute must be activated with thecharacteristic as a navigation attribute.

    Description
    Return parameter of method. The return parameter gives information aboutthe success or failure of the call.
    Value range
    The most important error messages are about:

    • Insufficient authorization to change a DataStore object

    • Errors in the sources of DataStore objects. In this case you get a
    • detailed error log in parameter RETURNTABLE.
      Default