on ‎2013 Dec 14 1:59 PM
How to run SQL query in SAP EC (environmental creation) for reporting? Also, where I can access the SAP EC database in order to understand the Table structure for report creation?
Request clarification before answering.
Dear Varun
Take the developer help for defining & execution of SQL Query , Generally we use T.Code SQVI . I Hope defination part your are already done any how cross the check the below steps once again in query defination
You have to define the contents(Data Source) of report in SQL statement with appropriate restrictions .So it will describes which data is extracted from the system.
Create query variants You can create new query variants that define the layout of the query. The following settings are possible:
Executing pivot query You can execute the pivot query to get the chart regarding the query variant settings. Within the chart, the following functions are available:
for your second question "where I can access the SAP EC database in order to understand the Table structure for report creation?
For table structures information see note 1427501. It has some pdf's of table structures in EC attached.
Balajee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks balajee for your inputs.
I also have one more question. I am working on a existing report in SAP EC that requires making some changes in .xdp file. I made changes in .xdp file using Adobe Live Cycle and when I was trying to regenerate the report after uploading the changed .xdp file I am getting an error mesage "Errors while creating report An error occurred during PDF rendering" in SAP EC.
Please assist.
Dear varun
Go through the below link for analyzing your error message. it may helps you for resolving your issue
Adobe Rendering Error (SAP Library - SAP NetWeaver? Problem Analysis Guide (PAG))
Balajee
Varun,
Regarding Checkbox Binding Value in .xdp file - Have you uploaded the output of XSLT sample file in Adobe Data connection. If not please re-execute the Report with the required Report variant and get the XML downloadable file and then upload the same in Input XSLT transformation in Adobe Life cycle designer Data Connection. Once uploaded choose the required checkbox in Adobe design and assign the binding value from the report (which will automatically be seen in binding value tab once you have created the Data Connection).
For understanding XSLT code - just check the XML Data Source for the particular report and verify what are the tables and filed names are included.
Thanks Vinoth for your reply. The report I am working on has a SQL data source. Are there any documentation available to understand the SAP EC database since I am finding it difficult to follow the SQL query before understanding the EC database?
What I have is the EC table structure which is very complex and difficult to understand.
Kindly Assist.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.