Deletion of Total(Aggregated Sum) rows in planning book
I want to get rid of 'Total(Aggregated Sum)' rows in planning book tables.
'Total' line is useful but too many lines are uncomfortable for planners, so we're searching for the method not to use it.
If you know how to configure or use macro for it, please let me know.
Thank you,
HyeRee
Hi,
I can delete totals, but I can´t delete subtotals.
Macro Delete Totals
IF
New condition
PLOBS_FOR_LEVEL( ACT_LEVEL ) = 1
Step 1 iterations
ROW Ratio 1
ROW_VISIBLE( 0 )
ROW Ratio 2
ROW_VISIBLE( 0 )
ROW Ratio n
ROW_VISIBLE( 0 )
ENDIF
This macros works ok to deleting row totals.
Raúl.
Similar Messages
-
Hide row in planning book using BADI /SAPAPO/ADVX USER_EXIT_MACRO
Dear All,
I would like to have your suggestion how to hide row in planning book using BADI USER_EXIT_MACRO
the requirement is when I drill down the object by region, the first line will be "total" and the second and third line
will be region like "north" and "south".
I want to show only "total" line and hide region detail.
Would it be possible to do this using the badi USER_EXIT_MACRO?
Thank you in advance,
BoonsomHi,
In the Interactive Planning, you see a Cap-like icon on the top-left...... click on it and choose the characteristic (say, region) and say ok. You will then be able to see the Region just on top of the planning table. When you load the data, by default, it will have "Total" as option, and with your wish, you can choose to see the data for a particular region (North, South etc).
Regards,
Guru Charan. -
Hi experts,
I have the following requirement in DP planning book. the planning book has 3 KF (KF1, KF2 & KF3) and 2 characteristics (CHAR1 & CHAR2). Now for KF1 I need to display drill down for all the values in CHAR1 and then to all the values in CHAR2. For KF2 drill down will be only at the level of CHAR1. Total row will be displayed instead of CHAR2. I have achieved upto this step using macro. Now for KF3 I need to drill down for all the values in CHAR2 but not for CHAR1. How can I do this in the same planning book. The Macro I have written for KF2 is -
IF
Check planning objects
PLOBS_FOR_LEVEL( 2 ) > 0
Row: KF2 ( Attributes ) =
ROW_VISIBLE( 0 )
ELSE
Row: KF2 ( Attributes ) =
ROW_VISIBLE( 1 )
ENDIF
The desired output would be
KF CHAR1 CHAR2 M 08.2010
KF1 A1 Total
.. .. A2
.. .. B2
.. B1 Total
.. .. A2
.. .. B2
KF2 A1 Total
.. B1 Total
KF3 total A2
.. ... B2
Please suggest if this is possible.
Thanks in advance,
Soumick Chanda
Edited by: showmix on Aug 20, 2010 8:18 AM
Edited by: showmix on Aug 20, 2010 8:22 AMFirst of all your subject and what you mentioned in body of the thread are different.
If will only confuse other users.
Anyway what you mentioned is NOT possible even with macro.
Somnath -
Display of aggregated data in a planning book
Hello,
I am trying to display aggregated data for a characteristic value in the planning book even when i am on a detailed level.
Example :
I have 3 products belonging to 1 material group.
I have 2 customers.
For customer A, i want to see the quantity of all detailed products.
For customer B, I want to see the quantity of the materialgroup (on aggregate level) even if I only select 1 product.
Help is more than welcome
Frederik
Edited by: Frederik Verhaeghe on Dec 26, 2007 4:12 PMHello Srinivas,
Here a more detailed explanation of what I want to achieve with the macro builder.
Three materials are beloging to the Material group 001 in this example. (FV_2 and FV_3)
My intention is to display the quantity of all the material group for the value POOL, and not only the qty for FV_1. Even when I only diplay FV_1, I want to see the total POOL qty for FV1, FV_2 and FV_3.
Best regards,
Frederik
Edited by: Frederik Verhaeghe on Dec 26, 2007 5:43 PM -
Planning book Cell colours are not displayed correctly in upgarded SCM 7.0
Hi All
WE have recently upgarded SCM 4.1 to SCM 7.0 system and I am testing new system. I am stuck in one issue . We have some keys figure rows which are open of inout/output. WE have macros for this key figures to close for certian period. After closing we defined cell Background colour to be same as default colour of other rows in planning book. For SCM 4.1 we used colour no 9 for this.
But in New System SCM 7.0 looks like colour numbers have changed. So I changed macros for background colour , we have an option when changing system gives colour palett and we can select, I tested the whole pallett fo matching colour with default planning book celllc colours- no colour is matching , when I look at palett it looks same but when I select that in macro the shade looks diferent .
Can some one advice how can we get exact colout number to match defult colour of palnning book cells.
Thanks
KVHi Kristin,
You can always change the cell color to default by using 0 as argument of the macro function. For instance, the following macro change the color of cell to red if the corresponding prop factor value is negative. On the other hand, for a positive value or zero, the default background color is retained.
Thanks,
Rajesh -
Distribuition Function in Planning book
Hello Everyone!,
I facing issue in using distribution function in planning book.
I have to update one KF for many products & I'm trying to use the distribution function.
But the problem is I have many rows/products loaded in planning book & for each row/product I have to manually enter the value & operator. This is cumbersome.
Is there a way to update all products/rows in planning book with single execution?
What & how distribution formula can be used.
Any inputs in this regard will be much appreciated.
Thanks in advance.Hi Amol,
Thanks for the info, your suggestion may help me but the problem that I'm facing is that, If I load individual product in planning book then the KF is appearing in distribution function window.
But when I load all products the KF is not appearing in distribution function window.
Also I have observed that when I load individual product, the KF field is available in editable mode but when I load all products, the KF row in planning book is non-editable. I think this is preventing the KF appearance in distribution function window.
See below.....
When loaded single product
When loaded multiple products
Please suggest.
Thanks. -
Different units in total sum row
Hello Bex Experts,
I have orders with different Units in a report. currently the total sum row show * for Mix
How can I get the total sum for ST and KG like
Total Sum 366 KG
Total Sum 342 ST
BR MatthiasHi Matthias,
If you want to sum their numbers regardless of the UNITS, just use the NODIM() in formula..But if you need to add them and have 1 unit for the result, you must convert one of the them to another unit..
Regards,
Loed -
Strategey to Delete Millions/Move millions of rows in a database
Hello,
I am using SQL Server 2012 SE.
I am trying to delete rows from a couple of tables (GetPersonValue has 250 million rows and I am trying to delete 50Million rows and GetPerson has 35 Million rows and I am trying to delete 20 million rows). These tables are in TX replication.The plan is to
delete data older than 400 days old.
I tried to move data to new tables from the last 400 days and it took me like 11 hours. If I delete data in chunks of 500000 then its taking a long time to rebuild indexes(delete plus rebuild indexes 13 hours).
Since I am using standard edition partition wont work.
Is there a way to speed up things? Experts I need your valuable inputs.
Please find ddl below:
GO
CREATE TABLE [dbo].[GetPerson](
[GetPersonId] [uniqueidentifier] NOT NULL,
[LinedActivityPersonId] [uniqueidentifier] NOT NULL,
[CTName] [nvarchar](100) NULL,
[SNum] [nvarchar](50) NULL,
[PHPrimary] [nvarchar](50) NULL,
[PHAlt1] [nvarchar](50) NULL,
[PHAlt2] [nvarchar](50) NULL,
[EAdd] [nvarchar](50) NULL,
[ImportedAt] [datetime] NOT NULL,
[LinedActivityId] [uniqueidentifier] NOT NULL,
[Order] [int] NOT NULL,
[PHAssName] [varchar](255) NULL,
[TXAssName] [varchar](255) NULL,
[EMAssName] [varchar](255) NULL,
CONSTRAINT [PK_GetPerson] PRIMARY KEY NONCLUSTERED
[GetPersonId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[GetPersonValue](
[GetPersonValueId] [uniqueidentifier] NOT NULL,
[GetPersonId] [uniqueidentifier] NOT NULL,
[ValueDefId] [uniqueidentifier] NULL,
[ValueDefName] [nvarchar](50) NULL,
[ValueListItemId] [uniqueidentifier] NULL,
[Value] [nvarchar](max) NULL,
CONSTRAINT [PK_GetPersonValue] PRIMARY KEY NONCLUSTERED
[GetPersonValueId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
/****** Object: Table [dbo].[LinedActivity] Script Date: 4/16/2015 10:30:38 AM ******/
GO
CREATE TABLE [dbo].[LinedActivity](
[LinedActivityId] [uniqueidentifier] NOT NULL,
[AccountTriggerId] [uniqueidentifier] NOT NULL,
[LinedActivityStatusId] [int] NOT NULL,
[QueuedAt] [datetime] NOT NULL,
[LastUpdatedAt] [datetime] NULL,
[IsLiveMode] [bit] NOT NULL,
[PHJobId] [uniqueidentifier] NULL,
[EMJobId] [uniqueidentifier] NULL,
[TXJobId] [uniqueidentifier] NULL,
[NotificationTemplateId] [uniqueidentifier] NULL,
[Size] [int] NOT NULL,
[ResultsExported] [bit] NOT NULL,
[JobCompletedEMSent] [bit] NOT NULL,
[SubStatusId] [int] NULL,
CONSTRAINT [PK_JobQueue] PRIMARY KEY NONCLUSTERED
[LinedActivityId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
) ON [PRIMARY]
GO
GO
/****** Object: Index [IX_GetPerson_LinedActivityId] Script Date: 4/16/2015 10:30:38 AM ******/
CREATE NONCLUSTERED INDEX [IX_GetPerson_LinedActivityId] ON [dbo].[GetPerson]
[LinedActivityId] ASC
INCLUDE ( [GetPersonId],
[LinedActivityPersonId],
[CTName],
[SNum],
[PHPrimary],
[PHAlt1],
[PHAlt2],
[EAdd],
[ImportedAt],
[Order],
[PHAssName],
[TXAssName],
[EMAssName]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
/****** Object: Index [IX_GetPerson_LinedActivityPerson] Script Date: 4/16/2015 10:30:38 AM ******/
CREATE NONCLUSTERED INDEX [IX_GetPerson_LinedActivityPerson] ON [dbo].[GetPerson]
[LinedActivityPersonId] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
GO
GO
/****** Object: Index [IX_GetPerson_LinedActivityPersonId_GetPersonId] Script Date: 4/16/2015 10:30:38 AM ******/
CREATE NONCLUSTERED INDEX [IX_GetPerson_LinedActivityPersonId_GetPersonId] ON [dbo].[GetPerson]
[LinedActivityPersonId] ASC,
[GetPersonId] ASC
INCLUDE ( [CTName],
[SNum],
[PHPrimary],
[PHAlt1],
[PHAlt2],
[EAdd],
[ImportedAt]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
GO
GO
/****** Object: Index [IX_GetPersonValue_GetPersonId_GetPersonValueId] Script Date: 4/16/2015 10:30:38 AM ******/
CREATE NONCLUSTERED INDEX [IX_GetPersonValue_GetPersonId_GetPersonValueId] ON [dbo].[GetPersonValue]
[GetPersonId] ASC,
[GetPersonValueId] ASC
INCLUDE ( [ValueDefId],
[ValueDefName],
[ValueListItemId],
[Value]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
GO
/****** Object: Index [IX_LinedActivity_1] Script Date: 4/16/2015 10:30:38 AM ******/
CREATE NONCLUSTERED INDEX [IX_LinedActivity_1] ON [dbo].[LinedActivity]
[LinedActivityStatusId] ASC,
[IsLiveMode] ASC
INCLUDE ( [LinedActivityId],
[AccountTriggerId],
[QueuedAt],
[LastUpdatedAt],
[PHJobId],
[EMJobId],
[TXJobId],
[NotificationTemplateId],
[Size],
[ResultsExported],
[JobCompletedEMSent]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
/****** Object: Index [IX_LinedActivity_2] Script Date: 4/16/2015 10:30:38 AM ******/
CREATE NONCLUSTERED INDEX [IX_LinedActivity_2] ON [dbo].[LinedActivity]
[AccountTriggerId] ASC,
[LinedActivityStatusId] ASC,
[ResultsExported] ASC
INCLUDE ( [LinedActivityId],
[QueuedAt],
[LastUpdatedAt],
[IsLiveMode],
[PHJobId],
[EMJobId],
[TXJobId],
[NotificationTemplateId],
[Size],
[JobCompletedEMSent]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
/****** Object: Index [IX_LinedActivity_3] Script Date: 4/16/2015 10:30:38 AM ******/
CREATE NONCLUSTERED INDEX [IX_LinedActivity_3] ON [dbo].[LinedActivity]
[LinedActivityStatusId] ASC,
[ResultsExported] ASC
INCLUDE ( [LinedActivityId],
[AccountTriggerId],
[QueuedAt],
[LastUpdatedAt],
[IsLiveMode],
[PHJobId],
[EMJobId],
[TXJobId],
[NotificationTemplateId],
[Size],
[JobCompletedEMSent]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
/****** Object: Index [IX_LinedActivity_IL_QJSID_ATID_QJID_QAT_LU_PJID_EJID_SJID_NTID_S_New] Script Date: 4/16/2015 10:30:38 AM ******/
CREATE NONCLUSTERED INDEX [IX_LinedActivity_IL_QJSID_ATID_QJID_QAT_LU_PJID_EJID_SJID_NTID_S_New] ON [dbo].[LinedActivity]
[IsLiveMode] ASC,
[LinedActivityStatusId] ASC,
[AccountTriggerId] ASC,
[LinedActivityId] ASC,
[QueuedAt] ASC,
[LastUpdatedAt] ASC,
[PHJobId] ASC,
[EMJobId] ASC,
[TXJobId] ASC,
[NotificationTemplateId] ASC,
[Size] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 80) ON [PRIMARY]
GO
/****** Object: Index [IX_LinedActivity_NotificationTemplateID_TXJOBID] Script Date: 4/16/2015 10:30:38 AM ******/
CREATE NONCLUSTERED INDEX [IX_LinedActivity_NotificationTemplateID_TXJOBID] ON [dbo].[LinedActivity]
[NotificationTemplateId] ASC
INCLUDE ( [TXJobId]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
/****** Object: Index [IX_LinedActivity_LinedActivityID_New] Script Date: 4/16/2015 10:30:38 AM ******/
CREATE NONCLUSTERED INDEX [IX_LinedActivity_LinedActivityID_New] ON [dbo].[LinedActivity]
[LinedActivityId] ASC
INCLUDE ( [QueuedAt]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
GO
ALTER TABLE [dbo].[GetPerson] ADD DEFAULT ((0)) FOR [Order]
GO
ALTER TABLE [dbo].[LinedActivity] ADD CONSTRAINT [DF_LinedActivity_IsLiveMode] DEFAULT ((0)) FOR [IsLiveMode]
GO
ALTER TABLE [dbo].[LinedActivity] ADD CONSTRAINT [DF_LinedActivity_SubmittedJobID] DEFAULT (CONVERT([uniqueidentifier],CONVERT([binary],(0),(0)),(0))) FOR [PHJobId]
GO
ALTER TABLE [dbo].[LinedActivity] ADD DEFAULT ((0)) FOR [Size]
GO
ALTER TABLE [dbo].[LinedActivity] ADD DEFAULT ((0)) FOR [ResultsExported]
GO
ALTER TABLE [dbo].[LinedActivity] ADD DEFAULT ((0)) FOR [JobCompletedEMSent]
GO
ALTER TABLE [dbo].[GetPerson] WITH CHECK ADD CONSTRAINT [FK_GetPerson_LinedActivity] FOREIGN KEY([LinedActivityId])
REFERENCES [dbo].[LinedActivity] ([LinedActivityId])
GO
ALTER TABLE [dbo].[GetPerson] CHECK CONSTRAINT [FK_GetPerson_LinedActivity]
GO
ALTER TABLE [dbo].[GetPersonValue] WITH CHECK ADD CONSTRAINT [FK_GetPersonValue_GetPerson] FOREIGN KEY([GetPersonId])
REFERENCES [dbo].[GetPerson] ([GetPersonId])
GO
ALTER TABLE [dbo].[GetPersonValue] CHECK CONSTRAINT [FK_GetPersonValue_GetPerson]
GO
Here is my delete statement:
select A.GetPersonValueid,B.GetPersonID into temp_table
From GetPersonValue A inner Join GetPerson B
on A.GetPersonid =B.GetPersonID inner join LinedActivity C
on B.LinedActivityId = C.LinedActivityID and C.QueuedAt >Getdate()-400
delete from GetPersonValue where GetPersonValueid in (select GetPersonValueid from temp_table)
delete from GetPerson where GetPersonid in (select GetPersonid from temp_table)
drop table temp_table
ALTER INDEX ALL ON GetPersonValue REBUILD WITH (FILLFACTOR = 80)
ALTER INDEX ALL ON GetPerson REBUILD WITH (FILLFACTOR = 80)
Experts I need your valuable inputs here. Thanks a ton in advance.From the code you posted, none of the tables have clustered indexes. If that is correct, the first thing you need to do is create one.
This should be a little faster, much faster if you add a clustered index.
select B.GetPersonID
into temp_table
From GetPersonValue A inner Join GetPerson B
on A.GetPersonid =B.GetPersonID inner join LinedActivity C
on B.LinedActivityId = C.LinedActivityID and C.QueuedAt >Getdate()-400
CREATE CLUSTERED INDEX [IX_temp_table] ON [dbo].[temp_table]
[GetPersonID] ASC
DECLARE @rowcnt INT;
SET @rowcnt = 1;
WHILE @rowcnt > 0
BEGIN
delete TOP (50000) a
from GetPersonValue a
INNER JOIN temp_table t
ON t.GetPersonId = a.GetPersonId;
SET @rowcnt = @@ROWCOUNT;
END
SET @rowcnt = 1;
WHILE @rowcnt > 0
BEGIN
delete TOP (50000) a
from GetPerson a
INNER JOIN temp_table t
ON t.GetPersonId = a.GetPersonId;
SET @rowcnt = @@ROWCOUNT;END
drop table temp_table;
If i delete based of top n rows there is a chance of getting a foreign key violation error when deleting from the GetPerson table. -
New Empty Rows in Planning Layout
Hi All
I am having a bit of a rough time with 2004S and planning layouts. In order to test that I am not doing something stupid (which is fairly likely) I have created a simplified model (IC, Aggr Level etc etc) with which to prototype.
I have an InfoCube with the following structure:
Char: Company ZCH_KCO
Job ZCH_JOB
Plan Item 0SEM_POSIT
Value Type 0VTYPE
Version 0VERSION
KeyF: Amount 0AMOUNT
Time: Fisc Per 0FISCPER
Fisc Var 0FISCVARNT
Unit: Curr Key 0CURRENCY
I have defined my Aggregation Level in the Planning Modeler to include all the InfoObjects in the InfoCube. I have not defined a Filter on this Aggregation Level.
I then created a Query to include all the characteristics in the Rows and the Key Figure in the Column.
Last, but not leats, I popped it into a Web Template where I assigned the Query to an Analysis Web Item and I set the "Number of New Lines" attribute to 10.
When I execute it, I get the following [rather comprehensively documented] error message appearing at the top of the report:
"No new row or column added because not all characteristics have a key cell"
Anyone got any ideas?
Cheers - DHi Daneel,
I have not experienced the error you mention but have managed to get input-ready planning queries to work, so I will offer a couple of suggestions:
1. Make sure that your key figure is marked as being input ready ("can be changed" on the Planning property tab)
2. Values need to be uniquely defined to be input ready. Try putting restrictions on your characteristics to refine the data. Eg. put value type, version etc.. in the filter area and restrict them - put only the Plan item in the rows.
3. Make sure you do not have zero suppression enabled on rows and column structures.
Also, refer to this help section which may be useful:
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/f234619e3c4c5de10000000a155369/frameset.htm">Manual Planning in NW2004s</a>
Good luck! -
How to Retrieve Totals in APO DP Planning Book
Hi All
I want to see the totals coulmns in planning book data view. I know I can check the totals from settings> row totals
But this row totals disappears as soon as I log out of the planning book. Is there any way this row totals is permanently attached to the data view?
Is there any BAPI, I can use to read the KF totals?
Any pointers on this will be highly helpful
ThanksDear Vijay,
I doubt if there is any standard settings or configuration is there for this functionality. What i can suggest is either you add seperate key-figures for displaying total of all the periods and write macros to populate key-figure values in it. The second option is initiallize the key-figures for an extra bucket which is really required by the business and populate the total in that extra period by writing macro. By second method there will not be extra key figure required. Apart from writing macros you can use BAPIs for reading the key-figure and adding it and finally populating the key figure values in the key-figure but this is not required as macro is sufficient for populating the key-figure in both the cases.
Please let me know if you think any other better way of doing it.
Regards,
Mukesh Pandey -
Change delete link href for each row of table
Hi,
I am using Struts/JSP to do the following..
iterate through a list of bean objects and show them as table rows. I can do this successfully. I'm using logic:iterate tags to iterate and bean:write tags to write to table columns.
I have a delete link added to each row.. which is configured as follows..
<logic:iterate..... >
<tr>
<bean:define id="rowId" name="form" property="bean"/>
<td><a href="order.do?action=delete&orderid=<%=rowId%>">Delete</a></td>
</tr>
</logic:iterate>I'm trying to investigate if there are other ways to do this instead of using
"<%=rowId%>"...
Any suggestions?
ThanksHi,
Check the event "EH_ONONE_CLICK_ACTION " line 58/59 it calls 'Relationships' window's outbound plug 'ToAccountRelationshipsEF'
lr_window = me->view_manager->get_window_controller( ).
lr_window->call_outbound_plug( 'ToAccountRelationshipsEF' ).
keep breakpoint in the outbound plug, you can see the navigation details it could be done using nblinks/tlinks or by calling the navigation link of parent component bp_head/overview..
Similarly EH_ONNEW event will get trigger when you click on new button and it allows to open the view in editable mode, again this is calling the same outbound plug ToAccountRelationshipsEF'.. looks like there could be dynamic navigation happening with the same outbound plug, please debug and see.
To achieve your requirement you have to change the navigation to edit page instead of display page..please debug see how navigations are implemented.
If by default navigation to relationship view is implemented in editable mode then it could be achieved via creating a read only config and switch between editable configuration and read only config. based on the source..
Hope this helps..
Cheers,
Sumit Mittal -
How to create a overall total or sum for structures created?
Dear all expert,
I have a BW query as below.
Rows:
Structures
- Product A
- Product B
- Product C
- Product D
Diameter
Description
Columns:
Storage Location
Key Figures:
- Total Quantity
- Daily Quantity
How can I obtain the total or sum at the rows for all the structures?
Thank You.Create a formula in the structure as sum of all the elements of the structure. It is not clean and you won't get just a total row below the list of elements of the structure, but that is the best option with structures and characterisitics mixed in the rows.
Thanks
Vineet -
Inserting total column and row
Hello All,
I'm new to WebI and BOBJ and I'm having some issue with my first report. I've tried searching the forum for this same issue (or something similar) and came across nothing. Any help is greatly appreciated!
I'm having a problem inserting a Grand Total column and row to my report. Here's a sample layout of my report:
*Tech Type | Project | Role | Key Fig1 | Key Fig 2 | Key Fig 3 | Key Fig 4|*
Proj 1
Subtot
Proj 2
Subtot
etc
In one tab the key figures are grouped by month and I also created four tabs (one tab for each key figure) that lists the key figures by month.
What I wish to do is insert one row at the end of the report which sums the key figures vertically and a column that adds the key figures horizontally. I've tried to do SUM but that inserts a row/column after every key fig. I've also tried to do a count and insert a SUM formula with the same effect (a row/column is inserted after every key figure).
Any suggestions?
Thanks,
Joaquim M.Joaquim,
Through your posting it's hard to visualize what is happening, other than you are not satisfied with the results. Here are the steps for adding a sum to a horizontal grid with perhaps two columns of information (month, figures). After the grid is presented, left-click once on the data of figures (do not click on the header cell of figures, click on any cell just below the header). Once you left-click the column will appear with a "grey" highligting. Next is to click on the "sigma" icon drop-down and choose "Sum". Once you click sum a new row at the very bottom of your grid should appear, summarizing [figures].
Thanks,
John -
Totals to be shifted at the bottom in the planning book
Dear Team
In Planning book, the total of the rows is displayed at the top and drill down of Key figures below that.
If I want to shift the settings as -
The details should appear first and the total should appear as the bottom, is it possible by any std settings?Tamas Szecsy wrote:
I am using Builder Blue theme (theme 2) in APEX 4.1. It has a gray strip on a single tab page template. Could some body please help what kind of CSS style attribute should I apply to maket APEX place it at the bottom of the page even if there is not enough content to fill in the gap between tabs and this strip.See +{message:id=3716643}+ -
How to delete the total entries in ztable
Hi ,
How to delete the total entries in ztable...
code pls.
regards,Hi Venkat,
pls see below records,
Plant Material Alternate material
3770 00000000000126875 2020202
3770 000000000005999335 2020202
3770 117196 2020202
3780 00000000000126875 2020202
3784 00000000000126875 2020202
3784 000000000002809336 2020202
3784 000000000005999335 2 020202
3789 00000000000126875 2020202
if i write below syntax ,
delete from ztable where matkl = '2020202'.
all records contains matkl = '2020202' will be deleted ??
pls. reply.
Maybe you are looking for
-
I just bought $150 worth of iTunes cards that the store won't let me use
This is perhaps a common problem -- I don't know. My Bride bought me a 30GB iPod a few years ago. Cayman Islands are disallowed from using the iTunes Store, for whatever the reason. I'm not an angry man, just frustrated. I called a few locations in t
-
Hey guys, I have a MacBook and im just not sure if I should sell it and buy a MBP. The reason is because I am planning to start video editing with FCE 4 also buying a video camera?I just think my MB could not handle the editing? Thanks, Josh
-
No Sound on main box, installed yesterday.
now I have no sound on my main box. Just installed yesterday and it was working fine. I wanted to check to make sure it recorded the shows I setup. And it did but there is no sound. I checked all the setting on the X1 box and on my TV - Samsung Smart
-
Hi, a finish product requires 2 sub-assemblies and both the sub-assemblies can be manufactured in-house. ea sub assemblies needs a raw mat to prepare. some times we send only the bottom most level raw to vendor for sub-contracting and we receive sub-
-
Scoring a sequence/drag n drop question
I had problems with this in CP4 and never figured out how to resolve them. In Captivate 5, I am using a sequence question. Right now it has 4 objects and a total score of 100 points. I would like the user to be awarded 25 points for any answer that