Functionality An RFC-compliant function module for determining data for commission con tracts in organizational management. It is not suitable for massprocessing or for use in performance-critical areas. Import parameters: IV_APPL>: commission application for which the determination is to be carried out. No existence check is carried out. This parameter ismandatory. IV_CLC_TIMESTAMP>: effective time of access; this is filled with t he current time stamp (UTC using GET TIME STAMP) if it is initial. IV_KNW_TIMESTAMP>: technical time of access; this is filled with t he current time stamp (UTC using GET TIME STAMP) if it is initial. IT_CTRTB_IDS>: table with IDs of commission contracts. The moduledetermines the data in organizational management for each parameter spec ified in this table. The validity of the ID's are NOT verified! Export parameters: ET_OUS>: table of type CACS_TT_ORGDATA_O_S, defined in the Data Di ctionary. The lines in this table correspond exactly with those of tableIT_CTRTB_IDS, however they also contain the contract ID for easieraccess. For each line, the position assigned to the contract in fieldPOS_ID is returned with text (in POS_TEXT), as long as a staffassignment for the contract exists for the time determined byIV_CLC_TIMESTAMP. In this case, field NOT_POSITION is set to value 0.The organizational unit is also determined for the position and returnedin OE_ID that is assigned to the position; the text description is alsoreturned for the position in OE_TEXT. If the commission contract isassigned directly to an organizational unit, only the OU is determinedand the field for the position remains initial in the return structure. The NOT_POSITION field accepts the values '1', '2' and 'X' as well as '0 ' already mentioned above; this is explained below. If no staff assignment exists at the time of access, however one existed at another time or is planned for the future, the assignment with theearliest assignment date (BEGDA) for the commission contract isdetermined and returned as described above. In this case, fieldNOT_POSITION is set to value X. Field OCC_BEGIN is always filled with the start date of the organization al assignment of the contract that is returned (BEGDA). If no staff assignment ever existed for this contract and none is planne d for the future, field NOT_POSITION is filled with value '2'. In the event of an internal error, field NOT_POSITION may contain value'1' . If other fields are filled, their content is consequently invalid. Exceptions: NO_WEGID: in the determination process, the evaluation path for findingorganizational units on the basis of positions is read from the database for the current time-spot according to FS-CS/ICM version management. Ifno valid evaluation path is found, exception NO_WEGID is triggered. NO_ACTIVE_PLVAR_FOUND: if no active plan version is found (HCM), this ex ception is triggered.Notes When processing the results of the function module, you should first che ck the value of the parameter NOT_POSITION for every line. |