Business Objects Formulas
I am trying to sum data from several different fields in a query. For example if a name exists in this field with values then sum them up. The maximum number of fields is 3 where this name can reside. I am exporting into a functioning PDF so the end user can click on a name and it displays a report for them. Right now in order to display the name at the header of the report I am using =[field]. So the other fields I am bringing in only display the values associated with that one field when I need the values where the name exists.
Plese post your query to the [WEBI|SAP BusinessObjects Web Intelligence; forum then.
And don't forget to close this thread.
- Ludek
Similar Messages
-
How to WorkDay() Excel Function in Business Objects Web Intelligence 12.2.7
Hi,
I am calculating OTD SLA metrics using the Business Object Web Intelligence, but I am stuck with the WorkDay() how to use this in BO, as it is available in Excel. Requirement is that I need to add business days (Saturdays and Sundays should not be considered) to a particular date. Greatly appreciate if some one can help me immediately as this is high priority right now and need to complete it <REMOVED_BY_MODERATOR>. Thank you, Shiv. Thanks in advance.
Edited by: Pravender on Nov 22, 2010 11:18 AMThank you for trying to reply.
What exactly I need is that:
Example:
11/19/2010 + 3 this should give me the date 11/24/2010 which is actually excluding Sat and Sun and adding only the business days to the date.
Please provide me full formula
Thanks in advance, Shiv -
Error in Business Hrs Formula u2lcom.dll is missing
Hi,
I have recently migrated a Crystal Reports 10 Ent system to a Business Objects Crystal Enterprise XI R2 system.
I have one problem with it which seems to be a mismatch in code and u2lcom.dll.
One of my users gets the following error when creating and running a report:
Error in file xxxx Error in formula <Business Hrs>
wdaysClass1wdLoadFile ("C:\wdays.txt) UFL u2lcom.dll that implements this function is missing.
I have installed Crystal Reports XI on a workstation, opened the report and tested the formula and it gives the same error.
However, if i copy older dlls from c:\windows\crystal on the user's machine (he has versions 8.5, 10 and 11.5 of CR installed!) to my machine and register them it then works with no errors.
The version of u2lcom.dll copied over is 8.0 and the version is installed with CR XI is 11 and is in common files\bus obj\3.0\bin\
Is there a way of me recompiling the function or report to use the newer dll? i really don't want to have to use older dlls on the server!
Any help would be greatly appreciated. I can paste the code from the formula if needed?
Edited by: Ben Marshall on Nov 5, 2008 1:14 PM
Edited by: Ben Marshall on Nov 5, 2008 1:44 PMwdaysClass1wdLoadFile ("c:\wdays.txt") ;
datetimevar Start:= {Command.OPEN_TIME};
datetimevar End:= currentdatetime;
timevar defaultstarttime:= time(8,0,0);
timevar defaultendtime:= time(18,00,0);
stringvar workingdays:= "-23456-";
datevar startdate:= date(Start);
timevar starttime:= time(Start);
datevar enddate:= date(End);
timevar endtime:= time(End);
numbervar HrsInAWorkDay:= hour(defaultendtime) - hour(defaultstarttime);
While wdaysClass1wdIsWorkDay (startdate, workingdays) = FALSE do
(startdate:= startdate +1; starttime:=defaultstarttime);
While wdaysClass1wdIsWorkDay (enddate, workingdays) = FALSE do
(enddate:= enddate +1; endtime:=defaultstarttime);
if endtime < defaultstarttime then
endtime:= defaultstarttime;
if endtime > defaultendtime then
endtime:= defaultendtime;
if starttime < defaultstarttime then
starttime:= defaultstarttime;
if starttime > defaultendtime then
starttime:= defaultendtime;
numbervar totaldays:= wdaysclass1wdnumworkdays(startdate,enddate,workingdays);
numbervar hours_fulldays:= (totaldays - 2) * HrsInAWorkDay;
numbervar hours_FirstDateTime:= hour(defaultendtime) - ((hour(starttime)*60) +minute(starttime))/60;
numbervar hours_LastDateTime:= (hour(endtime) + (minute(endtime) / 60)) - hour(defaultstarttime);
hours_fulldays + hours_FirstDateTime + hours_LastDateTime; -
Looking for a tool to search text fields in about 1000 reports installed on Business Objects Xi R3
Hi,
i am looking for a tool, program that can search all our reports installed on Business Objects Xi R3 for specific content in text fields and formulas.
We used a couple of years ago .rpt inspector, that worked pretty well for our purpose.
Unfortunately this is Win XP & Win Server 2003 only, so we can't reuse it anymore.
(I know there are way of getting WinXP that in a VMware, but that is not an option in our company.)
So i am interested , if there is another tool out there, which can help us?
regards Alex
btw we are using Business Objects XI R3 (SP7) with reports deisgned on crystal reports designer 2008Hi,
i am looking for a tool, program that can search all our reports installed on Business Objects Xi R3 for specific content in text fields and formulas.
We used a couple of years ago .rpt inspector, that worked pretty well for our purpose.
Unfortunately this is Win XP & Win Server 2003 only, so we can't reuse it anymore.
(I know there are way of getting WinXP that in a VMware, but that is not an option in our company.)
So i am interested , if there is another tool out there, which can help us?
regards Alex
btw we are using Business Objects XI R3 (SP7) with reports deisgned on crystal reports designer 2008 -
Business Objects XI 3.0
Hi All
Is somebody working with the german version of Business Objects XI 3.0 and is do kind to send a pdf. file of the help in german.
Thanks and best regards,
MichaelHello Michael,
I recommend to post this query to the [Crystal Reports Design|SAP Crystal Reports; forum.
This forum is dedicated to topics related to the creation and design of Crystal Report documents. This includes topics such as database connectivity, parameters and parameter prompting, report formulas, record selection formulas, charting, sorting, grouping, totaling, printing, and exporting but also installation and registering.
It is monitored by qualified technicians and you will get a faster response there.
Also, all Crystal Reports Design queries remain in one place and thus can be easily searched in one place.
Best regards,
Falk -
Dynamic Drill Column Fill Business Objects Release 2
Hi,
I have a requirement where in I need to populate the column dynamically based on what is in the section as the report is drilled down to various levels.
Below is the example of what is the requirement :
2001 ( This is a section on Year and drillable)
State Sales Revenue
California 100
Arkansas 46
2001 Total 146
When I click on 2001 ...the report will drill down to Quaters
Q1
California 20
Arkansas 20
Q1 Total 40
What I am trying to achieve is display Q1 Total dynamically. Although it sums properly I need to show it as Q1 Total.
At present whatever formula I use only keeps it as 2001 Total no matter however deep I drill....but it sums properly.
Below are the differnt codes I tried :
=If(DrillFilters([Year )= " " ;(If(DrillFilters([Q1] )= " ";"Fun"; [Q1])) ;[Year])
Please let me know if there is a way to acheive this. I am using Business Objects Release 2
Thank you,
boe userHi Rakesh,
Thank you for the response. I would request if you could possibly give me more details of how would I need to use the alerter considering the above case.
Thank you,
boe user. -
Converting Crystal Report to Business Objects
I am looking at a requirement to convert some Crystal Reprts to Business objects. Perhaps one who has done this can advise some of the issues here. What is straightforward and not, how to go about, how do you convet formulas,. etc
Which Business Objects product are you looking to convert to? WEBi, DESKi, other?
If so there are no conversion utilities, reports would have to be rewritten. If the Crystal Reports were based off of a Universe then the same Universe could be used but a new webi or deki report written from scratch. -
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 -
Data federator in business objects
Hi,
What is the use of data federator in business objects.
Regards,
GHI,
The only option in this case is to 1) use Business Objects' Data Federator to bring XYZ data and BW (new) data together, 2) creating a relational universe, and 3) creating Crystal / WEBI reports using the relational universe; see Picture 1.
>> You can also combine the data by using a MultiProvider in BW which is access the data in BW and the data in the legacy system and an additional alternative is to move all the data into BW.
After 20 years goes by, and we no longer need to report on data housed in XYZ anymore, the environment will be turned off.
1) When this happens, wouldn't we want to remove Data Federator and the relational universe from the scenario ?
>> That depends on the approach you took
Ingo -
SAP Log on into Business Objects server not working (Error FWB 00014)
Hello,
I recently installed Business Objects XI 3.1 Edge series, I am able to logon to enterprise and everything is working fine. I am even able to import roles from SAP system but I have two problems.
1. Logging on to enterprise using SAP user: I am getting the following error message when I choose SAP in the Athentication and enter SAP username and password and click log on.
"Account Information Not Recognized: All of your system's 0 Concurrent Access Licenses are in use at this time or your system's license key has expired. Try again later or contact your administrator to obtain additional licenses. (FWB 00014)".
2. Logging on to SAP system through SAP Logon pad: When I enter my username and passord in SAP system from the same server as I installed BusinessObjects I am getting a run time error.
Did any one of you had the same problem or does any one of you have any clue how to solve this?
Thanks in advance.Hi,
I assume that you have a key for named licences (You can check this in the CMC under Licence keys).
What you need to do is to go in the CMC, navigate to Authentication->SAP->Options and select the Named users option.
Regards,
Stratos -
What is the diffrence between BAPI and RFC and business object
Hi Experts,
Can anybody tel me what is the diffrence between RFC and BAPI , and also what is ther relation with business object?
Thanx in advance.
Nilesh HiwaleHi,
BAPI's are associated with Business Objects and also they are RFC enabled.
But RFC's are the FM's which can be called from external systems, those FM's can be used in many places based on the applications..
Check these Links
whats the difference between BAPI and RFC??
Diff. Between BAPI and RFC
Regards
Kiran -
BI-IP and Business Objects?
Please refer to the thread:
BI-IP and Business Objects?Ian,
reading through the messages, there seem to be a few questions that are raised. After attending SAP Financials 2008, here is what I got from it:
1. IP vs BPC: IP is still in production and will be developed (no commitment on time though. I was told somewhere between 18-24 months before it goes to maintenance mode). There is some functionality difference from BPC and right now these are two separate products. There is a talk of a possible integration in the "distant" future
2. BPC is in process of being developed for BI, but currently it is only running on top of Microsoft SQL server. The BI version is slated to be released June 28th, but majority of the experts are fairly pessimistic about that date.
Now, the main question is what will happen to IP when BEx and BO tools converge into one - based on my understanding, we are going to see ADDITIONAL functionality. Since all the WAD and Excel activities are based on BEx API's, it is highly unlikely that they are going to be dismissed in the new product. The process in which we assign functions/commands to the planning model might change, but I think only for the best
Pavel -
Values from Structure used in Form to be transferred to a Business Object
Hello,
I have defined a structure (zcsks) in the workflow container. This structure is used in two forms (Change and Approve).
With the approval (button pressed on approve form) the data entered in the structure zcsks has to be transferred to the business object ZBUS0012 in the workflow container, so that the business object method CREATE can be executed automatically.
The values for the structure ZCSKS is already transferred from the form to the workflow container automatically.
My question now is how I can transfer values from ZCSKS to ZBUS0012 and execute its method CREATE automatically ?
Thank you in advance!Hello,
"Value of expression '&_WI_OBJECT_ID.COSTCENTER&' cannot be used as the target of an assignment"
This is because you are trying to assign a value to an attribute of the main object of a workflow (_WI_OBJECT_ID).
That won't work. I thought you meant you had an object in the workflow container and wanted to
instantiate that.
When the workflow is created the main object is already instantiated so you can't change it.
regards
Rick Bakker
Hanabi Technology -
Performance issue with Business Objects Java JRC API in CRXI R2 version
A report is developed using java JRC API in CR XI release 2. When I generate the report in the designer, it took less than 5 seconds to display the results in crystal report viewer inside the designer. But in the QA environment, when I generate the same report from the application, it takes almost 1 to 1.5 minutes to display the same results in PDF. I also noticed that if the dataset contains bigger volume of data, then the reports are taking even longer almost 15 to 20 minutes.
While generating the report from the application, I noticed that most of time is taken during the execution of the com.crystaldecisions.report.web.viewer.ReportExportControl Object method as shown in following line of code
exportControl.processHttpRequest(request, response, context, null)
We thought the delay in exporting the report to PDF might be the layout of the report and data conversion to PDF for such a bigger volume of data.
Then we investigated the issue and experimented quickly to generate the same report with same result set data from the application using XML, XSL and converted the output XSL-FO to PDF using Apache FOP (Formatting Objects Processor) implementation. The time taken to export the report to PDF is less than 6 seconds. By doing this experiment, it is proved that the issue is not with conversion of data to PDF but it is the performance problem with Business Objects Java JRC API in CR XI R2.
In this regard, I searched for the above issue in the SAP community Network Forums -> Crystal Reports and Xcelsius -> Java Development -> Crystal Reports. But I did not find any answers or solutions for this kind of issue in the forums.
Any suggestion, hint in this matter is very much appreciated.Ted, The setReportAppServer problem is resolved. Now I could able to generate the report with hardcoded values in the SQLs in just 6 seconds where as the same report was generated in CRXI R2 in 1 minute 15 seconds as mentioned in the earlier message.
But, our exisiting application passes the parameter values to the SQLs embedded in the report. For some reason the parameters are not being passed to the report and the report displays only the labels without data.
As per the crj 12 samples codes, the code is written as shown below.
1. Created ReportClient Document
2. SetReportAppServer
3. Open the report
4. Getting DatabaseController and switching the database connection at runtime
5. Then setting the parameters as detailed below
ParameteFields parameterFieldController = reportClientDoc.getDataDefController().getParameterFieldController();
parameterFieldController.setCurrentValue("", "paramname",paramvalue);
parameterFieldController.setCurrentValue("", "paramname",paramavalue);
byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
6. Streaming the report to the browser
Why the parematers are not being passed to the report? Do I need to follow the order of setting these parameters? Did I miss any line of code for setting Params using crj 12?
Any help in this regard would be greatly appreciated. -
BAPIs or Function Modules for Links between different Business Objects
Hi experts,
I am accessing an SAP CRM 5.0 system from outside via remote function calls.
I have the GUID of a business partner and would like to find other business objects
that are related to this business partner.
For example:
- Which activities are relevant for this business partner?
- Which orders were placed by this business partner?
- Which leads or opportunities are linked to this business partner?
- Which products did this business partner order?
Is it possible to get this information by calling BAPIs or other RFC function modules?
Regards,
KarstenAfter studying lots of documentation and trying to understand the BOL and GenIL concepts,
I finally found a function module which meets my demands. With function module
CRM_GENIL_GET_QUERY_RESULT you can execute a Search Object of the GenIL,
and it is remote-enabled.
By checking transaction GENIL_MODEL_BROWSER and choosing component set "ALL"
you get a list of all defined Search Objects. The Search Object that finds all orders of a
business partner is "BTQuery1O".
DATA gt_parameter_list TYPE crmt_name_value_pair_tab.
DATA gs_parameter_list TYPE crmt_name_value_pair.
DATA gt_data_hdr TYPE TABLE OF crmt_genil_rfc_data_hdr.
DATA gt_data_attr TYPE TABLE OF crmt_genil_rfc_data_attr.
DATA gt_data_rels TYPE TABLE OF crmt_genil_rfc_data_rel.
DATA gt_data_rel_obj TYPE TABLE OF crmt_genil_rfc_data_rel_obj.
gs_parameter_list-name = 'BP_NUMBER'.
gs_parameter_list-value = '4000000011'.
APPEND gs_parameter_list TO gt_parameter_list.
CALL FUNCTION 'CRM_GENIL_GET_QUERY_RESULT'
EXPORTING
iv_query_name = 'BTQuery1O'
it_parameter_list = gt_parameter_list
TABLES
et_data_hdr = gt_data_hdr
et_data_attr = gt_data_attr
et_data_rels = gt_data_rels
et_data_rel_obj = gt_data_rel_obj
EXCEPTIONS
error_occured = 1
OTHERS = 2.
Before you can use the function module, you have to call function module CRM_GENIL_INIT
to initialize the GenIL.
Regards,
Karsten
Maybe you are looking for
-
Barcode C128 is not getting displayed in Sapscript
HI, I need to print the barcode in the Sapscript. The barcode is not getting displayed even in the preview also, when I give the Barcode C128. But when I give other Barcodes, it is getting displayed in the preview. Can anyone let me know the solution
-
I just got IOS7 last night and couldnt figure out how to get ITunes Radio, i found out it was in the music app but i have no icon showing iTunes Radio. How can i find it!? Or get it!?
-
Trouble viewing my Phantom 4K cine files in Premiere
I am having trouble viewing my Phantom 4K cine files in Premiere. Playback is quite good, but the picture is abnormally dark. I have seen in other forums that I am not the only one to have this issue. Is there a fix? Thank you.
-
Hello, Somebody know which is the reason that triggers not run on WinCE-PocketPC ? Thanks, Daniel.
-
I've recently upgraded to Snow Leopard from Tiger. Everything has been a little glitchy, but the one thing that is truly annoying me is the Finder will always show Icon Previews. Every time I log in and open a Finder window, I have to go thru the Vie