Populate column in reports like populates item in post query
hi all
i have a report that contains the occupation_id and factor_id and i would like to show occupation_description and factor description instead but i don't know how to do it ... i thought of placeholder column but i don't know how to procceed .. any explaination will be appreciated
thank you very much ... you are right, but you know what i got used to Froms Forum and i have book marked because i always access it ... sure i post my question there ... by the way i have created another query but how to join them, it is been so long i didn't use the report builder, what i remember is draging and droping the factor_id from second to the first query but it doesn't work ...
Similar Messages
-
How to have spreadsheet like columns in report (like an Excel grid)
<p>I am trying to make a report in landscape format with around 15 columns across the sheet. The data is sales numbers per months plus total, budget and deviation (calculated).</p><p>The data should be in an <strong><u>Excel-like grid</u></strong>. The individual cell would obviously be fairly small so it fits across one page.</p><p>I have been playing with this for some time. Aligning so many objects seems to be a lot of work. The tools in CR are not very proficient for such type of layout.</p><p>You are lost if you want to insert a column. I did not find a way to move all fields across all sections to the right to make room. It gets all screwed up.</p><p>The grid, I tried it with borders around the fields and with horizontal / vertical lines to create the grid.</p><p> Any good tip for a better way of doing that?</p><p> Thanks in advance!</p><p>Stefan Koellmann</p>
<p>Is the cross-tab an option for your scenario? If you specifically want a grid like structure, this may be an easier route to explore.</p><p>Alternatively I'd suggest snapping your objects to guidelines (the little inverted triangles on the ruler bar) to help move things around. Or when you select multiple objects, right click and utilize the 'align' and 'size' options to speed up some of the tasks. </p>
-
BEx analyzer don't work move columns in report (like drill down)
Hi
I have an issue on BEx Analyzer... When I built one report... add some characteristics and soo on... but then I need to move the order of columns... then I try to drill down.. or move to order of column... It doesn´t work,
I did this function before.. when the poin of the mouse it's convert with other draw... like -->
<--
But this time it's not possible...
Then If I press the icon that say design mode... I saw that the option of navigation is active... and when I close the design mode... the functionality of move columns work...:(
It's difficult that each time that the user need to move columns in Bex will go to design mode... just for activate..
I know thta we have some function on context menu.. for move columns one by other... but not for certain position..
Could you help me please?
I will appreciate your help and I will assign points for your answers.
AliceHi Alice,,
This happens some time, when i am unable to drill down by just dragging and dropping the columns. though i could not find out why. Best thing, what i do, i refresh the query and next time it works Ok.. and other th ing what you can do, right click, on the characteristics list on the left pane, go to "change drilldown", then " drill down by" there the user can select the option he is looking in for.
Hope this helps.
Shakeel. -
SC error correction remedy reports like BBP_ALERT_SB_NOTTRANSFERED
Hi All,
can you share some remedy reports like
SC ITEM in transfer -> BBP_ALERT_SB_NOTTRANSFERED in EBP?
Anytrouble shooting reports are appreciated.
regards
Muthu
Edited by: Muthuraman Govindasamy on Sep 4, 2008 9:00 AMHi Muthu,
see the following notes and the corresponding correction reports:
note: 441768 BBP_ALERT_SB_NOTTRANSFERE
note: 865797 BBP_ALERT_SB_NOTTRANSFERE
note: 631513 BBP_ALERT_SC_STATUS_ERROR
note: 982441 BBP_PD_RETRY_TRANSFERE
note: 825761 BBP_SC_CORR_STATUS_UPDATE
note: 636910 Z_BBP_SC_WFL_STATUS
note: 622113 Z_SC_STATUS_CHECK_1
note: 728536 Z_SC_STATUS_CHECK_2
note: 729967 Z_SC_STATUS_CHECK_3
note: 757625 Z_SC_STATUS_CHECK_4
note: 755769 Z_SC_STATUS_CHECK_5
note: 781473 Z_SC_STATUS_CHECK_6
note: 899006 Z_SC_STATUS_CHECK_7
note: 949162 Z_SC_STATUS_CHECK_8
These notes cover more or less all of the knwn transfer problems.
Kind regards,
Peter -
REPORT WITH CHANGING ITEM ON THE SAME COLUMN
Hi to all,
i'm trying to build a report with different item in the same column.
Is that possible in any way using other Oracle technique?
i'm not doing anything specific here, only i would like to know if the following possibility exist or not and how can i let apex render the htmldb_item fields 'dynamically'.
Using this CODE inside a PL/SQL function body returning sql query I obtain the following report content. Such the code of htmldb_item.fields is written, as a field value the HTML_ITEM is not rendered, so only the description of them appear in the report.
Does somebody know some tricks to make it work?
Thanx a lot
1 2 LAST_CALL htmldb_item.date_popup (4, ROWNUM, FLD_VALUE,'dd/mon/yyyy') VALUE
21 1 AGE htmldb_item.text(4,FLD_VALUE,10,10) VALUE
create or replace FUNCTION FNC_GEN_GUI_ITEM(ITEM_TYPE NUMBER) RETURN VARCHAR2 AS
STRHTMLDITEM VARCHAR2(4000);
BEGIN
CASE ITEM_TYPE
WHEN 1 THEN STRHTMLDITEM:=' htmldb_item.text(4,FLD_VALUE,10,10) VALUE ';
WHEN 2 THEN STRHTMLDITEM:=' htmldb_item.date_popup (4, ROWNUM, FLD_VALUE,''dd/mon/yyyy'') VALUE ';
END CASE;
RETURN STRHTMLDITEM;
END FNC_GEN_GUI_ITEM;
MY TABLE AS FOLLOWS:
CREATE TABLE "NEWPROJ"."DINFIELDGUI"
( "ID" NUMBER NOT NULL ENABLE,
"FLD_TYPE" NUMBER,
"FLD_NAME" VARCHAR2(4000 BYTE),
"FLD_VALUE" VARCHAR2(4000 BYTE),
CONSTRAINT "DINFIELDGUI_PK" PRIMARY KEY ("ID"));
Message was edited by:
Marcello NocitoHi to all,
i've solved, is very simple using decode inside the select:
SELECT
ID,
FK_HTMLDB_ITEM, DECODE(FK_HTMLDB_ITEM,1,HTMLDB_ITEM.DATE_POPUP(3,rownum,VAL,'dd-mon-yyyy'),2,HTMLDB_ITEM.TEXT(3,VAL)) VALORE
FROM TESTID
my table is:
CREATE TABLE "DEV"."TESTID"
( "ID" NUMBER NOT NULL ENABLE,
"FK_HTMLDB_ITEM" NUMBER,
"VAL" VARCHAR2(4000 BYTE))
Bye Bye -
How to populate table rows with selected listbox items?
Hello,
I am trying to populate a table with selected listbox items. Each item should be a new row in the table. The picture below is the listbox and table I am using. I need to get the selected name to populate the Attendee column of the table when the user clicks the Add button. How do you do this with mutltiple attendees selected?
Thank you,
AngieSo you're considering the fact the if the user clicks the button twice, the name will appear twice and you don't want this, right?
Then you must check if any value is the same than the one you are about to add in the row..
for (var i = 0 ; i < ListBox1.length; i++){
if (ListBox1.getItemState(i) == true){
for (var x = 0 ; x < Table1._Row1.count; x++){
var boNewAttendee = true;
var strAttendee = Table1.resolveNode("Row1[" + x.toString() + "]").txtAttendee;
var newAttendee = ListBox1.getDisplayItem(i);
if (strAttendee.rawValue == newAttendee){
boNewAttendee = false;
break;
if (boNewAttendee){
txtAttendee.rawValue = ListBox1.getDisplayItem(i); -
How to populate columns in IVIEW using ABAP FM ?
Hi All,
I need to populate columns in IVIEW using ABAP FM. I had developed a FM which is working fine in SAP ABAP. Now Functional people has done the configuration for this FM to MSS.
When we go to the IVIEW in MSS, My FM is not getting triggered in the MSS portal, it is not displaying any values in that particular column of IVIEW. I dont know why.
Can anybody help me out? If u need any more details i'll provide that..Hi,
If you need only two why to fetch three ?
Just doing it by yourself will show you what will happen.
Regards
Yoonas -
How to populate various values in a text item
Hi
I have a simple form based on a single tables containing name, address, city, state, zip1, zip2 and country fields. On form I am only displaying the zip field which captures value from zip1. Now my delimma is to populate zip2 values when country changes from USA to some other country. What trigger I need to place and soem hints please.
Thanks
ZahirHai, Zahir
u can use Post-Query on Block and set Zip accodingly from Zip1 or Zip2
Check it .
i think u will solve u r problem
do reply.
Bye
Raj.
mail : [email protected] -
Insert prompt value as column in report...
Hello,
We use reports to populate the recipient list of our campaigns (the segmentation wizard does not meet our needs). The source code assigned to each campaign is as follow, 'YYYYQX', with YYYY being the year of the campaign and X being the quarter of the campaign. During the creation of the report, the year of the campaign is specified by the user through a prompt. The same applies to the quarter. I am trying to build the report in such a way that the data can be downloaded as a .csv file and reimported directly into Siebel, without manual editing, to populate the recipient list for the campaign. This means that I would need to extract values provided by the user through the prompt to automatically populate the source code column in my report. For instance, if the user picked year 2008 and quarter 3 as prompt values, the source code column should be "2008Q3" for each record included in the report.
Any thoughts?
Thanks in advance,
JPThom,
Thanks for the quick answer! This helps me with the formatting part of the problem. The part which still remains to be answered is how to obtain the value specified by the user as a prompt. I use a prompt with a "less than" condition on the field which records when our contacts gave their consent to be entered into our system (we refer to it as consent date). I also use a prompt to filter contacts based on the quarter of the consent date.
For illustration purposes, if the user runs the report for the 2008 Q1 campaign (i.e. prompt for year set to 2008, and prompt for quarter set to 1), the report will include all contacts who were entered in the system during Q1 of year 2008, 2007, 2006, 2005 and so on. In this specific instance, I would like to see "2008Q1" as a constant column labeled "source code" since it will be the corresponding source code for the campaign in which we will later on import the output of the report to create the recipient list. Right now, the only way I can think of getting the information to populate the "source code" column is to obtain data directly from the prompt, if at all possible. If not, any other way to get there would be great.
I hope this makes sense!
Thanks,
JP -
Calling stored procedure from a column in report
Hi All,
I am new to APEX. I did a search on this forum but couldnt get an exact answer.
I know how to call or execute a stored procedure from a button. like create a PL/SQL anonymous bloack and asssociate it with the button.
my issue is a bit different. I have a report with 11 columns. the last column just says 'delete' for all the rows(i did this in my report query like SELECT x,y,z,...., 'delete' AS delete). when i click this cell for any row(this column can be a hyperlink or any clickable element), i want to call a stored procedure that takes parameters as the values in column 2 and column 4 for that particular row.
for example, my report looks somethnig like below,
FILE_ID MEMBER_CD ACTION
112 ABCD delete
113 WXYYZ delete
114 PQRS delete
i want to click the 'delete' in first row that should call a stored procedure and pass 112 and ABCD as parameters to the procedure.
i have the procedure as a process now. sturggling to bind this column to procedure but no success :(
Hope am clear. Please any help is appreciated.
ThanksThanks man! that was a great help. looks like i am almost there. i created those items t obe hidden.
now i am passing three parameters to the procedure. my url for that column value looks like this,
javascript:P65_PARTITION_ID=#PARTITION_ID#;P65_DBC=#DBC#;P65_FILE_ID=#FILE_ID#;doSubmit('Sku_Save');
the #DBC# parameter is a name of the person that has spaces(firstname lastname). i am getting a javascript error saying,
Line: 1
Char: 37
Error:Expected ';'
i see that char 37 is the space after firstname.
any idea how i should get rid of this error.
Also, as you have been very helpful, a question further beyond :). the above procedure will return a OUT varchar parameter. i guess i have to create another item for that. how do i read it and display just below my report as text.
Thanks Again! -
Automatically perform calculations in report for editable items
Hello,
I have a report which consists of some editable text items. These editable items correspond to different columns in the table. Now in the report I want to make one column item to be automated so that it can perform some calculations based on other columns data entered by the user in the report. Like, for example if the user changes text item data for col3, col4 then it should automatically perform the calculations for col10 ; similar to onchage event. Consider a situation where in a user comes and enters data in the report throught the text item for col3, so whenever user changes the data for col3 it should perform the calculations for col10 automatically.
Can anyone please help me with this issue.
Thanks,
OrtonShijesh,
Sorry for the delay in getting back to you.
In my case its a normal report but the thing is I need to calculate based on the data entered by the users in different text items which are present in different regions.
I have five fields to calculate on the fly like based on the data entered by the users. Below are the five columns. I have the item Ids specified for each of these editable items present across different regions.
PITIA's (f20) = First P And I Amount(25) + County Tax amount(f26) + Hazard Ins Amount(f27) + Over or Short Amount(f28)
F/E Ratio(f21) = PITIA's(f20) / (Borrower 1 Income(f29) + Borrower 2 Income(f30)) (This should be %)
B/E Ratio(f22) = ( PITIA's(f20) + MI Payment(f31) + 2nd Mort Payment(f32) + Revolving Liabilities(f33) + Installment Liabilities(f34) ) /( Borrower 1 Income(f29) + Borrower 2 Income(f30) ) (should be %)
LTV(f23) = First Principal Balance(f35) /Current Value(f36)
Net Disposable(f24) = ( Borrower 1 Income(f29) + Borrower 2 Income(f30) ) - ( PITIA's(f20) + MI Payment(f31) + 2nd Mort Payment(f32) + Revolving Liabilities(f33) + Installment Liabilities(f34) )
shijesh can you please help me out with these calculations.
Thanks,
Orton -
Conditional display column in report
Hi,
If we have a single row report of 30 columns, and I want to display only the one with any values but null and hide the null ones, Is there a way to do it?
It's the same issue discussed in this thread conditional display column in report
thanks,
Fadi.Samara - I suspect there are a few ways to do this, but none obvious or very easy as far as I can see.
You can create dynamic SQL (as Arie and others have suggested) to only include the columns that are not null.
You can build and output the HTML directly to the page, choosing only to include the values that are not null.
You can create a set of conditions that you can apply to the report columns. A very crude example might be 30 hidden page items like 'SHOW_COL1' etc. (not great, I know), or perhaps you could set a hidden page item to a value like '01:02:03:'etc., with the number only being included if the value is not null (so that col3 being null gives you '01:02::04'etc.), so that the condition for each column is 'Text in expr 1 in contained in Item in expr 2', where expr 1 is '01' for column 1 etc.
Sorry, that is a very contrived example, but it's just to illustrate that there's generally a way of doing pretty much anything in APEX. You might create your item containing the comparison expression by requerying the data in this kind of way:
SELECT NVL2(column1, '01', '') || ':' || NVL2(column2, '02', '') || ':' etc.
FROM table
WHERE condition
However, wanting to create a single-row report with nulls hidden makes we wonder what you're actually trying to achieve and whether there's a better way? Could you use a series of page items, for example?
John. -
Supress Vendor name in std report S_ALR_87012103 - Vendors: Items
Hi ,
I am using report 'S_ALR_87012103 - Vendors: Items -> List of Vendor Line Items' to list the vendor open items and in the output the vendor name with address is displayed, I want to supress name and address so that when I download to excel it will easier for me to change the columns.
ThanTry using FBL1N instead of this report, which does not show address.
Regards,
SDNer -
Report- Pl/sql function returning sql query parsing page items as text?
Hi Team,
I am facing a strange issue .
I have four page items namely
1)JOB_CODE
2)MIN_EXP
3) MAX_EXP
4) SOURCES1
I have a report of the type "Pl/sql function returning sql query"
declare
v_sql varchar2(4000);
begin
if (:JOB_CODE IS NOT NULL and :MIN_EXP IS NOT NULL and :MAX_EXP IS NOT NULL and :SOURCES1 IS NOT NULL) then
v_sql:= 'select v_candidate_id, v_fname,v_current_employer,v_Experience_years from candidature where V_REQUIREMENT = :JOB_CODE and v_experience_years >= :MIN_EXP and v_experience_years <= :MAX_EXP and source like ' || '''' || '%'|| ':SOURCES1' || '%' || '''';
elsif (:JOB_CODE IS NULL and :MIN_EXP IS NOT NULL and :MAX_EXP IS NOT NULL and :SOURCES1 IS NOT NULL) then
v_sql := 'select v_candidate_id, v_fname,v_current_employer,v_Experience_years from candidature where v_experience_years >= :MIN_EXP and v_experience_years <= :MAX_EXP and source like ' || '''' || '%'|| ':SOURCES1' || '%' || '''';
elsif (:MIN_EXP IS NULL and :JOB_CODE IS NOT NULL and :MAX_EXP IS NOT NULL and :SOURCES1 IS NOT NULL) then
v_sql := 'select v_candidate_id, v_fname,v_current_employer,v_Experience_years from candidature where v_experience_years <= :MAX_EXP and V_REQUIREMENT = :JOB_CODE and source like ' || '''' || '%'|| ':SOURCES1' || '%' || '''';
elsif (:MAX_EXP is null and :JOB_CODE IS NOT NULL and :MIN_EXP IS NOT NULL and :SOURCES1 IS NOT NULL) then
v_sql := 'select v_candidate_id, v_fname,v_current_employer,v_Experience_years from candidature where V_REQUIREMENT = :JOB_CODE and v_experience_years >= :MIN_EXP and source like ' || '''' || '%'|| ':SOURCES1' || '%' || '''';
end if;
insert into query_list values (v_sql);
insert into debug values (:JOB_CODE , :MIN_EXP , :MAX_EXP , :SOURCES1);
return v_sql;
end;
Please not that I am insertin the query into a table called Query_list and the page item values into the table called Debug thru the pl/sql function which returns teh query.
Now I select the data from the debug tables.
select unique(query) from query_list;
select v_candidate_id, v_fname,v_current_employer,v_Experience_years from candidature where V_REQUIREMENT = :JOB_CODE and v_experience_years >= :MIN_EXP and v_experience_years <= :MAX_EXP and source like '%:SOURCES1%'
select * from debug;
JOBCODE MINEX MAXEX SOURCE
21 1 10 donkeyHire
And if I run the query in sql I get some records returned
select v_candidate_id, v_fname,v_current_employer,v_Experience_years from candidature where V_REQUIREMENT = 21 and v_experience_years >= 1 and v_experience_years <= and source like 'donkeyHire'
V_CANDIDATE_ID V_FNAME V_CURRENT_EMPLOYER V_EXPERIENCE_YEARS
2 Vengu Andale Tech 4
But the record does not show up in the report!
does this type of report parse page items as text?
Why is it so?
Waiting for an early reply.
Thanks,
venkatVenkat - You don't want to put ':SOURCES1' in quotes like that.
Scott -
Form with report, where some items in the form have been given values.
Hi, greetings:
I have a question that maybe silly but annoying to me. I need to provide a form with report, where some items in the form have been given values automatically, and these items (display only) are supposed to show given values in the form automatically.
I used the APEX form with report. The update and delete worked well. But I cannot show automatic values when insert. By default APEX insert form makes every item null; I tried to give value for two items: P5212_USERKEY, P5212_DAILY_VER_DATE with process before header, after header, after regions and before footer, and computation, or set values of these two items in the branch when user hit create button (submit). It never worked out, the two items always displayed null value, and when I insert, I got "ORA-01400: cannot insert NULL into ("TBSBI"."DAILYVERPRODNOTE"."USERKEY")", since I have set up constraint in database that these two columns should not be null.
Could anyone help on this? any suggestion would be appreciated.
SamIf you have made these values 'Display Only' they would by default not save the session state. Accessing the page items will always return NULL. Did you change the 'Save Session State' option to 'Yes'?
Maybe you are looking for
-
in iMovie, I can't see my iPhoto videos in the event library. Why ? this is after updating to 10.7.4 also, if I want to use a picture in my movie, it says 'Open iPhoto to see photos from your iPhoto Library in this list.' It never use to do this.
-
Configuration Assistant failed during OEM 10g Grid control installation
Hi i got an error while installing OEM 10g Grid control 10.2.0.2.1 on Windows 2008 32bit server. Installation of OEM 10g was successfull but during configuration im getting an error "ORA-12560: TNS: protocol adaptor error". hence configuration assist
-
Can't work out how to stop Mac mail from Forwarding to GMail account.
Okay. This is on behalf of my sister. For whatever reason, when emails are sent to her @mac.com address they get forwarded to her GMail account and deleted from her @mac.com address. So they never appear in her @mac.com inbox. She now wants this rela
-
My Mac is freezing when using Keynote 6.2.2
Since the new Keynote 6.2.2 was released, I haven't use it. I only use Keynote 5.3, which is MUCH much better version. But yesterday and today I have used it. But both times my Mac is freezing ?? And I can't do nothing. And have to press on "shut dow
-
Need the classes for fm REUSE_ALV_HIERSEQ_LIST_DISPLAY does.
I have a requirement where I need to display header and item using alv classes.. (the same functionality that REUSE_ALV_HIERSEQ_LIST_DISPLAY function module does). If any one worked on this please guide.