There are tax codes in purchase orders, invoice verification, and accounting documents, you need to obtain their corresponding percentages,
The data storage is created in A003 and KONP, and the following views are created:
@AbapCatalog.sqlViewName: 'ZSDV_R025_003_V'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: '税码的百分比清单'
define view ZSDV_R025_003_E
as select from a003 as a
inner join konp as b on a.mandt = b.mandt
and a.knumh = b.knumh
{
a.mandt,
a.mwskz,
b.kbetr
}
where
a.kappl = 'TX'
and a.kschl = 'MWVS'
and a.aland = 'CN'
In actual use, the obtained percentage value needs to be divided by 1000