Serialization exception and generics
Hi.
I am using a java bean that sends a Map<Integer> from a server to the client. However, I get an exception when deserializing on the client side. Could this exception come from the fact that the client side tries to deserialize this as just a Map, without generics?
Thanks
Could this exception come from the fact that the client side tries to deserialize this as just a Map, without generics?Most likely no, but of course I'm just guessing since you didn't post the stack trace.
Similar Messages
-
Hi,
Please help. I was trying to remove a SQL 2012 SP1 two node clustered instance using setup (Mantenance -> Remove Node)
I started by doing this on passive node (and was successful) but when I ran setup on active node just before finishing successfully I got this error:
TITLE: Microsoft SQL Server 2012 Service Pack 1 Setup
The following error has occurred:
The resource 'BCK_SG1DB' could not be moved from cluster group 'SQL Server (SG1DB)' to cluster group 'Available Storage'.
Error: There was a failure to call cluster code from a provider. Exception message: Generic failure . Status code: 5015.
Description: The operation failed because either the specified cluster node is not the owner of the resource, or the node
is not a possible owner of the resource.
For help, click:
http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3000.0&EvtType=0xE8049925%25400x42B4DED7
BUTTONS:
OK
I noticed that SG1DB instance was removed on both nodes but on Failover Cluster Manager -> Services and Applications the SQL server instance for SG1DB is still there. So I tried to delete it but got the error:
Failed to delete SQL Server SG1DB. An error was encountered while deleting the cluster service or
application SQL Server SG1DB. Could not move the resource to available storage. An error occured
while moving the resource BCK_SG1DB to the clustered service or application Available Storage
Any ideas why it failed or how could I delete the SQL server instance from Clauster?
ThxHello,
Please read the following resource.
https://support.microsoft.com/en-us/kb/kbview/313882?wa=wsignin1.0
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Serialization Exception for : CachedRowSet
Hi ..
I have populated my CachedRowSet with as follows
// lRst is a SCROLLABLE ResultSet
javax.sql.rowset.CachedRowSet lCachedRowSet = new com.sun.rowset.CachedRowSetImpl();
lCachedRowSet.setPageSize(mPageSize);
lCachedRowSet.populate(lRst,10);While i try to serialize CachedRowSet , I get a Serialization Exception.
for 'weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_ScrollableResultSet'
However if i try to populate the same as follows It works fine:
javax.sql.rowset.CachedRowSet lCachedRowSet = new com.sun.rowset.CachedRowSetImpl();
lCachedRowSet.setPageSize(mPageSize);
lCachedRowSet.populate(lRst);I am using Oracle 8i and Weblogic 8.1.
I have to take the first approach. Please let me know if there is any solution for the first approach.Hi ..
I have populated my CachedRowSet with as follows
// lRst is a SCROLLABLE ResultSet
javax.sql.rowset.CachedRowSet lCachedRowSet = new com.sun.rowset.CachedRowSetImpl();
lCachedRowSet.setPageSize(mPageSize);
lCachedRowSet.populate(lRst,10);While i try to serialize CachedRowSet , I get a Serialization Exception.
for 'weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_ScrollableResultSet'
However if i try to populate the same as follows It works fine:
javax.sql.rowset.CachedRowSet lCachedRowSet = new com.sun.rowset.CachedRowSetImpl();
lCachedRowSet.setPageSize(mPageSize);
lCachedRowSet.populate(lRst);I am using Oracle 8i and Weblogic 8.1.
I have to take the first approach. Please let me know if there is any solution for the first approach. -
I was able to get my HTTPS web service to communicate with my clients, but now
when I try to connect to the web service (type=document), I get this error:
[java] 3) testQuoteStubs(com.arrow.arrowsoap.client.QuoteServiceClientTest)
junit.framework.AssertionFailedError: failed to serialize class java.lang.Objectweblogic.xml.schema.binding.SerializationException:
type mapping lookup failure on class=class weblogic.apache.xerces.dom.DeferredDocumentImpl
TypeMapping=TYPE
MAPPING SIZE=3
[java] ENTRY 1:
[java] class: java.lang.Object
[java] xsd_type: ['https://www.xxx.com/QuoteService/']:lcl0:ProcessResponse
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
b957ea
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
3aff84
[java] ENTRY 2:
[java] class: java.lang.Object
[java] xsd_type: ['https://www.xxx.com/QuoteService/']:lcl0:Process
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
15d4de6
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
a53de4
[java] ENTRY 3:
[java] class: java.lang.Object
[java] xsd_type: ['http://www.w3.org/2001/XMLSchema']:xsd:anyType
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
827968
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
1f0b7d3
[java] at com.arrow.arrowsoap.client.QuoteServiceClientTest.testQuoteSt
ubs(QuoteServiceClientTest.java:98)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
Attached is the WSDL for the service.
The type-mapping file looks like:
<wsdd:type-mapping xmlns:wsdd="http://www.bea.com/servers/wls70"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<wsdd:type-mapping-entry xmlns:lcl0="https://www.xxx.com/QuoteService/"
class-name="java.lang.Object"
type="lcl0:ProcessResponse"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
<wsdd:type-mapping-entry xmlns:lcl0="https://www.xxx.com/QuoteService/"
class-name="java.lang.Object"
type="lcl0:Process"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
<wsdd:type-mapping-entry class-name="java.lang.Object"
type="xsd:anyType"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
</wsdd:type-mapping>
Any ideas?? Am I missing something from my classpath?? I am running the tests
using the WL 8.1 ANT installation and using this as my WL classpath (my own jars
are added first in the path and are omitted here):
<pathelement path="${weblogic.home}/lib/webserviceclient.jar"/>
<pathelement path="${weblogic.home}/lib/weblogic_sp.jar"/>
<pathelement path="${weblogic.home}/lib/weblogic.jar"/>
Thanks
-- jake
[QuoteService.wsdl]Hi Karen,
My suggestion is to separate the issues (serialization failures and
SSL). Make sure your app works OK using http trasport. For SSL, RU
using the WLSSLAdapter for the client as described in the docs [1]? One
or 2way SSL? What version of WLS?
Thanks,
Bruce
[1]
http://edocs.bea.com/wls/docs81/webserv/security.html#1053203
Karen Yuan wrote:
>
Hi Bruce,
I was also getting the SerializationException when I tried to connect from my
weblogic web
service client to my HTTPS webMethods web service (SOAP-RPC protocol). Then I
included
webserviceclient+ssl.jar client runtime JAR file on both of my client and server
sides and re-ran
my test. I still got the same error:
Exception in thread "main" java.rmi.RemoteException: web service invoke failed:
javax.xml.soap.SOAPException: failed to serialize class java.lang.Objectweblogic.xml.schema.binding.SerializationException:
type mapping lookup
failure on class=class java.io.StringReader TypeMapping=TYPEMAPPING SIZE=2
ENTRY 1:
class: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletInput
xsd_type: ['http://com/freddiemac/ImportLoan/FileUploadHttpsStreamClient/WS_1/i
mportLoanSubmitStream']:lcl0:__callServletInput
ser: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletInputCodec@7eb366
deser: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletInputCodec@33f0de
ENTRY 2:
class: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletOutput
xsd_type: ['http://com/freddiemac/ImportLoan/FileUploadHttpsStreamClient/WS_1/i
mportLoanSubmitStream']:lcl0:__CallServletOutput
ser: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletOutputCodec@ab444
deser: com.freddiemac.ImportLoan.FileUploadHttpsStreamClient.WS_1.importLoan
SubmitStream.CallServletOutputCodec@c0f1ec; nested exception is:
.... more
Any suggestions?
Thanks,
Karen
Bruce Stephens <[email protected]> wrote:
Hi Jacob,
From your post it was not clear was working and what was changed. Could
you clarify. Note, for the standalone client app using SSL, you will
need to include webserviceclient+ssl.jar client runtime JAR file,
described in the docs [1].
Thanks,
Bruce
[1]
http://edocs.bea.com/wls/docs81/webserv/security.html#1053203
Jacob Anderson wrote:
I was able to get my HTTPS web service to communicate with my clients,but now
when I try to connect to the web service (type=document), I get thiserror:
[java] 3) testQuoteStubs(com.arrow.arrowsoap.client.QuoteServiceClientTest)
junit.framework.AssertionFailedError: failed to serialize class java.lang.Objectweblogic.xml.schema.binding.SerializationException:
type mapping lookup failure on class=class weblogic.apache.xerces.dom.DeferredDocumentImpl
TypeMapping=TYPE
MAPPING SIZE=3
[java] ENTRY 1:
[java] class: java.lang.Object
[java] xsd_type: ['https://www.xxx.com/QuoteService/']:lcl0:ProcessResponse
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
b957ea
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
3aff84
[java] ENTRY 2:
[java] class: java.lang.Object
[java] xsd_type: ['https://www.xxx.com/QuoteService/']:lcl0:Process
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
15d4de6
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
a53de4
[java] ENTRY 3:
[java] class: java.lang.Object
[java] xsd_type: ['http://www.w3.org/2001/XMLSchema']:xsd:anyType
[java] ser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
827968
[java] deser: weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec@
1f0b7d3
[java] at com.arrow.arrowsoap.client.QuoteServiceClientTest.testQuoteSt
ubs(QuoteServiceClientTest.java:98)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
Attached is the WSDL for the service.
The type-mapping file looks like:
<wsdd:type-mapping xmlns:wsdd="http://www.bea.com/servers/wls70"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<wsdd:type-mapping-entry xmlns:lcl0="https://www.xxx.com/QuoteService/"
class-name="java.lang.Object"
type="lcl0:ProcessResponse"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
<wsdd:type-mapping-entry xmlns:lcl0="https://www.xxx.com/QuoteService/"
class-name="java.lang.Object"
type="lcl0:Process"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
<wsdd:type-mapping-entry class-name="java.lang.Object"
type="xsd:anyType"
serializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec"
deserializer="weblogic.xml.schema.binding.internal.builtin.XSDAnyCodec">
</wsdd:type-mapping-entry>
</wsdd:type-mapping>
Any ideas?? Am I missing something from my classpath?? I am runningthe tests
using the WL 8.1 ANT installation and using this as my WL classpath(my own jars
are added first in the path and are omitted here):
<pathelement path="${weblogic.home}/lib/webserviceclient.jar"/>
<pathelement path="${weblogic.home}/lib/weblogic_sp.jar"/>
<pathelement path="${weblogic.home}/lib/weblogic.jar"/>
Thanks
-- jake
Name: QuoteService.wsdl
QuoteService.wsdl Type: ACT Project (text/xml)
Encoding: base64 -
Question
WHEN I GO TO PRIVACY SETTINGS AND CLICK ON EXCEPTIONS AND TYPE IN A WEB ADDRESS TO ALLOW ALL THE TIME IT DOES NOT SAVE IT THE NEXT TIME I SIGN ON TO FIRE FOX IT IS LOST. IT WORKS FINE ON MY DESKTOP BUT NOT ON MY LAPTOP THAT I JUST BOUGHT in English.I just updated my whatsapp...clicked on whatsapp in appstore and now can access my whatsapp
-
Line items AND GENERIC EXTRACTION
what does line items exactly mean in DATASOURCES
AND WHAT ARE DELTA TYPE EXTRACTIONS IN GENERIC
TIME STAMPING
CALENDAR DAY
NUMERICAL POINTER
COULD ANY PLEASE EXPLAIN THE DIFFERNCE AND IN WHAT SCENARIOS WE USE IT ...
LOOKING FOR YOUR REPLYHi Guru,
Check below doc & thread for Line Item Dimension:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a7f2f294-0501-0010-11bb-80e0d67c3e4a
Line Item Dimenstion
If a field (date, progressive document number, timestamp) exists in the extract structure of a DataSource that contains values which increase monotonously over time, you can define delta capability for this DataSource. If such a delta-relevant field exists in the extract structure, such as a timestamp, the system determines the data volume transferred in the delta method by comparing the maximum value transferred with the last load with the amount of data that has since entered the system. Only the data that has newly arrived is transferred.
To get the delta, generic delta management translates the update mode into a selection criterion. The selection of the request is enhanced with an interval for the delta-relevant field. The lower limit of the interval is known from the previous extraction. The upper limit is taken from the current value, such as the timestamp or the time of extraction. You can use security intervals to ensure that all data is taken into consideration in the extractions (The purpose of a security interval is to make the system take into consideration records that appear during the extraction process but which remain unextracted -since they have yet to be saved- during the next extraction; you have the option of adding a security interval to the upper limit/lower limit of the interval).
After the data request was transferred to the extractor, and the data was extracted, the extractor then informs generic delta management that the pointer can be set to the upper limit of the previously returned interval.
To have a clear idea:
1. If delta field is Date (Record Create Date or change date), then use Upper Limit of 1 day.
This will load Delta in BW as of yesterday. Leave Lower limit blank.
2. If delta field is Time Stamp, then use Upper Limit of equal to 1800 Seconds (30 minutes).
This will load Delta in BW as of 30 minutes old. Leave Lower limit blank.
3. If delta field is a Numeric Pointer i.e. generated record # like in GLPCA table, then use
Lower Limit. Use count 10-100. Leave upper limit blank. If value 10 is used then last 10
records will be loaded again. If a record is created when load was running, those records
may get lost. To prevent this situation, lower limit can be used to backup the starting
sequence number. This may result in some records being processed more than once.
Refer this link from help.sap.com
http://help.sap.com/saphelp_erp2005/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/frameset.htm
Difference between timestamp used in copa and generic data extraction?
COPA timestamps vs Generic timestamps
Check this doc for more info:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
Hope these helps u...
Regards,
KK. -
In the current project my exception handling implementation is as follows :
Exception Handling Layer wise :
DL layer :
catch (Exception ex)
bool rethrow = ExceptionPolicy.HandleException(ex, "Ui Policy");
if (rethrow)
throw;
BL Layer
catch (Exception ex)
bool rethrow = ExceptionPolicy.HandleException(ex, "Ui Policy");
if (rethrow)
throw;
UI Layer
catch (Exception ex)
bool rethrow = ExceptionPolicy.HandleException(ex, "Ui Policy");
if (rethrow)
Response.Redirect("ErrorPage.aspx", false);
We have a tool to check the standards. And tool output is as follows :
The exception Exception should never been thrown. Always Subclass Exception and throw the subclassed Classes.
I need suggestions on how to implement the same according to standards.Your tool is wrong if it says to never throw Exception. This was a common recommendation back in the .NET v1 days but has long since been thrown out. It is perfectly fine to use Exception when you have a general exception that provides no information
that an application can use to make an informed opinion.
The general rules of exception throwing is to throw the most specific exception that makes sense. If there is no specific exception that applies and it would be useful for the caller to handle the exception differently than other exceptions then creating
a custom exception type is warranted. Otherwise throwing Exception is reasonable. As an example you might have an application that pulls back product data given an ID. There is no built in exception that says the ID is invalid. However an invalid ID
is something that an application may want to handle differently than, say, an exception about the product being discontinued. Therefore it might make sense to create an ItemNotFoundException exception that the application can react to.
Conversely there is no benefit in having different exception types for disk full and disk quota met. The application will respond the same in either case.
Michael Taylor
http://blogs.msmvps.com/p3net -
What is serialization? and how to implement it?
what is serialization? and how to implement it?
why not try googling rather than spamming the forum with your homework questions? This spitting out questions without showing that you've done any work (even if you have done the work) is guaranteed to piss us off. Please learn to ask a question the smart way:
http://www.catb.org/~esr/faqs/smart-questions.html -
Can we use exceptions and conditions at the same time?
can we use exceptions and conditions at the same time? Are there any dependencies between exceptions an conditions?
Exceptions are used when there are some mistakes , or exceeds the supposed values, we can highligt that in different colours for enabling the validator to notice easily. In this we are giving conditions for considering the value as exceptions. suppose, if the values is out of the range -1 to +1 then exception.
But conditions can be considered as the restrictions given in measure level also. So please elaborate what you meant by conditions -
Customer and Generic extraction difference ?
Hi ya,
Could any body tell me the difference between the customer and Generic extractions.what are the extraction steps?
Regards.
HHi,
In Generic extraction we have to fetch the data from table/view/funtion module.T.code RSO2.
Replicate the data source in bw and send into data target through ods(recommandable).
In customized extraction sap provided LIS,LO-COCKPIT,CO-PA,FI-SL etc,in these sap provides extract stuructures.From the extract structures we have to fetch the data and replicate the data into bw and push into the data targets.
with regards,
HARI GUPTA -
Hi All,
Could someone please send me some information regarding LIS extraction and Generic extraction.
Thanks in advance,
SekharHi Sekhar,
Please do check the link for step by step for generic xtraction
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
check the following
http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
business content
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20co-pa%20extraction%203.0x
https://websmp203.sap-ag.de/co
http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
(navigate with expand left nodes)
also co-pa
http://help.sap.com/saphelp_nw04/helpdata/en/53/c1143c26b8bc00e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/fb07ab90-0201-0010-c489-d527d39cc0c6
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1910ab90-0201-0010-eea3-c4ac84080806
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ff61152b-0301-0010-849f-839fec3771f3
LO Extraction
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
Check these links:
/people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
/people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
/people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
/people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
/people/sap.user72/blog/2005/04/19/logistic-cockpit-a-new-deal-overshadowed-by-the-old-fashioned-lis
Re: LO-Cockpit V1 and V2 update
Also Refer this link:
http://www.sap-img.com/business/lo-cockpit-step-by-step.htm
FI-CO 'Data Extraction -Line Item Level-FI-CO
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a7f2f294-0501-0010-11bb-80e0d67c3e4a
FI-GL
http://help.sap.com/saphelp_nw04/helpdata/en/c9/fe943b2bcbd11ee10000000a114084/frameset.htm
http://help.sap.com/saphelp_470/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
http://www.sapgenie.com/sapfunc/fi.htm
FI-SL
http://help.sap.com/saphelp_nw2004s/helpdata/en/28/5ccfbb45b01140a3b59298c267604f/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/41/65be27836d300ae10000000a114b54/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ee/cd143c5db89b00e10000000a114084/frameset.htm
How to do basic LO extraction for SAP-R3-BW
1. Go to transaction code RSA3 and see if any data is available related to your DataSource. If data is there in RSA3 then go to transaction code LBWG (Delete Setup data) and delete the data by entering the application name.
2. Go to transaction SBIW --> Settings for Application Specific Datasource --> Logistics --> Managing extract structures --> Initialization --> Filling the Setup table --> Application specific setup of statistical data --> perform setup (relevant application)
3. In OLI*** (for example OLI7BW for Statistical setup for old documents : Orders) give the name of the run and execute. Now all the available records from R/3 will be loaded to setup tables.
4. Go to transaction RSA3 and check the data.
5. Go to transaction LBWE and make sure the update mode for the corresponding DataSource is serialized V3 update.
6. Go to BW system and create infopackage and under the update tab select the initialize delta process. And schedule the package. Now all the data available in the setup tables are now loaded into the data target.
7.Now for the delta records go to LBWE in R/3 and change the update mode for the corresponding DataSource to Direct/Queue delta. By doing this record will bypass SM13 and directly go to RSA7. Go to transaction code RSA7 there you can see green light # Once the new records are added immediately you can see the record in RSA7.
8.Go to BW system and create a new infopackage for delta loads. Double click on new infopackage. Under update tab you can see the delta update radio button.
9.Now you can go to your data target and see the delta record.
find your scenario and find what data sources do you need on R3 side and ensure they are active as well:
http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
find your scenario -> data sources -> go to R3 -> sbiw and activate required data source
replicate data sources in BW:
RSA1 -> source systems -> right click on your source system -> replicate
then activate your BC:
service.sap.com/bi -> BI Business Content -> General Information -> SAP BW Business Content - Activation
and execute infopackage (it should be delivered with BC)
Useful links:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
service.sap.com/bi -> BI InfoIndex
sdn.sap.com -> Business Information Warehouse -> How-To guides (under Quick Links)
Hope This Helps.
****Assign Points If Helpful****
Regards,
Ravikanth -
Can you catch form has expired exception and reload page?
I have a cfcalendar wrapped with cfform, every first time start the application, it either is empty or give me form data as expired message.
I have tried to set cfform timeout to a 100 or 200 seconds, but if you close the application and next time open it (if after the timeout limits) it shows the form data has expired message again. If I don't set or set it to 0, then the next time I open the browser, it give me an empty form page.
So I wonder if there is a way to catch that exception, and then make it reload the page?
Any ideals to solve the problem.
<cfoutput>
<cfheader name="expires" value="#now()#">
<cfheader name="pragma" value="no-cache">
<cfheader name="cache-control" value="no-cache, no-store, must-revalidate">
</cfoutput>
<cfform name="testForm" format="flash" onLoad="#disableRanges#" height="320" width="420" >
<cfcalendar name="selectedDate"
selecteddate="#Form.selectdate#"
mask="mmm dd, yyyy"
dayNames="SU,MO,TU,WE,TH,FR,SA"
monthNames="JAN, FEB, MAR, APR, MAY, JUN, JUL, AUG, SEP, OCT, NOV, DEC"
style="rollOverColor:##FF0000;"
width="270" height="200"
onchange="getURL('index.cfm?selectDate=' + (selectedDate.selectedDate.getMonth()+1) + '/' +selectedDate.selectedDate.getDate() + '/' + selectedDate.selectedDate.getFullYear());"
>
</cfform>
Thanks,
BillThe first thing I would do would be to use an html form instead of flash. The second would be to add a submit button. On change events are very frustrating if you don't make the correct selection on your first attempt.
-
4 Types of exception and the code to handle them
Dear all,
I would like to know wheter runtime exception, errors exception, unchecked exception and checked exception are classified as the 4 types of exception.
What are the java coding of them? please help.There are two main families of exception in Java: checked and unchecked.
The base class for all exceptions is Throwable. Java provides Exception and Error that extend Throwable. RuntimeException (and many others) extend Exception.
RuntimeException and its descendants, and Error and its descendants, are called unchecked exceptions. Everything else is a checked exception.
If your method, or any method it calls, can throw a checked exception, then your method must either catch that exception, or declare that your method throws that exception. This way, when I call your method, I know at compile time what can possibly go wrong and I can decide whether to handle it or just bubble it up to my caller. Catching a given exception also catches all that exception's descendants. Declaring that you throw a given exception means that you might throw that exception or any of its descendants.
Unchecked exceptions (RuntimeException, Error, and their descendants) are not subject to those restrictions. Any method can throw any unchecked exception at any time without declaring it. This is because unchecked exceptions are either the sign of a coding error (RuntimeException), which is totally preventable and should be fixed rather than handled by the code that encounters it, or a problem in the VM, which in general can not be predicted or handled.
http://java.sun.com/docs/books/tutorial/essential/exceptions/index.html -
Custom exceptions and carrying forward stack trace
Hi, I have a question on exception handling.
I have written an application which has several custom exceptions. When an exception occurs, sometimes I throw it and then when its caught, wrapping it in another exception like so:
} catch (Exception e){
throw new CollectionFailedException(this.getName() + " could not get collection", e);
This works fine, but when I output the stacktrace, it only goes as far as the new exception, making things more difficult to debug. Is there any way of incrementing the stack trace using the first exception?
Many thanks for any help offered!
MarcMarc, this is expected behaviour. When you throw a new exception, the stacktrace starts off at the new one. A really nice explanation and sample code for creating new Exceptions and extending the Exception class is located at:
http://www.javaworld.com/javaworld/jw-09-2001/jw-0914-exceptions.html
Good luck, fstream -
Exception and Condition scenario
Can someone give me a simple scenario for Exception and Conditions? Thanks
Can someone give me a simple scenario for Exception and Conditions? Thanks
Maybe you are looking for
-
Numbers switches sheets when I select cell.
I've have a problem with Numbers '08, ver 1.0.3 that has persisted across the last two OSX upgrades. I have a multi-sheet file, and when I select a sheet using the Sheets sidebar, it changes to the selected sheet without a problem. But when I click
-
Photoshop Open dialog does not show all files
I've been noticing that unconsitantly the Photoshop Open dialog does not show all PSD files in a folder, some are just plain missing. In Finder they show up like normal though. Anyone else with this problem?
-
Firefox will not open when I click on the icon (OS X).
Firefox worked perfectly until I installed the most recent update. After I installed the update Firefox refused to open. When I click on the icon it begins to open but I never see the window and it closes within 3 seconds and I never even get an erro
-
Audigy2 ZS with Beta Driver (11 Aug 20060) in Windows Vista RC1 does not w
I recently updated my Windows Vista to RC build 5600 (32 bit) and although my driver seems to load properly, windows does not recognize my Audigy2 ZS sound card. I had Vista build 5536 and everything worked perfect...clear sounds, no errors, etc, but
-
Ipad 1 ios 4.3.3 battery charge
I've an ipad with ios 4.3.3 and takes a long time to charge the battery, is this normal??