安装S4CORE SP软件包。 激活方法RS_ELEM_AFTER_IMPORT上的元素时出错

2020-08-17 14:48发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


任何人都可以帮助解决以下问题。

我安装了SP SAPK-10107INS4CORE并收到错误

对象类型ELEM()的导入后方法RS_ELEM_AFTER_IMPORT的开始
 错误激活元件00O2TPKRL6FA91MDUN07O9MZB
 InfoCube 2CCSRHUEUTAXCRR不存在
 错误激活元件ET0911XDFNGPYH3YUJHH53GLW
 InfoCube 2CCSRHUEUTAXCLS不存在

在表RSZELTDIR中有2条记录,OBJVERS ='A'和'M'

报告说CHECK_MISSING_ELEMENTS

程序CHECK_MISSING_ELEMENTS
 没有找到令人讨厌的东西!

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


任何人都可以帮助解决以下问题。

我安装了SP SAPK-10107INS4CORE并收到错误

对象类型ELEM()的导入后方法RS_ELEM_AFTER_IMPORT的开始
 错误激活元件00O2TPKRL6FA91MDUN07O9MZB
 InfoCube 2CCSRHUEUTAXCRR不存在
 错误激活元件ET0911XDFNGPYH3YUJHH53GLW
 InfoCube 2CCSRHUEUTAXCLS不存在

在表RSZELTDIR中有2条记录,OBJVERS ='A'和'M'

报告说CHECK_MISSING_ELEMENTS

程序CHECK_MISSING_ELEMENTS
 没有找到令人讨厌的东西!
付费偷看设置
发送
2条回答
野沐沐
1楼-- · 2020-08-17 15:09

嗨,

似乎系统中缺少CDS视图CSRHUEUTAXCRR和csrhueutaxcls,您可以尝试在软件包中自己创建它们

APPL-> APPL_GLO-> APPL_GLO_FIN-> GLO_FIN_IS-> GLO_FIN_IS_ECSL-> GLO_FIN_IS_ECSL_HU,对于定义,您可以参考其他S4系统,以下供您参考,

对于CSRHUEUTAXCLS:

 @ AbapCatalog.sqlViewName:'CSRHUEUTAXCLS'

 @ ClientHandling.algorithm:#SESSION_VARIABLE

 @ ObjectModel.usageType.sizeCategory:#XL

 @ ObjectModel.usageType.serviceQuality:#X

 @ ObjectModel.usageType.dataClass:#MIXED

 @ EndUserText.label:" HU的欧盟S&P税项视图"

 @ VDM.viewType:#CONSUMPTION

//@Search.searchable:true

 @Analytics:{dataCategory:#CUBE}

 @ AccessControl.authorizationCheck:#检查



 定义视图C_HU_StRpTaxItmWithEUTaxClass

   从I_StRpTaxItmWithEUTaxClass中选择

 将[0..1]与I_Currency关联为_ReportingCurrency

    在$ projection.ReportingCurrency = _ReportingCurrency.Currency上



 {

   关键的公司代码,

   关键计费文件

   关键的财政年度,

   关键TaxCode,

   关键TransactionTypeDetermination,

   关键AccountingDocumentItem,

   键I_StRpTaxItmWithEUTaxClass.StatryRptCategory,

   键I_StRpTaxItmWithEUTaxClass.StatryRptRunID,

   键I_StRpTaxItmWithEUTaxClass.StatryRptgEntity,

       债务人,

       将(substring(VATRegistration,1,2)as stceg_l)转换为VATRegistrationCountry,

       转换(substring(I_StRpTaxItmWithEUTaxClass.VATRegistration,3,18 as as farp_stceg)作为VATRegistration,

       国家,

       @DefaultAggregation:#SUM

       @ Semantics.amount.currencyCode:'ReportingCurrency'

       AmountInReportingCurrency,

       @ Semantics.currencyCode:true

       ReportingCurrency,

       逆转

       是反向的

       应税实体

       发布日期,

       文件日期,

       TaxReportingDate,

       是EU三角交易,

       演员表

         当EUTaxClassification ='1'或EUTaxClassification ='3'或

              EUTaxClassification ='6'或EUTaxClassification ='7'或

              EUTaxClassification ='8'或EUTaxClassification ='9'或

              EUTaxClassification ='A'

         然后

           案件

           当IsEUTriangularDeal ='X'时'B'

           其他是EUTriangularDeal

           结束

         其他

           ''

         作为hu_ecsl_triangular_deal结束)作为HU_EUTriangularDeal,

       DelivOfGoodsDestCountry,

       DelivOfGoodsOriginCountry,

       EUTaxClassification,

       演员表

           当(EUTaxClassification ='1'或EUTaxClassification ='3'

                或EUTaxClassification ='6'或EUTaxClassification ='7'

                或EUTaxClassification ='8'或EUTaxClassification ='9')

             然后

               案件

                 当TaxType ='A'然后是'B'

                 当TaxType ='V'然后是'C'

                 否则''

               结束

           何时(EUTaxClassification ='4'或EUTaxClassification ='5')

             然后

               案件

                 当TaxType ='A'然后是'D'

                 当TaxType ='V'时'E'

                 否则''

               结束

           否则''

       以glo_eu_saleltypetrind结尾)作为EuSaleTransacType,

       TaxType,

       _ReportingCurrency



 }

 哪里

   (

        EUTaxClassification ='1'

     或EUTaxClassification ='3'

     或EUTaxClassification ='6'

     或EUTaxClassification ='7'

     或EUTaxClassification ='8'

     或EUTaxClassification ='9'

     或EUTaxClassification ='4'

     或EUTaxClassification ='5'

   )

对于CSRHUEUTAXCRR:

 @ AbapCatalog.sqlViewName:'CSRHUEUTAXCRR'

 @ ObjectModel.usageType.sizeCategory:#XL

 @ ObjectModel.usageType.serviceQuality:#X

 @ ObjectModel.usageType.dataClass:#MIXED

 @ ClientHandling.algorithm:#SESSION_VARIABLE

 @ EndUserText.label:" HU的欧盟S&P税项视图-校正运行"

 @ VDM.viewType:#CONSUMPTION

//@Search.searchable:true

 @Analytics:{dataCategory:#CUBE}

 @ AccessControl.authorizationCheck:#检查



 定义视图C_HU_StRpTaxItmWithEUTaxCorr

   带参数

     P_StatryRptgEntity:srf_reporting_entity,

     P_StatryRptCategory:srf_rep_cat_id,

     P_StatryRptRunID:srf_report_run_id

   从C_HU_StRpTaxItmWithEUTaxClass中选择

   将[0..1]与I_Currency关联为_ReportingCurrency

    在$ projection.ReportingCurrency = _ReportingCurrency.Currency上

 {



   关键的公司代码,

   键强制转换(" U"为hu_ecsl_rec_type)为RecordType,

   关键计费文件

   关键的财政年度,

   关键TaxCode,

   关键TransactionTypeDetermination,

   关键AccountingDocumentItem,

   关键的StatryRptCategory,

   密钥StatryRptRunID,

   关键的StatryRptgEntity,



       债务人,

       VATRegistrationCountry,

       增值税注册,

       国家,

       @DefaultAggregation:#SUM

       @ Semantics.amount.currencyCode:'ReportingCurrency'

        将(AmountInReportingCurrency转换为fis_hsl)转换为AmountInReportingCurrency,

       @ Semantics.currencyCode:true

       ReportingCurrency,

       逆转

       是反向的

       应税实体

       发布日期,

       文件日期,

       TaxReportingDate,

       是EU三角交易,

       HU_EUTrialularDeal,

       DelivOfGoodsDestCountry,

       DelivOfGoodsOriginCountry,

       EUTaxClassification,

       EuSaleTransacType,

       TaxType,

       _ReportingCurrency



 }

 哪里





       StatryRptCategory = $ parameters.P_StatryRptCategory

   和StatryRptgEntity = $ parameters.P_StatryRptgEntity

   和StatryRptRunID = $ parameters.P_StatryRptRunID



 从P_HU_StRpTaxItmWithEUTaxCorr1进行联合选择,在(上加入C_HU_StRpTaxItmWithEUTaxClass

   P_HU_StRpTaxItmWithEUTaxCorr1.EuSaleTransacType = C_HU_StRpTaxItmWithEUTaxClass.EuSaleTransacType和

   P_HU_StRpTaxItmWithEUTaxCorr1.VATRegistrationCountry = C_HU_StRpTaxItmWithEUTaxClass.VATRegistrationCountry和

   P_HU_StRpTaxItmWithEUTaxCorr1.VATRegistration = C_HU_StRpTaxItmWithEUTaxClass.VATRegistration和

   P_HU_StRpTaxItmWithEUTaxCorr1.HU_EUTriangularDeal = C_HU_StRpTaxItmWithEUTaxClass.HU_EUTriangularDeal)



 {

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.CompanyCode,

   键强制转换(" T"为hu_ecsl_rec_type)为RecordType,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.AccountingDocument,

   键P_HU_StRpTaxItmWithEUTaxCorr1.FiscalYear,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.TaxCode,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.TransactionTypeDetermination,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.AccountingDocumentItem,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.StatryRptCategory,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.StatryRptRunID,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.StatryRptgEntity,

       P_HU_StRpTaxItmWithEUTaxCorr1.Debtor,

       P_HU_StRpTaxItmWithEUTaxCorr1.VATRegistrationCountry,

       P_HU_StRpTaxItmWithEUTaxCorr1.VATRegistration,

       P_HU_StRpTaxItmWithEUTaxCorr1.Country,

       @DefaultAggregation:#SUM

       @ Semantics.amount.currencyCode:'ReportingCurrency'

       将P_HU_StRpTaxItmWithEUTaxCorr1.AmountInReportingCurrency转换为fis_hsl)作为AmountInReportingCurrency,

       @ Semantics.currencyCode:true

       P_HU_StRpTaxItmWithEUTaxCorr1.ReportingCurrency,

       P_HU_StRpTaxItmWithEUTaxCorr1.IsReversal,

       P_HU_StRpTaxItmWithEUTaxCorr1.Isreversed,

       P_HU_StRpTaxItmWithEUTaxCorr1.TaxableEntity,

       P_HU_StRpTaxItmWithEUTaxCorr1.PostingDate,

       P_HU_StRpTaxItmWithEUTaxCorr1.DocumentDate,

       P_HU_StRpTaxItmWithEUTaxCorr1.TaxReportingDate,

       P_HU_StRpTaxItmWithEUTaxCorr1.IsEUTriangularDeal,

       P_HU_StRpTaxItmWithEUTaxCorr1.HU_EUTriangularDeal,

       P_HU_StRpTaxItmWithEUTaxCorr1.DelivOfGoodsDestCountry,

       P_HU_StRpTaxItmWithEUTaxCorr1.DelivOfGoodsOriginCountry,

       P_HU_StRpTaxItmWithEUTaxCorr1.EUTaxClassification,

       P_HU_StRpTaxItmWithEUTaxCorr1.EuSaleTransacType,

       P_HU_StRpTaxItmWithEUTaxCorr1.TaxType,

       P_HU_StRpTaxItmWithEUTaxCorr1._ReportingCurrency

 },其中C_HU_StRpTaxItmWithEUTaxClass.StatryRptCategory = $ parameters.P_StatryRptCategory

   和C_HU_StRpTaxItmWithEUTaxClass.StatryRptgEntity = $ parameters.P_StatryRptgEntity

   和C_HU_StRpTaxItmWithEUTaxClass.StatryRptRunID = $ parameters.P_StatryRptRunID



 从P_HU_StRpTaxItmWithEUTaxCorr1进行联合选择,在(上加入C_HU_StRpTaxItmWithEUTaxClass

   P_HU_StRpTaxItmWithEUTaxCorr1.EuSaleTransacType = C_HU_StRpTaxItmWithEUTaxClass.EuSaleTransacType和

   P_HU_StRpTaxItmWithEUTaxCorr1.VATRegistrationCountry = C_HU_StRpTaxItmWithEUTaxClass.VATRegistrationCountry和

   P_HU_StRpTaxItmWithEUTaxCorr1.VATRegistration = C_HU_StRpTaxItmWithEUTaxClass.VATRegistration和

   P_HU_StRpTaxItmWithEUTaxCorr1.HU_EUTriangularDeal = C_HU_StRpTaxItmWithEUTaxClass.HU_EUTriangularDeal)

 {

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.CompanyCode,

   键强制转换(" U"为hu_ecsl_rec_type)为RecordType,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.AccountingDocument,

   键P_HU_StRpTaxItmWithEUTaxCorr1.FiscalYear,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.TaxCode,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.TransactionTypeDetermination,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.AccountingDocumentItem,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.StatryRptCategory,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.StatryRptRunID,

   密钥P_HU_StRpTaxItmWithEUTaxCorr1.StatryRptgEntity,

       P_HU_StRpTaxItmWithEUTaxCorr1.Debtor,

       P_HU_StRpTaxItmWithEUTaxCorr1.VATRegistrationCountry,

       P_HU_StRpTaxItmWithEUTaxCorr1.VATRegistration,

       P_HU_StRpTaxItmWithEUTaxCorr1.Country,

       @DefaultAggregation:#SUM

       @ Semantics.amount.currencyCode:'ReportingCurrency'

       将P_HU_StRpTaxItmWithEUTaxCorr1.AmountInReportingCurrency转换为fis_hsl)作为AmountInReportingCurrency,

       @ Semantics.currencyCode:true

       P_HU_StRpTaxItmWithEUTaxCorr1.ReportingCurrency,

       P_HU_StRpTaxItmWithEUTaxCorr1.IsReversal,

       P_HU_StRpTaxItmWithEUTaxCorr1.Isreversed,

       P_HU_StRpTaxItmWithEUTaxCorr1.TaxableEntity,

       P_HU_StRpTaxItmWithEUTaxCorr1.PostingDate,

       P_HU_StRpTaxItmWithEUTaxCorr1.DocumentDate,

       P_HU_StRpTaxItmWithEUTaxCorr1.TaxReportingDate,

       P_HU_StRpTaxItmWithEUTaxCorr1.IsEUTriangularDeal,

       P_HU_StRpTaxItmWithEUTaxCorr1.HU_EUTriangularDeal,

       P_HU_StRpTaxItmWithEUTaxCorr1.DelivOfGoodsDestCountry,

       P_HU_StRpTaxItmWithEUTaxCorr1.DelivOfGoodsOriginCountry,

       P_HU_StRpTaxItmWithEUTaxCorr1.EUTaxClassification,

       P_HU_StRpTaxItmWithEUTaxCorr1.EuSaleTransacType,

       P_HU_StRpTaxItmWithEUTaxCorr1.TaxType,

       P_HU_StRpTaxItmWithEUTaxCorr1._ReportingCurrency

 },其中C_HU_StRpTaxItmWithEUTaxClass.StatryRptCategory = $ parameters.P_StatryRptCategory

   和C_HU_StRpTaxItmWithEUTaxClass.StatryRptgEntity = $ parameters.P_StatryRptgEntity

   和C_HU_StRpTaxItmWithEUTaxClass.StatryRptRunID = $ parameters.P_StatryRptRunID 
Nir深蓝
2楼-- · 2020-08-17 15:33

如何创建CDS视图? 为此使用什么交易? 请帮助我。

一周热门 更多>