Functionality AAC (Account Assignment Category) Determination> For a specified AAC, all defined elements will be returned for the givenplant.> If the Validation Date> is not given, then the system fieldSY-DATUM will be taken. If you want to restrict the search to specified objects, you need tofill the importing tables TI_INTNUM> and/or TI_EXTNUM>appropriately. With the importing table TI_EXTNUMRA,> you canspecify ranges of objects.> Language >dependant texts will be returned in the exporting tableTE_AAC_TEXT>, according to the language ID entries in theimporting table TI_LANGU>. The exporting table TE_AAC_OBJID> contains the resulting list ofall selected objects, e.g. the IDs of all Cost Centers. The exporting parameter EP_FIELDCAT> contains the names of thereturned fields, separated by the specified delimiter character., e.g."CSKS-KOKRS;CSKS-KOSAR;CSKS-WAERS". The exporting table TE_AAC_FIELDS> contains more detailedinformation about each object, whereas the object IDs are contained inthe exporting table TE_AAC_OBJID>. The number of lines in theexporting table TE_AAC_FIELDS> computes as follows: Number oflines in the exporting table TE_AAC_OBJID> multiplied> withthe number of fields which are specified in the exporting parameterEP_FIELDCAT.> The exporting table TE_RETURN> contains several messages from theruntime of the module, which messages can be helpful in case of anunexpected error. Moreover, an application log will be written for eachdetermination. The application logs can be retrieved with transactionSLG1>, parameter Program = /SPE/AAC_DETERMINATION>.Notes An authority check >will be done for the function module/SPE/AAC_DETERMINATION> in function group /SPE/AACA.> Anadditional authority check for the specified category will be done usingthe object /SPE/AAC>, activity 16.Further information There are three BAdI >Definitions which can be implemented at thecustomer's site: /SPE/AAC_IN> - Enhancement-Spot /SPE/AAC_DETERMINATION_IN>:Add and remove fields from the standard field list (exporting parameterEP_FIELDCAT> ), create Customer Defined Categories and change thecontents of the STATUS> filter. See also the example implementation /SPE/AAC_IN_EXAM>, where theCategory "Z1" for the Data Base Table PROJ> is added, the fieldAUFK-KALSM> is assigned to the category "11" (Order) and thestatus "Settlement Rule exists" is added to category "12" (WBSElements). /SPE/AAC_DB> - Enhancement-Spot /SPE/AAC_DETERMINATION_DB>:Data Base access for customer defined categories. See also the example implementation /SPE/AAC_DB_EXAM>, where aData Base read access is implemented for the customer defined examplecategory "Z1", and the resulting list of objects is distributed to thecorresponding exporting tables. /SPE/AAC_OUT> - Enhancement-Spot /SPE/AAC_DETERMINATION_OUT >: Handle the exporting tables (e.g.: delete specific lines from theresulting tables). See also the example implementation /SPE/AAC_OUT_EXAM>, wherelines can be removed from the exporting tables TE_AAC_OBJID>,TE_AAC_FIELDS> and TE_AAC_TEXT>. |