At new statement for Summary report
Hi,
I have made a vendor balance report having debit and credit entry in on eintrenal table IT_BSIK, with all line item detail in another table IT_TAB1 i want to make summry report by adding all the amount of of line item it is also working fine but i wan tto change the summary report i want summary for debit and credit entery seperate How to do it find Below the code part for summary how to use AT NEW SHKZG then append the IT_TAB1
find the code here.
**********************summarised part
loop at it_lfnr.
Clear : VTOTBAL, vNtdue, vDue, vDue0, vDue31, vDue61, vDue91,V1TOTBAL.
loop at it_bsik where lifnr = it_lfnr-lifnr.
IT_TAB1-LIFNR = IT_BSIK-LIFNR.
IT_TAB1-BUKRS = IT_BSIK-BUKRS.
IT_TAB1-SAKNR = IT_BSIK-SAKNR.
IT_tab1-NAME1 = IT_bsik-NAME1.
ADD IT_BSIK-dmbtr TO V1TOTBAL.
move V1TOTBAL TO IT_TAB1-dmBTR.
ADD IT_BSIK-WRBTR TO VTOTBAL.
move VTOTBAL TO IT_TAB1-WRBTR.
MOVE IT_BSIK-WAERS TO IT_TAB1-WAERS.
ADD IT_BSIK-NTDUE TO VNTDUE.
move VNTDUE TO IT_TAB1-NTDUE.
ADD IT_BSIK-DUE TO VDUE.
move VDUE TO IT_TAB1-DUE.
ADD IT_BSIK-DUE0 TO VDUE0.
move VDUE0 TO IT_TAB1-DUE0.
ADD IT_BSIK-DUE31 TO VDUE31.
move VDUE31 TO IT_TAB1-DUE31.
ADD IT_BSIK-DUE61 TO VDUE61.
move VDUE61 TO IT_TAB1-DUE61.
ADD IT_BSIK-DUE91 TO VDUE91.
move VDUE91 TO IT_TAB1-DUE91.
endloop.
append it_tab1.
endloop.
***********************************end of summarised vendor part ***************************
Hi,
loop at it_bsik where lifnr = it_lfnr-lifnr.
if it_bsik-SHKZG eq 'Debit.
add all your fields to table itab.
else.
add all your fields to table itab1.
endif.
endloop.
This way you will get debit data in table itab and credit data in itab1.
Then you can use At new lifnr for both tables separately and you will be able to sum it separately.
Hope its clear.
Thanks,
Archana
Similar Messages
-
Hello, colleagues. Could you tell me how to add new field for RFDEPL00 report? It's gonna be field from KNA1 table. I know that note 984305 helps to do it for FBL5N. But this report uses another structure.
Hi,
I don't think you can... Indeed, with RFITEMAR report (FBL5N), you can play with the structure, but not in RFDEPL00/RFKEPL00 reports. Only modification: you can take note 868388 as an example of a change, if you decide to do it.
Regards,
Eli -
Do I need a new license for Crystal Reports Release 2?
Post Author: jerryk
CA Forum: Upgrading and Licensing
Hi,
We have a license for Crystal Report XI. However we need Crystal Reports Release 2 since we are using .Net 2.0. I just tried installing the Crystal Reports Server on out test web server and it would not accept the license key we have. Do we need to get a new key?
jerryPost Author: colin mackenzie
CA Forum: Upgrading and Licensing
Hey jerryk.
Check out this URL.
It will help.
http://www.businessobjects.com/products/reporting/crystalreports/xi_release_2.asp -
Hi Friends
We are using portals to run reports.When the queries run on Bex analyser, stats recording fine but however when we run the queries on Portals,the stats are not recording.
Then I did load data from RSDDSTAT table into 0BWTC_C02 cube.Now no.of navigation isok but overall time and meantime are displaying as '0'.
What is the correct solution to record bw stats for web based queries?
Regards,
Chama.Hi
My problem is not the performance problem.
When query ran on portal then BW stats not showing the details of meantime ,overall meantime,time olap processor etc.
When I run the stats query '0BWTC_C10_Q010' - Utilising OLAP, It's showing only number of navigations and it's showing remaining all the fields '0'.
How can I resolve this problem.
Regards,
Chama. -
How can I give access to a new user for WebView Reporting Log In //IPCC Enterprise
Hi All,
How can I give access to a new user for the WebView Reporting Log In ?
I have IPCC Enterpise 7
Thanks
AndresTwo options: 1. In configuration manager on the AW, use the user list tool to add the users domain account and select Webview access permissions. 2. Using standard Microsoft Active Directory tools or the Cisco Domain Manager tool, add the desired AD user account into one of the "WebView" security groups created within the Cisco OU.
-
Two statements for one report (Analysis)
Hi all,
please help me understand the behavior of OBIEE.
When I open my Analysis, it asks for input parameters. These parameters are collumn prompts with checked "require user input". Sure, user can't run Analysis without any parameters.
Now what is strange. In Administration -> Manage sessions I can see TWO statements, created by me. I didn't run this report twice. This happens often. It's not all. These two statements are not equal. One of them has WHERE clause with my parameters I've set, but another statement DOESN'T have any WHERE clause. Actually, the first statement runs for a minute or like that. But the second statement can run for an hour and longer. But this is not just my observation, users complain about slow performance. The Analysis DOESN'T return any result untill both statements end their work although the first statement with WHERE clause is already finished.
How I deal with it... I perform cansel in Administration -> Manage sessions and then run Analysis again with the same input parameters. It returns result in few seconds, it seems like using cache (but repository object is not cashable).
What is wrong here? This looks like inappropriate behavior. This is not huge problem for business, because we have only few users at this stage. Most of users still use SAP Business Objects. So I can waste my time for canselling of statements for these few users. But the question is what will be in the future. Please, help me.
Oracle Business Intelligence 11.1.1.6.6Remove a column at a time, and see if that makes BI fire only one query. Once you identify column forcing query to split, check RPD model for the logical table for that field. Check content level, logical sources, physical and logical diagrams etc. Also perform consistency check.
-
New Tcodes for COPA Reports from KE31
Hi All.
I have created several report for COPA from KE31. Now i want to create seperate TCodes for each report. So please kindly guide me how can i generate TCode for these reports.
I will be thankful.Hi,
Get the generated name of ur program from ur tcode.
Then goto se93
give transaction code and click create
select the second radio button(transaction code for reports)
give short description and press enter
after that give your program name
and select the gui check boxes as required for html ,java,
and save it
you can use the transaction code
REGARDS
JAGADISH -
Using if the else logic in regards to a select statement for a report
Hi all,
I've a question regarding if then else logic in Oracle.
I'm developing a report application which contains 3 selectlists
- ProductGroup - SubGroup - Manufacturer
Each one containing several values. And are based on eachother, meaning if you select an item from the PG list, you only get the SG items regarding the PG item you've choosen before. The process logic should be as the following:
When a user selects one item from for example the PG list, the query will be:
select * from x where PG = :P_PG
and the report displays all the items in the PG category selected
The other two bindvariables would be null as the user didn't pick them
If he then proceeds and selects one item from the SG list, the query would be:
select * from x where PG = :P_PG and SG = :P_SG
and the report displays all the items in the PG and SG category selected
If he then proceeds and selects one item from the MA list, the query would be:
select * from x where PG = :P_PG and SG = :P_SG and MA =:P_MA
and the report displays all the items in the PG and SG and MA category selected
Now, I've read some documentation about the decode function, but I can't figure it out, please help.
PeterOkay, Chet, have set it up on htmldb, so you can see my problem, will go in high detail, it is not producing what I want. Example on htmldb:
DEMO/test
http://htmldb.oracle.com/pls/otn/f?p=33229:6
Defenitions:
3 LOV's, namely:
- LOVPG - select distinct productgroep, productgroep pg from plijst
- LOVSG - select distinct subgroep, subgroep sg from plijst where productgroep = :P6_LOVPG
- LOVLE- select distinct leverancier, leverancier le from plijst where productgroep = :P6_LOVPG and subgroep = :P6_LOVSG
3 Selectitems with submit, namely:
- :P6_LOVPG
- :P6_LOVSG
- :P6_LOVLE
Report region select statement:
select * from plijst where (productgroep = :P6_LOVPG or :P6_LOVPG IS NULL) and (subgroep = :P6_LOVSG or :P6_LOVSG IS NULL) and (leverancier = :P6_LOVLE or :P6_LOVLE IS NULL)
Branch to:
Branche to page on submit after processing
What it should do is:
When you select an item from the first selectlist, productgroep, the report should show all rows containing the specified productgroep.
When the user selects the next item in the subgroep selectlist, the report should show all rows containing the previously selected prodctgroup and the just selected subgroep.
When the user selects the final item , the report should show all rows based on all three selected itemvalues, productgroep, subgroep, leverancier.
The problem is that with this setup the report is only generated after the final selectlist choice of the user. But the user should see a report before that, going deeper into the structure. Hope, you see my problem?
Sincerely,
Pete -
How to convert existing url to a new url for crystal reports on server
Post Author: Ashton Kutcher
CA Forum: General
Hi folks,
I have crystal reports on the webserver and it has a url http://myserver/legal/viewreport.csp?website=legal_website&report=Budget%20Group%20Costs&toolbar=110101&@Year=" + Year "&@BudgetGroup=" BudgetGroup, 'newwindow', config='toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no, directories=no, status=no')
I need to convert it to a new url like this http://myserver/businessobjects/enterprise115/InfoView/scripts/openDocument.aspx?sDocname= Budget%20Group%20Costs&sPath=legal_website&toolbar=110101&lsS@Year=" + Year "&@BudgetGroup=" BudgetGroup, 'newwindow', config='toolbar=no, menubar=no, scrollbars=no, resizable=yes,location=no, directories=no, status=no')
please help me out how should I convert the old exisiting url to a new url??Hi,
You can try using "goLiink" and then use the property targetFrame set to "_blank"; below are some for ur references:
targetFrame
_blank: The link opens the document in a new window.
_parent: The link opens the document in the window of the parent. For example, if the link appeared in a dialog window, the resulting page would render in the parent window.
_self: The link opens the document in the same page or region.
_top: The link opens the document in a full window, replacing the entire page.
Thanks,
Pandu -
Specific SQL statements for custom report?
I am trying to create a custom report that gives me the System Name, Operating System, Manufacturer, Model, and Last HW Scan. I am not a SQL expert, but which statements would I need to select when I am in SCCM Console and creating a new report? It lists
hundreds of them. Any help is appreciated, thanks in advance.This query will get you started.
http://smsug.ca/blogs/garth_jones/archive/2008/02/04/basic-all-in-one.aspx
Garth Jones | My blogs: Enhansoft and
Old Blog site | Twitter:
@GarthMJ -
Creation of new TR for a report already having a TR
Hi All,
I have a modification to be made to a User exit. When I'm trying to change to editable mode, a new task in the default TR (already associated with the user exit) is being created. but I want to create the new task in a different TR.
is there any possibility of changing the TR (charm already associated with the user exit) associated with the user exit to a new TR (new charm)?
Please help...
Thanks & Regards,
SriLalithaIt is a bit dangerous doing what you suggest so I am in agreement with Frederic above, rather create seperate includes. I have done this, for example, with zxhalu07 user exit i.e.:
function exit_saplrha0_003.
include zxhalu07 .
endfunction.
and then in include zxhalu07:
*& Include ZXHALU07
include zxhalu07_01 if found.
include zxhalu07_02 if found. -
Case statement for interactive report error
The case computation does not work for me :
statement
CASE WHEN G = 7 THEN G ELSE C END
Error message ' Invalid computation expression. THEN'
It does not seem to matter what the case statement is IE :
CASE WHEN I = 'DEMO' THEN 'LOW' ELSE 'HIGH' END
I have tried this on the Sample Application that is installed on my oracle workspace account
Column G : order number ( number)
Column C:order total (Number)
Column I:sales Rep ( String)
Can someone please tell me what I am doing wrong ?
ThanksYour statement works for me exactly as you typed it:
SQL> select * from t;
G C
1 101
2 102
3 103
4 104
5 105
6 106
7 107
7 rows selected.
SQL> select CASE WHEN G = 7 THEN G ELSE C END
2 from t;
CASEWHENG=7THENGELSECEND
101
102
103
104
105
106
7
7 rows selected. -
Customizing a query for a report according to login user name
Hi, I am new to the portal, so I have a urgent question:
In my company we have local departments who are supposed to use
the same report but only with their own data.
I have a table with all users and their parameters (e.g.
username + deptno) and might be able to create a function which
gets the username (found that in one of the standard packages)
and retrieves the parameter from the database via SELECT. The
function should then return the parameter to be used where ever
needed.
Big question: How can I use this function in a SELECT-Statement
for my report? I guess it must be something like
SELECT * FROM -table or view- WHERE deptno = -schema.function-
Right? Does the function have to be part of a package?
Thanks in advance for any help.
Yours
Reinhard Piper
Munich / Germanythe table or view is WWSEC_person this is where the users are..
Ruud -
BEx formula change not working in existing Analysis for Olap/Analysis for Excel reports
Hello all,
I posted this in Analysis for OLAP, but there has been no response so I'm hoping perhaps you BEx experts can help me.
I had to modify a formula in a Bex query to have it calculate the results of the formula by summation.
I checked the query using BEx Analyzer and it summed correctly. If I create a new analysis for olap report, it sums correctly.
If I modify an existing report, it does not pick up the change. Existing Analysis for Excel reports also do not pick up the new summary calculation.
Using the CMC, I edited the connection and reselected the Bex query, but that did not work either.
Here it is working in the query:
Line Discount is a formula with logic checking to see if "product list price total amount" is 0, set the line discount to 0; otherwise calculate it as "product list price total amount" - Net Sale. So the total needs to sum of the line discounts (0+2820+2820 = 5640) and not be the Overall result "product list price total amount" - Overall Result "net sale" (13960-96720= -82760).
Here it is in an existing Webi report - working:
Here is what is happening in an existing Analysis for OLAP report - not working:
I also tried to unselect Line Discount as a key figure from the existing report and reselect it, but that did not work.
I'd like to find a solution so that all the reports that use this query won't have to be rewritten.
I'm on BW 7.0 EP 1 SP 10 and BI 4.0 SP7 Patch 5.
Thank you for your help,
SusanHi,
Apply Exception aggregation on line discount formula--Exception aggregation as Total---Reference characteristic as Promega product.
Make sure to refresh the webi report once after the changes has been done.
If this does not work then you can apply summation calculation for that column at webi level as well.
Regards,
AL -
Creating detail and summary report tabs
Hi Everyone,
I want to create two reports on the same query infact two tabs one showing the summary and the other one showing the details.Suppose I have a column Plant in the summary report tab.I want when I click on a particular plant the detail of that particular plant should appear on the details report tab.Can anyone please explain how to proceed in this.
Regards,
NeerajHi Neeraj,
what sunil mentioned is for BI 4.0 , if you are using older versions,
check below link, from page 20 it will help you to solve the problem.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0daee1d-0e38-2d10-0c91-8bb4ab5aa266?QuickLink=index&overridelayout=true
Steps:
1> duplicate the query,
so query1 and query 2 will be available.
2> In query 2 use Plant as optional prompt and deselect other options.
For summary report use the objects which is from query1
For detail report use the objects which is from query2
Now in summary report click on plant column Right clik>>> hyperlink>>
paste the following code by changing server and port name
and click parse.
http://servername:8080/OpenDocument/opendoc/openDocument.jsp?sType=wid&iDocID=3333&lsWindow=Same&sReportName=DeatailReport&lsSEnter_Plant=(=[Query 1].[Plant])
in the above link you also has to mention the sReportName becaous you are linking the same document detail report.
and also Enter_Plant here its prompt descriprtion change according to your requirement.
to get the idocid right click on the report and click properties.use the number in the link.
Regards,
Ranganath
Maybe you are looking for
-
I have downloaded ios 6 on my iphone 4s and now all incoming calls go straight to VM any tips?
Hello I have just installed IOS 6 on my Iphone 4s and now when I try to call my iphone all the calls go straight to Voice mail. Any tips or hints?
-
Hi guys. Here is my problem. I create visuals for night clubs. I have been asked to create a DVD with my visuals and some dj sets playing as audio. So I have my 30min video and two dj sets about 1.5 hours each. I want the visuals to loop after the 30
-
Hello All, I have some doubt the we have the repetitive manufacturing scenario i want to clarify that when i have to do the periodic settlement , after FI closing or before FI closing because i have to do the rvaluation with actual price of all activ
-
Is it possible for my new iMac to burn a dvd? I am going away to college and I dont want to bring my DVDs to avoid having them stolen from me so I want to make copies of them so I can bring some movies with me. Is this possible? or can iMac/iDVD only
-
Changing mm/dd/yyyy hh:mm:ss to mm/dd/yyyy in OBIEE
Hi Guys, I have a filter that is in DateTime format(mm/dd/yyyy hh:mm:ss) in Answers but its hard to use because the filter is so specific(up to seconds) so I want to change it in Date format(mm/dd/yyyy). I've already tried to change its Datatype in t