Functionality This RFC-compliant function module determines data on a commissioncontract's membership in a partnership>; this determination must be unique. The non-RCF-compliantfunction module CACS_PS_GET_PS is only 'wrapped' as not all of thereturn parameters (Customizing settings for participation anddetermination of indirect participants) are passed on. The system first checks whether the commission contract is agroup contract> for apartnership. If this is the case, the relatedbundle> that represents thepartnership is returned, along with some administrative data (cf. exportparameters). If not, the system checks whether the DedicatedCommission Contracts> indicator is set for the commission application.At this point the system attempts to determine a partnership in whichthe contract is a member. If the system determines a partnership and this partnership isconsistent with ICM version management and the transferred timestamp,the return structures and fields are filled accordingly and the fieldE_ERROR > is initial. Otherwise the field E_ERROR> receivesthe return code of the wrapped function module. Then all other returnvalues are considered to be invalid.Notes The function does not> differentiate between the situation thatthe commission contract does not belong to the bundle and the situationwhere the assignment exists but it is inconsistent in some way. Theexceptions of the module CACS_PS_GET_PS are not broken down. If the Dedicated Commission Contracts> indicator is not set forthe commission application, the function module should be used only withgroup contracts since it does not provide any results if a normalcommission contract is specified. To determine all partnerships where there is a valid entry for thecontract as a member for a commission contract, you should use functionmodule CACS_PS_GET_PARTNERSHIPS or its RFC-compliant wrappingCACS_PS_GET_PARTNERSHIPS_RFC.Description The return code of the wrapped module is returned in this parameter. Value range E_ERROR = 1: The commission contract is used in multiple partnerships.In this case, it is not> possible to find the partnership usingonly the commission contract. If the Dedicated Commission Contracts> indicator is to be set for the commission application, then an errorhas occurred. This must not be set, even if the contract is a groupcontract. E_ERROR = 2: The commission contract is not> a group contract, andthe Dedicated Commission Contracts> indicator is not set. Other E_ERROR values show inconsistencies in the partnership.Description The parameter is set if the partnership> was found. It can have the three values 42, 43, 44>from the domain CACSCALCOBJTYPE.Value range 42: >Distribution ratios>are specified for the partnership for each characteristic combinationthat was defined for the partnership type.> 43:> Similar to 42,> but the distribution ratios also dependon the person responsible for the transaction. Therefore, you mustspecify or find a person responsible in the commission case. 44: >The distribution ratios are found in a user exit. Theimplementation of the exit determines whether the indicator PersonResponsible> for this commission case is required. |