I_DEBITMEMOREQUEST
Debit Memo Request
I_DEBITMEMOREQUEST is a CDS View in S/4HANA. Debit Memo Request. It contains 61 fields. 14 CDS views read from this table.
CDS Views using this table (14)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_DebitMemoReqCreditSimulation | view_entity | from | COMPOSITE | Debit Memo Request Credit Simulation |
| A_DebitMemoRequest | view | from | COMPOSITE | Debit Memo Request Header |
| A_DebitMemoRequestSimulation | view_entity | from | COMPOSITE | Debit Memo Request Simulation |
| C_BillingDueListItem_F0798 | view | left_outer | CONSUMPTION | Billing Due List Item |
| C_BSOrdProcFlwDebitMemoReq | view | from | CONSUMPTION | DebitMemoReq Attrib for BSOrd Prgrs |
| C_Customer360DebitMemoRequest | view_entity | from | CONSUMPTION | Customer 360 DMR |
| C_Debitmemorequestfs | view | from | CONSUMPTION | Debit Memo Request |
| C_DebitMemoRequestWl_F1988 | view | from | CONSUMPTION | Debit Memo Requests |
| C_DebitMemoReqWorkflowInbox | view | from | CONSUMPTION | Debit Memo Request Workflow Inbox |
| C_InhRepairItmProcFlwDbtMmReq | view | from | CONSUMPTION | Process Flow Node for Debit Memo Request |
| C_PrelimBillingDueListItem | view | left_outer | CONSUMPTION | Billing Due List Items |
| ESH_N_DEBITMEMOREQUEST | view | from | ||
| I_DebitMemoRequestStdVH | view | from | COMPOSITE | Debit Memo Request |
| R_DebitMemoRequestTP | view_entity | from | TRANSACTIONAL | Debit Memo Request - TP |
Fields (61)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | DebitMemoRequest | DebitMemoRequest | 6 |
| _HeaderBillingBlockReason | _HeaderBillingBlockReason | 1 | |
| _OrganizationDivision | _OrganizationDivision | 1 | |
| _OverallBillingBlockStatus | _OverallBillingBlockStatus | 1 | |
| _OverallOrdReltdBillgStatus | _OverallOrdReltdBillgStatus | 1 | |
| _OverallSDDocumentRejectionSts | _OverallSDDocumentRejectionSts | 1 | |
| _OverallSDProcessStatus | _OverallSDProcessStatus | 1 | |
| _SalesOrganization | _SalesOrganization | 1 | |
| _SDDocumentReason | _SDDocumentReason | 1 | |
| _SoldToParty | _SoldToParty | 1 | |
| _TransactionCurrency | _TransactionCurrency | 1 | |
| BillingDocumentDate | BillingDocumentDate | 3 | |
| CreatedByUser | CreatedByUser | 3 | |
| CreationDate | CreationDate | 2 | |
| CustomerPaymentTerms | CustomerPaymentTerms | 1 | |
| CustomerPurchaseOrderDate | CustomerPurchaseOrderDate | 1 | |
| CustomerPurchaseOrderType | CustomerPurchaseOrderType | 1 | |
| CustomerTaxClassification1 | CustomerTaxClassification1 | 1 | |
| CustomerTaxClassification2 | CustomerTaxClassification2 | 1 | |
| CustomerTaxClassification3 | CustomerTaxClassification3 | 1 | |
| CustomerTaxClassification4 | CustomerTaxClassification4 | 1 | |
| CustomerTaxClassification5 | CustomerTaxClassification5 | 1 | |
| CustomerTaxClassification6 | CustomerTaxClassification6 | 1 | |
| CustomerTaxClassification7 | CustomerTaxClassification7 | 1 | |
| CustomerTaxClassification8 | CustomerTaxClassification8 | 1 | |
| CustomerTaxClassification9 | CustomerTaxClassification9 | 1 | |
| DebitMemoReqApprovalReason | DebitMemoReqApprovalReason | 1 | |
| DebitMemoRequestDate | DebitMemoRequestDate | 3 | |
| DebitMemoRequestProcessingType | DebitMemoRequestProcessingType | 2 | |
| DebitMemoRequestType | DebitMemoRequestType | 5 | |
| DistributionChannel | DistributionChannel | 5 | |
| HeaderBillingBlockReason | HeaderBillingBlockReason | 3 | |
| IncotermsClassification | IncotermsClassification | 2 | |
| IncotermsLocation1 | IncotermsLocation1 | 1 | |
| IncotermsLocation2 | IncotermsLocation2 | 1 | |
| IncotermsTransferLocation | IncotermsTransferLocation | 1 | |
| IncotermsVersion | IncotermsVersion | 1 | |
| LastChangeDate | LastChangeDate | 2 | |
| LastChangeDateTime | LastChangeDateTime | 1 | |
| LastChangedByUser | LastChangedByUser | 3 | |
| OrganizationDivision | OrganizationDivision | 5 | |
| OverallBillingBlockStatus | OverallBillingBlockStatus | 2 | |
| OverallOrdReltdBillgStatus | OverallOrdReltdBillgStatus | 2 | |
| OverallSDDocumentRejectionSts | OverallSDDocumentRejectionSts | 2 | |
| OverallSDProcessStatus | OverallSDProcessStatus | 2 | |
| PaymentMethod | PaymentMethod | 1 | |
| PricingDate | PricingDate | 1 | |
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | 4 | |
| ReferenceSDDocument | ReferenceSDDocument | 3 | |
| SalesDistrict | SalesDistrict | 1 | |
| SalesDocApprovalStatus | SalesDocApprovalStatus | 2 | |
| SalesGroup | SalesGroup | 3 | |
| SalesOffice | SalesOffice | 3 | |
| SalesOrganization | SalesOrganization | 5 | |
| SDDocumentReason | SDDocumentReason | 4 | |
| SDPricingProcedure | SDPricingProcedure | 1 | |
| ServicesRenderedDate | ServicesRenderedDate | 1 | |
| SoldToParty | SoldToParty | 4 | |
| TotalCreditCheckStatus | TotalCreditCheckStatus | 2 | |
| TotalNetAmount | TotalNetAmount | 4 | |
| TransactionCurrency | TransactionCurrency | 4 |
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.compositionRoot: true
@ObjectModel.representativeKey: 'DebitMemoRequest'
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.supportedCapabilities: [ #ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE ]
@ObjectModel.modelingPattern: [ #ANALYTICAL_DIMENSION ]
@EndUserText.label: 'Debit Memo Request'
@Analytics:{dataCategory:#DIMENSION}
@Metadata.allowExtensions: true
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck:#CHECK
@AccessControl.privilegedAssociations: [ '_CreatedByUser', '_LastChangedByUser',
'_BusinessAreaText','_CostCenterBusinessAreaText','_CreditControlAreaText' ]
@AbapCatalog.sqlViewName: 'ISDDEBITMEMOREQ'
@Metadata.ignorePropagatedAnnotations:true
define view I_DebitMemoRequest
as select from I_SalesDocument as SalesDocument
//--[ GENERATED:012:GlBfhyFV7jY4iWZtovPFwW
association [0..*] to I_BusinessAreaText as _BusinessAreaText on $projection.BusinessArea = _BusinessAreaText.BusinessArea
association [0..*] to I_BusinessAreaText as _CostCenterBusinessAreaText on $projection.CostCenterBusinessArea = _CostCenterBusinessAreaText.BusinessArea
association [0..*] to I_CreditControlAreaText as _CreditControlAreaText on $projection.CreditControlArea = _CreditControlAreaText.CreditControlArea
// ]--GENERATED
association[0..*] to I_DebitMemoRequestItem as _Item on $projection.DebitMemoRequest = _Item.DebitMemoRequest
association[0..1] to I_DebitMemoRequestType as _DebitMemoRequestType on $projection.DebitMemoRequestType = _DebitMemoRequestType.DebitMemoRequestType
association[1..*] to I_DebitMemoReqPartner as _Partner on $projection.DebitMemoRequest = _Partner.DebitMemoRequest
association [0..1] to I_DebitMemoReqApprovalReason as _DebitMemoReqApprovalReason on $projection.DebitMemoReqApprovalReason = _DebitMemoReqApprovalReason.DebitMemoReqApprovalReason
association[0..*] to I_DebitMemoReqPrcgElmnt as _PricingElement on $projection.DebitMemoRequest = _PricingElement.DebitMemoRequest
//Extensibility
association [0..1] to E_SalesDocumentBasic as _Extension on SalesDocument.SalesDocument = _Extension.SalesDocument
{
// Key
key cast(SalesDocument as debit_memo_request preserving type) as DebitMemoRequest,
// Category
@ObjectModel.foreignKey.association: '_DebitMemoRequestType'
SalesDocumentType as DebitMemoRequestType,
SalesDocumentProcessingType as DebitMemoRequestProcessingType,
// Admin
CreatedByUser,
LastChangedByUser,
@Semantics.systemDate.createdAt: true
CreationDate,
CreationTime,
@Semantics.systemDate.lastChangedAt: true
LastChangeDate,
@Semantics.systemDateTime.lastChangedAt: true
LastChangeDateTime,
// Organization
@ObjectModel.foreignKey.association: '_SalesOrganization'
SalesOrganization,
@ObjectModel.foreignKey.association: '_DistributionChannel'
DistributionChannel,
@ObjectModel.foreignKey.association: '_OrganizationDivision'
OrganizationDivision,
@ObjectModel.foreignKey.association: '_SalesGroup'
SalesGroup,
@ObjectModel.foreignKey.association: '_SalesOffice'
SalesOffice,
// Sales
//--[ GENERATED:012:GlBfhyFV7jY4iWZtovPFwW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_Customer_VH',
element: 'Customer' }
}]
// ]--GENERATED
@ObjectModel.foreignKey.association: '_SoldToParty'
SoldToParty,
@ObjectModel.foreignKey.association: '_CustomerGroup'
CustomerGroup,
@ObjectModel.foreignKey.association: '_AdditionalCustomerGroup1'
AdditionalCustomerGroup1,
@ObjectModel.foreignKey.association: '_AdditionalCustomerGroup2'
AdditionalCustomerGroup2,
@ObjectModel.foreignKey.association: '_AdditionalCustomerGroup3'
AdditionalCustomerGroup3,
@ObjectModel.foreignKey.association: '_AdditionalCustomerGroup4'
AdditionalCustomerGroup4,
@ObjectModel.foreignKey.association: '_AdditionalCustomerGroup5'
AdditionalCustomerGroup5,
//--[ GENERATED:012:GlBfhyFV7jY4iWZtovPFwW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_CreditControlAreaStdVH',
element: 'CreditControlArea' }
}]
@ObjectModel.text.association: '_CreditControlAreaText'
// ]--GENERATED
@ObjectModel.foreignKey.association: '_CreditControlArea'
CreditControlArea,
SalesDocumentDate as DebitMemoRequestDate,
ServicesRenderedDate,
@ObjectModel.foreignKey.association: '_SDDocumentReason'
SDDocumentReason,
PurchaseOrderByCustomer,
CustomerPurchaseOrderType,
CustomerPurchaseOrderDate,
CustomerPurchaseOrderSuplmnt,
@ObjectModel.foreignKey.association: '_SalesDistrict'
SalesDistrict,
// Pricing
@DefaultAggregation: #SUM
@Semantics.amount.currencyCode: 'TransactionCurrency'
TotalNetAmount,
@Semantics.currencyCode: true
@ObjectModel.foreignKey.association: '_TransactionCurrency'
TransactionCurrency,
SDPricingProcedure,
PricingDate,
SalesDocumentCondition as DebitMemoRequestCondition,
CustomerTaxClassification1,
CustomerTaxClassification2,
CustomerTaxClassification3,
CustomerTaxClassification4,
CustomerTaxClassification5,
CustomerTaxClassification6,
CustomerTaxClassification7,
CustomerTaxClassification8,
CustomerTaxClassification9,
//Shipping
@ObjectModel.foreignKey.association: '_IncotermsClassification'
IncotermsClassification,
IncotermsTransferLocation,
IncotermsLocation1,
IncotermsLocation2,
@ObjectModel.foreignKey.association: '_IncotermsVersion'
IncotermsVersion,
//Approval Management
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_DebitMemoReqApprovalReason'
cast(SalesDocApprovalReason as sd_dmr_approval_reason) as DebitMemoReqApprovalReason,
// Billing
BillingDocumentDate,
//--[ GENERATED:012:GlBfhyFV7jY4iWZtovPFwW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_CompanyCodeStdVH',
element: 'CompanyCode' }
}]
// ]--GENERATED
@ObjectModel.foreignKey.association: '_BillingCompanyCode'
BillingCompanyCode,
@ObjectModel.foreignKey.association: '_HeaderBillingBlockReason'
HeaderBillingBlockReason,
// Payment
@ObjectModel.foreignKey.association: '_CustomerPaymentTerms'
CustomerPaymentTerms,
PaymentMethod,
// Accounting
FiscalYear,
FiscalPeriod,
ExchangeRateDate,
@ObjectModel.foreignKey.association: '_ExchangeRateType'
ExchangeRateType,
//--[ GENERATED:012:GlBfhyFV7jY4iWZtovPFwW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_BusinessAreaStdVH',
element: 'BusinessArea' }
}]
@ObjectModel.text.association: '_BusinessAreaText'
// ]--GENERATED
@ObjectModel.foreignKey.association: '_BusinessArea'
BusinessArea,
@ObjectModel.foreignKey.association: '_CustomerAccountAssgmtGroup'
CustomerAccountAssignmentGroup,
//--[ GENERATED:012:GlBfhyFV7jY4iWZtovPFwW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_BusinessAreaStdVH',
element: 'BusinessArea' }
}]
@ObjectModel.text.association: '_CostCenterBusinessAreaText'
// ]--GENERATED
@ObjectModel.foreignKey.association: '_CostCenterBusinessArea'
CostCenterBusinessArea,
CostCenter,
//--[ GENERATED:012:GlBfhyFV7jY4iWZtovPFwW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ControllingAreaStdVH',
element: 'ControllingArea' }
}]
// ]--GENERATED
@ObjectModel.foreignKey.association: '_ControllingArea'
ControllingArea,
OrderID,
//--[ GENERATED:012:GlBfhyFV7jY4iWZtovPFwW
@Consumption.valueHelpDefinition: [
{ entity: { name: 'I_ControllingObjectStdVH',
element: 'ControllingObject' }
}]
// ]--GENERATED
@ObjectModel.foreignKey.association: '_ControllingObject'
ControllingObject,
// Reference
ReferenceSDDocument,
@ObjectModel.foreignKey.association: '_ReferenceSDDocumentCategory'
ReferenceSDDocumentCategory,
// Status
@ObjectModel.foreignKey.association: '_OverallSDProcessStatus'
OverallSDProcessStatus,
@ObjectModel.foreignKey.association: '_OverallSDDocumentRejectionSts'
OverallSDDocumentRejectionSts,
@ObjectModel.foreignKey.association: '_TotalBlockStatus'
TotalBlockStatus,
@ObjectModel.foreignKey.association: '_OverallOrdReltdBillgStatus'
OverallOrdReltdBillgStatus,
@ObjectModel.foreignKey.association: '_OverallBillingBlockStatus'
OverallBillingBlockStatus,
@ObjectModel.foreignKey.association: '_OverallTotalSDDocRefStatus'
OverallTotalSDDocRefStatus,
@ObjectModel.foreignKey.association: '_OverallSDDocReferenceStatus'
OverallSDDocReferenceStatus,
@ObjectModel.foreignKey.association: '_TotalCreditCheckStatus'
TotalCreditCheckStatus,
@ObjectModel.foreignKey.association: '_MaxDocValueCreditCheckStatus'
MaxDocValueCreditCheckStatus,
@ObjectModel.foreignKey.association: '_PaymentTermCreditCheckStatus'
PaymentTermCreditCheckStatus,
@ObjectModel.foreignKey.association: '_FinDocCreditCheckStatus'
FinDocCreditCheckStatus,
@ObjectModel.foreignKey.association: '_ExprtInsurCreditCheckStatus'
ExprtInsurCreditCheckStatus,
@ObjectModel.foreignKey.association: '_PaytAuthsnCreditCheckSts'
PaytAuthsnCreditCheckSts,
@ObjectModel.foreignKey.association: '_CentralCreditCheckStatus'
CentralCreditCheckStatus,
@ObjectModel.foreignKey.association: '_CentralCreditChkTechErrSts'
CentralCreditChkTechErrSts,
@ObjectModel.foreignKey.association: '_HdrGeneralIncompletionStatus'
HdrGeneralIncompletionStatus,
@ObjectModel.foreignKey.association: '_OverallPricingIncompletionSts'
OverallPricingIncompletionSts,
@ObjectModel.foreignKey.association: '_HeaderBillgIncompletionStatus'
HeaderBillgIncompletionStatus,
@ObjectModel.foreignKey.association: '_OvrlItmGeneralIncompletionSts'
OvrlItmGeneralIncompletionSts,
@ObjectModel.foreignKey.association: '_OvrlItmBillingIncompletionSts'
OvrlItmBillingIncompletionSts,
@Analytics.internalName: #LOCAL
@ObjectModel.foreignKey.association: '_SalesDocApprovalStatus'
SalesDocApprovalStatus,
@Analytics.internalName: #LOCAL
AccountingDocExternalReference,
AssignmentReference,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_Item,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_Partner,
_StandardPartner,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_PricingElement,
_DebitMemoRequestType,
_CreatedByUser,
_LastChangedByUser,
_SalesOrganization,
_DistributionChannel,
_OrganizationDivision,
_SalesGroup,
_SalesOffice,
_SoldToParty,
_CustomerGroup,
_AdditionalCustomerGroup1,
_AdditionalCustomerGroup2,
_AdditionalCustomerGroup3,
_AdditionalCustomerGroup4,
_AdditionalCustomerGroup5,
_CreditControlArea,
_SDDocumentReason,
_CustomerPurchaseOrderType,
_SalesDistrict,
_TransactionCurrency,
_IncotermsClassification,
_IncotermsVersion,
_BillingCompanyCode,
_DebitMemoReqApprovalReason,
_HeaderBillingBlockReason,
_CustomerPaymentTerms,
//_PaymentMethod, View not in SD
_ExchangeRateType,
_BusinessArea,
_CustomerAccountAssgmtGroup,
_CostCenterBusinessArea,
_CostCenter,
_ControllingArea,
_ControllingObject,
//_ReferenceSDDocument, ? in spec
_ReferenceSDDocumentCategory,
_OverallSDProcessStatus,
_OverallSDDocumentRejectionSts,
_TotalBlockStatus,
_OverallOrdReltdBillgStatus,
_OverallBillingBlockStatus,
_OverallTotalSDDocRefStatus,
_OverallSDDocReferenceStatus,
_TotalCreditCheckStatus,
_MaxDocValueCreditCheckStatus,
_PaymentTermCreditCheckStatus,
_FinDocCreditCheckStatus,
_ExprtInsurCreditCheckStatus,
_PaytAuthsnCreditCheckSts,
_CentralCreditCheckStatus,
_CentralCreditChkTechErrSts,
_HdrGeneralIncompletionStatus,
_OverallPricingIncompletionSts,
_HeaderBillgIncompletionStatus,
_OvrlItmGeneralIncompletionSts,
_OvrlItmBillingIncompletionSts,
_SalesDocApprovalStatus,
//--[ GENERATED:012:GlBfhyFV7jY4iWZtovPFwW
@Consumption.hidden: true
_BusinessAreaText,
@Consumption.hidden: true
_CostCenterBusinessAreaText,
@Consumption.hidden: true
_CreditControlAreaText
// ]--GENERATED
}
where SDDocumentCategory = 'L';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SALESDOCUMENT"
],
"ASSOCIATED":
[
"E_SALESDOCUMENTBASIC",
"I_ADDITIONALCUSTOMERGROUP1",
"I_ADDITIONALCUSTOMERGROUP2",
"I_ADDITIONALCUSTOMERGROUP3",
"I_ADDITIONALCUSTOMERGROUP4",
"I_ADDITIONALCUSTOMERGROUP5",
"I_BILLINGBLOCKREASON",
"I_BUSINESSAREA",
"I_BUSINESSAREATEXT",
"I_CENTRALCREDITCHECKSTATUS",
"I_CENTRALCREDITCHKTECHERRSTS",
"I_COMPANYCODE",
"I_CONTROLLINGAREA",
"I_CONTROLLINGOBJECT",
"I_COSTCENTER",
"I_CREDITCONTROLAREA",
"I_CREDITCONTROLAREATEXT",
"I_CURRENCY",
"I_CUSTOMER",
"I_CUSTOMERACCOUNTASSGMTGROUP",
"I_CUSTOMERGROUP",
"I_CUSTOMERPAYMENTTERMS",
"I_CUSTOMERPURCHASEORDERTYPE",
"I_DEBITMEMOREQAPPROVALREASON",
"I_DEBITMEMOREQPARTNER",
"I_DEBITMEMOREQPRCGELMNT",
"I_DEBITMEMOREQUESTITEM",
"I_DEBITMEMOREQUESTTYPE",
"I_DISTRIBUTIONCHANNEL",
"I_DIVISION",
"I_EXCHANGERATETYPE",
"I_EXPRTINSURCREDITCHECKSTATUS",
"I_FINDOCCREDITCHECKSTATUS",
"I_HDRBILLGINCOMPLETIONSTATUS",
"I_HDRGENINCOMPLETIONSTATUS",
"I_INCOTERMSCLASSIFICATION",
"I_INCOTERMSVERSION",
"I_MAXDOCVALUECREDITCHECKSTS",
"I_OVERALLBILLINGBLOCKSTATUS",
"I_OVERALLORDRELTDBILLGSTATUS",
"I_OVERALLPRCINCOMPLETIONSTS",
"I_OVERALLSDDOCREFERENCESTATUS",
"I_OVERALLSDDOCUMENTRJCNSTATUS",
"I_OVERALLSDPROCESSSTATUS",
"I_OVERALLTOTALSDDOCREFSTATUS",
"I_OVRLITMBILLGINCOMPLTNSTS",
"I_OVRLITMGENINCOMPLETIONSTS",
"I_PAYMENTTERMCREDITCHECKSTS",
"I_PAYTAUTHSNCREDITCHECKSTS",
"I_SALESDISTRICT",
"I_SALESDOCAPPROVALSTATUS",
"I_SALESDOCUMENTSTANDARDPARTNER",
"I_SALESGROUP",
"I_SALESOFFICE",
"I_SALESORGANIZATION",
"I_SDDOCUMENTCATEGORY",
"I_SDDOCUMENTREASON",
"I_TOTALBLOCKSTATUS",
"I_TOTALCREDITCHECKSTATUS",
"I_USER"
],
"BASE":
[
"I_SALESDOCUMENT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/