An urgent issue of the XMLEncoder.
Hi, all.
I have a very urgent problem of the XMLEncode.
Background:
My project is a web project, and the flows are as follow:
1. Get data entity from db by using toplink.
2. Set the data into a domain entity for a page.
3. Use XMLEncoder to convert the domain entity to an XML stream
4. Use Transformer to transform the XML stream to http response and displayed in the client browser with the XSL files.
Issue:
When two or more users visit the same page by the browser at the same time, the weblogic server will throw this exception:
java.lang.NullPointerException
Continuing ...
java.lang.Exception: discarding statement XMLEncoder0.writeObject(SearchWkOrdTyS
tDomainEntity0);
Continuing ...
I've found and read these two articles
http://forum.java.sun.com/thread.jsp?thread=262946&forum=62&message=1002333
and
http://forum.java.sun.com/thread.jsp?forum=63&thread=532252&tstart=30&trange=15
and know that it maybe cause by the Serialization of the classes, but I cannot find the method to solve this problem.
The code which I use to convernt the domain entity object to an XML document are as follow:
public static Document object2Document(Object o)
throws ReeferMnRException
if (o==null) return null;
Logger logger = LoggerFactory.getInstance().getLogger(XMLUtil.class.getName());
logger.debug("Get into XMLUtil.object2Document===========================");
try{
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
XMLEncoder e = new XMLEncoder(
new BufferedOutputStream(
byteArrayOutputStream));
e.writeObject(o);
e.close();
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.
newInstance();
documentBuilderFactory.setNamespaceAware(true);
StringBufferInputStream in = new StringBufferInputStream(new String(
byteArrayOutputStream.toByteArray()));
Document document = documentBuilderFactory.newDocumentBuilder().parse(in);
return document;
}catch(SAXException e){
logger.error("XMLUtil-->object2Document-->SAXException:" + e.getMessage());
throw new ReeferMnRException(
ReeferMnRException.APPLICATION_SERVER_ERROR, ReeferMnRException.EXCEPTION);
}catch(ParserConfigurationException e){
logger.error("XMLUtil-->object2Document-->ParserConfigurationException:" + e.getMessage());
throw new ReeferMnRException(
ReeferMnRException.APPLICATION_SERVER_ERROR, ReeferMnRException.EXCEPTION);
}catch(IOException e){
logger.error("XMLUtil-->object2Document-->IOException:" + e.getMessage());
throw new ReeferMnRException(
ReeferMnRException.APPLICATION_SERVER_ERROR, ReeferMnRException.EXCEPTION);
}catch(Exception e){
logger.debug("XMLUtil-->object2Document-->Exception:" + e.getMessage());
logger.error("XMLUtil-->object2Document-->Exception:" + e.getMessage());
throw new ReeferMnRException(
ReeferMnRException.APPLICATION_SERVER_ERROR,
ReeferMnRException.EXCEPTION);
}and an example of my domain entity to be convert into an XML document are as follow:
package reefer.mnr.domain.entity;
public class AbnInfoDomainEntity {
private java.lang.String abnC;
private java.lang.String abnId;
private java.lang.String abnSubC;
private java.lang.String abnSubDesc;
private java.lang.String crtDt;
public java.lang.String getAbnC() {
return abnC;
public java.lang.String getAbnId() {
return abnId;
public java.lang.String getAbnSubC() {
return abnSubC;
public java.lang.String getAbnSubDesc() {
return abnSubDesc;
public java.lang.String getCrtDt() {
return crtDt;
public void setAbnC(java.lang.String abnC) {
this.abnC = abnC;
public void setAbnId(java.lang.String abnId) {
this.abnId = abnId;
public void setAbnSubC(java.lang.String abnSubC) {
this.abnSubC = abnSubC;
public void setAbnSubDesc(java.lang.String abnSubDesc) {
this.abnSubDesc = abnSubDesc;
public void setCrtDt(java.lang.String crtDt) {
this.crtDt = crtDt;
}Anyone know how to can solve this problem?
Thanks any more.
public static Document object2Document(Object o)Is XMLUtil implemented as a singleton? Is this method in a servlet class? Like the doctor says, remove the "static" keyword and try it.
public Document object2Document(Object o) { ... }
After that, I would try it with the "synchronized" keyword.
public synchronized Document object2Document (Object o) { ... }
And then try it with synchronized code block:
// This code writes the XML file of the object parameter
synchronized (this) {
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
XMLEncoder e = new XMLEncoder(
new BufferedOutputStream(byteArrayOutputStream));
e.writeObject(o);
e.close();
// This code returns XML document to calling object
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance(); documentBuilderFactory.setNamespaceAware(true);
StringBufferInputStream in = new StringBufferInputStream(new String( byteArrayOutputStream.toByteArray()));
Document document = documentBuilderFactory.newDocumentBuilder().parse(in);
return document;
Similar Messages
-
Very urgent Issue - Convert the hours into Minutes
Hello Guys,
I have an infoobject zkabc, which is having hour information.
eg: 24.588, which means 24 hrs and 30 min (..588 hrs).
I want to display the infoobject value from 24.588 to 24.30 (24 hrs 30 minutes) is it possible in BEx.
Issue critical.
Thanks,
PratapHello Kapadia,
I have a small issues in the solution you gave me.
I am getting the correct values when i implement the below formula you gave me.
But i am getting incorrect values when i want to have average values.
Lets say,
I have 3 records in 2007 05 ( may month)
I am getting the correct data for the 3 records, but when i have result for the 2007 05 month its giving different values.
eg:
K1(plant) 2007(yr) May 5/29/2007 9.06 15.29 24.35
5/30/2007 7.50 21.43 29.33
5/31/2007 7.36 15.25 23.01
Result 3.02 7.14 9.78
It should be sum of 3 records / no of records)
Could you please explain how to solve the issue. Issue very critical.
Thanks,
Pratap. -
Urgent issues involving the invokeDDX operation
Hi all,
I have been developing a process which takes xml from a client input, converts that xml into a ddx document, and then uses that DDX document to render a form. This has been working for months now, but all of a sudden I started getting this error:
com.thoughtworks.xstream.converters.ConversionException: takeOwnership : Class name takeOwnership from package not found. : takeOwnership : Class name takeOwnership from package not found.
---- Debugging information ----
message : takeOwnership : Class name takeOwnership from package not found.
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : takeOwnership : Class name takeOwnership from package not found.
class : com.adobe.livecycle.assembler.client.AssemblerOptionSpec
required-type : com.adobe.livecycle.assembler.client.AssemblerOptionSpec
path : /com.adobe.livecycle.assembler.client.AssemblerOptionSpec/takeOwnership
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnma rshaller.java:63)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarsh allingStrategy.java:33)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:853)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:845)
at com.adobe.idp.dsc.datatype.impl.DefaultTextSerializer.deserializeValue(DefaultTextSeriali zer.java:59)
at com.adobe.workflow.engine.PEUtil.processMapping(PEUtil.java:1051)
at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:798)
at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:347)
at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)
at sun.reflect.GeneratedMethodAccessor600.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
at org.jboss.ejb.Container.invoke(Container.java:960)
at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
at $Proxy378.doRequiresNew(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:329)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:139)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
at sun.reflect.GeneratedMethodAccessor760.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:41)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: takeOwnership : Class name takeOwnership from package not found.
at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:68)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:71)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.jav a:88)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:86 )
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:96)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:38)
at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:52)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.determineType( AbstractReflectionConverter.java:347)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(Ab stractReflectionConverter.java:208)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(Abst ractReflectionConverter.java:162)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
... 95 more
The above error happens when the process hits the "invokeDDX" operation.
I have never seen this before, and need an urgent solution for this issue. I'm running Livecycle Server 9.0 on MS Server 2008(VM).
Any help would be GREATLY appreciated...
Regards
Ross MalanI haven't seen this particular error, or the "takeownership" class. The only take ownership thing I am familiar with is content space module.
Is either the DDX or one of the files to be assembled stored in Content Space? If so, does the invokeDDX service work when files are not in Content Space? -
Urgent: Issue with the size of an xls file generated from a rtf template
Hi all,
I have a template.rtf
In BI, when I get the file in excel format and save it, the size of the report is 32 MB. When I just "save as" the same report, without changing anything, the size of the report is 8 MB.
Do you know how to get directly the report with the size 8 MB or would you have some guidelines to avoid this issue.
Thank you in advance,
Sonia.Thank you Kurz for your answer. I'm going to try to be more precise.
Actually I'm not in EBS. I generate the output (xls format) direclty from BIP.
The DB of my application can't be requested directly, then I use HTTP request.
From BIP, I launch the report choosing excel as output - the template is an rtf template.
I have been requested to open or save the xls file that I save (32 MB).
I open the excel file, save it again and the size of the file is now 8 MB.
Regards,
Sonia. -
Urgent-Issue in the Dimension tables
Hi Experts,
Question1:
I have a flat file load to a cube.this flat file has 1.5 mil records.One of the dimension created has a 2 dates(original date & current date) assigned.
When i look at dimension table for # entries is 30million.And when i look at the table i see the sids as 0,0 ( for 2 dates) and dim id's being creted.
When i did a search on the dimension table with current date & original date as not equal to 0.I see only 76,000 records.
Question 2:
we have an ODS which loads to the cube.In the process chain we have program that deletes the data in ods which does not match some conditions and then loads it tot he cube.
My question is,since we are not deleting contents from the cube and reloading it from the ODS(Full update).Will i not be seeing same records coming in with Full update which get agrregated in the cube.
Ex: i have a record in ODS.
A X Z 100 1000
After full update to the cube,the cube would have
A X Z 100 1000
When i run the process chain and data is dleeted from ODS on some condition and i still have hte same record in ODS and when this loads into cube wont this be aggregated with the previous record.
A X Z 200 2000
Would appreciate,if anyone could explain if i am missing anything.Hello,
If you can't see the SID means you have not loaded the master data, that why there is no reference to the SID table and the values are 0.
InfoCube by default will have aggregated values, when there are duplicate records on the Keyfigures will be aggregated.
For example I have a Material Dimension and Customer Dimension
In the fact table, it will be like this
DIM1 DIM2 KF1 KF2
Mat001 Cust1 100 10
Mat001 Cust2 200 5
for this there will be 1 entry in Material DIM table for Mat001 and 2 entries for Customer DIM table for Customer Cust1 and Cust2.
Material Dimension
DIM ID SID
1 Mat001 (Here it will be SID from Material Master)
Customer Dimension
1 Cust1 (Here it will be SID from Customer Master)
2 Cust2 (Here it will be SID from Customer Master)
Note : DIM ID is the combination of one or more SID in the dimension table.
So the exact fact table will look like
MATDIM CUSDIM AMT QTY
1 1 100 10
1 2 200 5
If you load the data again with same characteristics values then the key figure will be aggregated
Example if you load
Mat001 Cust2 25 5
then the fact table will not have a new entry instead the it will aggregates and looks like (bolded one)
MATDIM CUSDIM AMT QTY
1 1 100 10
1 2 220 10
Hope its clear
thanks
Chandran -
How to put check box in a table format at the out put ? Urgent issue...
Hi,
I am working an assignment to assign multiple roles for multiplr user.
In selection screen we have to enter mutiple EMPNO from ..to
1) in second screen we will get the empno, First name, last name, Position,
From date, To date, Sap user ID, Email id in the table formate with first
column with Check box.
2) In second screen below the table I have to place the multiple roles just like in
the step loop format and below this one Execute button should be there.
If we select the multiple employees or single employee and place the multiple roles or single roles and if I click the execute button then the multiple roles will be assigned to the multiple employees. The empno and roles will come from table and step loop to internal table and the same will pass to the BDC.
For this requirement I prepered recording for Transaction PFCG. But I can't understand how to design the second screen that table format and the step loop format. Can anybody give any idea or any coding to design the second screen.
and how to meet the requirement. This is urgent issue. Good SDN points will be reworded.
Witing for kind response.
Thanks in advance.
BansidharHi upendra
There are slight changes in the sivas code.Where is the data coming into the table.If its from a Model Node then iterate each element of the source node get that value compare and set the corresponding value in the element of the node binded to table.
Create a boolean attribute "select" in the table node and bind it to checked property of the check box.
for(int i=0;i<wdContext.node<tablenode>()..size();i++)
if(wdContext.node<tablenode>().get<tablenode>ElementAt(i).select())
wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(true);
else
wdContext.node<tablenode>().get<tablenode>ElementAt(i).set<yourattribute>(false);
See the attribute is boolean so pass true or false as a values in setter methods.
Regards
Kalyan -
Hi.. Every body,,,
Actully 'm, a basis consultant , i have problem with mb1b Transaction code..
Myproblem is
i have 4 plants 1,2,3,4 now i want to restrict the goods transfer between these plants like
01---02 -
accepted
0201--
accepted
0103--
not accepted
0104--
not accepted
0203--
not accepted
0204--
not accepted
And 1,2,3,4 plants must transfer goods to vendor
i'm trying by using movement types 301 for plant to plant transfer and 541 for plant to vendor
i have created two roles in one i was restricted company code 1 and 2 with movement types 301 and 541
and in another role i was resricted comany code 3 and 4 with movement type 541 only..
If i give thes two roles to diffrent users it is working fine, but if i give to same user but it is not working..
I don't have functional kw......This is an urgent issue.......please suggest how to restrict..Hi.........T'X for responding imm....
But i have tried ,what u said , still same problem...please provide some more inputs... -
Very Very Urgent Issue: Restricted Key Figure does not return any data
Hi all,
Please help me solving this urgent issue.
created customer exit variable on characterstics version and also
other customer exit variable on Value type.
I coded that in variable exit. Problem is when I include these in
restrickted keyfigure My query does not return me any data.
But if I remove from restrickted key firgure and put it as normal
charaterstics I see the variable is getting populated.
Also in RSRT the SQl generated when these are included in RKF is not
correct.
I debugged and know they are getting populated. As when included in RKF
I can also see the values of customer exit variables from information
tab.
I also know that there is data in cube for those restrictions.
I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
Thanks
SAP BW
**Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any dataHi,
Everyone out there this is very urgent. If someone can help me solving this problem.
We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
I posted one oss notes also regarding this issue. But got no reply from SAP.
So, Please help me solving this issue.
Thanks
SAP BW -
Hi All,
Need some urgent help..
Iam facing some issue with the Function Module 'SKWF_FIND_BY_QUERY' in a BW ECC6.0 system.
As shown below, in the function module, the Table IT_PROPERTIES_RESULT gets populated with some values based on inputs like IT_CLASSES, IT_QUERY, and L.
This updation of IT_PROPERTIES_RESULT table is happening for some of the services sent through IT_QUERY and is not getting populated for some.
call function 'SKWF_FIND_BY_QUERY
exporting
CONNECTION_SPACE =
OBJ_TYPE = 'L'
PTYPE =
X_STRICT =
IMPORTING
ERROR =
tables
CLASSES = IT_CLASSES
QUERIES = IT_QUERY
RESULT_OBJECTS = IT_LOIO
PROPERTIES_REQUEST = PROPERTIES_RESULT = IT_PROPERTIES_RESULT.
The values are as follows:-
Values getting populated in IT_CLASSES BW_LO_TRAN Values getting populated in IT_QUERY 1) BW_QUERY, 2) /BIC/ZSERVICE
I would like to know whether any Standard Customizing BW transaction is present that is maintaining IT_PROPERTIES_RESULT table properties and fetching through this Function Module.
Also, suggest how this issue can be resolved
Thanks & Regards,
Shailesh nagarThanks Suhas. That definitely helped.
Also the following links helped.
http://help.sap.com/saphelp_nw70/helpdata/EN/86/1c8c3e94243446e10000000a114084/frameset.htm
/people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
Cheers,
Preethi -
Urgent Issue !!! Related to CJ20N
Hi Guys,
This is an Urgent Issue!!!!
I have a requirement to upload the data .Initially they have created project definition and wbselement with the help of some data transfer technique later on they have added custom fields to this transaction.
Now for the existing project and wbs element they want to update the values for the new custom fields .
So can anybody suggest me how to approach this problem as this is my first requirement in PS.
Points will be rewarded....
Awaiting for your reply..
Regards,
Ravi GanjiYou can use lsmw and do a recording to insert those new customer fields. LSMW can call bdc recording and you can enter the values there...
-
Hi All, we have very urgent issue with intrastat report ''VE01''.
There is many documents with error Log-''The statistical value of the document item is zero.''.
The pricing settings looks OK and its impossible to
correct those documents with error.
Any Idee how I could correct them for them to get the green status?
Points will be added if helpful
Thanks and regards
LuisHello Luis,
please check the VBRP-BRTWR. If this fiels is zero then you get an entry in the incompletion log.
the message could be also occur if the GRWR is zero.
Please check your pricing setting.
Hope this will help to solve the problem.
I f you are satisfied with the answer, please don't forget to give Reward Points.
regards
Claudia -
hi friends,
one urgent issue regarding user-exits;
i have the requirement like this:
if any one of these fields ZPBSTQTY2, ZPCSTQTY2, ZPBKTQTY2, ZPCKTQTY2 and ZPBFRQTY2 in table S505 is GT 0, then i need to pass a value 'X' to two flags present in that table.
then i have to update it thru transaction VA01.
Plz suggest some solution for this.
Thanks
PraveenSDAPO001 Activating Sourcing Subitem Quantity Propagation
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
V45A0001 Determine alternative materials for product selection
And also you can write your code in MV45AFZZ
<b>Reward points</b>
Regards -
Re: Related to CJ20N Urgent Issue
Hi Guys,
This is an Urgent Issue!!!!
I have a requirement to upload the data .Initially they have created project definition and wbselement with the help of some data transfer technique later on they have added custom fields to this transaction.
Now for the existing project and wbs element they want to update the values for the new custom fields .
So can anybody suggest me how to approach this problem as this is my first requirement in PS.
Points will be rewarded....
Awaiting for your reply..
Regards,
Ravi GanjiHello,
To update Customer fields in a WBS element you can use LSMW recording mode for Tx: CJ02
Enter the WBS element definition on the initial screen and cheese 'enter'
in the WBS element overview, choose first line and select from menu: ' Details -> <Customer Fields> (This is an exit and you may see a different text over here) and you see the customer fields. fill the values in the fields and save.
Hope this helps. Also please close all your previous threads.
Best Regards, Murugesh AS -
Urgent issue, Suddenly no data is extracted Once I create new infopack
Hi,
I have an urgent issue and need help.
We were loading data after activating business content. Every thing worked fine and the delta load was also smooth.
However, in order to start everything afresh, I deleted all the info package, deleted the "Intialization option for the source system" AND then created my infopackage for Full upload with initialize option.
In this case the extractor didn't find any data. Please see the following log from the monitor "status " Tab.
"No data available
Diagnosis
The data request was a full update.
In this case, the corresponding table in the source system does not
contain any data.
System response
Info IDoc received with status 8.
Procedure
Check the data basis in the source system."
This is not correct since we were loading data ( full and delta ) successfully before and there are data in the system. This is most probably to do with the delta queue initialization in the source system.
We were looading data from datassource 0CRM_SALES_ORDER_I.
Please help, we are really stuck.
Thanks
Arunavahi Anurava,
take a look oss note 692195, i think authorization issue
Activities : 0CRM_SALES_ACT_1
oss 692195
Question 2 : On executing transaction RSA3 I get records but I find 0
records when I load data from BW request.(No Data Available).
How can I extract data in this case?
Suggestion 2: First check if there are any entries in the table
CRMD_ORDER_INDEX.Only if there are entries in this table you can
extract records.
If this is not the case then,
It is possible that the user does not have sufficient
authorities for extraction of the relevant objects.
Additionally, please review and implement the following notes
615670
161570
150315
618953
If you are in the release 4.0 then
To do BW extraction with the user please see that the following
authorization object exists(display mode is enough):
CRM_ACT, CRM_OPP, CRM_LEAD, CRM_SAO, CRM_SEO, CRM_CO_SE, CRM_CO_SC
CRM_CO_SA, CRM_CON_SE, CRM_CMP, CRM_ORD_OP, CRM_ORD_LP, CRM_ORD_PR
CRM_ORD_OE, CRM_CO_PU, CRM_CO_PD, CRM_ORD_PO
(all these objects are linked to transaction crmd_order). -
URGENT ISSUE: Line In Lag
URGENT ISSUE: Line In Lag? Hello everyone, for Christmas I got a brand new computer with Windows 7 and a Soundblaster X-Fi card. I got this new computer to record music.
I was horrified to find out that when I record guitar, vocals, or anything else through the Line in there is a MASSIVE lag that makes it IMPOSSIBLE to record! I have been looking for a fix for this for two months now. Some people with Realtek sound cards are saying there is a way to eliminate the lag with the Realtek control center program, others claim ASIO4ALL can eliminate the lag but I've had no?luck with that. I've tried tons of things to only find that the lag still persists
I AM NOT THE ONLY ONE WITH THIS PROBLEM! THERE ARE HUNDREDS OF MUSICIANS EXPERIENCING THIS! I am very desperate, recording music is what I li've for, and with Windows 7 I can't do that. I am begging Creative or someone to help me. Release a patch, anything..... Musicians worldwide are in an uproar, just do a google search on this topic to see how many people are experiencing this!
PLEASE HELP!!
Sorry for the caps, thanks for your time?Hi -XM-,
Please don't?assume all kinds of lag issue to be the one and same problem. It's like saying every flu-like?symptom?is caused by the same?strain of virus. Which X-Fi card do you have exactly, the X-Fi Xtreme series or the?Titanium series?Are you doing a single track or multi-track recording? How massi've is the lag?
If your Soundblaster X-Fi card came preinstalled or distributed?along with your new computer, please contact the respecti've computer vendor for assistance. Sound cards distributed in this manner are usually OEM models specially customized by the vendor, therefore any support?requests?should be directed to them.
However if?the sound card was purchased separately in a Creative?retail box, please contact our Customer Support using this email form.
Maybe you are looking for
-
computer password doesn't work! How to get out of this ****! Cannot install apps! I am not talking about appleID of course! Must I reinstal the system?
-
Server 2012 R2 Display Language?
Hi, I have a problem to change display language back to default en-US on one of our Windows 2012 R2 servers. It is actually a Domain Controller. During setup the display languages was set to sv-SE. The server is patched up to date. When I now try to
-
Hp 15-r007 tx pc = i need 3d video controller driver plz help me
i had downloaded drivers from your official web site 3d video controller driver is missing can provied link to downlaod plz help...
-
Hi, What are the steps to create Process Chain in BI What are the difference between BW 3.5 and BI7.0 PC? Regards, Jackie.
-
HD Space Savings with Snow Leopard? What Savings?
After installing Snow Leopard over the latest Leopard my available disk space has DECREASED by over 70 Gb! This is completely contrary to everything i have read. I cannot find where this space went. I used the same install options as before. Anyone e