UI: Save system form as xml

Hi,
I tried to export a system form like the delivery note form to a XML document, but it doesn't work.
For the forms I created with the Screen Painter it works without problems. I can run an import or export and I always receive an XML document.
For the system forms I didn't get a XML file at all.
Are there any code examples or help files that could help me with this export?
I already searched the forum for this topic but I can't find one that answers my question.
Perhaps someone can help me solving this problem.
Regards,
Dennis

> Are there any code examples or help files that could
> help me with this export?
Use the GetAsXML method to get every form you want as XML. This example copies the Sales Order form as XML to the clipboard.
If pVal.EventType = et_FORM_LOAD And pVal.FormType = 139 Then
.... Clipboard.SetText SBO_Application.Forms(pVal.FormUID).GetAsXML
    End If

Similar Messages

  • How to save infopath form in XML file

    How to save InfoPath form in XML file.
    I want every new record in InfoPath form save in XML file and also retrieve these records from XML like databases

    Hi,
    Based on your description, my understanding is that you want to save InfoPath form in XML file.
    I have done a test in my SharePoint, Do the following steps:
    Create an form library and publish an InfoPath form into it, Then when we create new document into the form library, it is by default that InfoPath form is saved in XML file.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Save Adobe Form as XML

    Hello,
          I am ABAPer and wanted to know if there is a way I can save the Online Adobe Form as XML using the SUBMIT button? Can I convert the Online Adobe Form as XML file using JAVA Script and then save it at at maybe a default location?
    Regards,
    Shishir.P

    Otto,
           Let me take through step by step:-
    1.  I am working on SAP Version that does not support dynamic tables. Hence the when I convert the Adobe form into PDF  content extracted in SAP Web dynpro, the PDF content does not have data entered in Dynamic Tables. To read dynamic tables the SAP system will have to undergo a ABAP kernel upgrade which is not possible at this time.
    2.  I had come up with a concept that using JAVA Script if I could convert the live Online Adobe Form into XML using the SUBMIT button on the form and then store it in one of the invisible fields on the form itself or maybe at remote location in desktop / application server.
    3.  This would be picked up once again by the ABAP Web dynpro and this file would contain the data entered by the User, I could then read the data in Web Dynpro for ABAP and process it further.
    4.  Well this is just an Idea and I am not sure if this can be implemented, please let me know if anything of this sort is possible, please excuse me if this sounds weird as my knowledge of JAVA is limited.
    Regards,
    Shishir.P
    Edited by: Shishir Paltanwale on Apr 27, 2010 2:28 PM

  • How to save XDP/Form with XML as a standalone PDF - Running out of time

    Help...I'm in a time crunch.  I have a perfectly working form that takes XML and merges into a wonderful PDF on my machine (1000+ pages).  The problem is I need to distribute the finished PDF with the XML...not to two independent files.
    I have tried every "Save As" and "Export" available and it only saves the PDF template without the data.
    I have tried to "Print" to a PDF writer / pseudo-printer but it chokes and dies after a few hundred pages.
    What am I missing?  How can I take this form and XML and make a final product PDF that I can distribute?
    In case it helps...the form was made in LiveCycle and the XML is generated from PHP.

    Thanks for your ideas.  I'm not using the reader...I'm using Acrobat Pro 9.x.
    This isn't really a LiveCycle question because that has to do with the form design.  This is post-design and during the data merge...something only an end-user would see or have access to.
    The form works great...the data is great.  They are merged on the screen and looks perfect.  However, I can't get the combined output saved anywhere.

  • Update a system form using XML

    Hi all,
    I'm trying to update a system form by adding a tab (folder). The form is Customer Equipment Card (nb 60150), in the service menu.
    I just want to add a folder called Counter.
    When I load the XML file below, I get the following error :
    System.Runtime.InteropServices.COMException (0xFFFFFFFE): Function not supported on current SBO Version - upgrade is required
    If I want to add a button, it's working, but not a folder.
    Something's false in this XML file (I add the good uid before I load it) ?
    Thanks for your help
    Sébastien

    > - Drop the datasource section
    > The error is gone, but I don't see the folder in
    > in the form
    You could try and check wether it's there but invisible (access it in your code and wait for an exception).
    > - Linkto Objet
    > If you look at the XML code of the form, you can
    > can see that all the folder are links to this item.
    > Moreover, when I add the form using VB (it's working
    > that way), the XML result will show linkto = "54"
    I believe. I analyzed another system form and my own forms: None of the tabs are linked to anything. Is this documented? What does it mean?
    > - the data source is SYS_71 for all the folder of the
    > form. I don't understand what you mean when you want
    > me to set the val_on to this datasource
    I looked at the XML source of another system form and the tabs had val_on="SYS_whatever". With my own forms I set val_off="N" and val_on="Y". I remember having had some problems there, but I can't put my finger on it now.
    > - item group
    > I'm using SBO 6.5, I can't find help on that, maybe
    > it's only on 2004.
    No, it's 6.5. It's not in the documentation but you will find it somewhere inside the guts of this forum. As I said, I once had trouble adding tabs cleanly to a custom form using XML.
    Of course, all this is just blindly stabbing into the dark. What else can we do?

  • Update a system form with XML: empty screen when this is a target document.

    Hi,
    It is possible to update a system form with an xml file.
    In the UI_Application.LoadBatchActions(xmlDoc). In the xmldocuemnt I update a system form by adding controls on it. This all works fine, except one (big) problem.
    Assume that I Alter the 'Good Receipt PO'.
    This document can be the target document of a Purchase order document. When you open a PO and click the icon on the toolbar for going to the target document, you see the target document filled in, in OK (view) mode.
    When you alter the 'Goods Receipt PO' form with XML you get an empty goods receipt form, in Add mode.
    Is this a known problem, how can I solve it?
    Thanks in advance
    Eddy

    Hi Florian,
    The XML looks like:
    <?xml version="1.0" encoding="UTF-16"?>
    <Application>
       <forms>
          <action type="update">
             <form AutoManaged="1" BorderStyle="0" FormType="143" ObjectType="20" SupportedModes="15" appformnumber="143" client_height="424" client_width="570" color="0" default_button="1" height="458" left="207" mode="3" pane="1" title="Goederenontvangst (bestelling)" top="23" type="0" uid="F_233" visible="1" width="578">
                <items>
                   <action type="add">
                      <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" height="19" left="434" linkto="" right_just="0" supp_zeros="0" tab_order="830" text_style="0" to_pane="0" top="398" type="4" uid="100001" visible="1" width="85">
                         <AutoManagedAttribute>
                            <Attribute description="editable" id="2" modeAdd="1"/>
                         </AutoManagedAttribute>
                         <specific caption="Container"/>
                      </item>
                   </action>
                   <action type="update">
                      <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" height="19" left="315" linkto="2" right_just="0" supp_zeros="0" tab_order="1160" text_style="0" to_pane="0" top="398" type="4" uid="68" visible="1" width="114">
                         <AutoManagedAttribute>
                            <Attribute description="editable" id="2" modeAdd="1"/>
                         </AutoManagedAttribute>
                         <specific caption="Voorfactuur"/>
                      </item>
                   </action>
                </items>
             </form>
          </action>
       </forms>
    </Application>
    Thank you very much for trying this.
    Eddy

  • Form are different when save an exist form as XML then load from XML

    Hi everyone,
    Who have experience that save an exist form as XML file then load from XML, some controls position, size and color different with the source form.
    I want to use the system wizard form style and I saved system form MRP Wizard as XML file, when I load form from XML, the form shows picture with different position, size, the rectangle control lost color and position also different with source form, because I want to get the line color in the form, the separate line implement using rectangle, please share your opinion how to save the form as XML more Accurate.
    Thanks in advance!
    Kathy

    Hi Kathy
    After loading a form over XML, we made the experince that in matrices link buttons will not appear everwehere they should. It's a tricky part and we made a work around by changing the columns order and then...the Link Buttons came up ok.
    regards
    Kurt

  • Save Pdf form on my PC in pdf format

    I created pdf form in SFP in our Sandbox. Now I want to upload this form into the  Dev.
    The form is residing in Sandbox SAP. So I have somehow to move this form out of SAP.
    Then I would go to Dev and use SFP (Live Cycle Designer) option to Import the form.
    My question is:
    How to save Pdf form on my PC in pdf format?
    PS: SFP  utility Downloding Form allows to save the form in xml format only.
    Unfortunately Live Cycle Designer doesn't offer export option.
    My Live Cycle Designer is 8.1.
    Thank you very much
    Tatyana

    Hi Tatyana,
    To Download it in PDF format, just execute the form in SFP or by your ABAP report/WD application or just go to preview in the designer in SFP. Now press F8, it will show you the Adobe toolbar, using save option in the toolbar you can save it on the desktop.
    Regards,
    Vaibhav

  • C# Example: Update existing form using XML

    I am searching for an C# example to manipulate existing forms using XML. The result I want to achieve is to add a button on the Item form (10003).

    It must be possible. Look for a discussing about this topic at Re: Update a system form with XML: empty screen when this is a target docum for example.
    The main steps are:
    1. Get XML system form
    2. Replace UID
    3. Update the system form using XML
    4. Load 'new' form.
    The problem is that I don't have a good example how to 'Get' and 'Load' the XML using C# in Visual Studio 2005. It is a little bit frustrating, because I can't get the whole picture...
    Do you still think it is better to load a new form instead of changing the original?

  • Generate to XML file from a SBO system form ....

    Hi gurus,
       If I remember right, a standard form (ex:A/R invoice, A/P invoice ...) in the SBO system, we can ganerate to XML file. But I don't remember how to do it, anybody know about it, pls help me, tell me ... pls. Thanks.

    Hello Andy,
    The answer of your question could be found in SAP samples, UI API sample 4.(default path C:\Program Files\SAP\SAP Business One SDK\Samples\COM UI\VB6\04.WorkingWithXML)
    The code is below.
    There are lots of samples delivered with SDK, and I think you would benefit a lot from them.
    HTH,
    Nick
    Private Sub SaveAsXML(Form As SAPbouiCOM.Form)
    '// Add a reference to "Microsoft XML, v3.0"
        Dim oXMLDoc As MSXML2.DOMDocument
        Dim sXMLString As String
        Set oXMLDoc = New MSXML2.DOMDocument
        '// get the form as an XML string
        sXMLString = Form.GetAsXML
        '// load the form's XML string to the
        '// XML document object
        oXMLDoc.loadXML (sXMLString)
        '// save the XML Document
        Dim sPath As String
        sPath = CurDir
        oXMLDoc.save (sPath & "MySimpleForm.xml")
    End Sub

  • How to display system property in XML forms

    Hi
    We are using XML forms template for publishing news in KM. In the show form we got author field (a label in the form) which is mapped to system property createdby (PropertyReference = /Properties/default:createdby).But while displaying the form author is not getting populated. When I try to edit the form in XML forms builder in data model tab under properties node no property is visible. Nothing is shown up in properties even after reload option is selected from context menu of properties node.
    I cheked by manually editing PropertyReference to some other property (e.g. modifiedby) but nothing is showing up.
    Can you please suggest how the createdby system property can be shown in the xml form?
    Thanks & Regards
    Sudip

    Hi Sudeep,
    Please try to open the formbuilder in another machine and try to see the properties xml form design view.
    You can even directly can create a lable in show form and add the property name along with the nama space name.
    For default properties namspace is default.Create a lable UI element in show form and select the datasource property and add the property value in that.
    With we can show file related system generated properties in show form.
    Regards,
    Rudradev Devulapelli

  • ERROR for save a form created in XML Form Builder

    Hello everyone:
    I am having an error message when I try to save a form in the XML form builder and I donk know what I need to do for fix it.
    Warning:
    An error occurred when copying temporary files. The saved project state can be opened in the XML Form Builder, but the old state will be generated. The error was: An unexpected error occurred: null.
    If anyone knows how to fix it I'll thanks your help!
    Tzitzi

    Hi, someone can help me with this?

  • Form Vs. XML Message based Workflow system

    Hi all,
    Recently, I came across a statement that SAP Workflow supports both Form and XML Message based techniques.
    Please explain what is the difference between Form based Workflow management system and XML-Message Based Workflow Management system.
    What is the advantage of one over other ?
    Thanks,
    Debi

    I would look into the Book. I don't have a copy at the moment, but I'm sure it is being addressed somehow. If not, then, google it and I hope you find something.

  • Exporting an Existing form as XML

    I want to export an existing form (Item master form) as XML so I can make some changes to it and replace existing with my new one... but...
    I have tried copying to file and to clip board
    using following code but I cannot get the XML data
    'To File
    Dim oFile As System.IO.File
    Dim oWrite As System.IO.StreamWriter
    oWrite = oFile.CreateText("C:\" & pVal.FormUID & ".xml")
    oWrite.Write(sboapp.Forms.GetForm(150, 1).GetAsXML)
    oWrite.Close()
    'and to ClipBoard
    System.Windows.Forms.Clipboard.SetDataObject(sboapp.Forms.ActiveForm.GetAsXML, True)
    but the copying to clipboard doesnt work at all and to file seems to loose formating (goes in as one big string which wont load as xml..
    Any pointers would be appreciated...
    thanks

    Hello,
    The following code should work
    Dim dxl_XmlDoc As Xml.XmlDocument
    Dim dst_XmlString As String
    dxl_XmlDoc = New Xml.XmlDocument
    dst_XmlString = sboapp.Forms.Item(pVal.FormUID).GetAsXML
    dxl_XmlDoc.LoadXml(dst_XmlString)
    dxl_XmlDoc.Save("C:tempfrm.xml")
    HTH
    Sebastien

  • When I try to save a form as "Reader Extended PDF" in Acrobat Pro, I get an error message "This document could not be reader enabled".

    Hello,
    When I try to save a form as “Reader Extended PDF” in Acrobat Pro, I get an error message “This document could not be reader enabled”.
    The steps I’m following are described below:
    1.    Insert electronic signatures
    - In Tasks, click on “Add New Field -> Digital Signature”.
    - Move the square to the place where you want to put the signature and click.
    - Fill in the “field name” with the name of the person who has to sign here.
    - When it is done, click anywhere on the screen.
    - In Tasks, click on “Close Form editing”.
    - Go to menu “File -> Save as -> Reader Extended PDF ->Enable additional features”, click on “Save now”.
    - Fill in the file name and click on “Save”.
    2.    Save the Form
    - In Tasks, click on “Close Form editing”.
    - Go to menu “File -> Save as -> Reader Extended PDF ->Enable additional features”, click on “Save now”.
    - Fill in the file name and click on “Save”.
    I am using Adobe Acrobat Pro 10.0.0 on a W7 workstation
    Here's a screenshot of the problem.
    Thanks a lot.
    Gael

    Read the user manual that came w/the scanner and/or contact HP Support.
    http://support.apple.com/kb/PH14141 OS X Mavericks: Reset the printing system 
    http://support.apple.com/kb/HT3669 Printer and scanner software available for download 
    A scanner driver you may wish to consider:  VueScan Scanner Software

Maybe you are looking for

  • Regarding Down Payment

    Hi Experts, I am facing one problem. i have assigned one payment term to my vendor. and i havd made down payment to that vendor (with F-48) and i have passed one invoice through F-43 after that i am trying to transfer the fund from spl gl to normal g

  • VGA cable issues - screen goes BONKERS

    Hi, When I hook my ibook up to our school's projector (I'm a teacher) it re-arranged my desktop. After I disconnect, the odd rearrangement stays. Basically the icon for the mac HD gets moved to the middle, and many of my folder over lap, including ti

  • Have thumbnails, iPhoto lost many original files!

    This is the second time iPhoto has killed me, this time loosing some very valuable photos!  I am using iPhoto 9.5 on Mavericks.  I recently discovered lost pictures in an event from 6 months ago.  It has the thumbnails so it looks fine on the surface

  • Compaq Presario V 4000 Notbook Where is the Print Screen button

    On my Presario V 4000 I dont want to sound foolish, but which button is it. Thier is nothing on my keyboard that shows prt/scr

  • Postings can only be made G/L Account 400000 in currency EUR

    hi gurus, when i try to create a quantity contract using me31k... the following error comes:postings can only be made G/L Account 400000 in currency EUR 1) by changing EUR to INR in G/L acc will b the solution?if so how to do that??????wat t.code?? 2