No columns in Easy Report to Add/Modify Condition
I have created an Easy Report, selecting columns for the report. When I try to modify the report Conditions by selecting RPT, Query definition tab and clicking on the Column drop down, no columns appear.
How can I add a Condition to an Easy Report?
Thank you
This happens in APEX Rel 2.0 as well. HTML DB 2 Day Developer Tutorial's "Chapter 3 - How to Create a Drill Down Report Structured SQL Query" displays no columns either.
The fix is as in "Thread: upgrade to 1.6.1.00.02 breaks add/modify conditions" - convert "SQL Query (Structured SQL Query)" to "SQL Query"
Similar Messages
-
How to add a new column to a report
I want to add a new column to my existing report. I modified the using report wizard and added the new column. When I pressed 'Finish' I lost all my previous settings. Without changing the existing stuff, how can add a column to a table.
Any help is appreciated.
Regards
Leena
nullgo to the data model editor
click on query .
add new columns in select statement.
add the corresponding fields in layout model
compile it
run it
srini -
Report Attributes: Add column link and derived column
On the Report Attributes page (4000:420), under the Tasks list on the right side of the page, there are 2 links, "Add column link" and "Add derived column". This is the first time I am noticing them.
The usage is clear, they add columns to the report to function either as a drill-thru link column or just a read-only derived field.
Doing it this way does NOT modify the source query for the report region.
Is there any benefit to using this feature versus adding a "null column_link" or "null derived_col" columns to my source query then setting attributes for those columns?
ThanksWell, one disadvantage I can see of using the 'Add Column link' is that if I have more than 1 of such columns, they all show up as '[column link]' on the Report Attributes page with no way to tell what the underlying links are. Instead, if I were to manually add these dummy columns to my query itself, I would give them meaningful column aliases that indicated where they link to.
Suggestion: Maybe a tooltip could be added to the Report Attributes page for such columns which indicate what the underlying link is without actually going to the Edit page for that column.
Thanks -
How to add two columns in OBIEE report?
Hi to All,
Can anyone tell me how to add two columns in OBIEE report and get that result in a new column?
Thanks in Advance,
ThenmozhiAssume you already have two columns SalesAmt1 and SalesAmt2, and you want to derive 3rd column say SalesAmt3 which would be the sum of SalesAmt1 and SalesAmt2.
For this, as I mentioned above pull SalesAmt1 and SalesAmt2 columns in Report. Now pull another column (say SalesAmt1) and open the fx. Clear the contents of fx. Now locate the columns button in the bottom of the fx. From Here, first select SalesAmt1 and + sign and the select SalesAmt2.
Now in this new column, the fx should look like SalesAmt1 + SalesAmt2.
Let me know if you are looking for something else.
Thanks -
How to add a formula column in a report
Hi
I have made a report based on a query.
There are 3 columns in the query and all the 3 are displayed.
Now I want to add a new column (fomula column) to the report.
I want to write a query inside the formula column. To execute the query col1, col2 and col3 values are required in the formula column.
Could you please tell me how to add a formula column in the report and how to pass database column value to inside the formula column
regardsHere is how you would create a formula column:
Open data model of the report.
Formula column button is on the left side of the tool palette.
Click on that button.
Now click in the query group where you want to place the formula column.
You would see a new field something like CF_1. That is the formula column.
Double click on the field CF_1. It will open property inspector.
You would see, Datatype of the formula column is Number. Change this as per your requirement.
Double click on PL/SQL Formula property. It would open up a editor. Here you can write the code.
And now to access the data model column here, you can use : and column name. i.e. :col1 or :col2, etc
And remember you have to return the value back to the formula column. Like this: RETURN(some value).
You can also take a help from here:
http://download.oracle.com/docs/html/B13895_01/orbr_howto.htm#sthref1309
Hope this helps. -
How to add a column in a report?
Hi,
I have 2 columns from my tables, now i want to add a column in the middle, is there any way i can type this column for each row? or do a conditional format for this new column. see below:
case description # of items
01 desc_1 5
02 desc_2 10
03 desc_3 25
the "description" column is the one i want to add, that is not from any table, is there any way i can add this column, and do
if case='01', display "desc_1"
if case='02', display "desc_2"
if case='03', display "desc_3"
thanx.If this is what you are trying to achieve...
for example:
select col_1, 'dec_'||rownum txtfield, col_2
from (
select '01' col_1, '10' col_2 from dual union all
select '02' col_1, '15' col_2 from dual union all
select '03' col_1, '20' col_2 from dual union all
select '04' col_1, '25' col_2 from dual union all
select '05' col_1, '30' col_2 from dual union all
select '06' col_1, '35' col_2 from dual union all
select '07' col_1, '40' col_2 from dual union all
select '08' col_1, '45' col_2 from dual
) test
result:
COL_1 TXTFIELD COL_2
01 dec_1 10
02 dec_2 15
03 dec_3 20
04 dec_4 25
05 dec_5 30
06 dec_6 35
07 dec_7 40
08 dec_8 45Add the txtfield column in your select statement as follows:
select <columnName1>,
<columnName2>,
'dec_'||rownum txtfield
from <tablename>Then in your report layout, add a new field column between the two existing field colunms and have the source in the property palette = txtfield.
Hope this helps.
-Marilyn -
Hello,
How do I add a column to a Report after it has been created? I cannot find a way to do it readily in the "Report Column Attributes" as I thought it might be the more rational place to put such a time. Nor is there any information in the PDF Manuals.
Thank you for your kind clarification and assistance.Colin,
If this is a report on a SQL query, simply augment your query with the additional column in your select clause.
Joel -
KSB1 extra column or user exit to add extra fiel on report.
Hi
How do I add my own extra column on the report "Display actual cost line items for cost centers' - SAP transaction KSB1.
Thanks
RendaniHi,
Please search for OSS note in market place.
I have worked on it, but I donot remember the OSS note number.
Thanks,
Sriram Ponna. -
Add Columns to Updatable Report
Hello,
i need some help regarding an "Updatable Report".
My goal is to have some SelectLists in comluns named "2008_05", "2008_08", ....."2010_01", "2010_04".
The user must have the option to add more cloumns.
My process on submit is:
declare
SQL_STRING varchar2(4000);
begin
SQL_STRING := 'ALTER TABLE TAB_REPORTS ADD "' || :P3700_COLUMN_NAME || '" varchar2(100)';
EXECUTE IMMEDIATE(SQL_STRING);
return;
end;At the moment I have this code for a standard report returning a SQL query:
declare
q varchar2(4000);
begin
q := 'SELECT R_ID, PLANT_NAME, UNIT_NO, R_TSO_NO TSO_NO';
For i in (SELECT * FROM USER_TAB_COLUMNS
WHERE table_name = 'TAB_REPORTS'
AND column_name like '2%')
loop
q := q || ', ';
q := q || 'APEX_ITEM.SELECT_LIST_FROM_LOV (1, ';
q := q || chr(34);
q := q || i.column_name;
q := q || chr(34);
q := q || ', ';
q := q || chr(39);
q := q || 'LOV_QER';
q := q || chr(39);
q := q || ', ';
q := q || 'null';
q := q || ', ';
q := q || chr(39);
q := q || 'Y';
q := q || chr(39);
q := q || ') as "';
q := q || i.column_name;
q := q || '"';
end loop;
q := q || ' FROM TAB_REPORTS ';
q := q || ', TAB_SD';
q := q || ', TAB_CONTACT';
q := q || ' WHERE TSO_NO = R_TSO_NO';
q := q || ' AND CON_PLANT_NAME = TAB_SD.PLANT_NAME';
q := q || ' AND R_TSO_NO = decode(:P3700_FILTER_PLANT_NAME, ';
q := q || chr(39);
q := q || 'all';
q := q || chr(39);
q := q || ', R_TSO_NO, :P3700_FILTER_PLANT_NAME)';
q := q || ' ORDER by PLANT_NAME, UNIT_NO';
return q;
END;The function returning a SQL is not working for an updatable report.
It has to be static i think.
Any solutions or ideas?
Thx & greetings
ChrisProblem solved. See [this post|Add columns to CV04N report;
Regards.
Gregory. -
Add New Column in ALV Report of Standard SAP ME28.
Hi anybody,
I want add new column in alv report of standard SAP Program ME28 Screen.
Add Last PO Price column inside ALV Report ME28 Screen.
Can u please anybody tell me how to add new column in ME28 Screen.
Thanks
S.Muthu.Try to find any BADI for the same
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
OR
Also one more option is to copy ME28 and, make modifications to the copied program. -
OIM report / add column to working report
Hi,
I need some help with OIM reports.
Cannot add a column to a working report. What I have done is that I have changed the Stored procedure and then changed the Report XML Metadata to include that column.
The report just turns out to be blank after the changes made.
A snippet of the change to the Stored Procedure(added line in bold):
-- contruct the query
strColumnList := ' tusracc.system as "SYSTEM", ' ||
' vifs.ifsemp_employee_id as "EMP_ID", ' ||
' vusr.usr_first_name || '' '' || vusr.usr_last_name as "EMP_NAME", ' ||
*' vusr.usr_status as "USR_STATUS", ' ||*
' tusracc.attribute as "ATTRIBUTE", ' ||
' tusracc.attrvalue1 as "ATTRVALUE" ';
strFromClause := ' v_users vusr, v_ifsusers vifs, tmp_user_access tusracc ';
strWhereClause := ' tusracc.usr_key = vusr.usr_key ';
strWhereClause := strWhereClause || ' and vusr.usr_key=vifs.usr_key(+)';
IF strsortcolumn_in IS NULL THEN
strOrderByClause := ' 2 ' ;
ELSE
strOrderByClause := strsortcolumn_in ;
END IF;
IF strsortorder_in = 'DESC' THEN
intSortDirection_in := 0;
ELSE
intSortDirection_in := 1;
END IF;
-- run the report query
XL_SPG_GetPagingSql(strColumnList,
strFromClause,
strWhereClause,
strOrderByClause,
intSortDirection_in,
intStartRow_in,
intPageSize_in,
select_stmt
OPEN csrresultset_inout FOR select_stmt;
ELSIF intdocount_in = 2 THEN
OPEN csrresultset_inout FOR select dummy from dual;
END IF;
In the report XML Metadata I have added a line for the USR_STATUS column(change in bold):
<Report layout="Tabular">
<StoredProcedure>
<InputParameters>
<InputParameter name="v_resource_name" parameterType="varchar2" order="1" fieldType="LookupField" fieldLabel="report.ResourceAccessList.label.resourceName" required="true">
<ValidValues lookupCode="Lookup.Reports.Objects"/>
</InputParameter>
</InputParameters>
</StoredProcedure>
<ReturnColumns>
<ReturnColumn name="SYSTEM" label="customer.report.system" display="true" position="SectionHeader" primarySort="true" filterColumn="false" />
<ReturnColumn name="EMP_ID" label="customer.report.emp_id" display="true" position="SectionHeader" primarySort="false" filterColumn="false" />
<ReturnColumn name="EMP_NAME" label="customer.report.emp_name" display="true" position="SectionHeader" primarySort="false" filterColumn="false" />
*<ReturnColumn name="USR_STATUS" label="global.label.Status" display="true" position="SectionHeader" primarySort="false" filterColumn="false" />*
<ReturnColumn name="ATTRIBUTE" label="customer.report.attribute" display="true" position="SectionHeader" primarySort="false" filterColumn="false" />
<ReturnColumn name="ATTRVALUE" label="customer.report.value" display="true" position="SectionHeader" primarySort="false" filterColumn="false" />
</ReturnColumns>
</Report>
Anything that I have missed to do? We have restarted the app server, but it still doesn't work.
Regards,
ThomasArghle.....
I found the reason for the blank result page with this...
apparently we are not allowed to name a resulting column in a stored procedure to USR_STATUS, silent fail :/
When I renamed this to EMP_STATUS it all works as intended...
Duh!
I wonder in where it says not to do this... -
Hi,
I need to modify a column of OOB report.
The current col name is "AR Due 1-30 Amount"
! http://i42.tinypic.com/14cxug5.jpg !
I need to convert this column to show "AR Due 1-7 Amount" but there is no Aging_Bucket for 1-7 in the physical table.
Is there a way to create a logical column without using a Aging _Bucket in the formula
Thanks/*rename column*/
alter table <table_name> rename column <old_column> to <new_column>;
/*for datatype modify*/
alter table ap modify (name varchar2(10)) -
Add new column to System report
Hi experts!
Can i add new column to System Report ( Ex: Inventory Status, Agent Report which new Column as "Test") by SDK.)
Please give me ideas.
Thanks!Tien,
Using SDK its not possible to add a new column to the existing system reports. As a work around what u can do is use the PLD to design a layout with the new column.
Hope it helps,
Vasu Natari. -
how can I add a new column to a report ?
this the code for the trigger
function BeforePForm return boolean is
begin
-- insert into test_java values(:p_order_by);
-- commit;
--return true;
IF Check_Access_For_Token(:p_Token, :p_Appmod_Code) THEN
return (TRUE);
ELSE
srw.message(1, 'You do not have access to the report!');
return (FALSE);
END IF;
end;
please help I need this for today -
Report Painter: Add a column
Hi Gurus,
I would like to add a column to my report. Any ideas as to how to go about it in Report Painter ?
RegardsHi,
Go to the report (GRR2) and add the column. Please, try to explain your problem/issue in more constructive way; otherwise, it would be impossible to give a proper answer.
Regards,
Eli
Maybe you are looking for
-
Pls install latest version of Adobe AIR-something went wrong
When I try to open an episode in Photoshop CS5 Feature Tour () http://tv.adobe.com/watch/photoshop-cs5-feature-tour/terry-whites-favorite-things-about-cs 5-design-premium/) an AIR error message pops up saying: Something went wrong trying to install t
-
Illustrator CS5 won't save pie chart
I created a pie chart in Illustrator 5 using a much-loved Veerle tutorial ... drew a square, entered my data, created pie, applied gradient colors and a 1 pt white stroke between the pieces. Hit save, and got this message: "Can't save the file." That
-
Premiere Pro CC 2014: Glitched screens?
I'm trying to make a stop motion video for a class at school and my view screens keep glitching. They'll look normal for about a half second - barely long enough to see a photo - then go back to these weird glitchy "images" I'm wondering if this is b
-
Where can I download BAM 12c sample from? OTN points to https://www.java.net/search/node/oraclebam12c but there is nothing available to download.
-
Why can not purchased item from application meanwhile my credit card already verified, the statement from application " in application purchased failed can not connect to I tunes please go to ITunes support"