CDS标准视图:一次性账户的客户行项目 I_ONETIMEACCOUNTCUSTOMER

news/2025/1/10 11:34:56/文章来源:https://www.cnblogs.com/guanxing/p/18663680

视图名称:一次性账户的客户行项目

视图类型:基础

视图代码:

点击查看代码
@EndUserText.label: 'One-Time Account Data for Customer Items'
@Analytics: { dataCategory:#DIMENSION}
@Analytics.internalName:#LOCAL
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IONETIMECUSTOMER'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
@AbapCatalog.buffering.status: #NOT_ALLOWED
@AbapCatalog.buffering.type: #NONE
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality:#C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass:#MIXED
@ObjectModel.representativeKey: 'AccountingDocumentItem'
@ObjectModel.supportedCapabilities: [ #CDS_MODELING_DATA_SOURCE , #CDS_MODELING_ASSOCIATION_TARGET ]
@Metadata.allowExtensions:true
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #BLOCKED_DATA_EXCLUDED
@AccessControl.privilegedAssociations: ['_Address']define view I_OneTimeAccountCustomeras select from bsecassociation [1..1] to I_CompanyCode              as _CompanyCode             on  $projection.CompanyCode = _CompanyCode.CompanyCodeassociation [1..1] to I_JournalEntry             as _JournalEntry            on  $projection.CompanyCode        = _JournalEntry.CompanyCodeand $projection.AccountingDocument = _JournalEntry.AccountingDocumentand $projection.FiscalYear         = _JournalEntry.FiscalYearassociation [0..1] to I_FiscalYearForCompanyCode as _FiscalYear              on  $projection.FiscalYear  = _FiscalYear.FiscalYearand $projection.CompanyCode = _FiscalYear.CompanyCodeassociation [0..1] to I_Address                  as _Address                 on  $projection.AddressID = _Address.AddressIDassociation [1..1] to I_OperationalAcctgDocItem  as _OperationalAcctgDocItem on  _OperationalAcctgDocItem.CompanyCode            = $projection.CompanyCodeand _OperationalAcctgDocItem.AccountingDocument     = $projection.AccountingDocumentand _OperationalAcctgDocItem.FiscalYear             = $projection.FiscalYearand _OperationalAcctgDocItem.AccountingDocumentItem = $projection.AccountingDocumentItemassociation [1..1] to I_CustomerCompany          as _CustomerCompany         on  _CustomerCompany.CompanyCode = $projection.CompanyCodeand _CustomerCompany.Customer    = $projection.Customer
{@ObjectModel.foreignKey.association: '_CompanyCode'key bsec.bukrs                            as CompanyCode,@ObjectModel.foreignKey.association: '_JournalEntry'key bsec.belnr                            as AccountingDocument,@ObjectModel.foreignKey.association: '_FiscalYear'key bsec.gjahr                            as FiscalYear,key bsec.buzei                            as AccountingDocumentItem,cast(bsec.name1 as ad_name1)          as BusinessPartnerName1,cast(bsec.name2 as ad_name2)          as BusinessPartnerName2,cast(bsec.name3 as ad_name3)          as BusinessPartnerName3,cast(bsec.name4 as ad_name4)          as BusinessPartnerName4,bsec.land1                            as Country,cast(bsec.ort01 as ad_city1)          as CityName,bsec.pfach                            as POBox,bsec.pstl2                            as POBoxPostalCode,bsec.pstlz                            as PostalCode,bsec.regio                            as Region,bsec.stcd1                            as TaxID1,bsec.stcd2                            as TaxID2,bsec.stcd3                            as TaxID3,bsec.stcd4                            as TaxID4,bsec.stcd5                            as TaxID5,bsec.stras                            as StreetAddressName,bsec.stcdt                            as TaxNumberType,bsec.adrnr                            as AddressID,bsec.intad                            as AccountingClerkInternetAddress,cast(bsec.stkzn as bu_natural_person) as IsNaturalPerson,bsec.begru                            as AuthorizationGroup,case bsec.xcpdk when 'X' then cast('' as farp_isalternativepayer) else cast ('X' as farp_isalternativepayer)end                                   as PayerIsAlternativePayer,_OperationalAcctgDocItem.Customer     as Customer,_CompanyCode,_JournalEntry,_FiscalYear,_Address,_OperationalAcctgDocItem,_CustomerCompany
}
where_OperationalAcctgDocItem.FinancialAccountType = 'D'

事务代码:一次性客户的行项目

视图结构:

字段名称 技术名称
公司代码 COMPANYCODE
凭证编号 ACCOUNTINGDOCUMENT
会计年度 FISCALYEAR
项目 ACCOUNTINGDOCUMENTITEM
名称 BUSINESSPARTNERNAME1
名称 2 BUSINESSPARTNERNAME2
名称 3 BUSINESSPARTNERNAME3
名称 4 BUSINESSPARTNERNAME4
国家/地区 COUNTRY
城市 CITYNAME
邮政信箱 POBOX
邮箱邮政编码 POBOXPOSTALCODE
邮政编码 POSTALCODE
地区 REGION
税号 1 TAXID1
税号 2 TAXID2
税号3 TAXID3
税号4 TAXID4
税号 5 TAXID5
街道 STREETADDRESSNAME
税号类型 TAXNUMBERTYPE
地址 ADDRESSID
员工的互联网 ACCOUNTINGCLERKINTERNETADDRESS
自然人 ISNATURALPERSON
权限组 AUTHORIZATIONGROUP
是备选付款方 PAYERISALTERNATIVEPAYER
客户 CUSTOMER

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/867079.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

学习笔记(五十一):onAreaChange 组件区域变化监听

onAreaChange(event: (oldValue: Area, newValue: Area) => void): T 组件区域变化时触发该回调。仅会响应由布局变化所导致的组件大小、位置发生变化时的回调。 由绘制变化所导致的渲染属性变化不会响应回调,如translate、offset。若组件自身位置由绘制变化决定也不会响应…

mysql-sql统计数据sql整理

一、查询SQLSELECTt1.规则编号 AS 编码,t1.规则描述 AS 名称,SUM( CASE WHEN t3.DATA_SOURCES = 00 THEN 1 ELSE 0 END ) AS 类型01,SUM( CASE WHEN t3.DATA_SOURCES = 01 THEN 1 ELSE 0 END ) AS 类型02,SUM( CASE WHEN t3.DATA_SOURCES = 02 THEN 1 ELSE 0 END ) AS 类型03,S…

优化文档管理,为MCN团队运营赋能

对于MCN团队来说,年末不仅是对全年运营工作的总结,更是为来年布局的重要节点。然而,复杂的运营数据、项目进展和内容产出,常常因文档管理混乱而陷入低效,影响复盘和决策的准确性。一、文档管理对MCN团队的重要性 MCN团队日常涉及的文件繁多:内容策划文档、短视频脚本和拍…

Window只允许程序和指定IP交互

1. 使用防火墙的入站和出站规则 2. 使用火绒工具进行拦截 IP黑名单拦截 qq:505645074

CDS标准视图:应收账龄表 I_ARJrnlEntrItmAgingGrid

视图名称:应收账龄表 I_ARJrnlEntrItmAgingGrid 视图类型:参数 视图代码:点击查看代码 @AbapCatalog.sqlViewName: IARJEITMAGGRID @AbapCatalog.compiler.compareFilter:true @AbapCatalog.preserveKey:true @VDM.viewType: #COMPOSITE @EndUserText.label: Aging Grid of …

软工寒假日报(一)

今天开始简单了解了python爬虫,并安装了相关依赖import requestsfrom bs4 import BeautifulSoupimport pandas as pd# 爬取一个页面的数据def scrape_page(url): headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit…

RapidTable release v1.0.3

引言 经过几日来的不懈努力,RapidTable 库终于迎来了 1.0 系列。 RapidTable 库是专门用来文档类图像的表格结构还原,表格结构模型均属于序列预测方法,结合 RapidOCR,将给定图像中的表格转化对应的 HTML 格式。 效果展示模型列表model_type 模型名称 推理框架 模型大小 推理…

ur3+robotiq ft sensor+robotiq 2f 140配置rviz仿真环境-

原文地址: ur3+robotiq ft sensor+robotiq 2f 140配置rviz仿真环境 ur3+robotiq ft sensor+robotiq 2f 140配置rviz仿真环境搭建环境: ubuntu: 20.04ros: Noneticsensor: robotiq_ft300gripper: robotiq_2f_140_gripperUR: UR3 在安装sensor和gripper之前,先简单配置一下UR机…

【Python】简单实现Http网络请求功能

1.安装uvicorn和FastAPI pip3 install uvicorn pip3 install FastAPI2.python代码实现 import uvicorn from fastapi import FastAPIapp = FastAPI() @app.post("/ShowNum") async def ShowNum(x:int=1,y:int=2):print(和为:%d % (x+y))return x+yif __name__ == &q…

JMeter自动执行生成报告,批处理脚本

1、新建文件后缀.bat: 字符集使用 ANSI 编码,不然有中文会乱码,执行失败2、输入内容如下,根据实际情况修改路径:@echo off REM 设置 JMeter 的安装目录,根据实际情况修改路径 set JMETER_HOME=C:\apache-jmeter-5.4.1 REM 设置测试计划的路径,根据实际情况修改路径 set T…

奇迹mu1.03单机版安装教程+无需虚拟机+GM工具

今天为大家带来一款怀旧网单《奇迹mu1.03》的游戏架设,适用于单机娱乐, 仅供怀旧,本人已经安装游戏成功,特此带来详细安装教程。 适用环境单机视频演示 https://githubs.xyz/show/330.mp4亲测截图 架设步骤 关闭默认杀毒软件和其它自己下的杀毒软件 ,一定要检查关闭!!…

Toeplitz矩阵

具有下面形式的矩阵称为 Toeplitz 矩阵 (即在同一条对角线上的元素都相等) • Toeplitz 矩阵只有 2n − 1 个独立元素, 因此在存储一个 Toepliz 矩阵时, 只需存储第一列和第一行 (或第一列和最后一列);• 如果 T 对称, 则只需存储第一列. 用途: