I_SDDOCUMENTCOMPLETEPARTNERS
SD Document Complete Partners
I_SDDOCUMENTCOMPLETEPARTNERS is a CDS View in S/4HANA. SD Document Complete Partners. It contains 14 fields. 33 CDS views read from this table.
CDS Views using this table (33)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_InbDeliveryPartner | view | from | BASIC | CDS View for Business Partner |
| A_InbDeliveryPartner_1 | view | from | BASIC | CDS View for Business Partner |
| A_OutbDeliveryPartner | view | from | BASIC | CDS view for API exposure |
| A_OutbDeliveryPartner_1 | view | from | BASIC | CDS view for API exposure |
| A_ReturnsDeliveryPartner | view | from | BASIC | Returns Delivery Partner |
| A_ReturnsDeliveryPartner_1 | view | from | BASIC | Returns Delivery Partner |
| ARun_ValAddedSrvcSDItmBsc | view | left_outer | ||
| C_SDDocumentPartnerCard | view | from | CONSUMPTION | Business Partner for Fact Sheets |
| C_SlsDocFlfmtSDDocContacts | view | from | CONSUMPTION | Sales Doc Fulfillment: Contacts |
| C_SlsDocNonStdPartner | view | from | CONSUMPTION | SD Document Non Std Complete Partners |
| FAC_AUDIT_Z3_SDPARTNER | view | from | Sales Document Partner | |
| FAC_AUDIT_Z3_SDPARTNER | view | union_all | Sales Document Partner | |
| I_ARunOvwSDItem | view | left_outer | BASIC | Basic View for Sales Document Item |
| I_CFinSalesDocumentPartner | view | union_all | COMPOSITE | Central Finance Sales Document: Partner |
| I_DeliveryDocumentAddress | view_entity | from | COMPOSITE | Delivery Document Address |
| I_DeliveryPartnerAddress | view | from | COMPOSITE | Delivery Partner Address |
| I_MyProjectBillingElements | view | inner | COMPOSITE | Project Billing Elements by UserID |
| I_SAFTBillingOneTimeCustomer | view | inner | COMPOSITE | SAF-T Billing OneTimeCustomers |
| I_SAFTDeliveryOneTimeCustomer | view | inner | COMPOSITE | SAF-T Delivery OneTimeCustomers |
| I_SDDocCompltPartWthAddlData | view | from | COMPOSITE | Complete Partners with Additional Data |
| I_SDDocumentItemPartner | view | from | BASIC | SD Document Item Partner |
| I_SDDocumentPartner | view | from | BASIC | SD Document Partner |
| I_SlsDocNonStdPartner | view | from | COMPOSITE | SD Document Non Std Complete Partners |
| I_SupDmndAllDocRetSlsOrd | view | left_outer | BASIC | View for Return Sales Orders |
| P_MyPrelimBillingDocumentItem | view_entity | inner | COMPOSITE | |
| P_MyProjectBillingElements2 | view_entity | inner | COMPOSITE | Project Billing Elements by UserID (2) |
| P_MyProjectBillingRequests | view_entity | inner | COMPOSITE | Project Billing Requests by UserID |
| P_RU_SDPartnerData1 | view | from | CONSUMPTION | |
| P_SDDocItemPartnerComplete | view | from | CONSUMPTION | |
| P_SlsDocFlfmtCountryName | view | from | CONSUMPTION | Full Name |
| P_SlsDocFlfmtFullName | view | from | CONSUMPTION | Full Name |
| P_SlsDocFlfmtSDDocContacts1 | view | from | CONSUMPTION | |
| P_StRpBillingDocumentItem | view | left_outer | COMPOSITE |
Fields (14)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | ContactPerson | ContactPerson | 3 |
| KEY | Customer | Customer | 5 |
| KEY | PartnerFunction | PartnerFunction | 9 |
| KEY | Personnel | Personnel | 3 |
| KEY | SDDocument | DeliveryDocument,SalesDocument,SDDocument | 7 |
| KEY | SDDocumentItem | SDDocumentItem | 4 |
| _Address | _Address | 3 | |
| _DfltAddrRprstn | _DfltAddrRprstn | 2 | |
| _PartnerFunction | _PartnerFunction | 2 | |
| AddressID | AddressID,AddressNumber | 8 | |
| AddressObjectType | AddressObjectType | 1 | |
| AddressPersonID | AddressPersonID | 4 | |
| PartnerIsOneTimeAccount | IsOneTimeAccount,PartnerIsOneTimeAccount | 3 | |
| SDDocPartnerAddressRefType | SDDocPartnerAddressRefType | 1 |
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'SD Document Complete Partners'
@VDM.viewType: #BASIC
@AccessControl: {
authorizationCheck: #NOT_REQUIRED,
personalData.blocking: #NOT_REQUIRED,
privilegedAssociations: [ '_Address', '_DfltAddrRprstn','_PersonWorkplaceAddrDfltRprstn' ]
}
@AbapCatalog: {
sqlViewName: 'ISDDOCCMPLTPART',
compiler.compareFilter: true,
preserveKey: true
}
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #A,
sizeCategory: #XL
}
}
define view I_SDDocumentCompletePartners
as select from P_SDDocumentCompletePartners
association [0..1] to I_PartnerFunction as _PartnerFunction on $projection.PartnerFunction = _PartnerFunction.PartnerFunction
association [0..1] to I_ContactPerson as _ContactPerson on $projection.ContactPerson = _ContactPerson.ContactPerson
association [0..1] to I_Address as _Address on $projection.AddressID = _Address.AddressID
// The address IDs from I_Address_2 are for customers and suppliers
association [0..1] to I_Address_2 as _DfltAddrRprstn on $projection.AddressID = _DfltAddrRprstn.AddressID
and $projection.AddressPersonID = _DfltAddrRprstn.AddressPersonID
and _DfltAddrRprstn.AddressRepresentationCode is initial
association [0..1] to I_BusPartAddress as _BusinessPartnerAddress on $projection.ReferenceBusinessPartner = _BusinessPartnerAddress.BusinessPartner
and $projection.AddressID = _BusinessPartnerAddress.AddressID
and $projection.SDDocPartnerAddressRefType = 'H'
association [0..1] to I_BusPartAddress as _BPRefAddressForDocSpcfcAddr on $projection.ReferenceBusinessPartner = _BPRefAddressForDocSpcfcAddr.BusinessPartner
and $projection.BPRefAddressIDForDocSpcfcAddr = _BPRefAddressForDocSpcfcAddr.AddressID
// The address IDs from I_PersonWorkplaceAddress are for contact persons
association [0..1] to I_PersonWorkplaceAddress as _PersonWorkplaceAddrDfltRprstn on $projection.AddressID = _PersonWorkplaceAddrDfltRprstn.AddressID
and $projection.AddressPersonID = _PersonWorkplaceAddrDfltRprstn.AddressPersonID
and _PersonWorkplaceAddrDfltRprstn.AddressRepresentationCode is initial
{
key SDDocument,
key SDDocumentItem,
@ObjectModel.foreignKey.association: '_PartnerFunction'
key PartnerFunction,
Customer,
Supplier,
Personnel,
@ObjectModel.foreignKey.association: '_ContactPerson'
ContactPerson,
ReferenceBusinessPartner,
@ObjectModel.foreignKey.association: '_Address'
AddressID,
AddressPersonID,
SDDocPartnerAddressRefType,
AddressObjectType,
BPAddrDeterminationTransaction,
BPRefAddressIDForDocSpcfcAddr,
SDDocPartnerAddrIsDocSpecific,
PartnerIsOneTimeAccount,
VATRegistration,
@Semantics.text: true
UnloadingPointName,
CountryCode,
CustomerHierarchyType,
CustIsPrcDetnRlvt,
CustomerIsRebateRelevant,
CustomerHierarchyLevel,
CustomerHierarchyFixedLevel,
TransportZone,
_PartnerFunction,
_ContactPerson,
// Address related associations
_Address,
_DfltAddrRprstn,
_BusinessPartnerAddress,
_PersonWorkplaceAddrDfltRprstn,
_BPRefAddressForDocSpcfcAddr
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"P_SDDOCUMENTCOMPLETEPARTNERS"
],
"ASSOCIATED":
[
"I_ADDRESS",
"I_ADDRESS_2",
"I_BUSPARTADDRESS",
"I_CONTACTPERSON",
"I_PARTNERFUNCTION",
"I_PERSONWORKPLACEADDRESS"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/