CO-PA Report Form - Formula
Hello All,
Is anybody well versed with formula's in CO-PA Report forms. Im struck in a place, i have three columns X, Y, Z. I have setup a formula like (Z - X) / 1000 * Y. For eg, X= 500, Y=200, Z=900, as per the formula, the output i will get is 80. It works perfectly fine, when all the three columns have values. But suppose if a column doesnt have value it should not work, meaning if column X doesnt have value, for eg, X=0, Y=200, Z=900, as per the formula the output i will get is 180, which is wrong. Is there my any change i can setup in the formula, if column X=0 then the output of the formula should be 0.
Please share you experience in this regards, i am doing all these setup in CO-PA drill down report forms.
Thanks
With Regards
GJ
Hi,
I don't think your requirement could be filled.
Forms could manage mathematical calculations but not the logical calculations.
You can go for ABAP development reports.
Regards,
Murali
Similar Messages
-
Report, Form, and Data Component portlets go to error page
I am able to add Report Form and Data Component portlets to my page, but when I click on the define button it takes me to my error page.
Have I missed configuring something?hello friends,
thanks for replly,
i m using command noe after table node in main window, but i want display the data below the main window , it is diplaying new page as required but only missing data below the main window.
to be more clear i want to print all the window in first page then only go for next page , so is there any condition or parmeter in main window to go next page only agfter completion of first page.
dont worry abt points. -
Bug Report: Feature Request/Bug Report Form
Re: Feature Request/Bug Report Form
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
The Feature Request/Bug Report Form does not include a drop-down option for Creative Cloud.Hi Stephen,
We are collecting feature requests as idea threads here on the forums versus using that form. If you believe you have discovered a bug with Creative Cloud please post about it here on the forums.
Thanks,
-Dave -
Hi All,
Can anyone tell me which view would have the page/report/form name stored?
Thanks in advance.
AnnieHi Annie,
You can check for Apex views by running:
SELECT DISTINCT APEX_VIEW_NAME FROM APEX_DICTIONARY ORDER BY 1Hopefully, the names should be sufficient to determine the views you need. Once you have found one (eg, APEX_APPLICATION_PAGES), you can do a SELECT on it
Andy -
How to assign a variable value to crystal report viewer formula with CR2008
Hi ,
I am using crystal reports 2008 and i am not able to find how to assign variable value to crystal report viewer formula.
In CR 8.5 , i used to have crystalreport1.Formulas(0) = variable1
crystalreport1.Formulas(1) = variable2
but, i don't find similar kind in crystal reports 2008.
How can i achieve the same functionality using crystal reports 2008.
Thanks in Advance
Regards,
RamnathHi,
Can i anyone help me out with this.
I am generating crystal reports in vb6 using CR 8.5 and vb6 and below is the code snippet for the same
CrystalReport1.Formulas(0) = "PrintTitle= '" & strMyTitle & "'"
CrystalReport1.Formulas(1) = "FromDate= '" & MskFromDate.Text & "'"
CrystalReport1.Formulas(2) = "ToDate= '" & MskToDate.Text & "'"
Please let me know how the same functionality can be achieved in VB.Net using Crsytal reports 2008
Any code snippet would be of great Help.
Thanks in Adnvance.
Ramnath -
Creation of Report+Form pages
HI all,
In [Building an application using APEX OBE|http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/devdays2012/apexp1_lab/apexp1_lab.html] when create the app, creates pages too, and one of them (well, 2) is a Report+Form.
I tried to search this in my actual application created. But I only found, Form, and Report, but not both.
There are some way to automatize the creation of this 2 pages, like Application Wizard does?
Regards.GiuseppeL wrote:
There are some way to automatize the creation of this 2 pages, like Application Wizard does?Yes. From the application home page click Create Page > Form > Form on a Table with Report, then follow the wizard. -
Select List (query based LOV) in a wizard created report form
I have created an updatable report form with 3 columns:
app_id
user_id
group_id
Each app_id has multiple group_id's associated with it, and I want to show the group_id field as a Select List (query based LOV) that contains the groups associated with the app_id.
My query for the select list needs to be similar to the following:
SELECT DISPLAY_NAME, GROUP_ID
FROM APPLICATION_GROUPS
WHERE APP_ID = ?????
ORDER BY 1
The problem is, I don't know how to reference the app_id from the main report to replace the ?????.
In other words, if my report returns 2 rows of data like this:
app_id----------user_id----------group_id
1-----------------24------------------3
2-----------------24------------------15
Then how do I get the group_id column to be a select list of possible groups for each application? If app_id 1 has 3 groups associated with it, 3, 4, & 5 and app_id 2 has 2 groups associated with it, 15 & 16, then those each of the select lists should be based on the app_id.
Hopefully I explained this clearly.
Thanks,
KrisLeo,
Thanks for the response, but I don't think you quite understand my problem. If I go to the Column Attributes screen for the group_id field, I have the "Display As" drop down set to "Select List (query based LOV)", not "Select List (named LOV)". This requires that the sql query be written in the "List of values definition" text area below. Within that text area I have the following query:
SELECT DISPLAY_NAME, GROUP_ID
FROM APPLICATION_GROUPS
WHERE APP_ID = ?????
ORDER BY 1
The APP_ID that I need to reference is for the current row of data that is being processed. Therefore, I can't use a :PNNN_APP_ID variable, because that field does not exist on the page.
Hopefully this explains it a little better.
Thanks,
Kris -
PU19 Tax Reporter - Form 941 spool missing after 4.6c to ECC 6.0 upgrade
Hi Experts,
We recently underwent a technical upgrade from 4.6c to ECC 6.0.When we use PU19 tax reporter Form 941 as it is a federal tax return form in US .When i check in job spool is not coming.Please let me know if some note is release for spool and printout put.
Looking for your prompt response.
Thanks & Regards,
AnkurHello Ankur,
You need to get the Adobe Document Server running if you are going to
print PDF files from Tax Reporter. Please have you basis group check
that the Adobe Document Server is working correctly.
Please use transaction SFP to test the Adobe Document Server using the
Tax Reporter forms.
From Adobe Document Services Implementation Guide;
Installation Preparation
Install a SAP Web AS 6.40 J2EE Engine or higher
A SAP J2EE Engine on Windows is the basis for the Adobe Document
Services.
Therefore, before you begin with the installation, make sure that one of
the following prerequisites are met:
SAP Web AS J2EE engine on Windows is Installed
The following installation types are supported:
- SAP Web AS 6.40 ABAP + J2EE system (J2EE Add-In) or higher
- SAP Web AS 6.40 J2EE system or higher
For both variants the following installation options are supported:
- Central System (Central Instance and Database Instance on one host)
- Distributed System (Central Instance and Database Instance on separate
hosts)
- Dialog Instances
For information on Adobe and the ADS I would suggest looking at the
online documentation.
http://service.sap.com -> SAP Help Portal -> Search on ADOBE and you
will get the help information on configuration.
Also review SAP Note No. 944221
Regards,
Manny -
PU19 Tax Reporter - Form 941spool missing after 4.6c to ECC 6.0 upgrade
Hi Experts,
We recently underwent a technical upgrade from 4.6c to ECC 6.0.When we use PU19 tax reporter Form 941 as it is a federal tax return form in US .When i check in job spool is not coming.Please let me know if some note is release for spool and printout put.
Looking for your prompt response.
Thanks & Regards,
AnkurHello Ankur,
You need to get the Adobe Document Server running if you are going to
print PDF files from Tax Reporter. Please have you basis group check
that the Adobe Document Server is working correctly.
Please use transaction SFP to test the Adobe Document Server using the
Tax Reporter forms.
From Adobe Document Services Implementation Guide;
Installation Preparation
Install a SAP Web AS 6.40 J2EE Engine or higher
A SAP J2EE Engine on Windows is the basis for the Adobe Document
Services.
Therefore, before you begin with the installation, make sure that one of
the following prerequisites are met:
SAP Web AS J2EE engine on Windows is Installed
The following installation types are supported:
- SAP Web AS 6.40 ABAP + J2EE system (J2EE Add-In) or higher
- SAP Web AS 6.40 J2EE system or higher
For both variants the following installation options are supported:
- Central System (Central Instance and Database Instance on one host)
- Distributed System (Central Instance and Database Instance on separate
hosts)
- Dialog Instances
For information on Adobe and the ADS I would suggest looking at the
online documentation.
http://service.sap.com -> SAP Help Portal -> Search on ADOBE and you
will get the help information on configuration.
Also review SAP Note No. 944221
Regards,
Manny -
Master details report/form
Hi Friends,
I want to create a Master-Detail report/form.
I have one Master Table and it has 3 Detail tables.
Example:
Master Table: Members
Detail Tables: Contributions
Loans
Benefit ClaimsI want to show when I click on a specific Member in the report edit , I can make entry/update to all
the 3 detail tables. And not going each entry separately.
Is this design requirement good?
Thanks a lotYou can look here on how to create multiple detail tables:
http://htmldb.oracle.com/pls/otn/f?p=31517:163
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Report Selection Formula Error with Crystal Reports 2008 SP3 Fix Pack 3.5
Hello,
My name is Carlos, and I would like to report a defect found in the Crystal Reports 2008 SP 3 Fix Pack 3.5 Runtime that is affecting the majority of our reports. As well, I would like to ask if there is a simple workaround that does not involve updating hundreds of reports.
The issue is that the runtime engine incorrectly returns the report selection formula. I have included sample code showing what I mean.
To reproduce;
1. Create a simple report that has a date range filter like:
({Orders.Order_Date} >= {?START_DATE})
AND ({Orders.Order_Date} <= {?END_DATE})
2. Create a test app as follow that loads a report using the following code:
ReportDocument rpt = null;
try
rpt = new ReportDocument();
rpt.Load("TestReport.rpt");
this.txtMessage.Text = string.Format(
"ReportSelectionFormula:{0}{1}",
Environment.NewLine,
rpt.RecordSelectionFormula);
catch (Exception ex)
this.txtMessage.Text = ex.ToString();
3. Install Crystal Reports 2008 SP3 Fix Pack 3.5 Runtime [https://smpdl.sap-ag.de/~sapidp/012002523100006341772011E/cr2008fp35_redist.zip]..
4. Execute the app.
At this stage, the screen shows
ReportSelectionFormula:
( ( NOT {Orders.Order_Date} >= {?START_DATE} ) AND ( NOT {Orders.Order_Date} <= {?END_DATE} ) )
The expected value is:
ReportSelectionFormula:
( ( {Orders.Order_Date} >= {?START_DATE} ) AND ( {Orders.Order_Date} <= {?END_DATE} ) )
If we were to repeat the same test above but use the Crystal Reports 2003 SP3 runtime (i.e. no Fix Pack), which can be dowloaded from [https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip], we would get the correct report selection formula. A side-effect for this incorrect report selection formula is a runtime exception complaining about an errorkind and a boolean being expected.
Do you know if there is any workaround that I can apply in code, perhaps a different Fix Pack? Is there a Fix Pack expected to be released soon? It is not practical for us to update our reports and use a different style in the record selection formula because we have many such reports, and our customers probably have even more.
Thank you.
-Carlos.Already a known issue, here's the [KB 1584095 - A boolean NOT is added at the beginning of a record selection formula when the report is loaded by the Crystal Reports .NET SDK |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533383334333033393335%7D.do]
-
How to Highlight the CURRENT RECORD in a Table with Report Form
Hi,
I have created a Table with Report Form....let suppose the table is - EMP
Report page - 1
Form page - 2
Now, when I do Create / Update on Page 2,....the control is back on Page1.
Suppose in the Report Page (Page1)..we have 10 records....NOW how should I highlight the CURRENT RECORD in Page 1 with some color to identify the record which I have updated/created just now...
Thanks,
DeepakHi Deepak,
You could do that with a custom report template. I've done that here: [http://apex.oracle.com/pls/otn/f?p=267:175]
Go to Shared Components, Templates and create a new Report template as a copy of your existing one. Then edit your template. In the above example, the Column Template 1 setting was:
<td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data">#COLUMN_VALUE#</td>I copied this into the Column Template 2 setting and updated the Column Template 1 setting to:
<td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data" style="background-color:red; color:yellow;">#COLUMN_VALUE#</td>I then set the Column Template 1 Condition to: Use Based on PL/SQL Expression
and the Column Template 1 Expression to: '#EMPNO#' = '&P178_EMPNO.'
(In my example, P178_EMPNO is the single item on the linked to page.
Save those changes and go to your report and change its template to the new one. As long as a selection has been made and P178_EMPNO has a value, the condition will make sure that the report uses the first template for the row with the matching EMPNO value. All other rows get the template from Column Template 2.
Andy -
How to build a Report/Form sharing the same page and do multiple Updates
Hi, I´m building and APEX application (V4.2). Customer is demanding a report/form with the ability to do multiples Updates with only one click. For example, they check multiples "check box" for Aprpove and then only one click for "Apply Changes".
Thanks in advance,
Luis E ContrerasHi Luis,
If I understand you correctly you want to check a number of rows for approval and update their status. The jQuery function used looks for checked checkboxes. In your case that will correspond with an update on the IND_PROBACION column. You can simply log the PK column value of each checked row:
var pkS = $('.uReportStandard input[type=checkbox]:checked').map(
function() {
return $(this).parent().parent().find('td[headers="PK"] input').val();
).get().join(':');
$('#P1_PKS').val(pkS);
You need to replace PK with the actual column name of your primary key column, or rowid for that matter.
In your submit process you can simply set each IND_PROBACION to your apporval value for each pk stored in the P!_PKS item.
If you need further assistence, please set up an example on apex.oracle.com
Regards,
Vincent
http://vincentdeelen.blogspot.com -
Need to install and run Reports & Forms on Windows 98. Help!!
Hi guys !!
I need to install and run Oracle Reports & Forms on a Windows 98 OS. I can find the download of Reports & Forms for NT but I'm not sure if this download works on Win98 ?? Please help. Urgent.Hi guys !!
I need to install and run Oracle Reports & Forms on a Windows 98 OS. I can find the download of Reports & Forms for NT but I'm not sure if this download works on Win98 ?? Please help. Urgent. I am having the same problem, but with Windows ME. I was able to get Oracle 8i to work by entering a line in the Compatibility 95 section of my win.ini, and I installed the Forms & Reports for NT, but it won't see my database. -
Minor glitch with manually created report form
I don't know if this is "as designed" or not, but it seems like a minor glitch. If I create a report form manually, using htmldb_item syntax and have a column or two using the hidden construct (htmldb_item.hidden) and subsequently go back into the report source to make a change, the hidden columns suddenly become visible again so that I have to go into the report attributes and unlick the show button, even though the field is still defined as hidden.
Like I said, it's a minor issue, but something that should be probably be cleaned up someday.Hi,
I am also very new in HTML DB and i got lot of help from HTML DB.
So please try this may it will solve your problem.
SELECT xy.proj_stat_no, xy.proj_no, xy.stat_dt, xy.in_pgrs_stat_dsc,
xy.stat_dsc, xy.proj_id
FROM (SELECT htmldb_item.hidden (31, proj_stat_no) proj_stat_no,
htmldb_item.text (32, proj_no, 42) proj_no,
htmldb_item.text (33, stat_dt, 43) stat_dt,
htmldb_item.select_list_from_query
(34,
in_pgrs_stat_dsc,
'select distinct STAT_DSC, STAT_DSC from PROJECT_STATUS_REF'
) in_pgrs_stat_dsc,
htmldb_item.select_list_from_query
(35,
stat_dsc,
'select distinct STAT_DSC, STAT_DSC from PROJECT_STATUS_REF'
) stat_dsc,
htmldb_item.text (36, proj_id, 46) proj_id
FROM project_status
WHERE proj_no = :p3_proj_no) xy
WHERE 1 = 1
UNION ALL
SELECT htmldb_item.hidden (31, NULL) proj_stat_no,
htmldb_item.text (32, NULL, NULL) proj_no,
htmldb_item.text (33, NULL, NULL) stat_dt,
htmldb_item.select_list_from_query (34, NULL, NULL) in_pgrs_stat_dsc,
htmldb_item.select_list_from_query (35, NULL, NULL) stat_dsc,
htmldb_item.text (36, NULL, NULL) proj_id
FROM DUAL
For more Details regarding Tabular form see the link below:
http://www.oracle.com/technology/products/database/application_express/howtos/tabular_form.html
Thank You,
Amit
Maybe you are looking for
-
Hello All, We were recently obliged to upgrade to 10.1.0.5 to address a replication bug, and doing this seems to have re-introduced a problem w/ ArcIMS/ArcSDE. The problem is w/ geodetic areas larger than 1/2 surface of earth, not all of the expected
-
Hi, I have a requirement to view the PDF content in the apex page region, I am using Apex 3.2 and Oracle 10 Enterprise edition. I Uploaded the PDF file in the shared component under static file. Now i need to view the content of the PDF file. Please
-
What's up with auto tone?
What's up with auto tone? It doesn't seem very smart or useful. It always blows out the exposure for me, midtones in particular. I do have a hardware calibrated NEC SV monitor. I would much rather Adobe bring over the algorithims for auto contrast, a
-
Import by date: 2008/December
The Import-Photos dialog box offers many choices for how to organize the pictures if the file-handling is set to: Copy Photos and Import. There are lots of options, but none I like . I'd love an organize choice of "by date: 2008/December" or "by date
-
Hi, I'm an DBA and i was assigned to design a new database(fresh) in oracle 11gR2 in windows platform for a project. Since, i'm new to database design, getting confusion on what perspective to approach and where to begin. Can anyone please help on th