Documente Academic
Documente Profesional
Documente Cultură
Nishant Ranjan
Software Design Description
Authors:
Devendra A M
Advanced Compliance Reporting
in S4/HANA - CDS Views for AR
Printing Of Last Official Documents
Number Range
CPro Title :
1.0
1.1
INTERNAL / CONFIDENTIAL
Final version:
Statutory Reporting Framework in S4/HANA - CDS Views for Turkey Ba/Bs VAT Forms
Hidden Text contains important useful hints on how to fill in the template. Activate / deactivate these texts
by pressing the following button in MS Word toolbar:
Contents
1 General Information ______________________________________________________ 4
1.1 Stakeholders and Roles ______________________________________________________ 4
1.2 References _________________________________________________________________ 4
1.3 IP Compliance and Patents ___________________________________________________ 5
2 Design _________________________________________________________________ 6
2.1 Key Requirements and Design Goals ___________________________________________ 6
MRD ____________________________________________ Error! Bookmark not defined.
2.2 Context ____________________________________________________________________ 6
2.3 Major Building Blocks________________________________________________________ 7
2.4 Package/Development Component Concept _____________________________________ 7
3 Design Details Documentation _____________________________________________ 8
3.1 Document Selection Integration _______________________________________________ 9
3.2 Testability and Test Environment _____________________________________________ 10
3.3 Guide to the Implementation _________________________________________________ 10
3.4 CDS Design Questions ______________________________________________________ 11
3.5 Glossary __________________________________________________________________ 11
3.6 Customizing _______________________________________________________________ 11
3.7 Other _____________________________________________________________________ 11
1 General Information
1.1 Stakeholders and Roles
Role Name
Author(s) Varsha Raikar
Architect Devendra A M
Product Owner Nishant Ranjan
Information Developer
Quality Responsible (QE/QPE) Soumadeep Das
IMS Representative
Test Developers
< other relevant roles>
1.2 References
Com
Document Dat men
Title e Link ts
ACD \dwdf213.wdf.sap.corp\aci_lob_soh\49_Simplified_Suite\30_Workstreams\22_G
lobalization\Reporting Framework\ACD\s-
innovationsStatutoryReportingFramework_ACD_current.docx
https://wiki.wdf.sap.corp/wiki//pages/viewpage.action?pageId=1622949909 =>
view types
https://wiki.wdf.sap.corp/wiki//pages/viewpage.action?pageId=1577443213#S%
2F4HANAArchitecture-S%2F4HANAArchitectureGuideline
Testing https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?pageId=1617514695
https://wiki.wdf.sap.corp/wiki/display/ABAPUnit/Avalon
In addition, consider patents: Does your design extend the current state-of-the-art in any way? If you think so,
or even if you think it might, please go to the 'Patents@SAP' Wiki and follow the process described there. Not
only is it required of all employees to notify SAP if they make an invention, but participation in the SAP patent
program is rewarded in several ways (including money) – so by taking part in the SAP patent program, you can
help SAP protect its innovation and receive recognition along the way.
2 Design
2.1 Key Requirements and Design Goals Commented [AMD1]: Explain about the required XMl
Commented [AMD2]: Mention the mapping of XML nodes
Due to Argentine legislation, information regarding the last issued official document number must be provided
to complete a customer’s tax declaration. For a chosen period, the report ‘Last issued official document
number (J_1AFONR) prints the last used official document number for self-issued official documents .
This information is displayed for every combination of document class, branch and printing characters
available in the system.
Requirement :-
Assignation of number ranges and numbering groups for self-issued document types.
The period of time where the report looks for the documents have a initial and a final date in the screen :
2.2 Context
By utilizing the capabilities of ABAP CDS, we enable code push down. The vision is to make a
“CDS Views” public interface that caters to Official Number Range
report requirements.
The ABAP CDS Views architecture for statutory reporting is based on the following
architecture:
GLO_FIN_IS_VAT_AR for CDS views Commented [AMD3]: Create a new package with
appropriate name <GLO-FIN-IS-*-TR->
Super Package: GLO_FIN_IS
2. C_AR_StRpLatestRefDocLogCube
Selects from the view P_AR_BranchPrintChar
JOINS: LEFT OUTER JOIN TO P_AR_BranchPrintCharOfRefDoc
5. P_AR_BranchPrintCharOfRefDoc
Selects from the view P_AR_LengthOfRefDoc
6. P_AR_LengthOfRefDoc
Selects from the view I_ACCOUNTINGDOCUMENT
Query Definition:
CDS View Name: C_AR_StRpLatestRefDocLogQuery
SQL Name: CARREFDOCLGQ
3.1.6 BRF+ Details Commented [AMD5]: Explain the need for BRF+
Following are the CDS Views created to enable TR_VAT B-Forms reporting:
1. C_AR_StRpLatestRefDocLogQuery
Selects from table C_AR_StRpLatestRefDocLogCube
3.5 Glossary
Term Abbreviation Definition
Ba Ba Purchase related information that needs to
be reported
Bs Bs sales related information that needs to be
reported
3.6 Customizing
3.7 Other