Help regarding display of rows
Hi,
I have a table a1 , when a select is made the output is
OPT_NUM PRI_GRANT_NUM ANC_GRANT_NUM VESTING_ORDER
34928 281048 281053 1
34928 281048 281054 2
34928 281048 281055 3
34928 281048 281056 4
34928 281048 281057 5
i want the output to be
OPT_NUM PRI_GRANT_NUM ANC_GRANT_NUM VESTING_ORDER
34928 281048 281053 1
34928 281048 281054 2
34928 281048 281055 3
34928 281048 281056 4
34928 281048 281057 5
34928 281048 NULL NULL
Can this be obtained without the union clause..
please help...
thanks
Mathew
Another option is to use group by rollup:
SQL> create table mytable
2 as
3 select 34928 opt_num, 281048 pri_grant_num, 281053 anc_grant_num, 1 vesting_order from dual union all
4 select 34928, 281048, 281054, 2 from dual union all
5 select 34928, 281048, 281055, 3 from dual union all
6 select 34928, 281048, 281056, 4 from dual union all
7 select 34928, 281048, 281057, 5 from dual
8 /
Tabel is aangemaakt.
SQL> select max(opt_num)
2 , max(pri_grant_num)
3 , anc_grant_num
4 , vesting_order
5 from mytable
6 group by rollup((anc_grant_num,vesting_order))
7 /
MAX(OPT_NUM) MAX(PRI_GRANT_NUM) ANC_GRANT_NUM VESTING_ORDER
34928 281048 281053 1
34928 281048 281054 2
34928 281048 281055 3
34928 281048 281056 4
34928 281048 281057 5
34928 281048
6 rijen zijn geselecteerd.Regards,
Rob.
Similar Messages
-
Help regarding accessing duplicate rows in a procedure
Hi All,
I have duplaicate records in my table. In my procedure, I have to access only one row and leave the remaining rows unprocessed.
For ex:-
EMPNO ENAME DEPTNO DNAME SAL
1128 SMITH 140 MARKT 200
1128 SMITH 140 MARKT 400
1128 SMITH 140 MARKT 600
1160 DARON 150 BUSSN 300
1160 DARON 150 BUSSN 500
1196 DAYLE 180 SPORT 800
In my procedure, I need to process only
1128 SMITH 140 MARKT 200
1160 DARON 150 BUSSN 300
1196 DAYLE 180 SPORT 800
only these rows and dont process the remaining rows. Instead of deleteing the duplicate rows and then accessing, how to handle this duplication in the procedure. will write a cursor and open it and process the first row. when the cursor fetches the second row, as it a duplicate interms of EMPNO, i dont want to process that and skip to 4th record. process 4th record and skip 5th as it is a duplicate and then process 6th.
Will write some validations to check whether EMPNO and DEPTNO exists in the database and and whether those two are linked to each other and then process it.
Help Appreciated how to handle it in a procedure.
ThanksHi there,
from my understanding of what you've asked, you should just need to ensure your cursor is ordered by "empno" and "sal" and then assign empno to a variable each time you fetch the cursor or loop arround depending on how you do it.
then you only process the row when the data in the cursor.empno field is different from the data in the variable.
e.g. (disclaimer: quick and dirty)
declare
v_empno number;
begin
v_empno := 0;
for v_cursor in (select * from table order by empno, sal) loop
if v_cursor.empno <> v_empno then
--process record
v_empno := v_cursor.empno;
end if;
end loop;
end; -
URgent: Help regarding SQL Query
Hi ,
I need help regarding an sql query.
Sample Data:
ITEM_TYPE ITEM_NUM UNIT_PRICE QUANTITY LINE_TOTAL
ITEM 1 5 10 50
ITEM 2 10 5 50
ITEM 1 5 5 25
ITEM 2 10 20
TAX 16.5
TAX -3.5I would like to display the data as
ITEM_TYPE ITEM_NUM UNIT_PRICE QUANTITY LINE_TOTAL
ITEM 1 5 15 145
2 10 5
2 10
TAX 13.0
Line_total = unit_price * QuantityThanks in Advance
G.Vamsi Krishna
Edited by: user10733211 on Aug 5, 2009 7:42 AM
Edited by: user10733211 on Aug 5, 2009 7:49 AM
Edited by: user10733211 on Aug 5, 2009 8:12 AM
Edited by: user10733211 on Aug 5, 2009 8:22 AM
Edited by: user10733211 on Aug 5, 2009 8:24 AMHi,
Try this, use some analytics:
SQL> with t as (
2 select 'item' item_type, 1 item_num, 5 unit_price, 10 quantity, 50 linetotal from dual union all
3 select 'item', 2, 10, 5, 50 from dual union all
4 select 'item', 1, 5, 5, 25 from dual union all
5 select 'item', null, 2, 10, 20 from dual union all
6 select 'tax', null, null, null, 16.5 from dual union all
7 select 'tax', null, null, null, -3.5 from dual
8 ) -- actual query starts here:
9 select item_type
10 , item_num
11 , unit_price
12 , sum_qty
13 , case when sum_lt = lag(sum_lt) over ( order by item_type, item_num )
14 then null
15 else sum_lt
16 end sum_lt
17 from ( select item_type
18 , item_num
19 , unit_price
20 , quantity
21 , sum(quantity) over ( partition by item_type, item_num ) sum_qty
22 , sum(linetotal) over ( partition by item_type ) sum_lt
23 , row_number() over ( partition by item_type, item_num order by item_type, item_num ) rn
24 from t
25 )
26 where rn=1;
ITEM ITEM_NUM UNIT_PRICE SUM_QTY SUM_LT
item 1 5 15 145
item 2 10 5
item 2 10
tax 13
4 rows selected.
edit
And please use the code tag, instead of clunging with concats.
Read:
http://forums.oracle.com/forums/help.jspa
Edited by: hoek on Aug 5, 2009 5:15 PM
edit2
Also nulls for item_type:
ops$xmt%OPVN> with t as (
2 select 'item' item_type, 1 item_num, 5 unit_price, 10 quantity, 50 linetotal from dual union all
3 select 'item', 2, 10, 5, 50 from dual union all
4 select 'item', 1, 5, 5, 25 from dual union all
5 select 'item', null, 2, 10, 20 from dual union all
6 select 'tax', null, null, null, 16.5 from dual union all
7 select 'tax', null, null, null, -3.5 from dual
8 ) -- actual query starts here:
9 select case when item_type = lag(item_type) over ( order by item_type, item_num )
10 then null
11 else sum_lt
12 end item_type
13 , item_num
14 , unit_price
15 , sum_qty
16 , case when sum_lt = lag(sum_lt) over ( order by item_type, item_num )
17 then null
18 else sum_lt
19 end sum_lt
20 from ( select item_type
21 , item_num
22 , unit_price
23 , quantity
24 , sum(quantity) over ( partition by item_type, item_num ) sum_qty
25 , sum(linetotal) over ( partition by item_type ) sum_lt
26 , row_number() over ( partition by item_type, item_num order by item_type, item_num ) rn
27 from t
28 )
29 where rn=1;
ITEM_TYPE ITEM_NUM UNIT_PRICE SUM_QTY SUM_LT
145 1 5 15 145
2 10 5
2 10
13 13
4 rows selected.If you really need a space instead of nulls, then simply replace the nulls by a space....
Edited by: hoek on Aug 5, 2009 5:18 PM -
How to display first row value returened from a query as checked as default in a report
How to display first row value returned from a query as checked as default in a report
Example
Parameter 1
Paramerter2
ABD
x(checked)
Test
DEF
JMG
MudassarHi Mudassar,
The issue is caused by the order in which the parameters appear in the report data tab can be difference between our report execution and it failing. In other words, “Parameter2” is execution before parameter “A” due to this issue. We can adjust the parameter’s
order to solve the issue.
If “Parameter2” is parameter “A”, we cannot use that expression. Because fields cannot be used in report parameter expression, if we want to display the first value returned from a query as default value, we have to fill the “Specify values” text box with
the specific value in Default Values dialog box.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Input ready query and display only rows
I am trying to replicate scenario which is equivalent to creating manual layout in SEM-BPS with settings for layout category - Key Figures in Data columns, and rows defined individually. In this version it is possible to restrict certain rows as comparision only.
How can I acheive this using Input ready query? In my query I have created a strucure for Planning Items, but I am not able to show certain planning item selections as display only.
Any thoughts?Hello Gregor,
Thanks for you answer.
I already have two structures as mentioned by you.
Can you please let me know what exactly you meant by set the input flag on the cell level? What settings I have to change to set the flag, do I have to use any formula? In my example I have three rows for Planning item row structure and I want only one row to be selected as display only row.
Regards,
Sachin -
Can we display comments row for row in Input Ready Query...
Dear All,
Currently I have created Web template with Signle Document. When executed it in the Portal it will come up with a "Save" and "Cancel" button of its own and can allowing me to capture comment here & Finally Click on SAVE button which was stored in Documents area in RSA1.
Now I am was trying to figure out to display comments Row for Row in Input Ready Query...
Can you give ideas on this...Check link http://help.sap.com/saphelp_nw04/helpdata/en/1e/99ea3bd7896f58e10000000a11402f/frameset.htm
In query properties in BEx query designer you have to do settings to - Display document links
For metadata, master data, and InfoProvider data for a query, you can display links to Documents that you have created for these objects. If documents exist for these objects, the symbol appears next to these objects. If you click on this symbol, you jump to where the document is displayed on the Web.
Highlight the appropriate setting so that the document links for the desired document class are displayed. The document classes are oriented to the various categories of BW objects. InfoProvider data, metadata and master data. -
Hello javaGurus!
<Please Help me regarding displaying unicode>
I am new to javaInternationalization,
Till now i studies. Java Internationalization tutorial at http://java.sun.com/docs/books/tutorial/i18n/index.html and understand basic Structure.
I have some problem displaying the unicode characters, such at, Arabic, and japneese.
- How to display unicodes in applet?
- How can we set the the Japneese, English, Arabic fonts in one application, which run on windows environment.
- From where i can get the font s?
Regards,
waseemIf you specify a String object with the unicode sequences (of the form "\u####\u####"), you can simply display it with the method setText(String) of the class javax.text.JTextComponent (or javax.JTextArea), for example. If you specify a String object with your own encoding in your source code, you can compile it with the command:
javac -encoding <encodingName> fileName
On Windows OS, the font ArialUnicodeMS will display almost all characters you are to show.
You can find downloadable fonts in almost any search engine.
- The following can be additional material for studying.
http://java.sun.com/j2se/1.4/docs/guide/intl/fontprop.html
http://developer.java.sun.com/developer/qow/archive/65/index.html -
Help regarding MBeanServerConnection queryName function
Hi guys, i recently start using JMX and i need some help regarding queryName function. I want to get a specific set of objectNames, not all of them.
I have the following List of Beans
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=14b69d-eee40f3d6467,name=LoadBalancerServer
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=40-a0b2-f1dfb314406f,name=LoadBalancerServer
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=98-4af4-9147-bf45fb49c044,name=LoadBalancerServer
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers,serverId=c-4bf6-9c42-d5c3acea6662,name=LoadBalancerServer
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,name=LoadBalancerListener
ObjectName = WowzaMediaServerPro:loadBalancer=LoadBalancer,name=LoadBalancerRedirector
ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=IOPerformance
ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=MediaCache
ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=PendingReadAheadRequestTracker
ObjectName = WowzaMediaServerPro:mediaCache=MediaCache,name=PendingWriteRequestTracker
ObjectName = WowzaMediaServerPro:name=Connections
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=Connections
ObjectName = WowzaMediaServerPro:name=HandlerThreadPool
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=HandlerThreadPool
ObjectName = WowzaMediaServerPro:name=IOPerformance
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=IOPerformance
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=IOScheduler
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=chat,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=default,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=file,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live-record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=live-record-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-buffer,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-edge,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-edge-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-edge-origin,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=liverepeater-origin,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=netconnection,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer-record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-buffer-record-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live-record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtp-live-record-lowlatency,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=rtpout,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast-buffer,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast-buffer-record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,streamTypes=StreamTypes,streamTypeName=shoutcast-record,name=Properties
ObjectName = WowzaMediaServerPro:vHosts=VHosts,vHostName=_defaultVHost_,name=Properties
ObjectName = WowzaMediaServerPro:name=Server
ObjectName = WowzaMediaServerPro:name=ServerNotifications
My question is that , how can i get those rows that contains "WowzaMediaServerPro:loadBalancer=LoadBalancer,loadBalancerServers=LoadBalancerServers"?
Please helpHello ,
There should be a number of BRF+ tutorials available in SCN which discuss the FDT APIs. You can have a look at them to get an idea of the various APIs available and their uses.
For your usecase, you should do the following.
lo_fdt_function TYPE REF TO if_fdt_function,
lo_fdt_result TYPE REF TO if_fdt_result,
* Get function handle
CALL METHOD lo_fdt_factory->get_function
EXPORTING
iv_id = lv_function_id
RECEIVING
ro_function = lo_fdt_function.
where lv_function_id is the GUID of the BRF+ function . You can either make it a constant , or you can use a FDT API to get the function GUID from the BRF+ application name and function name.
* Set function context
TRY.
CALL METHOD lo_fdt_context->set_value
EXPORTING
iv_id =
ia_value =
This is one way to set the input context ( pass the input to the BRF+ function to process ). There are other ways to do this as well. Which one you use would depend on the kind of input you want to pass.
* Execute BRFPLUS function
TRY.
CALL METHOD lo_fdt_function->process
EXPORTING
io_context = lo_fdt_context
IMPORTING
eo_result = lo_fdt_result.
* Get result output
TRY.
CALL METHOD lo_fdt_result->get_value
IMPORTING
ea_value =
Another direct way of doing it would be to use the method PROCESS of the class CL_FDT_FUNCTION_PROCESS.
I have not gone into much explaination here , but it should provide you an idea of how you can go about it.Read the SCN docs on the APIs to get a better idea , or better still if you can get hold of a copy of the BRF+ book by Carsten Ziegler , you will get an end to end explaination of all BRF+ APIs in it.
Regards,
Indranil. -
How to display 30 rows in a report
Hi
I am using apex.oracle.com to Generate one report.
report contains 30 rows and tried alot to display all rows without clicking next.
how i can get this.
thanx in advance.
ChanranThanx for your reply mini,
i am showing some settings in report attributes
report template template:1.standard
pagination scheme -mo pagination selected-
enable partial page refresh yes
display point bottom right
number of rows 20
but this is not working same problem i am facing
regards
Chanran
Edited by: Chandu on 19-Oct-2011 06:37 -
Displaying a row by default in ALV table
Hi all,
I have created an alv table in which i have to display a row by default. I have set all the fields of the table as editable.
Also I have created the total calculation for the amount field by using the aggregation method, I want to displat the total grid also to be displayed by default.
How can I set that value?? Please give some suggestions.
Thanks in advance,
Nalla.BHi Nalla,
As you know you should call the agregation methode for displaying the total row :
DATA : alv_config_table TYPE REF TO cl_salv_wd_config_table.
DATA : lr_field TYPE REF TO cl_salv_wd_field.
alv_config_table->if_salv_wd_std_functions~set_aggregation_allowed( abap_true ).
lr_field = alv_config_table->if_salv_wd_field_settings~get_field( 'CARRIED' ) . "The column name for which total needs
lr_field->if_salv_wd_aggr~create_aggr_rule( aggregation_type = if_salv_wd_c_aggregation=>aggrtype_total ).
OK, i guess this is done in a specific methode 'METHODE_ALV' for the ALV settings.
Row by default :
Try to populate a line in your internal table, and bind it to the reference context of the ALV in WDDOINIT.
and call the METHODE_ALV
Sum row :
Check if you are implementing a methode that intercept the ON_DATA_CHECK event, if yes try to recall the METHODE_ALV.
> The aggregation methode must be recalled.
Best regards. -
Need Help Regarding Enabling The Matrix
Hi All,
We have got one user form and we have got one choose from list and one matrix, on click of choose from list the value will be displayed in the text box and at the same time matrix should get enabled. But it;s not happening in our case. The value is coming in the text box through choose from list but matrix is not getting enabled. We are able to change the back ground color of the matrix, make first column invisible and all but not able to enable the matrix. We need help regarding this one.
Regards,
JayanthHey first bind the columns of matrix to any user datasource
and then you can enter any thing into your matrix
following code may help
suppose you have one column
oForm = SBO_Application.Forms.Item("URFRM")
oUserDataSource = oForm.DataSources.UserDataSources.Add("URDSName",
SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
oMatrix=oForm.Item("URMATRX")
oMatrix = oItem.Specific
oColumns = oMatrix.Columns
oColumn = oColumns.Item("URCOLName")
oColumn.DataBind.SetBound(True, "", "URDSName")
oMatrix.Addrow()
hope this will help
additionally you can look at this sample
.....SAP\SAP Business One SDK\Samples\COM UI\VB.NET\06.MatrixAndDataSources -
OBIEE - answers - How to display to rows in one?
I have problem with QA_RESULTS table - exactly with correct display results
How can I display two rows in one?
Example:
data 1, name
2009-03-01, john
2009-03-05, john
2009-03-02, ann
2009-03-04, ann
I would like to see:
data 1, name , data 2
2009-03-01, john , 2003-03-05
2009-03-02, ann , 2009-03-04
Regards,
jshi..
i don't think this can be done..
but try to put the name column in first place and in column properties mention suppression values.. as it won't repeat the values for each row...
keep your date column in second position.
so that it appears like.. for each name there would be 2 dates up and down
just try... -
Displaying Alternate row as colored in Cross tab
Hi,
I have a report where I need to display alternate rows as colored.
There is some data in detail section followed by a cross tab in the report header section.
While I am able to display alternate rows as colored in Detail secction for displaying alternate colored rows in Cross tab data I need some help.
Data in cross tab is like this
history geography
Tammy 90 60
Sid 80 50
Julia 70 40
In cross tab for displaying alternate colored rows ie for alternate student names I am using two formulas
- for displaying row values I am using this one
whileprintingrecords;
numbervar d;
d := iif(d=100,255,100);
color(255,255,d);
For displaying alternate colored inner cells ie marks I am using this formula
whileprintingrecords;
numbervar c;
c := iif(c =255,100,255);
color(255,255,c)
I got these formulas after doing Googling
My cross tab is present in report footer and in the generated report it comes separeated in two pages.
In the first page data for Tammy and Sid is displayed while Julia is displayed on next page.
Now the Tammy is coming as yellow colored and as expected Sid is coming as white colored. However Julia which is on next page is coming as white , but logically it should have come as yellow. On the other hand my column data ie marks column is coming fine. Data for tammy and sid is coming as alternately colored and data is Julia on the next page is coming as yellow(as data for Sid is in white)
I am not able to understand why this is happening and what is the correct way to do alternate row coloring in cross tabs
Edited by: thunderball10 on Aug 26, 2010 11:57 AM
Edited by: thunderball10 on Aug 26, 2010 12:00 PMWhere is your variable c being reset.
If in page header or group header and you have repaet group header on new page then c will be reset on each page.
If In groupheader try adding this to reset formula
if not inrepeatedgroupheader then
Ian -
Disabling the display maximum rows per page
My project include many reports with table view, displaying 100 rows.
There is always arrows icon with the option to display maximum rows per page.
If user click on that option the OBIEE crashed, since there are a lot of rows.
I cannot decrese this number since all rows are required for other charts views.
a. Is there a way to set this parameter only for the table view?
b. Is there a way to disable this icon or not presenting it to the user?
c. Is there global way to coonfigure the default displayed rows number (e.g. from 100 to 20)?unfortunately, you are limited to the SRW built-ins in Reports as far as setting object properties is concerned. I have checked this with the Metalink staff and I did get an admission out of them that this is true.
You can set the property in the property palette, but I'm not sure that this helps you as I take it you have a condition you would like to implement. I wish I could help you further, but Reports is limited in some areas, and setting object properties programmatically is one of them. -
Need help regarding the dunning form
Hi,
I have to display all the sales and payments of a cusomter for all the periods that are older than the run date in a dunning form. (i.e) if the run date is 04-aug-05 and if the slaes are there in 3 months(april, May, july) then i have to display three line items with sales and payments for that corresponding three months in the line items. As this is a dunning form i cannot change the print program. any table which have all the sales for a period which i can access directly in the script. can anyone suggest how to handle this.
regards,
AshaHi,
You can call a subroutine within a program (your z program)
/: PERFORM ADD_AMOUNT IN PROGRAM SAPLZFTP_F150
/: USING &W_AMOUNT&
/: ENDPERFORM
In the z program create this subroutine.
Form ADD_AMOUNT
-->FT_INVAR Text Symbol table for input variables
-->FT_OUTVAR Text Symbol table for output variables
FORM add_amount TABLES ft_invar STRUCTURE itcsy
ft_outvar STRUCTURE itcsy.
STATICS:
w_value_l TYPE f150d-salfw.
READ TABLE ft_invar INDEX 1.
IF sy-subrc IS INITIAL.
you can check all this part of the code how you want to
process your data whether its numeric or character or
whatever
w_value_l = w_value_l + ft_invar-value.
ENDIF. "IF sy-subrc IS INITIAL.
ENDFORM. " ADD_AMOUNT
TO BESPOKE THE PRINT PROGRAM FOR THE DUNNING
Dunning outputs use the function module FI_DUNNING_PRINT_NOTICE. You can copy this to a Z function module and make some changes to the data selection. You will have to look into the code and decide what changes you need.
The process to use a bespoke program to do the dunning print is as follows:
UNDER FI GLOBAL SETTINGS in the configuration,
There are Business Transaction Events. Within that you can configure the same to enable a Z function module in place of the standard function module (from the FUNCTION GROUP F150)
Create function group ZFTP_F150
Copy standard function module FI_PRINT_DUNNING_NOTICE of function group F150 to ZFTP_FI_PRINT_DUNNING_NOTICE in function group ZFTP_F150
Copy standard function module PRINT_DUNNING_NOTICE of function group F150 to ZFTP_PRINT_DUNNING_NOTICE in function group ZFTP_F150
Within the function module ZFTP_FI_PRINT_DUNNING_NOTICE, change function module call for PRINT_DUNNING_NOTICE to ZFTP_PRINT_DUNNING_NOTICE
Create a new include ZFTPI_ROUTINES within the function group and copy the subroutines LOG_MSG, LOG_MSG_TAB, & LOG_SYMSG from the function group F150 to this include
AS AN ALTERNATE, YOU CAN COPY THE WHOLE FUNCTION GROUP
Maintenance view TBE31 (SM30). Change the function module from FI_PRINT_DUNNING_NOTICE to ZFTP_FI_PRINT_DUNNING_NOTICE against the event 00001720 FI-FI entry
Hope this helps.
regards,
Satya
Maybe you are looking for
-
How odd. I've a somewhat complex bookmarks menu hierarchy, perhaps two dozen folders each containing between five and fifty bookmarks as well as a sub-folder or two. All of this is synced and displayed correctly with the bookmarks tab in the app, exc
-
UNABLE TO SET parallel_automatic_tuning=TRUE IN Oracle9i Enterprise Edition
Hi, i am trying to set parallel_automatic_tuning=TRUE . but i am unable to set it. My oracle version is as below. SQL> SELECT * FROM V$VERSION; BANNER Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production PL/SQL Release 9.2.0.1.0 - Production CO
-
JTree doesn't scroll to selected node when out of scrollable view..
When ever I add a new item to the END of the tree and the tree is within a scrollpane, OR as I hit keys to navigate to items starting with the letter of the key I enter, the view is not scrolled into place. Any way to do this without custom code? If
-
OpenGL Profiler Update for OS X 10.4.11
Hi, *MY ENVIRONMENT:* MacBookPro (MacBookPro3,1) Mac OS X 10.4.11 2.4 GHz 2 GB Memory GeForce 8600M GT 256 MB Xcode 2.5 OpenGL Profiler 3.4 (78) Second Life 1.23.5 (136262) *THE PROBLEM:* http://wiki.secondlife.com/wiki/MacBookPro_2007_Graphics_Freez
-
Depuis que j'ai la version OSx Lion, j'ai souvent le message "La connexion au serveur a échoué. Les URL de type 'file' ne sont pas pris en charge. Comment faire disparaître ce message ?