Symptom
When trying to enable the 'Billing Document Item to Market Segment' scenario for Custom Field in business context Sales: Billing Document Item (SD_BILLINGDOCITEM), the error "Custom Field YY1_XXXX: Invalid Type Code List based on CDS View for Business Context Accounting: Market Segment" is triggered.
Environment
SAP S/4HANA Cloud Public Edition
Cause
Custom Field Type "Code List based on CDS View" is not supported in Market Segment context.
Resolution
The available Field Types for this scenario are: Text, Numerical Text and Code List.
Note: If you add custom fields using the type Code List, values must always be written in upper case. It is technically possible to enter values that are not written in uppercase. But then postings are no longer possible in Financial Accounting, for example, you are no longer able to save goods issues or invoices.
See Also
Keywords
Custom field, billing document item, SD_BILLINGDOCITEM, FINS_MARKET_SEGMENT, market segment, code list based on cds view, type code, invalid. , KBA , CO-PA-2CL , Profitability Analysis (Public Cloud) , BC-SRV-APS-EXT-FLD , Custom Fields , CO-PA , Profitability Analysis , Problem