Help with UDF
Hi,
I would like to send a email using UDF.
Requirement: if xyz == "9" then send a email and also pass the value .......
else directly pass the value
I want to do it without Looksups, exclusively using Java code inside UDF.
has anyone done this earlier? Can someone help me?
thanks,
Venkat.
Edited by: Venkat A on Jul 22, 2009 10:58 PM
>
Venkat A wrote:
> I have following doubts in the actual code.
> 1. "<mailhost>" - What should I enter the value for this?
this is your mail server .. ex. smtp.yahoo.com etc
> 2. do I need to provide a sender ID that is existing? I mean if I provide the xi.adm at dev.com... does it really need to exist in real?
it can be anything that you want to be in the from id of your email
> 3. How do I use imported archieve?i mean I have a normal MM now. how do I link that imported achieve?
>
> Thanks,
> Venkat.
>
> Edited by: Venkat A on Jul 23, 2009 12:03 AM
in the UDF give you package name in the imports section ... the screenshot of the UDF in the link also shows this
Similar Messages
-
Help with UDF code ...
I got the below code. It returns the FileName from File sender adapter. Works fine when running the complete scenario, but when running it from the mapping test utility it FAILS. Obviously because there is no filename since I am testing in my mapping but how to code it so I can run it during my testing of the graphical mapping?
UDF ->
String tomstreng = ingenting[0];
//write your code here
DynamicConfiguration attrib =
(DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
//to create key
DynamicConfigurationKey fileKey = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","FileName");
String navnpaafil = attrib.get(fileKey);
if (navnpaafil |= null)
result.addValue(navnpaafil);
result.addValue("");>
sunil chandra wrote:
> You can't test it independently in test tab. Need to run the full scenario for testing the mapping.
>
> Regards,
> Sunil Chandra
you can always use a try catch to handle the code and thus help test it independently - refer my blog -
i can't read in Mavericks DVDs and Bluray data burn with UDF system files burn with Snow Leopard, please help me. Thanks
They are DVDs with video files from a little more than 2 GB per file, were burned in Snow Leopard, with UDF file system, now that I updated to Mavericks when I try to read disks displays the directory in the finder a moment and then disappear and does not display them show them more. It is impossible to read the discs, but only those who were burned with UDF file system. Thank you for your help.
-
NoClassDefFoundErrr in PI 7.31 PROD-System with UDF
Hi Gurus,
I'm facing a weird problem:
This is my environment: PI 7.31;
Landscape: Dev --> QA --> PROD
All UDFs are save in the central SWCV: CentralLibrary.
All mappings with UDFs in PROD do not work, but in DEV and QA are OK.
The Error Log in Mapping is here:
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: de/xyzcustomer/CentralLibrary/CL_StringConvert
at java.lang.ClassLoader.loadClass(ClassLoader.java:308) ... 52 more Caused by: com.sap.aii.ib.core.mapping.execution.ResourceNotFoundException: Unable to find resource de/ xyzcustomer/CentralLibrary/CL_StringConvert in the following software component versions: 26dd6550-707e-11e2-a09d-deb10ad76533, f0c662d0-6f7b-11e2-b498-deb10ad76533 at com.sap.aii.ib.server.mapping.execution.MappingFinderImpl.readClass(MappingFinderImpl.java:81) at com.sap.aii.ibrep.server.mapping.rt.ArchiveClassLoader.findClass(ArchiveClassLoader.java:92)
I’ve tried the following approaches:
Reimport central Library and Message-Mapping from DEV into PROD
Full mapping runtime cache refresh in Administration – Mapping Runtime
Create a local library in the Mapping namespace. It works well in DEV and QA, but in PROD still gets same error.
Could anyone help me?!
Thanks a lot and regards
ChristineHi Jannus,
i tested this scenario once more and monitored it with xpi_inspector.
In the runtime there is no mapping error.
But in Enterprise Services Builder, I test the mapping in test module, i get this NoClassDelFounderror.
The whole error-log is as below:
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException:
java.lang.NoClassDefFoundError: de/xyzcustomer/CentralLibrary/CL_StringConvert
java.lang.RuntimeException: java.lang.NoClassDefFoundError:
de/xyzcustomer/CentralLibrary/CL_StringConvert at
com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal
(RequestInvocationContext.java:99) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:166) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke
(Interceptors_StatesTransition.java:19) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke
(Interceptors_Resource.java:50) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute
(Interceptors_Transaction.java:37) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke
(Interceptors_Transaction.java:21) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke
(Interceptors_MethodRetry.java:46) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:191) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke
(Interceptors_StatelessInstanceGetter.java:23) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke
(Interceptors_SecurityCheck.java:25) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke
(Interceptors_ExceptionTracer.java:17) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain
(DefaultInvocationChainsManager.java:138) at
com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke
(DefaultEJBProxyInvocationHandler.java:164) at $Proxy787.execute(Unknown Source) at
sun.reflect.GeneratedMethodAccessor1723.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:597) at
com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:240) at
com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:466) at
com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69) at
com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72) at
com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43) at
com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest
(FCAConnectorImpl.java:999) at com.sap.engine.services.rmi_p4.P4Message.process
(P4Message.java:59) at com.sap.engine.services.cross.fca.MessageReader.run
(MessageReader.java:55) at com.sap.engine.core.thread.execution.Executable.run
(Executable.java:122) at com.sap.engine.core.thread.execution.Executable.run
(Executable.java:101) at com.sap.engine.core.thread.execution.CentralExecutor
$SingleThread.run(CentralExecutor.java:328) Caused by: java.lang.NoClassDefFoundError:
de/xyzcustomer/CentralLibrary/CL_StringConvert at
com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_$MT$InnerLibsList.<init>
(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:88) at
com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_$MT$InnerLibsList.<init>
(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:87) at
com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.<init>
(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:19) at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance
(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at
java.lang.Class.newInstance(Class.java:308) at
com.sap.aii.ibrep.server.mapping.exec.ExecuteXiMappingCommand.transformInternal
(ExecuteXiMappingCommand.java:180) at
com.sap.aii.ibrep.server.mapping.exec.ExecuteXiMappingCommand.execute
(ExecuteXiMappingCommand.java:95) at
com.sap.aii.ib.server.mapping.exec.CommandManager.execute(CommandManager.java:43) at
com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:40) at
com.sap.aii.ibrep.server.mapping.MapServiceBean.execute(MapServiceBean.java:40) at
sun.reflect.GeneratedMethodAccessor1724.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:597) at
com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal
(RequestInvocationContext.java:47) ... 34 more Caused by: java.lang.ClassNotFoundException:
Class de.xyzcustomer.CentralLibrary.CL_StringConvert not found at
com.sap.aii.ibrep.server.mapping.rt.ArchiveClassLoader.findClass
(ArchiveClassLoader.java:110) at java.lang.ClassLoader.loadClass(ClassLoader.java:367) at
java.lang.ClassLoader.loadClass(ClassLoader.java:308) ... 52 more Caused by:
com.sap.aii.ib.core.mapping.execution.ResourceNotFoundException: Unable to find resource
de/xyzcustomer/CentralLibrary/CL_StringConvert.class in the following software component
versions: 26dd6550-707e-11e2-a09d-deb10ad76533, f0c662d0-6f7b-11e2-b498-deb10ad76533 at
com.sap.aii.ib.server.mapping.execution.MappingFinderImpl.readClass
(MappingFinderImpl.java:81) at
com.sap.aii.ibrep.server.mapping.rt.ArchiveClassLoader.findClass
(ArchiveClassLoader.java:92) ... 54 more javax.ejb.EJBException: nested exception is:
java.lang.RuntimeException: java.lang.NoClassDefFoundError:
de/xyzcustomer/CentralLibrary/CL_StringConvert at
com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal
(RequestInvocationContext.java:99) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:166) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke
(Interceptors_StatesTransition.java:19) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke
(Interceptors_Resource.java:50) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute
(Interceptors_Transaction.java:37) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke
(Interceptors_Transaction.java:21) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke
(Interceptors_MethodRetry.java:46) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:191) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke
(Interceptors_StatelessInstanceGetter.java:23) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke
(Interceptors_SecurityCheck.java:25) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke
(Interceptors_ExceptionTracer.java:17) at
com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed
(AbstractInvocationContext.java:179) at
com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain
(DefaultInvocationChainsManager.java:138) at
com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke
(DefaultEJBProxyInvocationHandler.java:164) at $Proxy787.execute(Unknown Source) at
sun.reflect.GeneratedMethodAccessor1723.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:597) at
com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:240) at
com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:466) at
com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69) at
com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72) at
com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43) at
com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest
(FCAConnectorImpl.java:999) at com.sap.engine.services.rmi_p4.P4Message.process
(P4Message.java:59) at com.sap.engine.services.cross.fca.MessageReader.run
(MessageReader.java:55) at com.sap.engine.core.thread.execution.Executable.run
(Executable.java:122) at com.sap.engine.core.thread.execution.Executable.run
(Executable.java:101) at com.sap.engine.core.thread.execution.CentralExecutor
$SingleThread.run(CentralExecutor.java:328) Caused by: java.lang.RuntimeException:
java.lang.NoClassDefFoundError: de/xyzcustomer/CentralLibrary/CL_StringConvert ... 35 more
Caused by: java.lang.NoClassDefFoundError: de/xyzcustomer/CentralLibrary/CL_StringConvert
at com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_$MT
$InnerLibsList.<init>(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:88) at
com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_$MT$InnerLibsList.<init>
(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:87) at
com.sap.xi.tf._MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.<init>
(_MM_MT_RequirementPhotoCopy_to_MT_InvoicePhotoCopy_.java:19) at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance
(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at
java.lang.Class.newInstance(Class.java:308) at
com.sap.aii.ibrep.server.mapping.exec.ExecuteXiMappingCommand.transformInternal
(ExecuteXiMappingCommand.java:180) at
com.sap.aii.ibrep.server.mapping.exec.ExecuteXiMappingCommand.execute
(ExecuteXiMappingCommand.java:95) at
com.sap.aii.ib.server.mapping.exec.CommandManager.execute(CommandManager.java:43) at
com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:40) at
com.sap.aii.ibrep.server.mapping.MapServiceBean.execute(MapServiceBean.java:40) at
sun.reflect.GeneratedMethodAccessor1724.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
java.lang.reflect.Method.invoke(Method.java:597) at
com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal
(RequestInvocationContext.java:47) ... 34 more Caused by: java.lang.ClassNotFoundException:
Class de.xyzcustomer.CentralLibrary.CL_StringConvert not found at
com.sap.aii.ibrep.server.mapping.rt.ArchiveClassLoader.findClass
(ArchiveClassLoader.java:110) at java.lang.ClassLoader.loadClass(ClassLoader.java:367) at
java.lang.ClassLoader.loadClass(ClassLoader.java:308) ... 52 more Caused by:
com.sap.aii.ib.core.mapping.execution.ResourceNotFoundException: Unable to find resource
de/xyzcustomer/CentralLibrary/CL_StringConvert.class in the following software component
versions: 26dd6550-707e-11e2-a09d-deb10ad76533, f0c662d0-6f7b-11e2-b498-deb10ad76533 at
com.sap.aii.ib.server.mapping.execution.MappingFinderImpl.readClass
(MappingFinderImpl.java:81) at
com.sap.aii.ibrep.server.mapping.rt.ArchiveClassLoader.findClass
(ArchiveClassLoader.java:92) ... 54 more See error logs for details -
Mail attachment with UDF in SAP PI 7.1
Hello,
I need to reproduce this solution in PI 7.1
/people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf
It is about adding lines of a message as an attachment to a mail.
The UDF works for all elements except the lines for the attachment itself.
In order to build the content of the attachment (for this particular requirement) they are using a global variable declared and initialized in the global sections.
But the button for the Java Section to use an imported archive is no longer available in PI.....
So how to solve that issue?
I tried to use a graphical variable instead of a global variable but I have no idea how to add the n lines
from the source message as one import object into the UDF via that graphical variable.
Your ideas are very appreciated!
Best Regards
DirkHi,
yes, it is a little bit different. This is the issue.....
But I am not sure if your links will help:
1) /people/william.li/blog/2008/02/13/sap-pi-71-mapping-enhancements-series-using-graphical-variable
is about a different solution. I do not need to count the number of lines of the source message.
And the second variable is about concat line by line from unbound node to unbound node.
My issue is:
Souce:
Message line (0...unbound) ! ! ! ! ! ! ! !
. ResultLine (1..1)
Mapping:
=> ResultLine1
ResultLine2
ResultLine........ => into UDF to an element (1..1) in one mapping operation.
So that all "ResultLine"s are included.
The result is explained in the given link for Mail attachment with UDF.
So I am not sure how to use this thread for my issue.
In the comments of that blog Christoph Gerber writes that the new variable feature can only handle single values.
So it is not suitable for my purposes as I have a list of values here that needs to be moved into the target message field.
2) http://wiki.sdn.sap.com/wiki/display/Java/UsingEditJavaSectioninMessageMapping
shows where to find the button "Java section" which is not available here in 7.1
3) /people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
too is about the nice little button for Java Section that is no longer existing on PI 7.1 screen for mappings.
So my issue is: How to replace the Java section function with global variables in PI 7.1?
Best regards
Dirk -
XLR old reports not working with UDF from Marketing docs
Hi,
We are using SAP Business One 2005 A (6.80.318) SP: 01 PL: 16 and the following version of XLR.
XLR Version 6.80.367 (under about XLR) or 6.80.01.26 (under Add-ons manager).
We have just gone from 6.80.01.25 to 6.80.01.26 version of XLR and have had an issue with the reports that contain UDF's.
Previously when doing patches of SBO we have had issues with the UDF's renumbering eg. SalesEmp_1 becoming SalesEmp_2. Within the XLR reports we would simply update the identifier of the UDF and it would report correctly.
The issue this time is that the identifier has disappeared. ie. SalesEmp_1 has become SalesEmp. When you create a new report the data can be retrieved correctly however when you change the existing report to reflect SalesEmp (rather than SalesEmp_1) it reports no data.
I am not keen on re-creating all of my reports with UDFs and was wondering if anyone else had encountered the same issue and come up with a solution.
It may have something to do with the UDF's being available as Dimensions now whereas previously they were only Light Dimensions?
Let me know if I need to clarify further - although it will probably make perfect sense if you have been through the same issue - and if you haven't you may not be able to help.
Kind regards
AndrewHi Andrew,
Unfortunately I don't know the answer to your question...
...but anyway, this Forum is focussing on the SAP Business One SDK.
In principle the Implementation Forum in the PartnerEdge P2P (http://p2p.sap.com/businessoneforum?type=join) area should more suitable for such questions.
I suggest that you raise your issue there - and hope that you will get the right answer.
...or since the issue came up when you changed from one version of XLR to another - log a question to SAP Support on the XLR component.
Sorry,
Frank -
Hi,
This is atually a follow-up to other post in the same forum: <b>Sending XMl message as text (Mail body) by receiver mail adapter</b>
We are having problem with UDF to get correct output.
We are getting <b>result of UDF</b> as below:
[[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>[Ljava.lang.String;@f37573 [Ljava.lang.String;@1a409ed [Ljava.lang.String;@87c011 [Ljava.lang.String;@52a077 [Ljava.lang.String;@a4e8e5<BR>]
Does any body know what it mean?
Following are the source ans target XSD's:
Here is the <b>source xsd:</b>
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://NameSpace" targetNamespace="NameSpace">
<xsd:complexType name="row">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
5e090470385011db9654000e7f22e9d4
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="DeliveryNumber">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a0377b11db91dbf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="DeliveryLineItem">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a1377b11db98aaf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="OrderNumber">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a2377b11dbc5c4f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="OrderLineItem">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a3377b11db9d84f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BillToID">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a4377b11dbb49bf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="17" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BillToName">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a5377b11dbb38ff237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="40" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ShipToID">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a6377b11db9370f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="17" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ShipToName">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a7377b11dbb66cf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="40" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ProductCode">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a8377b11db8f94f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="18" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ProductDesc">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0a9377b11db929ff237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="40" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ScheduledLoadDate">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0aa377b11db8d1df237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ScheduledLoadTime">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0ab377b11dba57ff237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="6" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Carrier">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0ac377b11dbcc03f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="40" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CustomerPO">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0ad377b11dbb5a2f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="35" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="OutYard">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0ae377b11dbcc51f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="16" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="OrderedQty">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0af377b11dbbe6cf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="15" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="OrderUofM">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b0377b11db9264f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="3" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="LabConc">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b1377b11dbb0e7f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="50" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="GrossMT">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b2377b11db99f1f237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="GrossST">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b3377b11db9b6ff237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="4" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BilledQty">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b4377b11db8a9af237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="8" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Status">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
9d3ac0b5377b11dba39cf237ac102206
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="resultset">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
5e044980385011dbb2d3000e7f22e9d4
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="row" type="row" maxOccurs="unbounded">
<xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">
c1cb8fd0377b11db912af237ac102206
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<b>Target xsd:</b>
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://sap.com/xi/XI/Mail/30" targetNamespace="http://sap.com/xi/XI/Mail/30">
<xsd:element name="Mail">
<xsd:annotation>
<xsd:documentation>
Mail package for XI - Mail Adapter
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Subject" type="xsd:string" minOccurs="0" />
<xsd:element name="From" type="xsd:string" minOccurs="0" />
<xsd:element name="To" type="xsd:string" minOccurs="0" />
<xsd:element name="Reply_To" type="xsd:string" minOccurs="0" />
<xsd:element name="Content_Type" type="xsd:string" minOccurs="0" />
<xsd:element name="Date" type="xsd:dateTime" minOccurs="0" />
<xsd:element name="Message_ID" type="xsd:string" minOccurs="0" />
<xsd:element name="X_Mailer" type="xsd:string" minOccurs="0" />
<xsd:element name="Content" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
any type
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="encoding" type="xsd:string" />
</xsd:complexType>
</xsd:element>
</xsd:schema>
And <b>following is the UDF we are using</b>:
=========================================
String mailBody = new String();
int inta, intb, intc, intd, inte;
inta = a.length;
intb = b.length;
intc = c.length;
intd = d.length;
inte = e.length;
for(int i = 0; i < a.length; i++)
mailBody = mailBody + a + " " + b + " " + c + " " + d + " " + e + "<BR>";
result.addValue(mailBody);
====================================
<b>Any help to resolve this would be very helpful.</b>
Thanx
SueHi Bhavesh,
We are getting following error if we use the UDF you given below:
Check Result for Object test Source code has syntax error: D:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapf2026120390a11db9d1f000e7f22e9d4/source/com/sap/xi/tf/_test_.java:75: a is already defined in testUDF$(java.lang.String[],java.lang.String[],java.lang.String[],java.lang.String[],java.lang.String[],com.sap.aii.mappingtool.tf3.rt.ResultList,com.sap.aii.mappingtool.tf3.rt.Container) int a = a.length(); ^ D:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapf2026120390a11db9d1f000e7f22e9d4/source/com/sap/xi/tf/_test_.java:75: int cannot be dereferenced int a = a.length(); ^
We have no knowledge of java at all.
We did some modifications to it as below:
String mailBody = new String();
int a = a.length();
int b = b.length();
int c = c.length();
int d = d.length();
int e = e.length();
for(int i = 0; i < a.length(); i++)
mailBody = mailBody + a + " " + b + " " + c + " " + d + " " + e + "<BR>";
result.addValue(mailBody);
It it didn't work. Think we are missing something. Can please help us to figure it out.
Thanx
Sue -
Problem in importing Sales Order with udf in the rows
Dear All,
I am having problem in importing Sales Order with udf in the rows. I mean it is getting imported but the udf values in the rows is not getting updated. But the udf values in the header is getting updated. I am using SAP 8.8 Pl 10.
Can anyone guide me what to do in this scenario?
Regards,
GarySo , Login to DTW .
with the Desired Database and Login Credentials.
Goto - > Templates - > Customized Templates
Select The Object .
Right Click on the object needed and choose Create Template for the Structure .
Then use this template for import .
Hope it helps
Thanks
Ashish Ranjan -
Need help with user defined function
Hello SDN,
I need some help with a user-defined function. My source message contains multiple
generic records (1000 char string), and my target message is 1 header record,
then multiple generic records. See description of source and target messages below:
Source:
GenericRecordTable 1..unbounded
Row (1000 char string)
Target:
Field1 (char5)
Field2 (char5)
Field3 (char5)
IT_Data
GenericRecordTable 1..unbounded
Row (1000 char string)
Basically, what I need to do in my user defined funtion is to map the first record
in my source record to the 3 header fields, then map all of the rest of the records
(starting from line 2) into the GenericRecordTable.
Can someone please help me with the code for the user defined function(s) for this
mapping?
Thank you.hi,
Activities
1. To create a new user-defined function, in the data-flow editor, choose Create New Function (This
graphic is explained in the accompanying text), which is located on the lower left-hand side of the
screen. In the menu, choose Simple Function or Advanced Function.
2. In the window that appears, specify the attributes of the new function:
Name
Technical name of the function. The name is displayed in the function chooser and on the data-flow
object.
Description
Description of how the function is used.
Cache
Function type (see above)
Argument Count
In this table, you specify the number of input values the function can process, and name them. All
functions are of type String.
3. In the window that appears, you can create Java source code:
a. You can import Java packages to your methods from the Imports input field, by specifying them
separated by a comma or semi-colon:
You do not need to import the packages java.lang., java.util., java.io., and java.lang.reflect. since
all message mappings require these packages and therefore import them. You should be able to
access standard JDK and J2EE packages of the SAP Web Application Server by simply specifying the
package under Import. In other words, you do not have to import it as an archive into the Integration
Repository. You can also access classes of the SAP XML Toolkit, the SAP Java Connector, and the
SAP Logging Service (see also: Runtime Environment (Java-Mappings)).
In addition to the standard packages, you can also specify Java packages that you have imported as
archives and that are located in the same, or in an underlying software component version as the
message mapping.
b. Create your Java source text in the editor window or copy source text from another editor.
4. Confirm with Save and Close.
5. User-defined functions are limited to the message mapping in which you created the function. To
save the new function, save the message mapping.
6. To test the function, use the test environment.
The new function is now visible in the User-Defined function category. When you select this category,
a corresponding button is displayed in the function chooser pushbutton bar. To edit, delete, or add the
function to the data-flow editor, choose the arrow next to the button and select from the list box
displayed.
http://help.sap.com/saphelp_nw04/helpdata/en/d9/718e40496f6f1de10000000a1550b0/content.htm
http://java.sun.com/j2se/1.5.0/docs/api/
/people/krishna.moorthyp/blog/2006/07/29/documentation-html-editor-in-xi
/people/sap.user72/blog/2006/02/06/xi-mapping-tool-exports
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
UDF -
http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
Regards -
Help with if statement in cursor and for loop to get output
I have the following cursor and and want to use if else statement to get the output. The cursor is working fine. What i need help with is how to use and if else statement to only get the folderrsn that have not been updated in the last 30 days. If you look at the talbe below my select statement is showing folderrs 291631 was updated only 4 days ago and folderrsn 322160 was also updated 4 days ago.
I do not want these two to appear in my result set. So i need to use if else so that my result only shows all folderrsn that havenot been updated in the last 30 days.
Here is my cursor:
/*Cursor for Email procedure. It is working Shows userid and the string
You need to update these folders*/
DECLARE
a_user varchar2(200) := null;
v_assigneduser varchar2(20);
v_folderrsn varchar2(200);
v_emailaddress varchar2(60);
v_subject varchar2(200);
Cursor c IS
SELECT assigneduser, vu.emailaddress, f.folderrsn, trunc(f.indate) AS "IN DATE",
MAX (trunc(fpa.attemptdate)) AS "LAST UPDATE",
trunc(sysdate) - MAX (trunc(fpa.attemptdate)) AS "DAYS PAST"
--MAX (TRUNC (fpa.attemptdate)) - TRUNC (f.indate) AS "NUMBER OF DAYS"
FROM folder f, folderprocess fp, validuser vu, folderprocessattempt fpa
WHERE f.foldertype = 'HJ'
AND f.statuscode NOT IN (20, 40)
AND f.folderrsn = fp.folderrsn
AND fp.processrsn = fpa.processrsn
AND vu.userid = fp.assigneduser
AND vu.statuscode = 1
GROUP BY assigneduser, vu.emailaddress, f.folderrsn, f.indate
ORDER BY fp.assigneduser;
BEGIN
FOR c1 IN c LOOP
IF (c1.assigneduser = v_assigneduser) THEN
dbms_output.put_line(' ' || c1.folderrsn);
else
dbms_output.put(c1.assigneduser ||': ' || 'Overdue Folders:You need to update these folders: Folderrsn: '||c1.folderrsn);
END IF;
a_user := c1.assigneduser;
v_assigneduser := c1.assigneduser;
v_folderrsn := c1.folderrsn;
v_emailaddress := c1.emailaddress;
v_subject := 'Subject: Project for';
END LOOP;
END;
The reason I have included the folowing table is that I want you to see the output from the select statement. that way you can help me do the if statement in the above cursor so that the result will look like this:
emailaddress
Subject: 'Project for ' || V_email || 'not updated in the last 30 days'
v_folderrsn
v_folderrsn
etc
[email protected]......
Subject: 'Project for: ' Jim...'not updated in the last 30 days'
284087
292709
[email protected].....
Subject: 'Project for: ' Kim...'not updated in the last 30 days'
185083
190121
190132
190133
190159
190237
284109
286647
294631
322922
[email protected]....
Subject: 'Project for: Joe...'not updated in the last 30 days'
183332
183336
[email protected]......
Subject: 'Project for: Sam...'not updated in the last 30 days'
183876
183877
183879
183880
183881
183882
183883
183884
183886
183887
183888
This table is to shwo you the select statement output. I want to eliminnate the two days that that are less than 30 days since the last update in the last column.
Assigneduser....Email.........Folderrsn...........indate.............maxattemptdate...days past since last update
JIM......... jim@ aol.com.... 284087............. 9/28/2006.......10/5/2006...........690
JIM......... jim@ aol.com.... 292709............. 3/20/2007.......3/28/2007............516
KIM......... kim@ aol.com.... 185083............. 8/31/2004.......2/9/2006............. 928
KIM...........kim@ aol.com.... 190121............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190132............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190133............. 2/9/2006.........2/9/2006.............928
KIM...........kim@ aol.com.... 190159............. 2/13/2006.......2/14/2006............923
KIM...........kim@ aol.com.... 190237............. 2/23/2006.......2/23/2006............914
KIM...........kim@ aol.com.... 284109............. 9/28/2006.......9/28/2006............697
KIM...........kim@ aol.com.... 286647............. 11/7/2006.......12/5/2006............629
KIM...........kim@ aol.com.... 294631............. 4/2/2007.........3/4/2008.............174
KIM...........kim@ aol.com.... 322922............. 7/29/2008.......7/29/2008............27
JOE...........joe@ aol.com.... 183332............. 1/28/2004.......4/23/2004............1585
JOE...........joe@ aol.com.... 183336............. 1/28/2004.......3/9/2004.............1630
SAM...........sam@ aol.com....183876.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183877.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183879.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183880.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183881.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183882.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183883.............3/5/2004.........3/8/2004.............1631
SAM...........sam@ aol.com....183884.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183886.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183887.............3/5/2004.........3/8/2004............ 1631
SAM...........sam@ aol.com....183888.............3/5/2004.........3/8/2004............ 1631
PAT...........pat@ aol.com.....291630.............2/23/2007.......7/8/2008............ 48
PAT...........pat@ aol.com.....313990.............2/27/2008.......7/28/2008............28
NED...........ned@ aol.com.....190681.............4/4/2006........8/10/2006............746
NED...........ned@ aol.com......95467.............6/14/2006.......11/6/2006............658
NED...........ned@ aol.com......286688.............11/8/2006.......10/3/2007............327
NED...........ned@ aol.com.....291631.............2/23/2007.......8/21/2008............4
NED...........ned@ aol.com.....292111.............3/7/2007.........2/26/2008............181
NED...........ned@ aol.com.....292410.............3/15/2007.......7/22/2008............34
NED...........ned@ aol.com.....299410.............6/27/2007.......2/27/2008............180
NED...........ned@ aol.com.....303790.............9/19/2007.......9/19/2007............341
NED...........ned@ aol.com.....304268.............9/24/2007.......3/3/2008............ 175
NED...........ned@ aol.com.....308228.............12/6/2007.......12/6/2007............263
NED...........ned@ aol.com.....316689.............3/19/2008.......3/19/2008............159
NED...........ned@ aol.com.....316789.............3/20/2008.......3/20/2008............158
NED...........ned@ aol.com.....317528.............3/25/2008.......3/25/2008............153
NED...........ned@ aol.com.....321476.............6/4/2008.........6/17/2008............69
NED...........ned@ aol.com.....322160.............7/3/2008.........8/21/2008............4
MOE...........moe@ aol.com.....184169.............4/5/2004.......12/5/2006............629
[email protected]/27/2004.......3/8/2004............1631
How do I incorporate a if else statement in the above cursor so the two days less than 30 days since last update are not returned. I do not want to send email if the project have been updated within the last 30 days.
Edited by: user4653174 on Aug 25, 2008 2:40 PManalytical functions: http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions2a.htm#81409
CASE
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/02_funds.htm#36899
http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/04_struc.htm#5997
Incorporating either of these into your query should assist you in returning the desired results. -
I installed Sunbird in one computer and my calendar has all my infos, events, and task that i would like to see on another computer that i just downloaded Sunbird into. Also, is it possible I can access Sunbird on my iphone?
Thank you in advance,Try the forum here - http://forums.mozillazine.org/viewforum.php?f=46 - for help with Sunbird, this forum is for Firefox support.
-
Hoping for some help with a very frustrating issue!
I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud 2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel. I even uninstalled iCloud on the PC and downloaded it again (same version).
The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.” After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
Sound familiar? Any ideas on how to solve this iCloud/Outlook issue? Thanks much in advance!Hoping for some help with a very frustrating issue!
I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud 2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel. I even uninstalled iCloud on the PC and downloaded it again (same version).
The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.” After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
Sound familiar? Any ideas on how to solve this iCloud/Outlook issue? Thanks much in advance! -
Help with HP Laser Printer 1200se
HP Support Line,
Really need your assistance. I have tried both contacting HP by phone (told they no longer support our printer via phone help), the tech told me that I needed to contact HP by e-mail for assistance. I then sent an e-mail for assistance and got that reply today, the reply is as follows "Randall, unfortunately, HP does not offer support via e-mail for your product. However many resources are available on the HP web site that may provide the answer to your inquiry. Support is also available via telephone. A list of technical support numbers can be round at the following URL........." The phone numbers listed are the ones I called and the ones that told me I needed to contact the e-mail support for help.
So here I am looking for your help with my issue.
We just bought a new HP Pavillion Slimline Desk Top PC (as our 6 year old HP Pavillion PC died on us). We have 2 HP printers, one (an all-in-one type printer, used maily for copying and printing color, when needed) is connected and it is working fine with the exception of the scanning option (not supported by Windows 7). However we use our Laser Printer for all of our regular prining needs. This is the HP LaserPrinter 1200se, which is about 6 years old but works really well. For this printer we currently only have a parallel connection type cord and there is not a parallel port on the Slimline HP PC. The printer also has the option to connedt a USB cable (we do not currently have this type of cable).
We posed the following two questions:
1. Is the Laser Jet 1200se compatible with Windows 7?
and if this is the case
2. Can we purchase either a) a USC connection cord (generic or do we need a printer specific cord)? or b) is there there a printer cable converter adapater to attach to our parallel cable to convert to a USB connection?
We do not want to purchase the USB cable if Windows 7 will not accept the connection, or if doing this will harm the PC.
We really would appreciate any assitance that you might give us.
Thank you,
Randy and Leslie GibsonSorry, both cannot be enabled by design. That said, devices on a network do not care how others are connected. You can print from a wireless connection to a wired (Ethernet) printer and v/v.
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
Going to Australia and need help with Power converters
Facts:
US uses 110v on 60hz
Australia 220v on 50hz
Making sure I understood that correctly. Devices I plan on bringing that will use power are PS3 Slim, MacBook Pro 2008 model, and WD 1TB External HDD. My DS, and Cell are charging via USB to save trouble of other cables.
Ideas I've had or thought of:
1. Get a power converter for a US Powerstrip, and then plug in my US items into the strip and then the strip into an AUS Converter into Australian outlet. Not sure if this fixes the voltage/frequency change.
2. Get power converters for all my devices. But, not sure if my devices needs ways of lowering the voltage/increasing frequency or something to help with the adjustment.
3. Buy a universal powerstrip, which is extremely costly and I wouldn't be able to have here in time (I leave Thursday). Unless Best Buy carrys one.godzillafan868 wrote:
Facts:
US uses 110v on 60hz
Australia 220v on 50hz
Making sure I understood that correctly. Devices I plan on bringing that will use power are PS3 Slim, MacBook Pro 2008 model, and WD 1TB External HDD. My DS, and Cell are charging via USB to save trouble of other cables.
Ideas I've had or thought of:
1. Get a power converter for a US Powerstrip, and then plug in my US items into the strip and then the strip into an AUS Converter into Australian outlet. Not sure if this fixes the voltage/frequency change.
2. Get power converters for all my devices. But, not sure if my devices needs ways of lowering the voltage/increasing frequency or something to help with the adjustment.
3. Buy a universal powerstrip, which is extremely costly and I wouldn't be able to have here in time (I leave Thursday). Unless Best Buy carrys one.
Check the specs on input voltage/frequency of your power supplies.
Many laptop power supplies are "universal/global" and are specced something like 80-265 volts AC 50/60 Hz, but not all. These will just need a connector adapter.
Unsure about the PS3 Slim - if it isn't universal it could be difficult as you'll need a 110/220 transformer, one big enough (power-handling wise) for the PS3 will be very bulky.
For the external WD HDD, if it doesn't have a universal supply, you're probably best off just finding a new wallwart for it that is capable of running on 220/50.
*disclaimer* I am not now, nor have I ever been, an employee of Best Buy, Geek Squad, nor of any of their affiliate, parent, or subsidiary companies. -
Creation of context sensitive help with pure FM 12 usage doesn't work
Hi,
I hope somebody is able to help me with a good hint or tip.
I am trying to create a context-sensitive Microsoft Help with FM12 only using the abilities of FM (no RoboHelp). For some reasons, my assigned ID's are not used in the generated chm file and therefore the help does not work context-sensitively.
What did I do?
- I created my FM files and assigned topic aliases to the headers. I did this two ways: a) using the "Special" menue and assigning a CSH marker and/or b) setting a new marker of type "Topic Alias" and typing the ID. I used only numeric IDs like "2000" or "4200",
- I created a .h file (projectname.h) - based on the format of the file projectname_!Generated!.h (I read this in some instructions). So the .h file (text file) looks like this:
#define 2000 2000 /* 4 Anwendungsoberfläche */
#define 2022 2022 /* 4.1.1 Menü Datei */
#define 2030 2030 /* 4.1.3 Menü Parametersatz */
#define 2180 2180 /* 6.6.7 Objektdialog Q-Regler */
#define 2354 2354 /* 6.9.2 Objektdialog Extran Parameter */
#define 2560 2560 /* 6.9.5 Objektdialog Extran2D Parametersatz */
- I published the Microsoft HTML Help. A projectname_!Generated!.h has been created. My IDs were not used in this file:
#define 2000 1
#define 2022 2
#define 2030 3
#define 2180 4
#define 2354 5
#define 2560 6
- When I open the .chm file and look in the source code, the ID even is totally different. It is not the one, I assigned in FM, it is not the one which I assigned in the projectname.h file and it even is not the one, which was put in the projectname_!Generated!.h file. It is a generated name starting with CSH_1 ...n in a consecutive way numbered.
Example:
<p class="FM_Heading1"><a name="XREF_72066_13_Glossar"></a>Gloss<a name="CSH_1"></a>ar</p>
What goes wrong? Why does FM not take my assigned IDs? I need to use these IDs since our programmers are using those already - I had to re-create the whole online help but the programs stay untouched.
Please help!
Many thanks
MohiHi Jeff,
thanks for your note!
The text in my marker is just a number like "2000" or "4200". As said, I created manually a my.h file and used this marker there. E.g.
#define 2000 2000.
Whereby the first 2000 (in my opinion) is the marker text and the second 2000 is the context ID which the programmers are using for the context sensitive call of the help. My definitions in the my.h file were translated to #define 2000 1 (in the my_!Generated!.h file). The source code "translates" the context ID into CSH_8.
I am still confused :-/
Thanks
Mohi
Maybe you are looking for
-
I cannot access download.mozilla.org. I need to do a fresh install after something went wrong with my updates and now Firefox won't even open so I am using Safari. I don't know why I can't get download.mozilla.org: is it because I am in China and it'
-
Can't print using Epson Stylus Photo R300
I am new to Mac ownership and have been having issues since updating to OS10.4.9. I have an Epson Stylus Photo R300 and have been using CUPS and Gimprint to print w/o a problem (OK, I had to call tech support and spent 10 hours getting it figured out
-
My media card erased all my pictures and music. Helllppp !!!!
Just two days ago, all of a sudden my BB showed there is some error with the media card and asked if I want to rectify the error. I clicked 'Yes' and it erased all my music and pictures. Can you help me retrieve this? Also, from then on, my phone aut
-
Marketing attributes for a business partner
Hi, how can I input marketing attributes for a business partner with a BAPI? Or can I use BATCH-INPUT (the transactions is "BP")? Thanks and best regards.
-
I'm trying to figure out the best way to transfer hi8 to DVD using iMovie for capture. The problem is if I have a Hi8 camcorder, is there a way to connect that to my miniDV camcorder and then firewire from the DVD into the computer? If there was such