Functionality This method creates a new InfoObject. You have to provide theInfoObject properties in the DETAILS parameter. If the InfoObject has compounding or attributes, the correspondingentry parameters (COMPOUNDS, ATTRIBUTES and/or NAVIGATIONATTRIBUTES)must also be filled. In the case of errors, a detailed log is returned in the RETURUNTABLEparameter. A 'Commit Work' is performed after an InfoObject is successfully saved,and a 'Rollback Work' is carried out following an incorrect save. The InfoObject sources are generally saved in the M version. TheACTIVATE_MULTIPLE method is available for activating the InfoObjects. The module carries out minor consistency checks. The properties arechanged before saving where necessary. Description Name of the InfoObject that was created. Description Method return parameters. The return parameter provides information onthe success or failure of the call. Value range The most important error messages are: Class Type Code Text RSM E 831 You are not authorized to create InfoObjects R7 E 276 InfoObject <(>&<)>1 already exists R7 S 406 InfoObject <(>&<)>1 saved R7 E 409 Error when saving InfoObject <(>&<)>1 - If this messageappears, you can find a detailed log in the RETURN_TABLE tablesparameter. Description This structure provides the name of the InfoObject and all properties. Value range The meaning of the relevant fields is specified in the data elementdocu. The permitted values for the fields are specified as domain fixedvalues where it makes sense to do so. If a field does not have dataelement docu, it is an internal field that does not need to besupplied. Texts are saved in the logon language. The following table fields must definitely be supplied by the caller(the other fields are automatically given a valid default value) : General (for all InfoObject types) INFOOBJECT: Technical name of InfoObject TYPE:,,InfoObject Type ('CHA', 'KYF', 'UNI' --> Domain fixed values) TEXTSHORT: Short description (20 characters) TEXTLONG:,,Long description (60 characters) Fields for characteristics (Type = CHA, KYF) CHABASNM:,,The reference characteristic appears in this field if adifferent characteristic is referenced. Where no other InfoObject isreferenced, the InfoObject name must appear again here. BCHREFFL:,,= 'X', if another characteristic is referenced DATATP:,,,,Data type INTLEN:,,,,Internal length of InfoObject ( See herefor details>) There is also the parameter LENG> whichis filled when the InfoObject is read. This parameter is ignored whenthe InfoObject is created or changed. The parameter INTLEN determinesits length.Fields for key figures (TYPE = KYF) KYFTP:,, ,,Key figure type: ('AMO', 'QUA', 'NUM', 'INT', 'DAT'. 'TIM') DATATP:,,,,Data type ('CURR', 'QUAN', 'FLTP', 'DEC', 'INT4', 'DATS','TIMS'). You can find the valid combinations in the onlinedocumentation for the InfoObjects. When creating non-cumulative values, note the following: NCUMFL = '1' (non-cumulative with non-cumulative change): Here, youneed to add a row with IOBJNM= 'Non-Cumulative Key Figure', IOBJCMP ='Key Figure for non-cumulative change and CMPTP = '1' to the COMPOUNDStable. NCUMFL = '2' (non-cumulative with issues and receipts): In this case,you need to add two rows- one with IOBJNM = 'Non-cumulative KeyFigure', IOBJCMP =' Key Figure for Receipts and CMPTP= '1'- the otherwith IOBJMN= 'Non-Cumulative Key Figure', IOBJCMP = 'Key Figure forIssues and CMPTP = '2' in the COMPOUNDS table. Fields for units (TYPE= UNI) CHABASNM:,,Reference characteristic ( = 0 CURRENCY or 0UNIT) BCHREFFL:,,Must always be filled with 'X', because InfoObject 0UNIT or0CURRENCY is referenced, depending on the type. UNITP:,,,,Type (Currency 'CUR' / Unit of measure 'UNI') You must not fill the following fields when calling up: These fields are automatically filled by the system and are onlyrelevant for read access. VERSION,, Object version OBJSTAT,, Object status ACTIVFL,, Active and Modified versions concur FIELDNM,, Field name LOGSYS,, Character field of length 10 TSTPNM,, Last Changed by TIMESTMP,, UTC timestamp in short form (YYYYMMDDhhmmss) CMPSTA,, Compounding status ATTRIBFL,, Attributes exist for the characterstic TIMDEPFL,, Indicator: Master data is time-dependent DBROUTID,, ID for database routines for basis characteristic FVALEX.. Domain fixed values exist (indicator) CHKTAB,, View of master data tables DKFTP,, Derived Key figure type CONTTIMESTMP,, Content timestamp: Last modification to object made bySAP. AUTHRELFL,,Characteristic is relevant for authorization check BDSFL ODSFL,, InfoObject is ODS InfoObject (indicator) NUMBRANR,, Number of number range objects belonging to a characteristic OUTPUTLEN, Output length IOBJSIZCAT,,BW: Size category for InfoObject tables (master data/hier.) IOBJDATCLS,,BW: Data class for InfoObject tables (master data/hier.) Description InfoObject catalog to which the new InfoObject should be assigned. Description InfoObject attributes Value range For every attribute you have to determine whether it is time-dependentand whether it is used as a navigation attribute. The permitted valuesfor these properties are specified as domain fixed values. Description InfoObject compounding information. Value range The InfoObject is in the first position (INFOOBJECT) and theInfoObjects to which the first InfoObject is comounded are in theIOBJCMP field. Specify compound type '1' for characteristics. Specify compound type '2' or '3' for key figures (see domain fixedvalues) Description InfoObject navigation attributes Value range In addition to navigation attributes, your texts must also be definedhere. Field ATRNAVNM is not used. Texts are stored in the logon language. Description If errors occur when saving, a detailed log is returned in this table.In this case the RETURN parameter contains the message R7 E 409 'Errorwhen saving InfoObject <(>&<)>1'. Value range |