Tricky Report for Sub totalling. Please See
Hi,
First of all this is a repeated question and I thank
all of you (cartena,petpandian,FS and the lot) who have
sent in replies.
I need to create a report in 9i
This is the table data :
TRANS_ID ACC_ID DEL CCY AMT TRADE_DAT LENDER
LEL0002045 SLEND RECEIVE GBP 1200 02-AUG-05 LENDERA
LEL0002053 SLEND DELIVER GBP 1000 02-AUG-05 LENDERA
LEL0002003 SLEND DELIVER KRN 1000 11-AUG-05 LENDERA
LEL0002001 SLEND DELIVER GBP 1000 08-AUG-05 LENDERA
LEL0002002 SLEND DELIVER USD 1000 09-AUG-05 LENDERAThis is the Report Format I want :
TRANS_ID ACC_ID DEL CCY AMT TRADE_DAT LENDER
LENDERA
LEL0002045 SLEND RECEIVE GBP 1200 02-AUG-05
LEL0002053 SLEND DELIVER GBP 1000 02-AUG-05
LEL0002003 SLEND DELIVER KRN 1000 11-AUG-05
LEL0002001 SLEND DELIVER GBP 1000 08-AUG-05
LEL0002002 SLEND DELIVER USD 1000 09-AUG-05
RECEIVE GBP 1200
DELIVER GBP 2000
DELIVER USD 1000
DELIVER KRN 1000You can get multiple CCY with 'RECEIVE' or 'DELIVER' for a particular
lender
There can be a CCY with 'YEN' for LENDERA with DEL as 'DELIVER'
I have used layout style 'GROUP LEFT' while creating the report (thru Report wizard)
In group fields, I specified
LENDER as (Level -1)
DEL as (Level -2)
CCY as (Level -3)
And in Sum fields
Give sum(Amt).
The SQL Query I am using in the SQL is
SELECT trans_id, acc_id, del,ccy,amt,trade_date,lender,
decode(DEL,'RECEIVE', AMT,0) as REC_AMT,
decode(DEL,'DELIVER', AMT,0) as DEL_AMT
from TableAThe output comes this way using GROUP LEFT layout:
LENDERA RECEIVE GBP LEL0002045 1200
Total 1200
DELIVER GBP LEL0002053 1000
LEL0002001 1000
Total 2000
.... Can anyone suggest a better altenative? Thanks a lot
I have got the SQL running if I run this from the SQL prompt and it gives me the correct result (Thanks a lot cartena for the grouping SQL)
But now, if I run this same SQL in report wizard, the output is not correct
If I run this in SQL :
Select lender,
trans_id,
del,
ccy,
sum(amt) as amt from TestReport
group by grouping sets ((lender, trans_id, del, ccy),(lender, del, ccy))
order by
lender, trans_id, del, ccy
Output:
LENDER del ccy AMT
LENDERA LE RECEIVE GBP 1000
LENDERA LE RECEIVE GBP 1000
LENDERA LE RECEIVE KRN 1000
LENDERA LE RECEIVE GBP 1200
LENDERA LE DELIVER USD 1000
LENDERA DELIVER USD 1000
LENDERA RECEIVE GBP 3200
LENDERA RECEIVE KRN 1000
LENDERB RECEIVE KRN 1000
LENDERB RECEIVE KRN 1000But which layout wizard should I use in REPORT ?
Group Above or Group Left?
Similar Messages
-
Is there any standard report for GR / IR to see as on particular date
Hi ,
Is there any standard report for GR/ IR to see as on paricular date.
please help me. points will be given.
regards,
Hari priyaHi,
Please go to MR11.
It may help you.
Regards,
Jigar -
Web analytic report for sub site
Hi Team,
how enable web analytic report for sub sites
site collection level working fine but sub site level not working please help on this
while checking web analyitics reports i got below error.Hi Venkigani,
As I understand, the site web analytics reports cannot work in SharePoint 2010.
1. You could check the details about the error in the ULS log.
2. Install the hotfix that is dated June 29, 2010 to check if it can work.
The article below is about the hotfix.
http://support.microsoft.com/?id=2204024
Best regards,
Sara Fan
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
ADF_FACES-60097:For more information, please see the server's error log for
HI
when we login in to the Em and then try to navigate to the core applications server under the business intelligence Domain it gives the bellow Error message
Stream closed
ADF_FACES-60097:For more information, please see the server's error log for an entry beginning with: ADF_FACES-60096:Server Exception during PPR, #5
and when we check the server error log then we got the below log
>
####<Jun 2, 2013 10:08:05 AM GST> <Error> <oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator> <obitst.oasiserp.com> <AdminServer> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <> <d02e32166b4c953b:7cceca3a:13ef5c15d45:-8000-000000000000065f> <1370153285886> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #2
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:134)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:416)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:315)
at oracle.jsp.parse.XMLUtil.getDocument(XMLUtil.java:447)
at oracle.jsp.parse.OracleJsp2Java.transformImpl(OracleJsp2Java.java:402)
at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:593)
at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:691)
at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:490)
at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:457)
at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:624)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:645)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:385)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:810)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.eml.app.JSPFilter.doFilter(JSPFilter.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.sysman.emSDK.adfext.ctlr.EMViewHandlerImpl.renderView(EMViewHandlerImpl.java:157)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>Hi Timo,
I check it :
Caused by: java.lang.NullPointerException
at cic.portal.Currencys.createCurrency(Currencys.java:24)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
... 56 more
When i click: at cic.portal.Currencys.createCurrency(Currencys.java:24) ---> it's call to method beans:
public void createCurrency(PopupFetchEvent popupFetchEvent) {
if (popupFetchEvent.getLaunchSourceClientId().contains("create")) {
BindingContainer bindings = getBindings();
OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert");
operationBinding.execute();
this method is Popup: popupFetchListener="#{currencys.createCurrency}">
I thing lines :
OperationBinding operationBinding = bindings.getOperationBinding("CreateInsert");
operationBinding.execute();
it not working, i have no idea for this.. -
Dear sir thanks for new ios7;please see the calendar in hijri shamsi and compare it with original calendar! Why this difrence? Please compatible start of the years from 1st of farvardin
1392/01/01 = 21/march/2013Apple does not participate in this forum, it's only used by users like you.
-
working in Work order report, this report has different level , for example
0 level transaction
1 level transaction
in subtotal don't want to add 0 level transaction,
when I did the sub total it added all the level , so in sub total amount double up because of that
how to add the expression so I can the level 0 take out from sub total , so it does not include in sub total
can some one please help me with this
thanks in advanceHi Simon_ Hou
I tried the expr the way you suggested , it did not work getting error message, the exp I added is below
this the expression I added on sub total where is highlighted in Yellow, under Cost amount column,
I really appreciate the help
=Sum(IIF(Fields!COLLECTREFLEVEL.Value=
"0",0,Fields!CostAMOUNT.Value),"DataSet1")
please see below my QUERY, can you please help and let me know what I did wrong in my exp
SELECT PRODTABLE.PRODID, PRODCALCTRANS.COSTGROUPID, PRODTABLE.QTYCALC, PRODTABLE.PRODSTATUS, PRODCALCTRANS.COSTAMOUNT,
PRODCALCTRANS.COSTMARKUP, PRODCALCTRANS.REALCOSTAMOUNT, PRODCALCTRANS.CALCTYPE, PRODTABLE.DATAAREAID, PRODCALCTRANS.KEY3,
PRODCALCTRANS.CONSUMPVARIABLE, PRODCALCTRANS.REALCONSUMP, PRODTABLE.ITEMID, PRODTABLE.SCHEDDATE, PRODTABLE.FINISHEDDATE,
PRODCALCTRANS.KEY1, PRODCALCTRANS.TRANSDATE, PRODCALCTRANS.QTY, PRODCALCTRANS.KEY2, PRODCALCTRANS.COLLECTREFLEVEL,
PRODCALCTRANS.LINENUM
FROM PRODTABLE INNER JOIN
PRODCALCTRANS ON PRODTABLE.PRODID = PRODCALCTRANS.PRODID AND PRODTABLE.DATAAREAID = PRODCALCTRANS.DATAAREAID
WHERE (PRODTABLE.PRODSTATUS = 7) AND (PRODTABLE.DATAAREAID = N'AR1') AND (PRODTABLE.ITEMID = @itemid) AND
(PRODTABLE.FINISHEDDATE >= @Paramfromdate) AND (PRODTABLE.FINISHEDDATE <= @Paramtodate) -
Report For Sub Contract Material
Dear Experts,
Is there any standard report for finding the details of the subcontract.
I tried through ME2O, MBLB where I am not getting the report I wanted.
I want to take a montly report for all the subcontract work given to the vendor. (The work is completed )
Please help. ThanksThanks,
In ME2L I am able to get the details, but the problem is;
I want to get a report which will give me the full details of the Sub COntract PO.
Example. I created a Sub COntract PO for Fineshed Material A. For makng Material A I need to supply Material B, Material C to the Sub Contract Vendor.
I want to know by the end of the month
1) The Subcontract PO
2) Final Material (Material A)
3) Raw materials Supplied to vendor (Material B & Material C)
4) Status of the order
5) Material A given back to me
6) remaining Material (Material A)
Please help. -
Help in the query for sub total.
hi friends.
i have a query display below output.
but i wanted to get sub total of each repeated records,.
Output is like below.
Segment
Units
Total items
CRE
CRE - MUMBAI
3
CTA
CTA - CHENNAI
13
CTA
CTA - DELHI
37
CTA
CTA - HYDERABAD
10
CTA
CTA - KOLKATTA
22
CTA
CTA - MUMBAI
110
Now i need to show like below. if you see the sub total in bold.
Segment
Units
Total items
CRE
CRE - MUMBAI
3
CRE
Sub Total
3
CTA
CTA - CHENNAI
13
CTA
CTA - DELHI
37
CTA
CTA - HYDERABAD
10
CTA
CTA - KOLKATTA
22
CTA
CTA - MUMBAI
110
CTA
Sub Total
192
please help.with
the_data as
(select 'CRE' segment,'CRE - MUMBAI' units,3 total_items from dual union all
select 'CTA','CTA - CHENNAI',13 from dual union all
select 'CTA','CTA - DELHI',37 from dual union all
select 'CTA','CTA - HYDERABAD',10 from dual union all
select 'CTA','CTA - KOLKATTA',22 from dual union all
select 'CTA','CTA - MUMBAI',110 from dual
select segment,
case grouping_id(segment,units) when 0
then units
when 1
then 'Sub total'
else 'Grand total'
end units,
sum(total_items) total_items
from the_data
group by rollup(segment,units)
SEGMENT
UNITS
TOTAL_ITEMS
CRE
CRE - MUMBAI
3
CRE
Sub total
3
CTA
CTA - DELHI
37
CTA
CTA - MUMBAI
110
CTA
CTA - CHENNAI
13
CTA
CTA - KOLKATTA
22
CTA
CTA - HYDERABAD
10
CTA
Sub total
192
Grand total
195
Regards
Etbin -
Profit Center Reports for Sub Ledger
Hi
What are the standard Reports for Profit Center wise Trial Balance for Vendors & Customers?
Regards
RupalHi
You would not get the standard report for trial balance for vendors and customer at profit center level. By SAP standard functionality, vendors and customer are defined at Company Code level and hence there are standard reports for trial balance avialable at company code level.
Thanks & regards
Sanil K Bhandari -
Hi, we defined over time as an activity.please advise any std report exists to displany total hrs for individual activity per order wise?
Hi
Check the report KRMI
Regards
Anupam Sharma -
Report for users permission to see universes
Hi,
I would like to create a report in the BO that shows for each user which universes he has permission to see.
Which universe contains information about user authorization to see universes?
Or how can I find this type of data?
Thanks,
ShiranThis info is not available in universe, you have to use SDK to get the result.
You can find the sdk from here,
http://www.sdn.sap.com/irj/boc/sdklibrary -
Rollup for Sub-total and add opening balance
Hi,
I have a table which contains the data for customer transaction for certen period.
Data will be queried for certain transaction period.
CUST_TRAN_DETS
A/c No - trans_nr - trans_typ - opening_bal - tran_dat_fr - trans_dat_to -- trans_amt
123 - 10001 - Op.Bal - 500000 - 01.12.06 - 30.12.06
123 - 10002 - invoice - 000000 - 01.01.07 - 31.01.07 - 20000.00
124 - 10003 - invoice - 000000 - 01.02.07 - 28.02.07 - 30000.00
124 - 10004 - invoice - 000000 - 01.03.07 - 30.03.07 - 120000.00
124 - 10005 - invoice - 000000 - 01.04.07 - 31.04.07 - 85000.00
125 - 10006 - invoice - 000000 - 01.04.07 - 31.04.07 - 30000.00
125 - 10007 - invoice - 000000 - 01.04.07 - 31.04.07 - 14000.00
125 - 10008 - invoice - 000000 - 01.04.07 - 31.04.07 - 170000.00
Now my query should return following output
A/c No. -tran_dat_fr- trans_dat_to - curr_bal- Total_bal
123 -- 01.01.07 -- 31.01.07 -- 20000.00
124 -- 01.02.07 -- 31.04.07 -- 235000.00
125 -- 01.04.07 -- 31.04.07 -- 184000.00
939000.00
Each subtotal on A/c number should sum the trans amt for each a/c no for that period. And the total_bal should display the sum of transactions for all account numbers for that period and Opening balance. In the above exmpl, Total bal would be 20000+235000+1840000+500000.
Pls help ASAP.
Regards
RamSQL> create table cust_tran_dets (ac_no,trans_nr,trans_type,opening_bal,tran_dat_fr,tran_dat_to,trans_amt)
2 as
3 select 123, 10001, 'Op.Bal', 500000, date '2006-12-01', date '2006-12-31', null from dual union all
4 select 123, 10002, 'invoice', 0, date '2007-01-01', date '2007-01-31', 20000 from dual union all
5 select 124, 10003, 'invoice', 0, date '2007-02-01', date '2007-02-28', 30000 from dual union all
6 select 124, 10004, 'invoice', 0, date '2007-03-01', date '2007-03-31', 120000 from dual union all
7 select 124, 10005, 'invoice', 0, date '2007-04-01', date '2007-04-30', 85000 from dual union all
8 select 125, 10006, 'invoice', 0, date '2007-04-01', date '2007-04-30', 30000 from dual union all
9 select 125, 10007, 'invoice', 0, date '2007-04-01', date '2007-04-30', 14000 from dual union all
10 select 125, 10008, 'invoice', 0, date '2007-04-01', date '2007-04-30', 170000 from dual
11 /
Tabel is aangemaakt.
SQL> select ac_no
2 , case when grouping(ac_no) = 0 then min(decode(trans_type,'invoice',tran_dat_fr)) end tran_dat_fr
3 , case when grouping(ac_no) = 0 then max(decode(trans_type,'invoice',tran_dat_to)) end tran_dat_to
4 , case when grouping(ac_no) = 0 then sum(decode(trans_type,'invoice',trans_amt)) end curr_bal
5 , case when grouping(ac_no) = 1 then sum(opening_bal + nvl(trans_amt,0)) end total_bal
6 from cust_tran_dets
7 group by rollup(ac_no)
8 /
AC_NO TRAN_DAT_FR TRAN_DAT_TO CURR_BAL TOTAL_BAL
123 01-01-2007 00:00:00 31-01-2007 00:00:00 20000
124 01-02-2007 00:00:00 30-04-2007 00:00:00 235000
125 01-04-2007 00:00:00 30-04-2007 00:00:00 214000
969000
4 rijen zijn geselecteerd.Regards,
Rob. -
Hi All,
i have created the Cloud Business App in visual studio 2013 .
it ask share point server like below
Now i given my share point server url and click finish button it create the cloud business app .
Now i have added required screen in that HTML Client Appliction
The Solution will be successfully build .Now i press F5 or Start button it throws the below error in errorList
In Output window its show the below details
How to resolve this error ? what wrongly i done in this .Please any one help me to resolve this issue
Thanks
Gobala
gobalakrishnan SHi,
It says apps are desasbled on this site. Are you using developer site collection ?
Thanks
Melick Rajee http://melick-rajee.blogspot.com -
Coding problem in a user exit for unit conversion please see it once
Hi experts,
i am having a problem in coding i wont to convert the MSEG-ERFME field that is quantity field into tonne when ever it is kg. In tcode j1i5 i got one user exit J_1i7_userexit_validate now inside this user exit i have to write this code that when ever the UOM(unit of measure)ERFME comes in KG it should be converted into TONNE, This code is to be written in the user exit and has to be followed forward in other values.
Thanks
sumeet MalhotraHi Experts,
Have any one used this Function module unit_conversion_simple please help Not getting any reply since tmmrow,I am not able to get the desired output wont to convert all KG inputs into Tonne.
this is the code part
CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
EXPORTING
INPUT = ERFMG " QUANTITY
NO_TYPE_CHECK = 'X'
ROUND_SIGN = ' '
UNIT_IN = ERFME " ORIGINAL UOM WHICH EXIST
UNIT_OUT = 'TO' " UOM REQUIRED
IMPORTING
ADD_CONST =
DECIMALS =
DENOMINATOR = 1000
NUMERATOR =
OUTPUT = RESULT "OUTPUT
EXCEPTIONS
CONVERSION_NOT_FOUND = 1
DIVISION_BY_ZERO = 2
INPUT_INVALID = 3
OUTPUT_INVALID = 4
OVERFLOW = 5
TYPE_INVALID = 6
UNITS_MISSING = 7
UNIT_IN_NOT_FOUND = 8
UNIT_OUT_NOT_FOUND = 9
OTHERS = 10
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Please help
Thanks
Edited by: sumeet malhotra on Feb 7, 2009 5:46 AM -
I am using PR_SENDER_EMAIL_ADDRESS to retrieve sender's email address for exchange mails, but for some mails I only get the exchange X500 addresses. In such case, I can use PR_SENDER_ADDRTYPE
to check the type but when I detect an X500 address instead of an SMTP one, is there a way I can enhance SMTP lookup? What might be the reasons that SMTP address is available for some External senders and not for others, as in my case? I am using MAPI CDO
1.2.1 with Exchange Server 2010.
MSDN QuestionIf you getting an X500 Address that generally means there is Directory object (in Active Directory) for that sender, if its an external sender then it most probably there is an AD Contact from that Sender. The best thing to do is just use resolve method
in CDO to resolve the X500 Address to the Directory object and you should then be able to get the associated SMTP Address from the recipient object. (you also just use LDAP to lookup Active Directory directly).
Cheers
Glen
Maybe you are looking for
-
I know that I can adjust the speed of a clip, but what I can't figure out how to do easily is make the clip slow down smoothly, as though time was freezing over a period of say 10-seconds, until it stops. My way of describing this (although I know it
-
Original Loops For Garage Band
Hi Gang Anyone ever buy from this gentleman? He's got 100% feedback, and he claims that all his loops are 'ORIGINAL' not counterfeit Discs of Apple Jam Packs. http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=150417752948 Thanx Mike http://vimeo.com
-
Hi Experts, I want to find out total queries for some data targets for this i am using "RSBCTCB_QUERY" table but i am getting Query technical name only, i want Description also.. so can you please give me table name for this? Many thanks David
-
Handling large number of waves in Campaign Canvas
Hi All, I want to bounce off some ideas around create multi wave campaigns. We have few campaigns that have more than 15 waves. When we try to build these in Campaign Canvas, we are not able to accommodate all waves in the same Campaign, especially b
-
Filling Data in Dynamic internal table
Hello, I have 2 internal tables TAB1 and TAB2. I have Created Dynamic internal table From TAB1 rows. Now I want to fill that Dynm. internal table from TAB2. But TAB2 have more Rows with diffarant names. I want to move particular field of TAB2 to p