Date into a Financial Reporting Report
Hi,
I'd like to have a field with a specific date in my report, this information could be taken from our time dimension, with the following structure:
Time Dimension
Month
-Weeks
this dimension crosses an user defined dimension called days, that contains the 7 days of the weeks.
how can i do, to resolve this problem?
Thanks
Paolo
yes it is not a possible untill and unless you have year fixed because Jan-Wk1-Monday may fall on any date.
Regards,
Rahul
Similar Messages
-
Not able populate correct data into fields in alv report
hi experts,
question: from delivery document number(likp-vbeln) go to delivery items to get lips-matnr,lips-lgort
TYPE-POOLS:SLIS.
TABLES: MARC,LIPS,LIKP,VBAK,VBAP,VBRP.
SELECT-OPTIONS:S_VKORG FOR LIKP-VKORG,
S_VBELN FOR LIKP-VBELN,
S_MATGR FOR MARC-MATGR,
S_AUART FOR VBAK-AUART.
DATA: BEGIN OF ITAB OCCURS 0 ,
MATGR LIKE MARC-MATGR,
MATNR LIKE LIPS-MATNR,
LGORT LIKE LIPS-LGORT,
WADAT_IST LIKE LIKP-WADAT_IST,
AUART LIKE VBAK-AUART,
WAVWR LIKE VBRP-WAVWR,
KWMENG LIKE VBAP-KWMENG,
VBELN LIKE LIKP-VBELN,
VBELN LIKE VBAK-VBELN,
<GORT TYPE LIPS-LGORT,
END OF ITAB.
DATA: BEGIN OF JTAB OCCURS 0,
VBELN LIKE VBAK-VBELN,
END OF JTAB.
DATA: I_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
I_EVENTCAT TYPE SLIS_T_EVENT WITH HEADER LINE.
START-OF-SELECTION.
SELECT AMATNR ALGORT INTO TABLE ITAB FROM LIPS AS
A INNER JOIN
LIKP AS B ON BVBELN EQ AVBELN WHERE BVBELN IN S_VBELN AND BVKORG
IN
S_VKORG.
ENDSELECT.
*I_FIELDCAT-COL_POS = 1.
*I_FIELDCAT-FIELDNAME = 'VBELN'.
*I_FIELDCAT-TABNAME = 'ITAB'.
*APPEND I_FIELDCAT TO I_FIELDCAT.
*CLEAR I_FIELDCAT.
I_FIELDCAT-COL_POS = 1.
I_FIELDCAT-FIELDNAME = 'MATNR'.
*I_FIELDCAT-TABNAME = 'ITAB'.
I_FIELDCAT-REF_TABNAME = 'MATNR'.
I_FIELDCAT-REF_TABNAME = 'LIPS'.
APPEND I_FIELDCAT .
*CLEAR I_FIELDCAT.
I_FIELDCAT-COL_POS = 2.
I_FIELDCAT-FIELDNAME = 'LGORT'.
*I_FIELDCAT-TABNAME = 'ITAB'.
I_FIELDCAT-REF_TABNAME = 'LIPS'.
APPEND I_FIELDCAT .
*CLEAR I_FIELDCAT.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_STRUCTURE_NAME =
IS_LAYOUT =
IT_FIELDCAT = I_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = I_EVENTCAT[]
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = ITAB
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
i am unable to populate correct data into fields i am getting matnr values as all 1's
and lgort as empty
can anyone help me out
thanks.HI there
This is what i found on the Forum
"You can use FM RS_VARIANT_CONTENTS to display ONE variant associated to a report
If you want to see the information of ALL VARIANTS associated to a report I think the only way is checking table VARID to get all the variants associated to the report and then do a loop and call RS_VARIANT_CONTENTS for each variant."
Regards
Tatenda -
Problem in Insertion into table through After Report Parameter form trigger
Hi All,
I am getting problem in inserting some data into temp table through Report.
My requirement is like that, I have to do a calculation based on user parameters, and then insert the data into the temp table. I wanted to do this into After Report Parameter form trigger function. I have done all the calculation and wrote all the insert statement in that function. There is no problem in compilation. then I am taking value from this temp table in my formula columns.
When I run this report, it hangs, don't understand what is the problem.Can anybody help me out in this.
Thanks,
NidhiThe code is as follows:
function AfterPForm return boolean is
CURSOR CUR_RECEIPT(RECEIPT_NUM_FROM NUMBER, RECEIPT_NUM_TO NUMBER) IS
SELECT DISTINCT receipt, item_no FROM xxeeg.xxeeg_1229_sp_putaway WHERE RECEIPT BETWEEN
RECEIPT_NUM_FROM AND RECEIPT_NUM_TO ;
V_CUR_RECEIPT CUR_RECEIPT%ROWTYPE;
begin
OPEN CUR_RECEIPT(:RECEIPT_NUM_FROM, :RECEIPT_NUM_TO);
FETCH CUR_RECEIPT
INTO V_CUR_RECEIPT;
LOOP
EXIT WHEN CUR_RECEIPT%NOTFOUND;
IF V_CUR_RECEIPT.ITEM_NO = 'TEST1' AND V_CUR_RECEIPT.RECEIPT = '12' THEN
INSERT INTO SP_TEMP
(RECEIPT, ITEM_NO, LOCATION1)
VALUES
(V_CUR_RECEIPT.RECEIPT, V_CUR_RECEIPT.ITEM_NO, 10);
UPDATE SP_TEMP
SET LOCATION2 = 12
WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
UPDATE SP_TEMP
SET LOCATION3 = 13
WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
UPDATE SP_TEMP
SET LOCATION4 = 14
WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
ELSE
IF V_CUR_RECEIPT.ITEM_NO = 'TEST2' AND V_CUR_RECEIPT.RECEIPT = '12' THEN
INSERT INTO SP_TEMP
(RECEIPT, ITEM_NO, LOCATION1)
VALUES
(V_CUR_RECEIPT.RECEIPT, V_CUR_RECEIPT.ITEM_NO, 10);
UPDATE SP_TEMP
SET LOCATION2 = 16
WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
UPDATE SP_TEMP
SET LOCATION3 = 17
WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO =V_CUR_RECEIPT.ITEM_NO;
UPDATE SP_TEMP
SET LOCATION4 = 18
WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
ELSE
INSERT INTO SP_TEMP
(RECEIPT, ITEM_NO, LOCATION1)
VALUES
(V_CUR_RECEIPT.RECEIPT, V_CUR_RECEIPT.ITEM_NO, 10);
UPDATE SP_TEMP
SET LOCATION2 = 19
WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
UPDATE SP_TEMP
SET LOCATION3 = 20
WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO =V_CUR_RECEIPT.ITEM_NO;
UPDATE SP_TEMP
SET LOCATION4 = 21
WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
END IF;
END IF;
END LOOP;
COMMIT;
CLOSE CUR_RECEIPT;
return(TRUE);
end;
..................................................................................................................... -
Extracting/Reporting on SEM data into BW
Hi Experts,
I have new requirement of reporting on SEM-PDCE.
For this I have to fetch data of SEM PDCE into BW.
Can you please provide me links or steps how to do that.
I hve never work in SEM.
IF anybody has documents relating to SEM or SEM PDCE or extraction of SEm data into BW, please mail me at
[email protected]
Please help me out in this..
THanks in advance
SorabhHi Sorabh,
Here is the extract from sap site.
SAP Strategic Enterprise Management (SAP SEM) delivers end-to-end capabilities to support the entire performance management life cycle
this has following facilities:
Business planning and simulation -- Capabilities for strategic planning, financial statement planning, and investment planning enable you to update budgets more frequently, meet changing business conditions, and combine traditional, bottom-up budgeting with top-down strategic planning. SAP SEM also encourages a more collaborative budgeting and planning process -- while helping you integrate and align strategic, operational, and financial plans.
Business consolidation -- Capabilities for currency translations, automated eliminations, and performance calculations support financial reporting standards required for consolidations, such as U.S. and local Generally Accepted Accounting Principles (GAAP) and International Accounting Standards (IAS). SAP SEM also helps you implement management consolidations based on user-defined organizational units and user-defined hierarchies.
Strategy and performance management -- SAP SEM helps you translate strategies and objectives into meaningful plans for every segment and department of your enterprise. Capabilities for use of the Balanced Scorecard, value-based management, and risk management enable business users to make proactive decisions and understand how individual functions or organizations are contributing to the broader corporate strategy.
Stakeholder relationship management -- SAP SEM provides support for communicating enterprise strategy, current plan data, and strategic initiatives to the different stakeholder groups. Capabilities for portal-based investor polling and information collection, as well as analysis and modeling of stakeholder feedback, facilitates the two-way communication needed to incorporate stakeholders into strategic management processes.
link to documentation
http://help.sap.com/saphelp_sem40bw/helpdata/en/3a/c670373bbf0303e10000009b38f842/frameset.htm
Also go through these links.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap%20bw%20business%20planning%20and%20simulation%20-%20how%20to%20guides%20list.htm
https://websmp202.sap-ag.de/sem
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/enhancements%20bw-bps%20formerly%20sem-bps%20in%20sapnetweaver%2004.ppt
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d90209f-0501-0010-59a2-9243ac94a4d7
Also there are some good threads on this topic
what is the difference between BW 3.5 BPS and SEM BPS 4.0
BW- BPS and SEM- BPS
SEM-BPS VS BW-BPS
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/s-u/sap%20bw%20business%20planning%20and%20simulation%20-%20how%20to%20guides%20list.htm
https://media.sdn.sap.com/public/eclasses/teched04/BW253_files/Default.htm#nopreload=1
https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/3040dd5d-0501-0010-baa8-fc0aafa88c40 [original link is broken]
http://help.sap.com/bp_biv235/BI_EN/html/BW/CostCtrPlan.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/enhancements%20bw-bps%20formerly%20sem-bps%20in%20sapnetweaver%2004.ppt
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d90209f-0501-0010-59a2-9243ac94a4d7
http://help.sap.com/saphelp_nw04/helpdata/en/05/242537cedf2056e10000009b38f936/frameset.htm
http://help.sap.com/bp_biv335/BI_EN/html/BW/CostCtrPlan.htm
http://help.sap.com/bp_biv335/BI_EN/html/BW/SalesPlan.htm
Re: SEM 5.0 Installation guide
Re: Merge an SEM-BPS System to BW System
SEM/BW integration into Enterprise Portal?
SEM 4.0 with BW 7.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
Re: SEM vs BW
http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/44/b21f98be886a45a4bb7e123e86e4c2/content.htm
Re: SEM 5.0 Installation guide
Re: Merge an SEM-BPS System to BW System
SEM/BW integration into Enterprise Portal?
SEM 4.0 with BW 7.0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/d-f/frequently%20asked%20questions%20-%20planning%20with%20sap%20netweaver%20bi.faq#q-6
Re: SEM vs BW
***pls assign points,if links are useful**
Regards
CSM Reddy -
Search data into ResultSets to genrate a complex report
Hi,
I am writing a report called "Product Flow". The report headings are follows
prodcode prod name opening qty purchase_qty sales_qty closing_qty
=============================================================
To achieve this, I need to know the products, their opening qty, their purchase qty, sales qty and finally I will I will calculate the closing stock.
All this information is into different tables. I want to create 4-5 resultsets and then take the prodcut's resultset and scroll into it, take product one by one and then search its details into other resultset of opening, purchase and sales resultsets
How can I do it with resultsets? can anyone guide me? I am very much new for Java.
Thanks
OMkarDear,
Evenif I use SQL join. While designing the report finally, do I not have to write some code to compare and search some data into various resultsets or some kind of collections?
For example, in the above report, when I want to display report on screen, I will have to take the list of product and then search its values into tables and display it on the screen. So for this, do I not have to take the resultset of product table (rs) which will give me a list of product.
use while (rs.next()) >
take each product code
search the values in other resultsets (to search these values in actual table may be time consuming becasue of huge size of table. If there are 500 products in the table, I will have to use the table for 500 times using SQL.
Finally display the report on screen.How can I get more information about the collection type of resultset as u mentioned in the first reply? I will read the tutorials on SQL joins as you suggested and see if I can use it for this report.
Thanks for the reply. I would high appreciate if you can guide me to achieve my aims of project I am doing my studies.
Regards
OMkar -
Loading complex report data into a direct update DSO using APD
Dear All,
Recently, I had a requirement to download the report data into a direct update DSO using an APD. I was able to perform this easily when the report was simple i.e it has few rows and columns. But I faced problems If the report is a complex one. Summing up, I would like to know how to handle the scenarios in each of the following cases:
1. How should I decide the key fields and data fields of the direct update DSO ? Is it that the elements in ROWS will go to the
key fields of DSO and the remaining to the data fields? Correct me.
2. What if the report contains the Restricted KFs and Calculated KFs? Do I have to create separate infoobjects in the BI
system and then include these in the DSO data fields to accommodate the extracted data ?
3. How do I handle the Free Characteristics and Filters ?
4. Moreover, I observed that if the report contains selection screen variables, then I need to create variants in the report and
use that variant in the APD. So, if I have 10 sets of users executing the same report with different selection conditions, then
shall I need to create 10 different variants and pass those into 10 different APDs, all created for the same report ?
I would appreciate if someone can answer my questions clearly.
Regards,
D. Srinivas RaoHi ,
PFB the answers.
1. How should I decide the key fields and data fields of the direct update DSO ? Is it that the elements in ROWS will go to the
key fields of DSO and the remaining to the data fields? Correct me.
--- Yes , you can use the elements in the ROWS in the Key fields, but in case you get two records with same value in the ROWS element the data load will fail. So you basically need to have one value that would be different for each record.
2. What if the report contains the Restricted KFs and Calculated KFs? Do I have to create separate infoobjects in the BI
system and then include these in the DSO data fields to accommodate the extracted data ?
Yes you would need to create new Infoobjects for the CKF's and RKF's in the Report and include them in your DSO.
3. How do I handle the Free Characteristics and Filters ?
The default filters work in the same way as when you yourself execute the reoprt. But you cannot use the Free characterisitics in the APD. only the ROWS and cloumns element which are in default layout can be used.
4. Moreover, I observed that if the report contains selection screen variables, then I need to create variants in the report and
use that variant in the APD. So, if I have 10 sets of users executing the same report with different selection conditions, then
shall I need to create 10 different variants and pass those into 10 different APDs, all created for the same report ?
--- Yes you would need to create 10 different APD's. Its very simple to create, you can copy an APD. but it would be for sure a maintance issue. you would have to maintain 10 APD's.
Please revert in case of any further queries. -
Adding data into a custom table through a report transaction
Is it possible to add data into a table through a report transaction. I have been asked to create a report in which when we add certain data in the selkection screen it updates thoses particular fields and the rest of the records can be fille dout in the output. Basically I have a customised allocation table called zalloc. I have to create a report with selection screen having receiving plant, material document of the original transfer psoting , issuning plant , line item number , batch, receiving and issuning storage location. I need to validate this against the mseg table and whatever entry I make in teh selection screen should update my zalloc table from here.
Can anyone help me with this please.
ThanksHi Aarav,
Yes, It is possible to add records to a table using a report transaction. You can use Update or Modify to insert records in a table.Convert the data fetched from the ZALLOC and convert it into an internal table of the same format as that of the ZALLOC table and simply do an
loop at itab_zalloc into wa_zalloc.
*INSERT INTO ZALLOC FROM WA_zalloc*.
endloop.
OR
INSERT ZALLOC FROM TABLE ITAB_ZALLOC
OR
UPDATE ZALLOC FROM TABLE ITAB__ZALLOC .
Update will modify if that record exist and returns sy-subrc as non zero if entry does not exist.
OR
MODIFY updates an existing DB entry or, in no matching entry exists, inserts a new entry into the DB table -
I am running Lookout 5.0 and have recently purchased the Labview Report Generation Toolkit for Microsoft Office to create reports from my Lookout logged data. Since I have never used Labview I am having my problems. I tried following the tutorials but they do not seem to be examples of what I want to do.
I log rainfall totals (1 spreadsheet)in Lookout from 40 different sites in 5 minute increments. I copy these totals and paste them into another spreadsheet which sums them up to give me hourly totals and then paste those totals into a spreadsheet for distribution.
In Labview I create a new report and use the distribution sheet as my template, but how do I complete
the steps of loading the raw 5 minute data into labview and then paste it into the hourly total spreadsheet and then transfer those totals into the distribution template?
I have been trying to figure this out for over a week, and I am getting nowhere.
Any response would be appreciated.
Thanks
Jason P
Jason PhillipsLookout saves the files in .csv form which can be opened in Excel. I did make some progress by using the "append table to report" vi which allowed me to put values into an array and then those values were entered into my template on my report vi.
Where I am stuck now is I want to be able to put values into my template from a .csv file, not from an array I have to manually put numbers in.
Once those values are in my template I want to pull summed values from the template and place them into a final excel file for printing.
I have attached examples of the files I am working with to help you better understand what I am trying to do.
I hope that makes sense.
Jason Phillips
Attachments:
HourlyTotalsTemplate.xls 120 KB
eb_rain_gauge_ss.csv 23 KB
EastBankHourlyRainReport.xls 28 KB -
Writing data from BW-IP into BW to be reported instantly in BPC 7.5 NW
Dear all,
we are currently designing an integrated BPC 7.5 NW / SAP BW planning environment. Due to various restrictions part of the plan data is supposed to be collected via SAP BW-IP. This is a must have-requirement.
At the point of time when the data is entered via SAP BW-IP we want to be able to report those numbers out of SAP BPC.
For my understanding with BPC 7.5 NW the "BPC world" will have/require specific cubes in the BW system below, which is the same for the BW-IP environment.
Therefore our first guess for this issue would be, that once an user enters data via BW-IP a BW-IP planning functionality writes those data into both cubes (BW-IP cube and BPC cube). We have seen this in a shared SEM BPS / BCS environment earlier, where SEM BPS wrote / copied data directly into the BCS cube. Therefore our expectation is, that the same might be possible for a shared BPC / BW environment.
Is this a feasible scenario from your point of view or are you aware of any other "best practise" on an issue like this?
Any thoughts shared would be highly appreciated.
Thank you
ChristianChristian,
No, using IP aggregation levels to write into a cube in the BPC namespace is not a supported scenario. The rule of thumb is that no customer development is supported against objects in the BPC namespaces. It is technically possible to do this (in your example, putting an aggregation level on top of a BPC cube), but it is highly un-advisable as the BPC cube can be deleted and recreated without warning and it is not guaranteed to have the same technical name in all environments, so you may not be able to transport aggregation levels.
So what do you do? I think you are either going to need to move all your data input into BPC (I know you say this is not acceptable, but it is something to keep in mind), give up on the requirement for instant reporting in BPC on the BW-IP input data and push data to BPC periodically, or face a very complex custom development task against unpublished APIs (i.e. if you mess up your BPC installation you'll probably be on your own).
Without more detail about the problem you are trying to solve, it is hard to recommend which is the best solution, but in general I'd recommend staying away from the custom development option.
Ethan -
Hi,
Is there a way to include the UDF in the items master data into the <<Inventory In Warehouse Report (Detailed)>> PLD?
I checked the default layout and found out all the column source type is "free text" and the content is #Item, how do I know the value of the UDF?
ThanksHi,
Some of the standard reports are hardcoded in sap. Not possible to add UDF field in PLD.
Also refer this thread Variables - Sap business one
Thanks & Regards,
Nagarajan -
How to load the data from informatica into bw & how to report the data
Hi friends,
how to load the data from informatica into bw & how to report the data
using cognos.(i.e how to access the data in sap bw using cognos 8 BI suite).
Thanks,
madhu.Inorder to report BW data into Cognos you can extract data from using Open Hub to the DB table from which Cognos reads.
For BW informatic integration refer following docs:
http://www.aman.co.il/aman/pfd/DataInteg_BR.q103cd.pdf.pdf
http://h71028.www7.hp.com/enterprise/cache/3889-0-0-225-121.html
http://devnet.informatica.com/learning/ePresentations.asp
http://72.14.203.104/search?q=cache:C741L86Q19oJ:devnet.informatica.com/showcase/resources/Essbase_DataSheet.pdfinformaticapowerconnect(BI)&hl=en&gl=in&ct=clnk&cd=3
http://www.informatica.com/customers/utilities_energy/fpl_group.htm
http://www.informatica.com/solutions/resource_center/technote_sapbw_65241004.pdf#search=%22Informatica%20to%20Bw%22 -
SAP HR data retriveal into LDAP using ABAP Report
Hi ,
Does anyone have an idea for extracting SAP HR Employee data into LDAP (Directory based service)by using any abap report and function module
RohitI'm also interested...
@Rohit Kumar Shukla
Did you already receive an answer?
Kind regards,
Mario Möllenbeck -
Step- by- Step on How to Load Excel data into Crystal Reports?
Hi Friends,
Can anyone send me a Step- by- Step on How to Load Excel data into Crystal Reports? Pls help me. Thanks in Advance.
VijayIt's also important to 'prep' the excel file prior to connecting to it.
Give the data tab a meaningful name
Make sure the column headers are unique and that every column has a header
Delete any blank tabs
If you have trouble with Excel changing the data type of a field (say, a social security number you want to be a string value rather than a number so you don't lose leading zero) an alternative would be to save the spreadsheet file as a CSV, create a schema.ini to specify the data types for each column (example below) and use the same steps to connect except instead of choosing Excel 8.0, scroll to the bottom and choose Text. You have to make sure the CSV file is in the same folder as the schema.ini file that defines the columns.
Schema.ini example:
200912PUSD.csv
ColNameHeader=True
Format=CSVDelimited
MaxScanRows=25
CharacterSet=OEM
Col1=SSN Char Width 9
Col2=LAST_NM Char Width 25
Col3=FIRST_NM Char Width 25
Col4=DOB Date
Col5=STDNT_ID Char Width 10
Col6=SORTKEY Char Width 10
Col7=SCHOOL_NM Char Width 30
Col8=OTHER_ID Integer
Col9=GRADE Char Width 2
The filename in the first line needs to have the [] brackets around it, but I couldn't get it to display in this forum correctly.
Edited by: Eric Petersen on Jan 27, 2010 9:40 AM -
Is it possible to insert data into two Excel worksheets using Report Generation Toolkit?
I'm using the toolkit to insert data into two separate worksheets in Excel using named cells. The problem is that it tends to favor one sheet or the other. In other words, one sheet will have data and the other no data and vice versa. (Sometimes I get data in both sheets.) Is there something I can do to clear this up or is what I'm trying to do unreasonable? I would like to use two worksheets so one sheet receives text and data. The other sheet is used to format the data into a printable report. (i.e. using Excel's CONCATENATE function) The second (report) sheet is also used to receive plots (JPEG files) from LabVIEW. I'd send the plot images to the first sheet, but I can
not see a way to automatically transfer images from sheet to sheet. I'm using LV 7.1, Win2000 and Toolkit v.1.0.1Hi,
You can use the "Excel Get Worksheet.vi" under All Functions >> Report Generation >> Excel Specific >> Excel General to specify a particular worksheet as the current worksheet. Then, you can specify which worksheet you want to write to in your VI.
Let me know if you have any further questions and good luck!
Kileen C.
NI -
Insert data into table from report
hello
I have a report with "Forms Letter"style. I want to create 2 buttons say "APPROVE" and "CHANGE". When clicked on "APPROVE" button I want to insert some data into the table. And When Clicked on "CHANGE" button, I want to call one form. I am using oracle10g.
Oracle 10g doesn't support button. Then what is the solution for my problem.
Bye....as you correctly stated, reports does not provide buttons but you could use hyperlinks. openign a form, however, will be tricky. everything nees to be URL based.
thanks,
philipp
Maybe you are looking for
-
Will an Xbox 360 Wired Controller Work with an iMac G5?
I was just wondering, because my friend got it to work with his new iMac (the current one). If it does, does anyone know how to set it up? Please reply. Thanks.
-
i have installed BOXIR 3 and when i open <local host>:8080 , then it says page cannot be found or IIS. Make sure you have punched in the correct URL. I configured the tomcat that we were using, instead of that shipped with BO. Can some one help me ou
-
Removing/substituting a "missing font" from a document
Hey all! I removed some unused fonts from my system, and now some of my Pages documents raise up the "missing font" error on opening, although all styles used in the document use the fonts that are in the system. Perhaps some of the blank paragraphs
-
Selection Screen validation for date
Hi, I have a date in Select option s_budat which is a mandatory field The Criteria for validation is 1) The start date should not be older than current date minus 8 weeks. Otherwise error message should appear: EN: Start date is older than 8 weeks 2)
-
Intall Oracle Provider for OLeDB version 8.1.6.2.0
I have one pb while Installing Oracle Provider for oledb Vers 8.1.6.2.0 (Os: Windows98 Compaq computer) /win32/Setup.exe occurs Windows Error Error Message (in french) : Jrew a cause defaillance de page dans le module JAVAI.dll Dou you think that the