Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Latest commit

 

History

History

ex1

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Exercise 1 - Creating an extension of generic report definition

In this exercise, we will learn how to define a document of format "TXT" which would contain the VAT line items

1.1 Creating an extended report definition

  1. Click on the "Define Statutory Reports" app

Design Time 1

  1. Go to "Report Definition" tab

Screenshot 2022-10-27 at 9 30 19 PM

  1. Click on "Add"
  2. Select the radio button "Enhanced" and mark the checkbox "Do you want to extend an existing report definition"
  3. For the "Reference Report Definition" field, use the value-help and choose the report definition "ADV_VAT_RET_SUMMARY".
  4. Enter a meaningful name in the field "New Report Definition" and click on "Continue"

Screenshot 2022-10-27 at 9 31 22 PM

1.2 Defining a query on the data source which would return the VAT line items

  1. Click on "Edit"

Screenshot 2022-10-27 at 9 31 51 PM

  1. Step 1 and Step 2 can be skipped as the requirements do not warrant any adjustments here
  2. Under Step 3 - Query Definition, click on "Add"

Screenshot 2022-10-27 at 9 32 12 PM

  1. Enter a meaningful Query ID and click on continue

Screenshot 2022-10-27 at 9 32 29 PM

  1. Under "General Properties", provide a meaningful description

Screenshot 2022-10-27 at 9 33 37 PM

  1. Select the "Data Source Type" as "CDS View"
  2. Search for the CDS view "I_STRPTAXITEM" and select it

Screenshot 2022-10-27 at 9 34 14 PM

  1. Under the now visible "Filters" section, set the filters as following:

    • Search for CompanyCode and set the toggle as true
    • Under "Define Filter Conditions", Select "Report Parameter", "Equals" from the drop downs and select "CompanyCode" from the "Report Parameter" value- help
    • Search for "ReportingDate" and repeat the above steps
    • In the "Report Parameter" value-help, select "Reporting Date"
    Screenshot 2022-10-27 at 9 34 14 PM

Screenshot 2022-10-27 at 9 35 04 PM

  1. Click on "Activate"

1.3 Creating a file/document of format 'TXT' which would contain the VAT line items

  1. Go to Step 4 - Document Definition and click on "Add" and select "Add with schema/query"

Screenshot 2022-10-27 at 9 35 58 PM

  1. Under "Document Id", provide a meaningful document id

  2. Select "Document Type" as "TXT" and continue

Screenshot 2022-10-27 at 9 36 19 PM

  1. Under "General Properties", provide a meaningful document name
  2. Check the radio button "Create using query" and select the query id created in the previous step
  3. In the "New Schema" pop-up, click on "Select Columns" and in the next pop-up select all the columns and click on "Continue"

Screenshot 2022-10-27 at 9 36 59 PM

Screenshot 2022-10-27 at 9 37 14 PM

Screenshot 2022-10-27 at 9 37 47 PM

  1. Click on "Activate"

1.4 Defining the delimiter ";"

  1. Under "General Properties", in the "Delimiter" field, maintain ";"

Screenshot 2022-10-27 at 9 38 10 PM

  1. Click on "Activate"

Screenshot 2022-10-27 at 9 38 30 PM

Summary

You have now created an extended report definition which would generate a text file that would contain the VAT line items delimited by ";"

Continue to - Exercise 2 - Creating a custom report category