日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

SAP Cloud for Customer Cloud Application Studio的一些使用技巧(持续更新)

發布時間:2023/12/19 编程问答 23 豆豆
生活随笔 收集整理的這篇文章主要介紹了 SAP Cloud for Customer Cloud Application Studio的一些使用技巧(持续更新) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

OData boundary condition

Customer BO’s action is NOT visible for function import. The action could be performed, however after that the read on customer BO will fail.

  • ABSL的臨時變量和JavaScript一樣,用var定義:
  • import ABSL;foreach( var order in this ){order.OrderStatus = "4"; }
  • import語句
  • import AP.Common.GDT; import AP.CRM.Global;
  • 如何在ABSL里調用web service
  • OData boundary condition

    Customer BO’s action is NOT visible for function import. The action could be performed, however after that the read on customer BO will fail.

    Default value in BO element definition

    如何在BO element元素里定義默認值

    [Label("Target Amount")] element TartgetAmount:Amount = { currencyCode = "USD" };

    When you create a BeforeSave.absl on the extended node, a new After Finalize Determination is automatically created by PDI framework, you can find it in tcode EXF.

    DataObjectPropertyBinding.js - _getValue()
    – this.oModel.getProperty
    ---- this._oUi5Model.getPropert
    ----- _oDataContainer
    ------ _mDataObjectIndex

    • DataObjectPropertyBinding.this.fieldValue - old value
    • UI5Model mPendingBindings
    • Date field is treated as complex data type and has a dedicated branch to handle
  • 如何定義Transient字段和Label:
  • node Item[0,n]{[Transient] [Label("行")] element zid:BusinessTransactionDocumentItemID;}
  • Query的實例代碼:
  • qryServiceRequest_ServiceRequestQueryByElements = ServiceRequest.QueryByElements;selParamsServiceRequest_ServiceRequest_QueryByElements = qryServiceRequest_ServiceRequestQueryByElements.CreateSelectionParams();// ServiceRequest: fill the query parameter values - in this example search via the external referenceselParamsServiceRequest_ServiceRequest_QueryByElements.Add(qryServiceRequest_ServiceRequestQueryByElements.ID.content, "I", "EQ", this.zOrderNo.content);// ServiceRequest: execute the querycolQryResult = qryServiceRequest_ServiceRequestQueryByElements.Execute(selParamsServiceRequest_ServiceRequest_QueryByElements);// ServiceRequest: loop all found instancesforeach (instServiceRequest in colQryResult){
  • 拿到當前年月日
  • this.zInvoiceDate = Context.GetCurrentUserDate().GetYear().Concatenate("年").Concatenate(Context.GetCurrentUserDate().GetMonth()).Concatenate("月").Concatenate(Context.GetCurrentUserDate().GetDay()).Concatenate("日");
  • 排序:
  • this.GetFirst().ToRoot.item.OrderByDescending( n=>n.ZitemNo );
  • 查找
  • var getMaterial = materialCollection.Where(n=>n.InternalID.content == item.Zproduct.content);
  • 創建
  • partner.Znavigation = "COD_SEOD_ACCOUNT_TT";zcoupon.partner.Create(partner);
  • 調用web service:
  • var DBMResponse = ZSI_Order_C4C_Out2.SI_Order_C4C_Out(DBMRequest, "", "ZSI_Order_C4C_Out2");var lt_return = DBMResponse.T_RETURN.item;
  • OData boundary condition
  • Customer BO’s action is NOT visible for function import. The action could be performed, however after that the read on customer BO will fail.

  • Default value in BO element definition
    如何在BO element元素里定義默認值
  • [Label("Target Amount")] element TartgetAmount:Amount = { currencyCode = "USD" };

    When you create a BeforeSave.absl on the extended node, a new After Finalize Determination is automatically created by PDI framework, you can find it in tcode EXF.

    總結

    以上是生活随笔為你收集整理的SAP Cloud for Customer Cloud Application Studio的一些使用技巧(持续更新)的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。