Logic like Pivote Table for Report
hi,
I have followin fields in my internal table
Location Tranfer Structure Date Size
INDIA /BIC/TS3 03.07.2005 130
NW /BIC/TS3 03.07.2005 30
NW /BIC/TS2 02.07.2005 20
NW /BIC/TS1 01.07.2005 110
UK /BIC/TS3 03.07.2005 20
UK /BIC/TS2 02.07.2005 20
UK /BIC/TS1 01.07.2005 10
And i want to print like
Location T.S 01.07.2005 02.07.2005 03.07.2005
INDIA /BIC/TS3 130
NW /BIC/TS1 110
/BIC/TS2 20
/BIC/TS3 30
UK /BIC/TS1 10
/BIC/TS2 20
/BIC/TS3 20
Can any 1 help me out for this ?
Also How to how to export data into Excel??
Thanks
cool
you need to use control break statements
at new <location>
write location
endif .
write transfer, structute date size
for excel download use gui_download function.
search the forum for sample coding.
Regards
Raja
Similar Messages
-
SAP Report Painter - SAP tables for report items and hierarchy
Hello,
can you pls. help me with an information about the list of SAP tables for Report Painter, particularly the tables where the report items/positions and report hierarchy are stored?
for example, for the Report Writer report items and report hierarchy can be found in T8* tables.
What are these tables for Report Painter?
thank you in advance for any info.
Regards,
Jasminka
Edited by: Jasminka Vlahovic on Dec 29, 2010 8:53 PMHi Jasminika ,
Could you please share with me those tables names where report items and hierarchy are saved
Regards
Neeraj -
Dynamic query table for report based on LOV selected
Hi,
Need some suggestion and guidance how to dynamically query table via lov for report .
Scenario:
Table, TABLE_LIST, has tablename (table in DB) and filter (for where clause) column. The TABLENAME_LOVE is derived from table TABLE_LIST.
SELECT TABLENAME D, TABLENAME R FROM TABLE_LIST
In Page 2,a page select list item,P2_TABLENAME to use TABLENAME_LOV
All data in tables in the table_list have identical structure (columns, triggers, primary key, and so on).
I want to have the report region query from the table based on selected LOV.
Example,
Tablename Filter
TB1
CD2 ACTIVE='Y'
When select TB1, the report regin will query based on TB1.
When select CD2, the report regin will query based on CD2 WHERE ACTIVE='Y'
Question:
How can I query based on &P2_TABLENAME. WHERE &P2_FILTER.
Like
select col1, col2 from &P2_TABLENAME WHERE &P2FILTER
Greatly appreciate any suggestion and some guidance.
TigerwapaHi,
You should always post your Apex version, DB version and other information as suggested in the FAQ.
And the moment you talk report you should state whether it is IR or Classic.
As for your query, have you explored the Report type "SQL Query (PL/SQL function body returning SQL query)" ?
That might be a good fit for what you are trying to achieve.
Regards, -
Please help to find table for report S_ALR_87013558 (budget commitment)
Dear SAP Guru,
How can i find the table that store the value for report S_ALR_87013558 ?
Many thanks in advance.
NiesTABLES: RPSCO_X, COIX, COIX_DATA40, RKB1X, RKB1F, RKB1D.
PROJ, PRPS_R, ACT01, AUFK, VBAK, TCNDB, VSKOPF, IMTP, IMPR,
TCNDBT. -
Hello everybody, I am a SQL server DBA and I am planning to implement table partitioning on some of our large tables in our data warehouse. I
am thinking to design it using the sliding window scenario. I do have one concern though; I think the staging tables we use for new data loading and for switching out the old partition are going to be non-partitioned, right?? Well, I don't have an issue with
the second staging table that is used for switching out the old partition. My concern is on the first staging table that we use it for switch in purpose, since this table is non-partitioned and holding the new data, HOW ARE WE GOING TO USE/access THIS DATA
FOR REPORTING PURPOSE before we switch in to our target partitioned table????? say, this staging table is holding a one month worth of data and we will be switching it at the end of the month. Correct me if I am wrong okay, one way I can think of accessing
this non-portioned staging table is by creating views, which we don’t want to change our codes.
Do you guys share us your thoughts, experiences???
We really appreciate your help.Hi BG516,
According to your description, you need to implement table partitioning on some of our large tables in our data warehouse, the problem is that you need the partition table only hold a month data, please correct me if I have anything misunderstanding.
In this case, you can create non-partitioned table, import the records which age is more than one month into the new created table. Leave the records which age is less than one month on the table in your data warehouse Then you need to create job to
copy the data from partition table into non-partitioned table at the last day of each month. In this case, the partition table only contain the data for current month. Please refer to the link below to see the details.
http://blog.sqlauthority.com/2007/08/15/sql-server-insert-data-from-one-table-to-another-table-insert-into-select-select-into-table/
https://msdn.microsoft.com/en-us/library/ms190268.aspx?f=255&MSPPError=-2147217396
If this is not what you want, please provide us more information, so that we can make further analysis.
Regards,
Charlie Liao
TechNet Community Support -
Showing Zero values in OLAP Pivot Table for Excel 2007
Hello,
I needed a help to a problem. Is it possible to show the values with No sales in an Olap Pivot Table ??
I have a sales Cube, and brwsing it via excel i wanted to filter on a Product Category and see how many products in this category had made no Sales. By default the Pivot table doesn't shows the empty values, so if i check the Showm empty rows option for
Pivot Tables, i see the whole of the products populated with and without sales, and i can't filter further. Is there a way i can only get those which have no sales.
Vinish ViswanathanHappy Holidays,
I can slice on product categories in Excel 2013 with these settings for the Pivot Table:
Activate "Show items with no data for rows and columns"
Apply a value filter that says that the measure should filter on values = 0
Have the product natural hierarchy on rows with levels product category->subcategory->product.
Expand the levels below product category
Use the product category attribute and not the hierarchy as the filter.
I do not have Excel 2007 installed anymore.
HTH
Thomas Ivarsson -
Find table for report creation
if i want to create a report, i nedd to give field name and table name to the ABAPer, which i try to find by pressing F1 in that field.But many times its structure.In this case how can i find the exact table?
Dear Sandip,
After double clicking on the Data element---Where -used List -tables--
execute---suppose if the system gives you more number of tables,then here by
reading the description of the table,try to pick or else cross check whether in that
table for that field its storing some values.
No need to execute each table by giving inputs.Simple give the table name and
after going into the table click on number of entries,by this way you will be able to
short list.
I hope this can help you to some extent.
Regards
Mangal -
Hi all,
Can anybody please let me know in which db table the details of the Report Painter are stored?
If I have a Transaction Code, I want to know if that transaction code is created for Report Painter or not through program not through SE93.
I have to create a report on all Z Transaction Codes.
Thanks in advance.Hi Mr.A ,
while creating tcode for report painters we will take option PARAMETER Transaction code , so based on the transaction type u can find out from the same tables - TSTCP or TSTC.
regards
Prabhu -
Can we combine the two tables for Report Painter
Hi,
For making the report in Report Painter, I am not getting all the required characteristics and Key figures all in one table / Library.
The required ones are in Table KKBC, GLT0 and CCSS.
Is it possible to combine these tables and make a new one so that I can create the Library and can use that Library while making the report in Report Painter.
Or is there any other work around to get the my required charcateristics and Key Figures so that I can make the report easily?
I dont want to go through ABAP route.
Kindly help.
Regards
KamiThanks Bulut for your reply,
But by going through View creation involves ABAP help, that I dont want.
However, is it poosible to use View while creating the reports in Report Painter? I am not sure.
I want to know whether can we create a table which is used for report painter, so that I can use for creating the Library and then the reports.
I hope you understand my point.
Regards
Kami -
Queries/tables for reports
How do we find what tables/columns is being used by OEM under the Performance tab (for each target).
When we click on specific target and then on Performance (after entering the userid/pwd), it displays specific information like
Host
-->Runnable processes
Average active sessions
-->Active Sessions
Instance Disk I/O
Instance Throughput
Cluster Host Load Average
Global Cache Block Access Latency
Database Throughput
Is there a way to add our own metric performance and display it along with this OEM webpage...(just curious)...
Thank youThank you...
Is there any documentation on the calculations behind how the underlying graphs/reports are arrived at ?
I found some information on the Average session load in one of the webminar's but couldn't find any documentation on the other metrics ...
Thank you... -
I am trying to make an ABAP report where the standard price for a particular material (row) will be shown broken down into cost components (columns).
Can you please advice from which tables should I pull the info for cost components. I have tried table KEKO and KEPH but didnu2019t find it in their. Can you please state the table and the name of the fields.
Cost components include:
Active, Raw, Pkg. Comp, Direct Labor, Additive Cost and Overhead@ Srikanth Munnaluri
Currently the client dosen't use COPA. However it would be nice if you could explain in a bit of detail as to how COPA would solve that problem. Actually we need to make a case before the management as to how COPA would help us solve the issues we are currently facing to justify it's implementation.
@ other experts on the forum.
If you guys can exactly tell me what tables are needed to pick fields like Standards broken down into cost components, previous year standards and Budgeted production volume.
Edited by: NIK83 on Feb 23, 2009 8:11 PM -
Pivoting records for reporting using streams
Hi
I would like to use streams for pivoting a records.
I have a table called employees
Dept Name
10 Larry
10 Ray
10 Philips
20 Winston
20 Gayle
Whenever records are inserted or updated or deleted in the employee table .
i would to like to pivot the records and populate a employee_report table.
Dept Name(clob feild)
10 Larry,Ray,Philips
20 Winston,Gayle
Pivoting can be done in using straight sql and ETL tools but we want to explore if this can be done using
streams and my version of Oracle is 10.2.0.4 and but open to upgrade to higher versions.
regardsHow are you going to pivot it? The result of the COUNT will be 1. What operation will Streams perform at the target database?
Will it subtract from one count and add to another?
How?yes, it will.
I don't tell that is the best solution, but at least it works and easy to implement. And ones again - everything depends on requirements.
that's your source table as I understand:
PRO LINE_NUMBER CUST ORDER_DATE DELIVERED_DATE
747 733 NWO 02-OCT-2011 13:56:16 12-JAN-2014 13:56:16and after update:
PRO LINE_NUMBER CUST ORDER_DATE DELIVERED_DATE
737 733 NWO 02-OCT-2011 13:56:16 12-JAN-2014 13:56:16and that is the target structure - let's say airplanes_report table:
before update:
PROGRAM_ID AAL DAL NWO ILC
747 0 0 1 0after update:
PROGRAM_ID AAL DAL NWO ILC
737 0 0 1 0
747 0 0 0 0so, the dml handler would do (by UPDATE on airplanes):
1. take from LCR "old" and "new" program_id value.
2. take "old" (or "new" - doesn't matter) customer_id (NWO in this case) from the same LCR
3. substract 1 from NWO value in airplanes_report table where "old" program_id
4. add 1 to NWO value in airplanes_report table where "new" program_id
that is. -
Hi,
I need to develop some FM reports (using ABAP), Can anyone give me list of FM BCS tables which can be used in reporting.
Thanks & Regards,
JyotiHi Jyoti,
The totals are stored in FMBDT for budget and in FMAVCT for AVC.
The budget lines are stored in FMBDP (FMBH for headers).
All the commitments and actuals tables are the same as were for FBS.
Regards,
Eli -
Hi
I need to develop a report with following information. The report should have current status. For example if 5 approvers have to approve the document then the report should show at the end all 5 approvers and the status.
Approver name , Approval status (Approved / rejected) , Approval date (Workitem execution date).
I looked in several tables but i dont find the approval status and approval date. Can anyone help me in finding the exact workflow table were i can find this informations.
Thanks
ShreeHi,
Refer the below link,
[Workflow Tables|Workflow Table;
[Workflow User Substitution Utility|https://wiki.sdn.sap.com/wiki/x/0j0]
[WORKFLOW TRACKING|https://wiki.sdn.sap.com/wiki/x/OIADAw ]
[Workflow - Display users assigned to Rules|https://wiki.sdn.sap.com/wiki/x/GYGWAw ]
Regards,
Surjith -
Infosets on cProject tables for reporting
Hello Gurus,
I want to create an infoset based on projects and its associated tasks for crystal reporting purposes. Is there a specific table where can i get the task details and statuses to support an infoset creation? The table TJ02 has all the statuses however the table doest have any common fields to link to other tables.
What other approaches would you suggest for this requirment?
Thanks,
VinnieHi
Using SE 16 - be referring DPR* - you can get the relavant tables related to cProjects.
DPR_TASK Tasks
DPR_TSK_TYPE Task Type
DPR_TSK_TYPE_T Texts for Task Type
DPR_CP_STAGE_T Texts: Stage/Category
DPR_PHA_TYPE Phase Type
DPR_PHA_TYPE_T Texts for Phase Type
DPR_PHASE Phase
DPR_PRIORITY Priority
DPR_PRIORITY_T Description of priority
DPR_PRO_CATEG Project Category
DPR_PRO_CATEG_T Texts for Project Categories
DPR_PRO_TYPE Project Type
DPR_PRO_TYPE_C Project Type
Hope this helps and you can search by referring the above table to use in the infoset.
Regards
PP
Maybe you are looking for
-
How to Fetch the Row value in SBO Formatted search
Hi Experts, I have created a Sales order, in which i have 4 UDF Fields(A,B,C,D) in the following: Example values: A B C D 2 2 4 4 3 2 6 10 C=A*B D=1st value of D + 2nd col value of C i have written query for C, but how to write the For
-
Hello Experts When I drill down a report according to Characteristics( ship_to and sold_to) The report is displaying following Messege"abort System error in Program Cl_RSDM_READ_MASTER_DATA and form_sidval_drect_" and the report is disconnecting from
-
EasyIn.java - Who's the author?
Hi people, newbie poster so please excuse any dumbness... A couple of years ago I was given a EasyIn.java file as part of a practical Introducing me to Java. For the last couple of years, whenever I've needed some simple input from the command line,
-
Awk script to check condition.[SOLVED]
11:50:37.302 I AlertAppli oid 178371182, priceChange 300, percentChange 4, elapsedTime 1000 need to get the price and percent and check if price > 5000 and percent > 5 #!/bin/gawk -f BEGIN { pxChange=length("priceChange")+2; pcntChange=length("percen
-
Problems with recent calls on iPhone 5
I still cannot find a reasonable reason / solution for a couple fo problems with my iPhone 5, both regarding the Recents Calls list. 1. Some of the received/outbound calls do not actually appear 2. Sometimes it is just frustrating not to have them so