克米亚sap论坛,最好的sap论坛,sap系统,sap培训,kemiya,克米亚,sap账号,sap ides,sap mm,sap hana,sap fico,sap pp

 找回密码
 注册
查看: 78|回复: 1

在SAP S/4HANA中应用用户默认值

[复制链接]
kmy 发表于 2019-3-22 09:08:19 | 显示全部楼层 |阅读模式
        作为用户体验负责人,Launchpad内容管理员或开发人员,您可能希望将默认值应用于您自己的自定义应用程序,或调整如何将默认值应用于交付的SAP Fiori应用程序或经典用户界面。本博客解释了默认值如何工作以及如何操作。       
   

  大多数SAP S/4HANA应用程序具有某些输入字段,业务用户通常或始终输入相同的信息。这些信息通常不仅限于单个应用程序,还与其他应用程序相关。  

  允许用户在中心位置为该字段保留一个默认值,然后让应用程序预先填充相关输入字段的默认值,只要没有明确提供其他值(例如通过从另一个应用程序导航)即可。  

  在SAP S/4HANA中,这个中心位置是默认值。业务用户可以按照中所述设置自己的默认值       为SAP S/4HANA设置默认值      。  

      注意:      作为先决条件,默认值对话框需要激活并分配给用户,如解释   激活SAP S/4HANA的默认值   。  

           小费:        如果您来自HANA系统上的SAP Business Suite或套件,您可能会熟悉一个名为SET/GET Parameter ID的旧类似概念。我们为什么不在SAP S/4HANA中使用这些? SET/GET参数ID取决于在ABAP内存中传递值的有状态范例。基于Web的应用通常是无状态的,所以我们需要更灵活的东西。好消息是,我们可以将默认值传递给无状态的Fiori应用程序,以及有状态的经典用户界面,如SAPGUI事务。     

  控制SAP S/4HANA解决方案如何应用默认值通常是用户体验主管或Launchpad内容管理员角色的一部分。开发人员,基础专家和其他管理员有时也可能参与其中。  

  在这个博客中你会学到:  

  •         如何将默认值应用于Launchpad Designer中的应用程序参数      
  •         SAP提供哪些默认值      


  让我们开始吧!  

      在Launchpad Designer中应用默认值   
  在Launchpad Designer中应用默认值非常简单。  

      注意:      您需要知道如何使用Launchpad Designer工具。您可以在Fiori Launchpad管理指南中找到有关使用Launchpad Designer配置Launchpad内容的更多信息。  

  您需要:  

        知道默认值的技术ID      
        了解您要设置的应用参数的技术ID      
        在Web浏览器中打开Launchpad Designer工具        
     您可以使用SAPGUI事务/ UI2/FLPD_CUST来启动Fiori应用程序     
     或者,您可以在Web浏览器中输入Launchpad Designer URL,指定SAP S/4HANA解决方案的相关主机和端口https://             <宿主GT;            :             <端口>            /sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html     
        找到包含应用程序目标映射的瓦片目录        
     您只能更改自定义瓷砖目录。     
     如果目标映射位于SAP交付的业务目录或技术目录中,则首先需要将对目标映射的引用复制到自定义瓦片目录中,您可以在其中对其进行配置。     
     注意:对于SAP交付的应用程序,原始业务目录或技术目录将作为SAP Fiori应用程序参考库中SAP Fiori应用程序的实现信息的一部分列出。     
        配置应用程序的目标映射以将参数值设置为默认值。        您可以在目标映射的参数部分执行此操作。   
  默认值分配的格式是:  
        %% UserDefault             <参数名称>             %%        单值参数   
        %% UserDefault.extended             <参数名称>             %%        用于扩展值,即用户已经保持附加值并且应用参数接受多个值或值范围的地方。   
  您可以在本节的Fiori Launchpad管理指南中找到更多详细信息   使用用户特定的默认值配置导航参数   。  
      在目标映射中应用默认值   
  在此示例中,您可以看到如何使用公司代码,会计年度,会计凭证类型和分类帐组的默认值配置"收款后付款"应用的目标映射。  
   

  您可以在参数部分的特写中看到公司代码默认值的格式。  
   
  如果您在设置中为公司代码设置了默认值:  
   
  然后,默认应用于邮政收款应用程序。  
   

      在目标映射中应用附加值   
  某些应用参数支持扩展值,其中可为同一应用参数提供多个值或值范围。在本例中,您可以看到管理日记帐分录应用程序的目标映射如何分配给公司代码,会计年度和会计凭证类型的扩展默认值。  
   
  如果您在公司代码的默认设置中设置了其他值:  
   
  然后,将默认值和附加值应用于管理日记帐分录应用程序。  
   
      注意:      如果您只维护附加值而不是默认值,则只传递附加值。  
      如何应用默认值   
  无论何时启动应用程序,默认值都会传递给应用程序参数       前提是没有通过重写的参数值      ,例如,从其他应用程序导航期间。  
      由SAP交付的默认值   
  这些是SAP于2017年9月提供的当前可用默认值,直至并包括SAP S/4HANA Cloud 1708和SAP S/4HANA 1709。  
  如果您来自SAP Business Suite或HANA上的套件,您可能希望将这些映射到您从SAPGUI获知的等效SET/GET参数ID,以便您也可以看到这些。  
  如果您需要检查数据类型或长度或其他特定于字段的限制,您可以看到底层的数据元素ID,因此您可以在ABAP词典中检查该数据元素,例如使用SAPGUI事务       SE11      。  


      成为SAP S/4HANA专家的SAP Fiori   
  你会发现我们更多   SAP Fiori for SAP S/4HANA维客  
           由S/4HANA RIG带给你         

英文原文

   As a User Experience Lead, Launchpad Content Administrator, or Developer you may want to apply Default Values to your own custom apps, or adjust how default values are applied to delivered SAP Fiori apps or classic User Interfaces.  This blog explains how Default Values work and what to do.     

Most SAP S/4HANA apps have certain input fields where a business user usually or always enters the same information. The information is typically even not limited to the single app, but also relevant for other apps.
It makes sense to enable users to maintain a default value for this field in a central place, and then let the app prefill the relevant input fields with the default value, provided no other value is provided explicitly, such as by navigation from another app.
In SAP S/4HANA this central place is Default Values.  Business users can set their own default values as explained in     Setting Default Values for SAP S/4HANA    .
   NOTE:    As a prerequisite the Default Values dialog needs to be activated and assigned to the user as explained in  Activating Default Values for SAP S/4HANA  .
   TIP:      If you are coming from a SAP Business Suite or Suite on HANA system, you may be familiar with an older similar concept called SET/GET Parameter IDs.  Why don’t we use these in SAP S/4HANA? SET/GET Parameter IDs depend on a stateful paradigm where values are passed in ABAP memory.  Web-based apps are typically stateless, so we need something more flexible.  The good news is that we can pass Default Values to both stateless Fiori apps, and stateful classic user interfaces such as SAPGUI transactions.  
Controlling how Default Values are applied across your SAP S/4HANA solution is typically part of the User Experience Lead or Launchpad Content Administrator role.  Developers, basis experts, and other administrators may occasionally also be involved.
In this blog you will learn:
  • How to apply Default Values to app parameters in the Launchpad Designer   
  • Which Default Values are delivered by SAP   

Let’s get to it!
   Applying Default Values in the Launchpad Designer  
Applying default values in the Launchpad Designer is straightforward.
   NOTE:    You will need to know how to use the Launchpad Designer tool.  You can find out more about configuring Launchpad content using the Launchpad Designer in the Fiori Launchpad Administration Guide.
You will need to:
  • Know the technical ID of the Default Value   
  • Know the technical ID of the app parameter you want to set   
  • Open the Launchpad Designer tool in your web browser   

    • You can do this using SAPGUI transaction /UI2/FLPD_CUST to launch the Fiori app
    • Or you can enter the Launchpad Designer URL in your web browser, specifying the relevant host and port of your SAP S/4HANA solution https://      :      /sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html

  • Find the tile catalog that contains the target mapping for the app   

    • You are only permitted to change custom tile catalogs.
    • If the target mapping is in a SAP delivered Business Catalog or Technical Catalog you will first need copy a reference to the target mapping into a custom tile catalog where you can configure it.
    • NOTE: For SAP delivered apps the original Business Catalog or Technical Catalog will be listed as part of the Implementation Information of the SAP Fiori app in the SAP Fiori apps reference library.

  • Configure the Target Mapping of the app to set the parameter value to the Default Value.      You do this in the Parameters section of the Target Mapping.

The format for the Default Value assignment is:
  • %%UserDefault      .      %%      for single value parameters
  • %%UserDefault.extended      .      %%      for extended values, i.e. where the user has maintained additional values and the app parameter accepts multiple values or value ranges.

You can find further details in the Fiori Launchpad Administration Guide in the section  Configuring Navigation Parameters with User-Specific Default Values  .
   Applying the Default Value in a Target Mapping  
In this example, you can see how the target mapping for the Post Incoming Payments app is configured with the default values for Company Code, Fiscal Year, Accounting Document Type, and Ledger Group.


You can see the format of the Default Value for Company Code in this close-up of the Parameters section.

If you set a default value for Company Code in Settings:

Then the default is applied to the Post Incoming Payments app.


   Applying Additional Values in a Target Mapping  
Some app parameters support extended values, where multiple values or value ranges can be provided for the same app parameter. In this example, you can see how the target mapping for the Manage Journal Entries app is assigned to extended default values for Company Code, Fiscal Year, and Accounting Document Type.

If you set Additional Values in Default Settings for Company Code:

Then the default value and the Additional Values are applied to the Manage Journal Entries app.

   NOTE:    If you have only maintained Additional Values and not a default value then just the Additional Values will be passed.
   How Default Values are Applied  
The default value will be passed to the app parameter whenever the app is launched     provided there is no overriding parameter value passed    , e.g. during navigation from another app.
   Default Values Delivered by SAP  
These are the currently available default values delivered by SAP as at September 2017, up to and including SAP S/4HANA Cloud 1708 and SAP S/4HANA 1709.
If you are coming from SAP Business Suite or Suite on HANA, you may want to map these to the equivalent SET/GET Parameter ID you know from SAPGUI so you can see those also.
And if you need to check the data type or length or other field-specific restrictions you can see the underlying Data Element id, so you can cross check that in the ABAP Dictionary e.g. using SAPGUI transaction     SE11    .

   Becoming a SAP Fiori for SAP S/4HANA guru  
You’ll find much more on our  SAP Fiori for SAP S/4HANA wiki
   Brought to you by the S/4HANA RIG     
   Default Value          Technical ID          Equivalent to SET/GET Parameter ID          Area          Underlying Data Element      
Account Assignment CategoryAccountAssignmentCategoryKNTMMKNTTP
Activity TypeActivityTypeLARCOLSTAR
Activity Type GroupActivityTypeGroupLSGCOLAGRU
Asset ClassAssetClassANKFIANLKL
Asset Main NumberMasterFixedAssetAN1FIANLN1
Asset SubnumberFixedAssetAN2FIANLN2
BankBankBNKFSCMFCLM_BAM_BANK_KEY
Bank AccountBankAccountBKTFSCMFCLM_BAM_ACC_NUM
Bank CountryBankCountryBKLFSCMBANKS
Bill-to partyBillToPartyVRESDKUNRE
BOM UsageBillOfMaterialVariantUsageCSVPLMSTLAN
Budget Entry Document TypeBudgetEntryDocumentTypeDOTYPSMBUED_DOCTYPE
Budget PeriodBudgetPeriodBUDPERPSMFM_BUDGET_PERIOD
Budget VersionBudgetVersionBP2PSMBUKU_VERSION
Business AreaBusinessAreaGSBFIGSBER
Business ProcessBusinessProcessKWPCOCO_PRZNR
Change NumberChangeNumberAENPLMAENNR
Chart of AccountsChartOfAccountsKPLFIKTOPL
Collection GroupCollectionGroupUDM_GROUPFSCMUDM_COLL_GROUP
Collection SegmentCollectionSegmentUDM_SEGMENTFSCMBDM_COLL_SEGMENT
Collection SpecialistCollectionSpecialistUDM_SPECIALISTFSCMBDM_COLL_SPECIALIST
Commitment ItemCommitmentItemFPSPSMFM_FIPEX
Company CodeCompanyCodeBUKFIBUKRS
Controlling AreaControllingAreaCACCOKOKRS
Cost CenterCostCenterKOSCOKOSTL
Cost Center GroupCostCenterGroupKSGCOKSGRU
Cost ElementCostElementKATCOKSTAR
Cost Element GroupCostElementGroupKAGCOKAGRU
Cost ObjectCostObjectKTRCOKSTRG
Credit SegmentCreditSegmentUKM_SEGMENTFSCMUKM_CREDIT_SGMNT
CustomerCustomerKUNSDKUNNR
Customer GroupCustomerGroupVKDSDKDGRP
Display CurrencyDisplayCurrencyFWSFIVDM_V_DISPLAY_CURRENCY
Distribution channelDistributionChannelVTWSDVTWEG
DivisionDivisionSPASDSPART
Document TypeAccountingDocumentTypeBARFIBLART
Exchange Rate TypeExchangeRateTypeKUTFIKURST
Financial Management AreaFinancialManagementAreaFIKPSMFIKRS
Financial Statement VersionFinancialStatementVariantBILFIFIS_FSVERSN
Fiscal YearFiscalYearGJRFIGJAHR
Functional AreaFunctionalAreaFBECOFKBER
FundFundFICPSMBP_GEBER
Funded ProgramFundedProgramFM_MEASUREPSMFM_MEASURE
Funds CenterFundsCenterFISPSMFM_FICTR
G/L AccountGLAccountSAKFIFIS_RACCT
G/L Account GroupGLAccountGroupFCOM_GL_ACCT_GRPFIKTOKS
G/L LedgerLedgerGLNFIRLDNR
House BankHouseBankFARP_HBKIDFSCMFIS_HBKID
House Bank AccountHouseBankAccountFARP_HKTIDFSCMFAC_HKTID
Internal OrderInternalOrderANRCOAUFNR
Key Figure GroupAssetAccountingKeyFigureSet
FIFAA_KEY_FIGURE_SET
Ledger Fiscal YearLedgerFiscalYear(GJR)FIFIS_RYEAR
Ledger GroupLedgerGroupGLDGRP_FLEXFIFAGL_LDGRP
Material GroupMaterialGroupMKLMMMATKL
Material NumberMaterialMATMMMATNR
Material TypeMaterialTypeMTAMMMTART
PayerPayerPartyKRGSDKUNRG
PlantPlantWRKMMWERKS_D
Profit CenterProfitCenterPRCCOPRCTR
ProjectProjectPSPCOPS_PSPID
Purchasing GroupPurchasingGroupEKGMMBKGRP
Purchasing OrganizationPurchasingOrganizationEKOMMEKORG
Sales GroupSalesGroupVKGSDVKGRP
Sales OfficeSalesOfficeVKBSDVKBUR
Sales OrderSalesOrderAUNSDVBELN_VA
Sales OrganizationSalesOrganizationVKOSDVKORG
SegmentSegmentFUCN_SEGFIFB_SEGMENT
Shipping PointShippingPointVSTLEVSTEL
Sold-to partySoldToPartyVAGSDKUNAG
Statistical Key FigureStatisticalKeyFigureSTACOSTAGR
Statistical Key Figure GroupStatisticalKeyFigureGroupPC5COSTAGRGRP
Storage LocationStorageLocationLAGMMLGORT_D
Supplier (Vendor)SupplierLIFMMVDM_LIFNR
Tax Is Calculated AutomaticallyTaxIsCalculatedAutomaticallyXTXFIXMWST
Valuation TypeControllingValuationTypeBWTCOBWTAR_D
WBS Element (external Number)WBSElementPROCOPS_POSID
Work CenterWorkCenterAGRMMARBPL

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
kdfa9232 发表于 2019-3-23 20:21:46 | 显示全部楼层
sap bw
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|克米亚sap论坛,sap账号,sap系统,sap ides,sap学习机,sap练习环境 ( 渝ICP备18002525号-5 )

GMT+8, 2019-4-22 04:45

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表