Crystal Reports Based on SAP Function Module and Transperant Tables
Hi,
I need to develop reports based on SAP trasperant tables and to filter the records I require to use one of the function module in SAP.
I have created parameters in Crystal reports that are required for the function to execute and are included in the where clause of the query. This helped the fuction to get those parameters and execute it.
The thing is that the fuction works fine with one set of parameters and gives accurate results both in SAP and Crystal Reports.
But fails for other set of parameters.
It works fine when we directly execute function in SAP produces a record set. But, when we pass those parameters from Crystal Reports it fetches no data.
Can anybody tell me the exact procedure to use function module and transperent tables together in Crystal Reports ?
Thanks in Advance.
Niwas Joshi
Hi,
This is going to be hard to explain, however you need to recognize that the function has input and possibly output (export) parameters. Crystal Reports is able to work with these parameters. However it is up to you to figure out how these parameters are used effectively to give you the correct results when joining the function with other data sources such as transparent tables.
If you're using transparent tables and functions in a Crystal Report, then you need to link these objects in such a way so that a left outer join for example is using the function's output parameters to join to the transparent table equivalent fields. However if the table is the starting point then the joins from the table should join the Input parameters of your function.
you can set these joins in the Database menu | Database Expert | Links of Crystal Reports.
Similar Messages
-
BUSINESS OBJECTS- Crystal Reports-based out of Function module
We are right now creating BUSINESS OBJECTS- Crystal Reports. Our client requirement is to create this report based out of u201CFunction moduleu201D.
With the current parameters settings at the Crystal Reports designer we are able to create the report based on View and Linking various table. The reports get executed and fetch data. But when we create a report based out of FM, the report returns nothing. The screen stays in u201CNot responding stageu201D and terminates after without any message/pop-up.
Can anyone please help us resolving this? Are there any parameters/settings to be done which we are missing?
Thanks,
PallaviHi Pallavi,
Not much info to go on. What version of Cr are you using?
What database and version are you using?
How are you connecting to the database, ODBC, OLE DB or native driver?
Have you turned tracing on the server to what SQL is being passed from CR?
Have you copied the SQL from Show SQL in the Designer and paste that into a DB SQL test tool to verify you should be getting data back and that you are not returning so much data it's going to take a week to get?
Not responding simply means CR is waiting for data, try being patient and see if you ever get data or add a Record Selection formula so you only get a few rows of data.
Try reporting off of a single table itself to verify it works and you have permission to run the SQL.
Thank you
Don -
SAP Functional Module for authorization tables
I would like to know are there any standard SAP Functional Modules which could update the Authorization Tables, like AGR_1251.
Thank youHi Prabhu,
Other than function modules with role, I had also tried to look for function modules with AuthObject*.
Because, I would like to update remove one of the authorization object from the system. For example, remove all data which AUTHORIZATION OBJECT = S_SCD0 and ACTIVITY = 06 in the system.
I got the list of functions from the search, but all of them are without proper documentations. So is very hard for me to understand their functionalities and purposes.
Kindly advice.
Thank you. -
Dear All!!!!!!!!!!!
I am new to SAP BO crystal reports.
I want to extract the data from SAP R3 tables and design the crytal report. When i tried to make a new connection;
We have lot of connection as OLAP;OLE DB and etc, I am not sure how to establish a connection between R3 tables and crystal reports. I cannot able to find documents too...
Is there any documents available to make the connection or can anyone help me out to figure this..........
Thanks in advance.
Regards,
Suman.Dear Efstratios Kara,
I installed SAP Integration Kit 3.1. Yes I installed the integration kit after installing CR.
I have uninstalled the earlier version and i have reinstalled CR with (12.3.0.601) version.
But still i cant view the SAP connectivity. can u tell me from which version they have included this connectivity option in CR.
If CR going to support SAP Table connectivity on specific version, what is that version.
Waiting for your reply.
Regards,
Suman -
Crosstab Crystal report based on SAP BW
Hi,
I'm working on CR 2011.
We have an existing BW query with custom Characteristics structure in the "Columns" section and a custom Key Figure structure in the "Rows" section in the BW query designer.
Cell editor has been used to define formulas of the cells.
We wish to build a crystal report on top of the query.
On the crystal report on top of the query we get the characteristics structure and individual key figure elements. As already discussed in multiple forum posts, this is the expected behavior.
We are using a cross tab and in the column section, I have put the "Characteristic" structure in the "columns" section in the crosstab using the crosstab expert. This leads to horizontal column headings as per expectation.
Within the characteristics structure we have multiple fields which description "%" with different formula's defined on the BW query designer. On the Crystal Report, when we get the columns in the crosstab, we get only a single "%" field. All other "%" fields are not visible.
A. Is there a way to get all fields in in case of same description?
I tried putting in the Key Figure elements in the "Rows" section, but was not able to get desired output.
The Columns are showing values (i.e. revenue figures) instead of the revenue parameters e.g. 'Total Sales CHF'
Experts: Can you advice how this report can be built?
Any help will be appreciated
Regards,
AFor example:
in field explorer ; under database fields --> i have one object :
--> Revenue
this object have another 3 sub-objects like:
---> Revenue value
---> Revenue formatted
---> Revenue unit -
Crystal reports from SAP function module
Hi,
How to create report based on SAP function module...
I tried it and succeeded for one function module... but i need single report for 3 function modules.
Please let me know i can get them,,, please....!!
When i select all 3, it showing links, what about Links??
Thank You!No one answered it so far...!!
-
Crystal Reports and SAP Function Modules
Hi
Am very new to Crystal Reports. Am developing a new report. my question is can I link a SAP FM on crystal and will it display the results on the FM on crystal.Hi,
yes Crystal Reports can leverage ABAP Functions. You can find the details in the documentation for the SAP Integration Kit
Ingo -
Crystal Reports Charting Issue with SAP Function Module
I created a custom SAP Function module that returns 2 tables. The first table (summary table) contains two columns, column "a" contains a grouping and column "b" is a quantity. The second table is the detail and is linked to the first table by the grouping, column "a" , in both tables. I can bring the function module into Crystal Reports, but cannot create a drill down using a pie chart off the summary table. When I go into the Chart Expert - Data Tab only the Advance button is active and the Group, Cross-Tab, and OLAP buttons are deactivated. First of all, is it possible to do this using a SAP Function Module, if yes, what am I doing wrong.
hello Jhess,
i am not sure if you found an answer for your question yet. if you have a Group and a Summary on your report (i.e. the Sum of your Quantity field) then group charts should be enabled.
cheers,
jamie -
Problem to run the Crystal report inside from SAP B1 based on SQL views.
Hello,
I have a problem to run my Crystal report inside from SAP B1 which is based on SQL views.And the SQL views are stored in a separate database in SQL server.The error which i am getting is saying the the tablename does not exist.What i need to do in order to sort this problem.
Great if somebody can help me to sort out this so that i can run my report based on SQL views stored on separate database other than SAP databases inside from SAP B1.
Edited by: rozenagrawal on Apr 19, 2011 11:51 AMTry using a SQL synonym in your company database for the views outside the company database. I don't know if SBO will let you get away with it, but its worth a shot.
If your company database is MyCompany and you have a view called MyView in Views database, assuming the view belongs to schema dbo, and you want the synonym to belong to dbo schema in your company database, run this:
Use MyCompany
go
create synonym dbo.OutsiderView for
Views.dbo.MyView
go
select * from OutsiderView
The select statement should return the contents of MyView in the Views database while you are connected to your MyCompany database.
For more info, see the Books Online for MSSQL on topic synonym.
You will need to change your CR options to include displaying synonyms along with tables, views, etc. You may also need to grant select to B1 users.
Edited by: Cindy Lange on Apr 21, 2011 4:00 PM -
Badi's, user exits, function modules and reports
Hi all,
Can anybody tell me the exact diff among Badi's, user exits, function modules and reports? I mean what are their functions?
thanksHi,
This is a beginners question,but still you can check the below links.
BAdis:
Regarding Enhancements/User-Exits in ABAP
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/779183#
FM:
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
Reports:
http://it.toolbox.com/wiki/index.php/How_many_types_of_reports_are_there_in_ABAP_and_what_is_the_difference_between_them%3F
Regards,
saurabh -
Crystal Reports access to SAP/CRM 6.0 with Integration with SAP Solutions
Hello,
we are running Crystal Reports 2008 with SAP CRM 6.0.
To boost productivity or Report writeing we need especially access to:
- Function Modules
- the CRM Business Objects Repository (Transaction SW01).
What kind of SAP/CRM ( or SAP / ERP ) Objects can be accessed with the Integration for
SAP Solutions ?
The BO Documentation [BusinessObjects XI Integration for SAP Solutions User's Guide|http://help.sap.com/businessobject/product_guides/boexir31SP2/en/xi31_sp2_bip_sap_user_en.pdf] does not give a clue if this is possible.
However, Ingo Hilgefort stated in his book that it is at least possible to access ABAP Functions, SAP Querries and SAP InfoSets.
What is the minimum product portfolio and the necessary Version - Can I install the following products stand alone ?
Crystal Reports 2008
Integration for SAP Solutions
Tomcat / Jaco
or
Must I need at minimum BO Edge and must install the CMS Server ?
Thank You
MartinHI,
What kind of SAP/CRM ( or SAP / ERP ) Objects can be accessed with the Integration for
SAP Solutions ?
here is also a blog about this:
/people/ingo.hilgefort/blog/2008/03/23/businessobjects-and-sap-part-4
However, Ingo Hilgefort stated in his book that it is at least possible to access ABAP Functions, SAP Querries and SAP InfoSets.
>> correct. It is also in the Installation Guide / User Guide for the SAP Integration kit. You can use ABAP Functions, ABAP / SAP Queries, InfoSets, Tables
What is the minimum product portfolio and the necessary Version - Can I install the following products stand alone ?
Crystal Reports 2008
BusinessObjects Integration for SAP Solutions
BusinessObjects Edge or BusinessObjects Enterprise
Ingo -
Launch a Crystal Report Based on a Bus. Objects Universe with code
Post Author: BobM
CA Forum: .NET
Launch a Crystal Report Based on a Bus. Objects Universe with code
We have purchased Business Objects Enterprise XI R2 and have designed a universe. We have hundreds of scheduled reports that have been configured through the InfoView. The problem is that we run these reports on a very odd date schedule and it is extremely cumbersome to go into these report definitions and change the dates in InfoView.
We would like to be able to store all the report parameters in a table (outside of the BO universe) along with the date and time we would like it to run. All of this would need to be tagged with the report name so we know what report we are referring to. Then we would like to sweep this table periodically (or use some other triggering mechanism) and launch the reports as specified (hopefully) using an API/SDK (like the one that used to be available with Crystal) to launch the .RPT file and pass all of the appropriate parameters, and possibly the credentials if need be.
In short we want to roll our own report scheduler due to some limitations we have found in the InfoView scheduler.
My main question is, does an API/SDK exist that can launch a crystal report that is based on a Business Objects Universe? As I had stated, it needs to be able to pass parameters in the report call. Based on my previous projects using Crystal connected directly to a SQL Server DB, I beleive this is possible, but I would like to hear from others that may be doing something similar with a Business Objects Universe back end.
We are using Crystal Reports XI R2. Just to be clear, all of the functionality I specified up to the point where the report needs to be called is not an issue, we know how to do all of that.
Thanks in advance,Bob
Code; API; Business Objects; Universe; Crystal; BO Enterprise X11; Crystal Reports XIWith the code, you've presumably logged on to the database. To insert objects on to a new report you'd want to use code along the following lines:
private void AddTableFromDataSet(ref CrystalDecisions.CrystalReports.Engine.ReportDocument rpt, System.Data.DataSet ds)
ISCDReportClientDocument rasReport = rpt.ReportClientDocument;
// Convert the DataSet to an ISCRDataset object (something the ISCDReportClientDocument can understand)
CrystalDecisions.ReportAppServer.DataDefModel.ISCRDataSet rasDS;
rasDS = CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.Convert(ds);
// Add the dataset as a data source to the report
rasReport.DatabaseController.AddDataSource((object)rasDS);
// Add a field to the report canvas
// Note: This is quick and dirty. No positioning, resizing, formatting, etc.
CrystalDecisions.ReportAppServer.Controllers.ISCRResultFieldController rfc;
CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable crTable;
CrystalDecisions.ReportAppServer.DataDefModel.ISCRField crField;
rfc = rasReport.DataDefController.ResultFieldController;
crTable = rasReport.Database.Tables[0];
crField = crTable.DataFields[2]; // Hardcoded field "Customer Name" in the Customer table from Xtreme Sample Database
rfc.Add(-1, crField);
// Save the report template to disk (without data)
//object path = @"c:\documents and settings\administrator\desktop\";
//rasReport.SaveAs("test.rpt", ref path, 0);
//MessageBox.Show("Done!");
For more info, see sample apps on the following link:
http://wiki.sdn.sap.com/wiki/x/IgBmBQ
Also, consult your 'Report Application Server .NET SDK Developer Guide" and "Report Application Server .NET API Guide". I'd provide the appropriate links, but you do not mention the version of CR you are using...
Thread moved to the '.NET - SAP Crystal Reports" forum.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
How to bulid a Crystal report based on Bex query as source
Hi,
I have requirment where the end user wants the query in Crystal.I built a Bex query in Bex query designer.I would like to know how to create crystal report based onthe Bex query.
Thanks,Hi
The Crystal Reports are integrated with BW such that the query built in BW can be used to bulit Crystal Reports on them.
After launching the Crystal Reports, you will have and option : "Open reprt from BW" whcih will help you in opening the BW Queries and create Crystal Reports.
Also in the Menu there is an optin SAP-->Create New Report from a Query
Regards, Hyma
Edited by: Hymavathi Yanamadala on Aug 13, 2009 5:52 AM -
Issues with Infoview data refresh on Crystal Reports based on BW BeX query
Hi all,
We applied the Business Objects XI3.1 fix pack 3.1 with Integration toolkit fix pack 3.1 in our environment.
After that we started having trouble with Crystal Reports based on BeX queries that use manual input variables.
The data refresh would not work in Infoview.
The data refresh would work using the Crystal Reports designer gui on local machine.
regards,
AbhishekHi all,
This thread is for the benefit of all the BW/BO people who faced issues with BO reports not working after certain fix pack installations.
After lot of time spent in debugging this and researching and some help from SAP, we found that BASIS had missed a step in the BO patching. This step was relating to applying some BW transports in the BW system related to the new Integration toolkit.
Please use below notes for the BW transport task of patching BOE Integration toolkit.
Refer to Note#1472104 which explains about loading the
transports when we install BO Service Packs or Fix Packs. Also please refer to the Note#1271751 for the advice on transports for BW systems.
Please go through page 206 (Configuring transports) in the SAP Integration Kit installation guide. You can download this document at below link.
https://websmp106.sap-ag.de/~sapidb/011000358700000559912010E/xi31_sp3_bip_sap_inst_en.pdf
Refer to Note#1345919 which explains about the process of loading transports for SAP IK.
regards,
Abhishek -
What is the difference b/w ALV Function Module and ALV Methods?
Hello Friends,
Can anybody help me in finding out the difference between ALV Function Modules and ALV methods?
Thanks & Regards
Sathish KumarHi Sathish,
Plz go through this info. It is very useful.
hi,
chk these excellent links.
http://www.geocities.com/mpioud/Abap_programs.html
http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
Simple ALV report
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
ALV
1. Please give me general info on ALV.
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
2. How do I program double click in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=11601
http://www.sapfans.com/forums/viewtopic.php?t=23010
3. How do I add subtotals (I have problem to add them)...
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
4. How to add list heading like top-of-page in ABAP lists?
http://www.sapfans.com/forums/viewtopic.php?t=58775
http://www.sapfans.com/forums/viewtopic.php?t=60550
http://www.sapfans.com/forums/viewtopic.php?t=16629
5. How to print page number / total number of pages X/XX in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
http://www.sapfans.com/forums/viewtopic.php?t=64320
http://www.sapfans.com/forums/viewtopic.php?t=44477
7. How can I set the cell color in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=52107
8. How do I print a logo/graphics in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=81149
http://www.sapfans.com/forums/viewtopic.php?t=35498
http://www.sapfans.com/forums/viewtopic.php?t=5013
9. How do I create and use input-enabled fields in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=84933
http://www.sapfans.com/forums/viewtopic.php?t=69878
10. How can I use ALV for reports that are going to be run in background?
http://www.sapfans.com/forums/viewtopic.php?t=83243
http://www.sapfans.com/forums/viewtopic.php?t=19224
11. How can I display an icon in ALV? (Common requirement is traffic light icon).
http://www.sapfans.com/forums/viewtopic.php?t=79424
http://www.sapfans.com/forums/viewtopic.php?t=24512
12. How can I display a checkbox in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=88376
http://www.sapfans.com/forums/viewtopic.php?t=40968
http://www.sapfans.com/forums/viewtopic.php?t=6919
Go thru these programs they may help u to try on some hands on
ALV Demo program
BCALV_DEMO_HTML
BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
BCALV_GRID_DEMO Simple ALV Control Call Demo Program
BCALV_TREE_DEMO Demo for ALV tree control
BCALV_TREE_SIMPLE_DEMO
BC_ALV_DEMO_HTML_D0100
OOPs:
Check this for basic concepts of OOPS
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/abap%20objects/abap%20code%20sample%20to%20learn%20basic%20concept%20of%20object-oriented%20programming.doc
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
Tabstrip
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20for%20tab%20strip%20in%20alv.pdf
Editable ALV
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20edit%20alv%20grid.doc
Tree
http://www.sapdevelopment.co.uk/reporting/alv/alvtree/alvtree_usrint.htm
General Tutorial for OOPS
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an%20easy%20reference%20for%20alv%20grid%20control.pdf
Rewords some points if it is helpful.
Rgds,
P.Naganjana Reddy
Maybe you are looking for
-
Title says it all. For some reason Verizon never charged my bank account for my bill but it says it is paid for. I'm all for getting a free month of cell service but I think it would be best if I get this fixed so I don't spend the money I was goin
-
Hi, I'd like to know how to delete a calendar event from my iPhone4 (iOS 5.1) calendar. The event was sent to me from a mobileMe synced iPhone4 (iOS 5.1) calendar and for some reason it was set to daily repeat forever. The event has been deleted from
-
RMAN-20260 error while trying to delete a backup piece
Hello, In my company we use Oracle 10g, backup managed by RMAN and integrated with TSM. In order to remove the old backup files, there is a delete script to do this. Basically this script: connect to RMAN catalog allocate channel for maintenance devi
-
How do i get connected to my earpiece set please
how do i connect my i phone 4 to rhe earpiece please cant find anywhere thanks in advance
-
Help... iTunes error report.....
I just bought the 30g iPod. when I got home, I installed the lastest itunes program. after I installed the program and go to open it, I get the message "itunes has encountered a problem and needs to close" when i click on the details it says "the ope