I_PL_SAFTGeneralSettings

DDL: I_PL_SAFTGENERALSETTINGS Type: view BASIC Package: GLO_FIN_IS_SAFT_PL

SAFT PL General Settings

I_PL_SAFTGeneralSettings is a Basic CDS View that provides data about "SAFT PL General Settings" in SAP S/4HANA. It reads from 1 data source (snc_pl_bc) and exposes 15 fields with key fields CompanyCode, ValidityEndDate. Part of development package GLO_FIN_IS_SAFT_PL.

SAP Help Documentation

CategoryFinance
StatusReleased
Purpose
This CDS view provides the special company configuration data to be included in the SAF-T PL reports.

Prerequisites
Users must have the authorization to access the data of the required company code.

Structure
Measures and attributes The data is date-dependent. Some important attributes are: REGON Registration Number District Name Sub-district Name Company E-Mail Address Tax Office Code

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
snc_pl_bc snc_pl_bc from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IPLSAFTGENSET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Metadata.ignorePropagatedAnnotations true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label SAFT PL General Settings view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode bukrs Value
KEY ValidityEndDate endda Valid To
ValidityStartDate begda Valid From
PL_SAFTAccountSelectCriterion main_alt_acct Account
PL_SAFTAccountingViewType fi_view GL View
EmailAddress E-Mail Address
PL_OfficialEntityRegistration regon REGON
PL_CompanyDistrictName district District Court
PL_CompanySubDistrictName sub_district Sub District
PL_TaxOfficeCode tax_office Tax Office Code
BusinessType Business Type
PL_EstonianCITIsUsedForSAFT cit
char1asPL_EstonianCITText
PL_IFRSForSAFTIsUsed ifrs
char1asPL_IFRSText

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_PL_SAFTGeneralSettings.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW I_PL_SAFTGeneralSettings AS
SELECT
  bukrs AS CompanyCode,
  endda AS ValidityEndDate,
  begda AS ValidityStartDate,
  main_alt_acct AS PL_SAFTAccountSelectCriterion,
  fi_view AS PL_SAFTAccountingViewType,
  cast(file_email as abap.char(241)) AS EmailAddress,
  regon AS PL_OfficialEntityRegistration,
  district AS PL_CompanyDistrictName,
  sub_district AS PL_CompanySubDistrictName,
  tax_office AS PL_TaxOfficeCode,
  cast(business_type as abap.char(30)) AS BusinessType,
  cit AS PL_EstonianCITIsUsedForSAFT,
  cast(case when cit = 'X' then '1' else ' ' end as abap.char(1)) as PL_EstonianCITText AS char1asPL_EstonianCITText,
  ifrs AS PL_IFRSForSAFTIsUsed,
  cast (case when ifrs = 'X' then '1' else ' ' end as abap.char(1)) as PL_IFRSText AS char1asPL_IFRSText
FROM snc_pl_bc
;