Ansicht
Dokumentation

CACS_PS_GET_PS_RFC - Commission Contract Includes in Partnership?

CACS_PS_GET_PS_RFC - Commission Contract Includes in Partnership?

rdisp/max_wprun_time - Maximum work process run time   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This RFC-compliant function module determines data on a commission contract's membership in a partnership; this determination must be unique. The non-RCF-compliant function module CACS_PS_GET_PS is only 'wrapped' as not all of the return parameters (Customizing settings for participation and determination of indirect participants) are passed on.

The system first checks whether the commission contract is a group contract for a partnership. If this is the case, the related bundle that represents the partnership is returned, along with some administrative data (cf. export parameters). If not, the system checks whether the Dedicated Commission Contracts indicator is set for the commission application. At this point the system attempts to determine a partnership in which the contract is a member.

If the system determines a partnership and this partnership is consistent with ICM version management and the transferred timestamp, the return structures and fields are filled accordingly and the field E_ERROR is initial. Otherwise the field E_ERROR receives the return code of the wrapped function module. Then all other return values are considered to be invalid.

Notes

The function does not differentiate between the situation that the commission contract does not belong to the bundle and the situation where the assignment exists but it is inconsistent in some way. The exceptions of the module CACS_PS_GET_PS are not broken down.

If the Dedicated Commission Contracts indicator is not set for the commission application, the function module should be used only with group contracts since it does not provide any results if a normal commission contract is specified.

To determine all partnerships where there is a valid entry for the contract as a member for a commission contract, you should use function module CACS_PS_GET_PARTNERSHIPS or its RFC-compliant wrapping CACS_PS_GET_PARTNERSHIPS_RFC.





Parameters

ET_MEMBERS
E_CTRTBDL_ID
E_ERROR
E_GRP_CTRT
E_SPLIT_TYPE
IV_APPL
IV_CLC_TIMESTAMP
IV_CTRTBU_ID
IV_KNW_TIMESTAMP

Exceptions

Function Group

CACS_PS_MD_IF_RFC

General Material Data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2917 Date: 20240523 Time: 080134     sap01-206 ( 65 ms )