Excel to XML for spry

O.k. i am a designer and i can see the benefit of spry big
time in my work flow. BIG TIME. But i have a client site i am
working on that has a bunch of data but its all in excel files.
Right now to make useful web pages out of it i am using web merge.
i can see using spry to remove my need or dependence on web merge
to create the web galleries forms from the data i have. What I
wanted to know is there any tools you guys have or can recommend to
get my data from excel (I currently export to csv format) to the
xml format that spry uses.
my excel data looks something like this.
picture | fragrance name | small bottle| medium bottle |
Large bottle| item number
also i use webmerge to populate data for a paypal form. is
there any way to do that on the fly also???
so the paypal code would be : <item name>fragrance name
<price> bottle size<item> Item: number right now i have
that data populating with field names from my csv. it replaces on
running the script. so i have one page which is a template and it
makes the 300 or so other pages from that. Now i know your thinking
um.. no we don't create pages automatically like that. Thats not
what i am trying to do i am trying to eliminate doing all those
pages. ..
I hope my rambling made sense.
-adam

o.k, i dont understand xml very well...but i think i am
figuring it out. what i have done is turned my excel file into an
xml file with oxygen xml editor and i am trying to figure out how
to format it correctly so that spry can read it. once i get this
figured out i should be good. i am working with a much smaller file
only 16 records instead of the files i have for my client that
average 300 or so records

Similar Messages

  • Generate Photo Gallery XML for Spry with Adobe Bridge

    Wanted to post a note to what I've discovered/worked out -- a
    way to
    generate a very useful photos.xml from Adobe Bridge. If you
    use Bridge,
    it's very easy to add titles, keywords, ratings -- all kinds
    of metadata
    that one might use in a photo gallery. Here it is in case
    anyone wants
    to use.
    The script is based on one I found at the Adobe User to User
    Bridge
    Scripting Forum for exporting a CSV file.
    Note 1: this particular script doesn't take into account
    CDATA that
    might exist in your metadata, like ampersands in your title.
    I've just
    avoided using those, but you could also have the script write
    out a
    CDATA node for that info instead.
    Note 2: this script does not write out a thumbpath,
    thumbwidth or
    thumbheight attribute. But usually the thumbpath is the exact
    same as
    the regular "path" attribute, and the thumbwidth and
    thumbheight are
    just a ratio of the regular "width" and "height" attributes.
    I added a
    bit of JS to the gallery.js file to calculate those before
    growing the
    thumbnail on rollover.
    Personally I'm using keywords as categories and titles as
    captions and
    sorting by rating (stars in Bridge), so here's the .jsx file
    I created.
    The script should be saved to the folder "StartupScripts" in
    Program
    Files/Common Files/Adobe.
    Hope this is useful for others too!
    #target bridge
    if (BridgeTalk.appName == "bridge" ) {
    // create menu
    var menu = MenuElement.create( "command", "Export XML File",
    "at the end
    of Tools");
    menu.onSelect = function(m) {
    try {
    // ask for the name of the output file
    var f = File.saveDialog("Export XML file to:", "XML
    File:*.XML");
    if ( !f ) { return; }
    // open filestream and write first line
    f.open("w");
    f.writeln("\<photos\>\r\r");
    // get a list of all the visible thumbnails in Bridge
    var items = app.document.visibleThumbnails;
    for (var i = 0; i < items.length; ++i) { var item = items
    f.writeln("\<photo path = \"" + item.name + "\"" + "\r" +
    "width = " +
    "\""+ getWidth(item) + "\"" + "\r" + "height = " + "\""+
    getHeight(item)
    + "\"" + "\r" + "rating = " + "\""+ getRating(item) + "\"" +
    "\r" +
    "categories = " + "\""+ listKeywords(item) + "\"" + "\r" +
    "caption = "
    + "\""+ getTitle(item) + "\"" + " \>" + "\r" +
    "\<\/photo\>\r\r" ); }
    f.writeln("\<\/photos\>");
    f.close();
    } catch(e) {
    function getTitle(tn) {
    md = tn.metadata;
    md.namespace = "
    http://purl.org/dc/elements/1.1/";
    var varTitle = md.title;
    return varTitle;
    function getWidth(tn) {
    md = tn.metadata;
    md.namespace = "
    http://ns.adobe.com/tiff/1.0/"
    var varWidth = md.ImageWidth;
    return varWidth;
    function getHeight(tn) {
    md = tn.metadata;
    md.namespace = "
    http://ns.adobe.com/tiff/1.0/"
    var varHeight = md.ImageLength;
    return varHeight;
    function getRating(tn) {
    md = tn.metadata;
    md.namespace = "
    http://ns.adobe.com/xap/1.0/"
    var varRating = md.Rating;
    return varRating;
    function listKeywords(tn) {
    md = tn.metadata;
    md.namespace = "
    http://ns.adobe.com/photoshop/1.0/";
    var Keywords = md.Keywords;
    var varKeywords = "" ;
    for ( var i = 0; i < Keywords.length; ++i ) { varKeywords
    = varKeywords
    + Keywords + ","; }
    return varKeywords;

    I updated the script so it exports an XML file from Bridge
    with full
    compatibility with the Spry Demo Photo Gallery, to use as
    photos.xml.
    It's at the same address:
    http://www.imagicdigital.com/spry/bridge_export_xml.zip
    To Use:
    The script goes in the folder "StartupScripts" in Program
    Files/Common
    Files/Adobe.
    Launch Bridge and browse to a folder that contains the files
    you want in
    your gallery -- the "source" folder, as it were.
    Choose the menu command "Tools > Export XML for Spry
    Gallery".
    Type a name for your XML file in the Save dialog box, choose
    a location,
    and hit "Save".
    In the dialog box that pops up, enter a max length/width for
    your
    thumbnails, in pixels. Some common sizes are "75" , "100" or
    "125".
    Hit "OK". You should see an alert pop up telling you "XML
    file
    successfully created!"

  • Editing XML for SPRY Demos

    Hello All,
    Apologies in advance if this is a topic that has been covered
    in the past. I searched through the previous posts, but didn't see
    what I was looking for.
    I am pretty new to SPRY, but have been able to put together a
    few different apps that I think are interesting. These are mostly
    based off of the demos I have seen on here such as the products
    & photo gallery demos. After completing these though, the first
    thing that pops in to my mind is how to build a backend edit tool
    that would allow a potential client to edit the underlaying XML
    that drives these apps without having to have me perform updates
    for them. While looking around online I have seen several possible
    solutions, but they all seem to have one problem or another.
    What I am wondering is if there is an easy way to set up a
    form that will edit/add/delete different entries in the XML files.
    I would prefer to use PHP if at all possible. Of all the solutions
    I have seen thus far, it seems that they all require me to use
    either ASP, .NET, MYSQL or some other database system to extract
    data from and create the XML dynamically. This is all well and
    good, but I seem to have clients that have lots of different
    hosting environments, so all of the above mentioned options seem to
    be a bit to specialized for my needs. I'm really thinking that a
    PHP solution that edits the XML file directly would be able to
    cover more ground.
    Is this even possible? Any direction that you could point me
    in would be greatly appreciated!
    Thanks!!!

    Hello,
    As Kin said in the above post, if you are using HTML data
    sets InContexEditing would be great service to use.
    But what if you don't.. I doesn't mean it cannot be done with
    XML and databases. While i was Adobe MAX 2008 milano I spend my
    spare time building an example that allows users easy CRUD with
    Spry. You can also purchase a system but why do so if you already
    have all tools you need :)
    http://www.spry-it.com/examples/crud/
    Its very early stage of this example but I got all basic
    actions covered.
    Inline edit that posts the changed data to a server file. And
    places the returned server value inside your data set and updates
    the data set. (updating the data set is not necessary but i just
    added it to show that the data is actually updated inside the data
    set to)
    You can also delete rows and duplicate rows. I did not tie a
    server side action to those yet. But it would be easy to do as I
    did with inline Editing function. I fully commented the
    SpryFullCRUD.js so it might help you out..
    If you don't understand it feel free to ask questions, and I
    hope it helps you out a bit. I will be writing a large article
    about this and hope this example give you some inspiration.

  • Using external xml for spry menu help

    Just started playing with DW CS3, I would like to know how to
    insert a spry menu and get the xml data from an external file. Can
    anyone point me at a suitable example or tutorial please?

    The video workshop has some great tutorials with spry.
    http://www.adobe.com/designcenter/video_workshop/
    Aram

  • Creating a custom java module for excel to xml conversion.

    Hi Gurus,
    I am creating a custom java module in sap nwds 7.3 for Excel to XML Conversion. But I am getting following error
    Classpath dependency validator message.
    Classpath entry  will not be exported or published. Runtime ClassNotFoundExceptions may result. 
    I imported the Jars from a different PI system and i am using NWDS in local PC with creating a separate folder with all JARs and also imported them using build path option.
    This issue is occuring for all the jars imported.
    I am using following code.
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.AbstractTrace;
    import java.util.HashMap;
    import jxl.Cell;
    import jxl.Workbook;
    public class JavaMappingExcelToXML implements StreamTransformation{
    private Map map = null;
    private AbstractTrace trace = null;
    public void setParameter(Map arg0) {
    map = arg0; // Store reference to the mapping parameters
    if (map == null) {
    this.map = new HashMap();
    public static void main(String args[]) { //FOR EXTERNAL STANDALONE TESTING
    try {
    FileInputStream fin = new FileInputStream ("c:/ashu.xls"); //INPUT FILE (PAYLOAD)
    FileOutputStream fout = new FileOutputStream ("C:/Users/ashutosh.a.upadhyay/My Documents/ashuXML2.xml"); //OUTPUT FILE (PAYLOAD)
    JavaMappingXLStoXML mapping = new JavaMappingXLStoXML ();
    mapping.execute(fin, fout);
    catch (Exception e1) {
    e1.printStackTrace();
    public void execute(InputStream inputstream, OutputStream outputstream) {
    String msgType = "Message Type name will come here";
    String nameSpace = "Namespace Name will come here";
    String xmldata = "";
    try {
    Workbook wb = Workbook.getWorkbook(inputstream);
    xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\n">";
    Cell[] cells ;
    Cell[] cellNames ;
    cellNames = wb.getSheet(0).getRow(0);
    for(int j=1;j<wb.getSheet(0).getRows();j++){
    xmldata = xmldata+"\n<Record>\n";
    cells = wb.getSheet(0).getRow(j);
    for(int i=0;i<wb.getSheet(0).getColumns();i++){
    xmldata = xmldata+"\t<"+cellNames[i].getContents()+">"+cells[i].getContents()+"</"+cellNames[i].getContents()+">\n";
    xmldata = xmldata+"</Record>";
    xmldata = xmldata+"\n</ns0:"+msgType+">";
    System.out.print(xmldata);
    xmldata.getBytes();
    wb.close();
    byte by[] = xmldata.getBytes();
    outputstream.write(by);
    inputstream.close();
    outputstream.close();
    System.out.println("\n"+"File processed");
    catch (Exception e) {
    e.printStackTrace();
    Request you to guide how to resolve this issue.
    Thanks  in advance

    Hi Gurus,
    I am creating a custom java module in sap nwds 7.3 for Excel to XML Conversion. But I am getting following error
    Classpath dependency validator message.
    Classpath entry  will not be exported or published. Runtime ClassNotFoundExceptions may result. 
    I imported the Jars from a different PI system and i am using NWDS in local PC with creating a separate folder with all JARs and also imported them using build path option.
    This issue is occuring for all the jars imported.
    I am using following code.
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.AbstractTrace;
    import java.util.HashMap;
    import jxl.Cell;
    import jxl.Workbook;
    public class JavaMappingExcelToXML implements StreamTransformation{
    private Map map = null;
    private AbstractTrace trace = null;
    public void setParameter(Map arg0) {
    map = arg0; // Store reference to the mapping parameters
    if (map == null) {
    this.map = new HashMap();
    public static void main(String args[]) { //FOR EXTERNAL STANDALONE TESTING
    try {
    FileInputStream fin = new FileInputStream ("c:/ashu.xls"); //INPUT FILE (PAYLOAD)
    FileOutputStream fout = new FileOutputStream ("C:/Users/ashutosh.a.upadhyay/My Documents/ashuXML2.xml"); //OUTPUT FILE (PAYLOAD)
    JavaMappingXLStoXML mapping = new JavaMappingXLStoXML ();
    mapping.execute(fin, fout);
    catch (Exception e1) {
    e1.printStackTrace();
    public void execute(InputStream inputstream, OutputStream outputstream) {
    String msgType = "Message Type name will come here";
    String nameSpace = "Namespace Name will come here";
    String xmldata = "";
    try {
    Workbook wb = Workbook.getWorkbook(inputstream);
    xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\n">";
    Cell[] cells ;
    Cell[] cellNames ;
    cellNames = wb.getSheet(0).getRow(0);
    for(int j=1;j<wb.getSheet(0).getRows();j++){
    xmldata = xmldata+"\n<Record>\n";
    cells = wb.getSheet(0).getRow(j);
    for(int i=0;i<wb.getSheet(0).getColumns();i++){
    xmldata = xmldata+"\t<"+cellNames[i].getContents()+">"+cells[i].getContents()+"</"+cellNames[i].getContents()+">\n";
    xmldata = xmldata+"</Record>";
    xmldata = xmldata+"\n</ns0:"+msgType+">";
    System.out.print(xmldata);
    xmldata.getBytes();
    wb.close();
    byte by[] = xmldata.getBytes();
    outputstream.write(by);
    inputstream.close();
    outputstream.close();
    System.out.println("\n"+"File processed");
    catch (Exception e) {
    e.printStackTrace();
    Request you to guide how to resolve this issue.
    Thanks  in advance

  • Excel or xml file upload for Electronic banking

    Hi all,
    Can i upload bank statement in excel or xml format. If yes, how ? Where to go and what to change? Please advice..
    I understand the BAI, Multicash format, but all are in txt format. Does SAP allow us to upload bank statement in excel or xml format ?
    Thankyou
    Sharad

    Hi,
    Good evening and greetings,
    Please go through the following link which details the entire processflow of Electronic Banking
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/0bd3aa43de11d1896f0000e8322d00/frameset.htm
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Issue in Excel to XML Conversion

    Hi Gurus,
    I am creating a custom java module in sap nwds 7.3 for Excel to XML Conversion. But I am getting following error
    Classpath dependency validator message.
    Classpath entry  will not be exported or published. Runtime ClassNotFoundExceptions may result.
    I imported the Jars from a different PI system and i am using NWDS in local PC with creating a separate folder with all JARs and also imported them using build path option.
    This issue is occuring for all the jars imported.
    I am using following code.
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.AbstractTrace;
    import java.util.HashMap;
    import jxl.Cell;
    import jxl.Workbook;
    public class JavaMappingExcelToXML implements StreamTransformation{
    private Map map = null;
    private AbstractTrace trace = null;
    public void setParameter(Map arg0) {
    map = arg0; // Store reference to the mapping parameters
    if (map == null) {
    this.map = new HashMap();
    public static void main(String args[]) { //FOR EXTERNAL STANDALONE TESTING
    try {
    FileInputStream fin = new FileInputStream ("c:/ashu.xls"); //INPUT FILE (PAYLOAD)
    FileOutputStream fout = new FileOutputStream ("C:/Users/ashutosh.a.upadhyay/My Documents/ashuXML2.xml"); //OUTPUT FILE (PAYLOAD)
    JavaMappingXLStoXML mapping = new JavaMappingXLStoXML ();
    mapping.execute(fin, fout);
    catch (Exception e1) {
    e1.printStackTrace();
    public void execute(InputStream inputstream, OutputStream outputstream) {
    String msgType = "Message Type name will come here";
    String nameSpace = "Namespace Name will come here";
    String xmldata = "";
    try {
    Workbook wb = Workbook.getWorkbook(inputstream);
    xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+ "<ns0:"+msgType+" "+"xmlns:ns0=\""+nameSpace+"\n">";
    Cell[] cells ;
    Cell[] cellNames ;
    cellNames = wb.getSheet(0).getRow(0);
    for(int j=1;j<wb.getSheet(0).getRows();j++){
    xmldata = xmldata+"\n<Record>\n";
    cells = wb.getSheet(0).getRow(j);
    for(int i=0;i<wb.getSheet(0).getColumns();i++){
    xmldata = xmldata+"\t<"+cellNames[i].getContents()+">"+cells[i].getContents()+"</"+cellNames[i].getContents()+">\n";
    xmldata = xmldata+"</Record>";
    xmldata = xmldata+"\n</ns0:"+msgType+">";
    System.out.print(xmldata);
    xmldata.getBytes();
    wb.close();
    byte by[] = xmldata.getBytes();
    outputstream.write(by);
    inputstream.close();
    outputstream.close();
    System.out.println("\n"+"File processed");
    catch (Exception e) {
    e.printStackTrace();
    Request you to guide how to resolve this issue.
    Thanks  in advance

    Thanks Anand,
    PDF shared by you was extremely helpful. Now I have successfully developed and deployed the adapter. But while using it in Communication Channel I am getting following error.
    Error: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception during lookup operation of object with name localejbs/ExcelToXML, cannot resolve object reference. [Root exception is javax.naming.NamingException: Error occurs while the EJB Object Factory trying to resolve JNDI reference Reference Class Name: Type: clientAppName Content: sap.com/SAP_Exel_To_XMLEAR Type: interfaceType Content: local Type: ejb-link Content: Excel_To_XML Type: jndi-name Content: ExcelToXML Type: local-home Content: sap.com.excelToXML.Excel_To_XMLLocalHome Type: local Content: sap.com.excelToXML.Excel_To_XMLLocal com.sap.engine.services.ejb3.runtime.impl.refmatcher.EJBResolvingException: Cannot start applicationsap.com/SAP_Exel_To_XMLEAR; nested exception is: java.rmi.RemoteException: [ERROR CODE DPL.DS.6125] Error occurred while starting application locally and wait.; nested exception is: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5029] Exception in operation [startApp] with application [sap.com/SAP_Exel_To_XMLEAR]. at com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.startApp(DefaultContainerRepository.java:398) at com.sap.engine.services.ejb3.runtime.impl.DefaultContainerRepository.getEnterpriseBeanContainer(DefaultContainerRepository.java:182) at com.sap.engine.services.ejb3.runtime.impl.DefaultRemoteObjectFactory.resolveReference(DefaultRemoteObjectFactory.java:55) at com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:144) at com.sap.engine.services.ejb3.runtime.impl.EJBObjectFactory.getObjectInstance(EJBObjectFactory.java:63) at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl._getObjectInstance(ObjectFactoryBuilderImpl.java:76) at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl.access$100(ObjectFactoryBuilderImpl.java:33) at com.sap.engine.system.naming.provider.ObjectFactoryBuilderImpl$DispatchObjectFactory.getObjectInstance(ObjectFactoryBuilderImpl.java:226) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:283) at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:434) at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:223) at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:242) at javax.naming.InitialContext.lookup(InitialContext.java:351) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.sap.aii.af.lib.util.ejb.FastEjbFactory.createEjbInstance(FastEjbFactory.java:69) at com.sap.aii.af.lib.util.ejb.FastEjbFactory.createEjbInstance(FastEjbFactory.java:50) at com.sap.aii.af.app.mp.ejb.ModuleProcessorBean.getModuleLocal(ModuleProcessorBean.java:419) at com.sap.aii.af.app.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:287) at sun.reflect.GeneratedMethodAccessor946.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46) 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:74) 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:38) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22) 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:21) 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:16) 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:133) at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164) at com.sun.proxy.$Proxy3299.process(Unknown Source) at com.sap.aii.adapter.file.File2XI.send(File2XI.java:3605) at com.sap.aii.adapter.file.File2XI.processFileList(File2XI.java:1374) at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java:669) at com.sap.aii.af.lib.scheduler.JobBroker$Worker.run(JobBroker.java:534) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:280) ]
    pl
    please help

  • SQL to XML to Spry Table not working

    I have created a table that uses PHP to pull mySQL data... it
    works fine.
    But if I copy the SQL statement into another php file, then
    use the "Export to XML" function in order to use that XML file as a
    Spry dataset, so that I can sort my columns, I receive an error
    while creating the dataset.
    The problem is in the WHERE statement in the SQL. The code is
    attached... But here it is as well
    WHERE subtbltripparticipants.tripid = '$_GET[trip_id]'
    It's the $_GET that is freaking it out. This code is supposed
    to pull the variable from the URL. It works in a regular recordset
    in DW, but not in a recordset that is exported to XML. Is there a
    different syntax to use? How can I get the variable that is sent
    via URL to be used in the Spry dataset as a filter?
    When I created the dataset, and choose the php file with the
    SQL in it as the "XML Source", I get "Expected comment or
    processing instruction(2,1) in the "Row Element" section, where the
    nodes should show up. I don't understand this error and don't
    understand why the SQL works in a standard table, but not in an XML
    export for Spry.
    Please advise. Thanks,
    Bubba

    Ok,
    I tried that and it basically bring you to OLI7BW as suggested above.
    1. At this point, how do you know which of these it is actually filling:
    2LIS_11_VAHDR Sales Document Header Data
    2LIS_11_VAITM Sales Document Item Data
    2LIS_11_VAKON Sales Document Condition
    2LIS_11_VASCL Sales Document Schedule Line
    2LIS_11_VASTH Sales Document Header Status
    2LIS_11_VASTI Sales Document Item Status
    2LIS_11_V_ITM Sales-Shipping Allocation Item Data
    2LIS_11_V_SCL Sales-Shipping Allocation Schedule Line
    2LIS_11_V_SSL Sales Document Order Delivery
    2. Also, what does it mean when after running OLI7BW wide, with no restriction on my system, still rsa3 shows no records for 2LIS_11_V_SCL?
    Any other way to confirm that there may not be any data in 2LIS_11_V_SCL?
    Or any way, to make an entry which reflect in 2LIS_11_V_SCL so that I can verify if OLI7BW actually fills the setup table?
    Thanks

  • Data structure / procedure for spry / mobile device

    hi all
    I'm building a cms which would pull information from a
    database. I am looking at displaying the info using spry for some
    of the pages. The tutorial for spry uses an XML file. Also I would
    like to make info available for mobile devises and so on. I will
    also need to update records from a web page.
    Obviously I need a database but how is this structured? and
    could someone tell me what steps I need to take to make the above
    possible.
    Thanks

    I use my cell phone and a hotspot data plan. Check with your cell provider. My Sprint Plan is unlimited. I also use a 4G dongle from Clear. I believe ISPs like Comcast also have mobile Internet plans using a dongle and 3G/4G plan.
    You can use a mifi, cell phone, 3G or 4G cell data plan dongle.

  • Failed to retrieve data set (dsLibrary) for spry:repeat

    I've tried to make this work with an external xml file,
    external html table, and finally this version with an internal html
    table for the data set source. The source table shows up in the
    browser along with the error message in a box with red header
    "Failed to retrieve data set (dsLibrary) for spry:repeat".
    I used one of the Adobe Samples as a base for my page. I've
    checked and recheck, and I can't find the source of my problem.
    Please help!!!
    My code is below and the url to the page is
    http://www.healthy-horse.info/articles.html
    Thanks!
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml"
    xmlns:spry="
    http://ns.adobe.com/spry/">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>hh1</title>
    <link href="matt_layout.css" rel="stylesheet"
    type="text/css" />
    <link href="matt_style.css" rel="stylesheet"
    type="text/css" />
    <link rel="stylesheet" type="text/css"
    href="chromestyle.css" />
    <script type="text/javascript"
    src="SpryAssets/SpryHTMLDataSet.js"></script>
    <script type="text/javascript"
    src="SpryAssets/SpryData.js"></script>
    <script type="text/javascript">
    var dsLibrary = new Spry.Data.HTMLDataSet(null,
    "ArticleLibrary");
    </script>
    <style type="text/css">
    .style1 {color:black}
    .product {
    cursor: pointer;
    .hover {
    background-color: #A6C4E1;
    .selected {
    background-color: #D5C897;
    </style>
    </head>
    <body>
    <div id="masthead"><img class="title"
    src="images/articles_title.gif"/>
    <div class="headerinfo">Great informational articles
    that cover a wide variety of topics relating to
    <strong><em>Horse Health</em></strong> and
    <strong><em>Natural Horse
    Keeping</em></strong>. </div>
    </div>
    <!-- end masthead -->
    <div class="chromestyle" id="chromemenu">
    <ul>
    <li ><a href="default.html"
    >HOME</a></li>
    <li><a
    href="articles.html">ARTICLES</a></li>
    <li><a
    href="faqs.html">FAQ'S</a></li>
    <li><a
    href="links.html">LINKS</a></li>
    <li><a target="_blank" href="
    http://www.healthy-horse.info/forum">FORUM</a></li>
    <li><a href="mailto:[email protected]"
    >EMAIL</a></li>
    </ul>
    </div>
    <div id="wrapper">
    <table width="100%" border="0">
    <tr>
    <td width="30%" valign="top">
    <ul spry:region="dsLibrary"
    spry:repeatchildren="dsLibrary">
    <li class="product" spry:setrow="dsLibrary"
    spry:select="selected" spry:hover="hover">{category}</li>
    </ul>
    </td>
    <td width="70%" valign="top">
    <div spry:detailregion="dsLibrary">
    <div><strong>Articles:</strong>
    {articles}</div>
    </div>
    </td>
    </tr>
    </table>
    <br/>
    <!--SOURCE TABLE-->
    <table id="ArticleLibrary" border="1" cellspacing="0"
    cellpadding="10">
    <tr>
    <th>category</th>
    <th>articles</th>
    </tr>
    <tr>
    <td>Adobe Photoshop CS2</td>
    <td>
    <ul>
    <li>Revolutionary Vanishing Point</li>
    <li>Multiple layer control</li>
    <li>Smart Objects</li>
    <li>Multi-image digital camera raw file
    processing</li>
    <li>Image Warp</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Illustrator CS2</td>
    <td>
    <ul>
    <li>Live Trace</li>
    <li>Live Paint</li>
    <li>Control palette</li>
    <li>Custom workspaces</li>
    <li>Photoshop layer comp support</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe InDesign CS2</td>
    <td>
    <ul>
    <li>Object styles</li>
    <li>Adobe Photoshop and Adobe PDF layer
    support</li>
    <li>InDesign snippets</li>
    <li>Adobe InCopy CS2 assignments</li>
    <li>Save backwards to InDesign CS</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe GoLive CS2</td>
    <td>
    <ul>
    <li>Enhanced live rendering</li>
    <li>Simple visual tools to build and edit CSS-based
    pages</li>
    <li>Visual CSS authoring for mobile devices</li>
    <li>Visual SVG-t inspection and authoring for
    mobile</li>
    <li>Total site management</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Fireworks 8</td>
    <td>
    <ul>
    <li>Get top-quality design results.</li>
    <li>Produce highly optimized files that still look
    great.</li>
    <li>Slice and export page comps.</li>
    <li>Create sophisticated web navigation.</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Acrobat Professional</td>
    <td>
    <ul>
    <li>Enjoy improved performance</li>
    <li>Extend commenting capabilities</li>
    <li>Easily design Adobe PDF forms</li>
    <li>Enjoy improved attachment capabilities</li>
    </ul></td>
    </tr>
    <tr>
    <td>Adobe Acrobat Standard</td>
    <td>
    <ul>
    <li>Create Adobe PDF documents from Microsoft
    Outlook</li>
    <li>Enjoy improved performance</li>
    <li>Use enhanced headers, footers, and
    watermarks</li>
    <li>Enjoy improved attachment capabilities</li>
    <li>Organize Adobe PDF documents</li>
    </ul></td>
    </tr>
    </table>
    <!--END SOURCE TABLE-->
    </div>
    <!--end wrapper-->
    <div id="footer"><p class="footer">Mathew Baker
       <a
    href="mailto:[email protected]">[email protected]</a>   
    *     Waynesville, OH</p>
    </div>
    <!--end footer-->
    <br/>
    <p class="center" style="font-size:9px"><img
    src="/cgi-sys/Count.cgi?df=matt.dat|display=Counter|ft=6|md=5|frgb=228;224;224|dd=E"/>
    <span class="style1">Web Design by:   Maria Lee
      -  <a
    href="mailto:[email protected]">[email protected]</a> 
    -   (937)554-4116</span></p>
    </body>
    </html>

    Try moving the SpryHTMLDataSet.js script tag below the
    SpryData.js script tag.

  • AR: Journal Entries Report Convert to Excel using XML

    Hi All,
    The Client ask to add a column and change the output format to Excel (using XML Publish) to the standard report " AR: Journal Entries Report" whish is Spawned ..
    i know the Report calls other report called "Journal Entries Report - Output" using some parameters one of them is "P_LAYOUT_DESCRIPTION" which may be 1 of these values
    Print Detail By Account , Print Detail By Category , Print Summary By Account , Print Summary By Category
    and each one of them has different layout
    Now i want to know
    1- the ability of adding a column to this report (SPAWNED)
    2- The ability of translating the output to EXCEL,PDF,RTF (using XML Publisher)
    I Know the steps of how to convert a report to XML using data definition and template, but the spawned program calls the "Journal Entries Report - Output" by specific parameters and doesn't mention the template name that will be used or output type of the template
    as if i'll create 4 templates one for each layout how to let the Main report calls the output report giving it the correct template that should be displayed
    Best Regards,
    Amir

    Sure i used it , and i created many templates for it with different layouts ,
    But the user needs this report specially :(

  • Transfering  Access and Excel to XML

    Dear all,
    Does anybody know the classes and APIs used to transfering Access and Excel to XML?
    Kevin

    There is no single Java API that is built to translate Access and Excel data into XML. However, you can use a simple combination of APIs to accomplish this task. A direct way of doing this is to create ODBC datasources from your Access or Excel sources, use JDBC to connect to and query those datasources. From there you can use the WebRowSet to convert your ResultSet into XML. If you require more control over the formatting of the data, you'll need write something that iterates over the ResultSet data, translating the column names and values into XML. I would recommend using JDOM to build your XML documents. WebRowSet is part of the Rowset API.
    Hope this clears things for you.

  • Import excel generated xml

    Hello, i am trying to import to flash an xml file, generated from Excel. I got some tutorials from internet but the format of xml file from excel it's different and i can't manage to access data from it.
    if i type trace(xmldata); it shows me the full content of xml file. But how can i acces the correct data if in the xml file it is written:
    <Row>
        <Cell><Data ss:Type="String">CellName</Data></Cell>
        <Cell><Data ss:Type="Number">CellValue</Data></Cell>....
    Thank  you  !

    ss is a namespace. You have to declare all namespaces before instantiating XML:
    For example:
    var xs:String = '<root xmlns:ss="http://www.example.com/uri/"><Row><Cell><Data ss:Type="String">CellName</Data></Cell>2<Cell><Data ss:Type="Number" another="3">CellValue</Data></Cell></Row></root>';
    var ss:Namespace = new Namespace("http://www.example.com/uri/");
    var xml:XML = new XML(xs);
    trace("xml:", xml.Row.Cell.Data.@ss::Type);
    You will need to read namespaces that come with Excel generated XML dynamically.
    Here is Namspace class documentation:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Namespace.html

  • Failed to retrieve data set for spry

    I created a spry data set on a blank html page and had no
    problems. However, when I followed the same steps on an existing
    website I get a large box in live view saying "Failed to retrieve
    data set (ds2) for spry:repeat". I tried to create the spry set
    inside a div which was inside a div that was inside a table. Could
    nesting be the problem?

    Its because you have a JavaScript error on your page.
    in your iframe..
    var this_week_wed = new
    Spry.Data.XMLDataSet("../../Data/this_week2.xml",
    "thisweek/day[name='Wednesday']/items/item"{distinctOnLoad:true});
    it needs a , after your "/items/item"
    var this_week_wed = new
    Spry.Data.XMLDataSet("../../Data/this_week2.xml",
    "thisweek/day[name='Wednesday']/items/item",{distinctOnLoad:true});

  • XML for Analysis parser: The 'Domain\User' value of the 'EffectiveUserName' XML for Analysis property is not valid.

    hi 
    i have sharepoint 2013 enterprise over sql server 2012 standard, and i want to create some reports trhought excel services and performance point using EffectiveUserName feature, but right actually my environment is not working, when a configure an excel
    to read a SSAS cube from my local machine the rol is ok, but when i published the excel and try to update from Internet Explorer this error is presenting
    XML for Analysis parser: The Domain\User' value of the 'EffectiveUserName' XML for Analysis property is not valid.
    Anybody can helpme is urgent find out for some solution
    thanks a lot

    Turns out that you need the SP Farm service account to be an admin on the SSAS server as well.  That fixed the problem for us.
    MS: Please update your documentation :)

Maybe you are looking for

  • SMS Server 6703 - SMS WSUS Synchronization Failed

    Hi, i am getting the following error on SCCM server, "on 3/6/2011 12:00:00 PM component SMS_WSUS_SYNC_MANAGER on computer "ComputerName"  reported:   SMS WSUS Synchronization failed.  Message: WSUS server not configured.  Source: CWSyncMgr::DoSync.  

  • Itunes won't launch after restoring from backup

    I have retored my machine from time capsule backup, and now iTunes won't start up. The icon launches, but nothing happens

  • Segmentation G/l a/c determentation

    Hai experts..., Can any one help me  about G/l a/c determentation screen when we switch to segmentation a/c? i know i do define Control a/c and i have one doubt wheather rawmaterial a/c we are using one in standard COA here based on segmentation it w

  • Q10 - MAPS . showing in arabic

    hi everyone... kindly help me .. my bb Q 10 maps is showing in arabic language. i tried many things but still its in arabic.   wen i bought it it was showing in English.. can any one help me how to change the display language of the map from arabic t

  • Where to download the exercise VIs from "LabView Basics II"?

    Hello everybody, Where can I download the files with sample Vis for "LabVIEW Basics II" course? In the company I currently work, they couldn't find these files. I have got only books. TIA, Yazilim.