Load xml to system form

I've created some buttons on the Item Master Data user defined fields form (-150). I am having troubles saving and then loading these buttons as xml. Can anyone help me?

Hi Costas!
do you have the xml code to add your buttons?
here an example..
<?xml version="1.0" encoding="UTF-16"?>
<Application>
     <forms>
          <action type="update">
               <form FormType="FormType" uid="UID">
                    <items>
                         <action type="add">
                              <item uid="BtnRabatt" type="4" left="6" tab_order="140" width="65" top="413" height="19" visible="1" enabled="1" from_pane                                   ="0" to_pane="0" disp_desc="0" right_just="1" description="" linkto="" forecolor="-1" backcolor="-1" text_style="0"                                font_size="-1" supp_zeros="0" AffectsFormMode="1">
                                   <AutoManagedAttribute/>
                                   <specific caption="Rabatt"/>
                              </item>
                         </action>
                    </items>
               </form>
          </action>
     </forms>
</Application>
this is the way it goes..
You have to change the FormType into "-150". And you have to get the current UID
Then there are some other parameters you have to set...
with SBOApplication.LoadBatchActions(XMLstring) load your xml...
greetz
Matthias

Similar Messages

  • Error using XML Loader: XML not well-formed

    Hi all,
    I am facing a problem using the XML loader in xMII 12.0 when trying to load the following XML file:
    <?xml version="1.0" encoding="UTF-8"?>
    <Users>
      <User>
        <UserID>IMXOO</UserID>
        <CWID>IMXOO</CWID>
        <Prename>Michael</Prename>
        <Surname>Otto</Surname>
        <CreatedOn>2001-12-31T12:00:00</CreatedOn>
        <CreatedBy>IMXOO</CreatedBy>
      </User>
    </Users>
    I also tried a most basic XML file which shows the same error:
    <?xml version="1.0"?>
    <ausgabe>
      <anzeige>Testausgabe</ausgabe>
    </ausgabe>
    To my understanding both files are well-formed, however xMII shows the error:
    "The markup in the document following the root element must be well-formed."
    Do I break any rules concerning the markup? IE loads the files without showing any errors.
    Best Regards
    Michael

    Jeremy,
    again you gave the key to the solution. When the error occured, I have set up the following path within the xMII workbench:
    "Catalog-Tab"
    <server>
      > Sandbox
            > XML
                myFile.xml
    When I tried to load the mxFile.xml with the XML Loader, I got the error described above (XML not well-formed). I also cannot drag the file into a transaction in the workbench. I have manually configured the XML Loader with "http://<server:port>/XMII/CM/Sandbox/XML/mxFile".
    Now using your hint I have changed to the "Web-Tab":
    "Web-Tab"
    <server>
        > Sandbox
            > WEB
                > XML
                    myFile.xml
    Then all works fine, when I now drag the file into the transaction. As you described, an XML Loader action is created with configuration "db://Sandbox/WEB/XML/myFile.xml" and the XML is loaded correctly.
    Thanks for your help!
    Best regards
    Michael

  • 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?

  • 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

  • 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

  • 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

  • How do load system form matrix -Inventory-Goods Issue through SDK UI &DI

    While I am accessing system form matrix -Inventory Goods Issue/ Goods Receipt, the matrix object is not accessible.
    Error is coming stating "Item 13 is invalid, where 13 is item uid for matrix.
    So,How do load system form matrix -Inventory-Goods Issue(FORM 720/-720) through SDK UI &DIAPI.
    Form Type: -720
    How to get reference of System form matrix object -Inventory-GoodsIssue.
    Some thing similar to CopyFrom functionality for -Inventory-Goods Issue.
    Currently my client requirement is as follows.
    I created a UDF ((U_ILC) Incoming Log Challan) for marketing documents. And, this field is added in the header level of Goods Reciept, Goods Issue documents.
    1. Through Inventory->Goods Receipt (ILCNo.10), items are received. Assume, M00001, M00002 are the items received with qty, price, whse, account values.
    2. Through Inventory->Goods Issue, item should be issued. In this Goods Issue Form, after entering U_ILC value as 10, pressing Tab, the GoodsIssue matrix should be loaded with the values of GoodsReceipt(IGN1 for U_ILC:10) document i.e. M00001,M00002 along with the same values as in GoodsReceipt of ILC:10.
    The code is as follows:
    If (( ( pVal.FormType = "-720" or pVal.FormType = 720) And pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD) And (pVal.Before_Action = False)) Then
                '// get the event sending form
                oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                If pVal.ItemUID = "U_ILCNo" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS And pVal.Before_Action = False Then
                    SBO_Application.MessageBox("ILC No. Lost Focus")
                    oMatrix = oForm.Items.Item("13").Specific
                    oColumn = oForm.Columns.Item("1")
                    oEditItmCode = oColumn.Cells.Item(1).Specific
                    oEditItmCode.Value = "07215090x606"
                    oItem = oForm.Items.Item("U_ILCNo")
                    oEdit = oItem.Specific
                    SBO_Application.MessageBox(oEdit.String)
                End If
            End If
    3. The code
    oMatrix = oForm.Items.Item("13").Specific
    is raising error. I have used Event Logger and breakpoints to see where the code is halting.
    Help me, how to access the matrix of Goods Receipt/ Goods Issue and load based on the existing data.
    Thanks in advance

    HI
    If your code is in the SBO_Application_ItemEvent then try using this line
    oForm = SBO_Application.Forms.Item(strFormUID)
    instead of
    oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)

  • Problem in Loading XML File

    I created one menu Item using XML file .My doubt is where we will put that XML file in our project

    Dear,
    I think loading form from srf file in the UI is done using SDK UI. First we load the srf in a string veriable. I have worked it out using c#. and then we use SBO_Application.LoadBatchActions method to load and show the form
    string strXml = "";
    String path = @"C:\Program Files\SAP\SAP Business One\frmTest.srf";
    using (System.IO.StreamReader sr = System.IO.File.OpenText(path))
                            strXml += sr.ReadLine();
    SBO_Application.LoadBatchActions( ref strXml);

  • Problem ragarding load xml(embedded) file

    oGlobalMain is the object of global class where every object is created and function is defined
    SBO_Application is declared as Public WithEvents SBO_Application As SAPbouiCOM.Application
    #Region "Load as XML"
    Public Sub LoadAsXml(ByVal FileName As String, Optional ByVal FileType As ResourceType = ResourceType.Content)
    Dim oXmlDoc As Xml.XmlDocument
    Dim oXmlStream As System.IO.Stream
    oXmlDoc = New Xml.XmlDocument
    Try
    If FileType = ResourceType.Content Then
    oXmlDoc.Load(FileName)
    Else
    oXmlStream = System.Reflection.Assembly.LoadFrom(System.Windows.Forms.Application.ExecutablePath).GetManifestResourceStream(GetType(modStartUp).Namespace & "." & FileName)
    oXmlDoc.Load(oXmlStream)
    End If
    oGlobalMain.SBO_Application.LoadBatchActions(oXmlDoc.InnerXml)
    Catch ex As Exception
    oGlobalMain.SBO_Application.MessageBox(ex.Message)
    End Try
    End Sub
    #End Region
    please send me some suggestion, I would be grateful to you.
    Thanks in advance
    regards
    Nandini

    Hi..
    use this code
    Form load()
    use
    Me.CreateForm()
    Sub CreateForm()
            Try
                SAPXML("AAAAAAA.xml")
                OM_Form = app.Forms.Item("FormID--Yours")
                Catch ex As Exception
                OM_Form = app.Forms.Item("FormID--Yours")
                OM_Form.Select()
                Exit Sub
            End Try
        End Sub
    Sub SAPXML(ByVal path As String)
            Try
                Dim xmldoc As New MSXML2.DOMDocument
                Dim Streaming As System.IO.Stream = Assembly.GetExecutingAssembly().GetManifestResourceStream("Your Folder." + path)
                Dim StreamRead As New System.IO.StreamReader(Streaming, True)
                xmldoc.loadXML(StreamRead.ReadToEnd)
                StreamRead.Close()
                app.LoadBatchActions(xmldoc.xml)
            Catch ex As Exception
                app.MessageBox(ex.Message)
            End Try
        End Sub
    Regards,
    Siva

  • Copy system forms ?

    Is their any way to copy system forms (only UI) and customise to create new forms ?
    For ex, I would like a form similar to the look and feel of the sales order. Therefore, I would like to copy the UI and change it to my need and code its funtionality.
    Please advice.

    Dear Gautam Ganguly:
    suppose that you have opened the Sales Orders Form
    Solution 1:
            Private WithEvents SBO_Application As SAPbouiCOM.Application 
            Dim oFormParams As SAPbouiCOM.IFormCreationParams
            Dim oForm As SAPbouiCOM.IForm
            Dim oTestForm As SAPbouiCOM.IForm
            Dim oXmlDoc As Xml.XmlDocument
            oForm = SBO_Application.Forms.GetForm("139", 1)
            oString = oForm.GetAsXML()
            oFormParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
            oFormParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
            oFormParams.FormType = "testForm"
            oFormParams.UniqueID = "testForm"
            oFormParams.XmlData = oString
            oTestForm = SBO_Application.Forms.AddEx(oFormParams)
    Solution 2:
            oForm = SBO_Application.Forms.GetForm("20700", 1)
            oString = oForm.GetAsXML()
            ' here you have to close Sale Order Form, or you can change your oString with another different  
    ' form UID, otherwise, when load batch action, form existing error will display
            oXmlDoc = New Xml.XmlDocument
            oXmlDoc.LoadXml(oString)
            SBO_Application.LoadBatchActions(oXmlDoc.InnerXml)
    Thanks
    Warren

  • Load XML file from addon domain without cross-domain Policy file

    Hello.
    Assuming that there are two addon domains on the same server: /public_html/domain1.com       and      /public_html/domain2.com
    I try to load XML file from domain2.com into domain1.com without using cross-domain policy file (since it doesn’t work on xml files in my case).
    So the idea is to use php file in order to load XML and read it back to flash.
    I’ve found an interesting scripts that seems to do the job but unfortunately I can't get it to work. In my opinion there is somewhere problem with AS3 part. Please take a look.
    Here are the AS3/PHP scripts:
    AS3 (.swf in www.domain1.com):
    // location of the xml that you would like to load, full http address
    var xmlLoc:String = "http://www.domain2.com/MyFile.xml";
    // location of the php xml grabber file, in relation to the .swf
    var phpLoc:String = "loadXML.php";
    var xml:XML;
    var loader:URLLoader = new URLLoader();
    var request:URLRequest = new URLRequest(phpLoc+"?location="+escape(xmlLoc) );
    loader.addEventListener(Event.COMPLETE, onXMLLoaded);
    loader.addEventListener(IOErrorEvent.IO_ERROR, onIOErrorHandler);
    loader.load(request);
    function onIOErrorHandler(e:IOErrorEvent):void {
        trace("There was an error with the xml file "+e);
    function onXMLLoaded(e:Event):void {
        trace("the rss feed has been loaded");
        xml = new XML(loader.data);
        // set to string, since it is passed back from php as an object
        xml = XML(xml.toString());
        xml_txt.text = xml;
    PHP (loadXML.php in www.domain1.com):
    <?php
    header("Content-type: text/xml");
    $location = "";
    if(isset($_GET["location"])) {
        $location = $_GET["location"];
        $location = urldecode($location);
    $xml_string = getData($location);
    // pass the url encoded vars back to Flash
    echo $xml_string;
    //cURLs a URL and returns it
    function getData($query) {
        // create curl resource
        $ch = curl_init();
        // cURL url
        curl_setopt($ch, CURLOPT_URL, $query);
        //Set some necessary params for using CURL
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
       //Execute the curl function, and decode the returned JSON data
        $result = curl_exec($ch);
        return $result;
        // close curl resource to free up system resources
        curl_close($ch);
    ?>

    I think you might be right about permissions/settings on the server for php. Unfortunately I'm not allowed to adjust them.
    So I wrote my own script - this time I used file path instead of http address of the XML file.  It works fine in my case.
    Here it is:
    XML file on domain2.com:
    <?xml version="1.0" encoding="UTF-8"?>
    <gallery>
        <image imagePath="galleries/gallery_1/images/1.jpg" thumbPath="galleries/gallery_1/thumbs/1.jpg" file_name= "1"> </image>
        <image imagePath="galleries/gallery_1/images/2.jpg" thumbPath="galleries/gallery_1/thumbs/2.jpg" file_name= "2"> </image>
        <image imagePath="galleries/gallery_1/images/3.jpg" thumbPath="galleries/gallery_1/thumbs/3.jpg" file_name= "3"> </image>
    </gallery>
    swf  on domain1.com:
    var imagesXML:XML;
    var variables:URLVariables = new URLVariables();
    var varURL:URLRequest = new URLRequest("MyPHPfile.php");
    varURL.method = URLRequestMethod.POST;
    varURL.data = variables;
    var MyLoader:URLLoader = new URLLoader;
    MyLoader.dataFormat =URLLoaderDataFormat.VARIABLES;
    MyLoader.addEventListener(Event.COMPLETE, XMLDone);
    MyLoader.load(varURL);
    function XMLDone(event:Event):void {
        var imported_XML:Object = event.target.data.imported_XML;
        imagesXML = new XML(imported_XML);
       MyTextfield_1.text = imagesXML;
       MyTextfield_2.text = imagesXML.image[0].attribute("thumbPath");  // sample reference to attribute "thumbPath" of the first element
    php file on domain1.com:
    <?php
    $xml_file = simplexml_load_file('../../domain2.com/galleries/gallery_1/MyXMLfile.xml');  // directory to XML file on the same server
    $imported_XML = $xml_file->asXML();
    print "imported_XML=" . $imported_XML;
    ?>
    Regards
    PS: for those who read the above discussion: the first and the second script work but you must test which one is better in your situation. The first script will also work between two domains on different servers. No cross domain policy file needed.

  • Load XML file into either List MyType or ObservableCollection MyType

    I have been searching and trying different suggestions for three days now, full time.  I am building a universal app for Windows 8.1 and Windows Phone 8.1.  The problem, apparently, is that doing this is different between Windows 7.1, Windows
    Phone 7.1, Windows 8, Windows 8.1, Windows Phone 8.1, and Windows 8.1 universal apps.  You find hundreds of different ways of doing this, none of which work.
    My XML file is of the form:
    <?xml version="1.0" encoding="utf-16"?>
    <ArrayOfPrize xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <Prize>
        <PrizeName>Dog</PrizeName>
        <PrizePath>http://www.dog.com</PrizePath>
        <PrizeOwner>System</PrizeOwner>
        <PrizeChecked>false</PrizeChecked>
        <Won>false</Won>
      </Prize>
    </ArrayOfPrize>
    I get errors like you can't do this with non-public types to header is missing, or I get a deaklock.  Every suggestion I have tried has led to either the same error message as the last one, or the same as some previous error message.  Microsoft
    conveniently left out this common case in their Universal App samples.  Please don't refer me to other articles, because if they were on the internet I have probably already tried them.  Sorry, my frustration is showing through.  Feel free to
    refer me to other articles.
    Below is my latest attempt that does not work:
    public async Task<T> ReadObjectFromXmlLocalFile(string filename)
     try
      T objectFromXml = default(T);
      XmlSerializer serializer = new XmlSerializer(typeof(T));
      Windows.Storage.StorageFolder localFolder = Windows.Storage.ApplicationData.Current.LocalFolder;
      StorageFile file = await localFolder.GetFileAsync(filename);
      string xmlText = await FileIO.ReadTextAsync(file);
      StringReader reader = new StringReader(xmlText);
      objectFromXml = (T)serializer.Deserialize(reader);
      return objectFromXml;
     catch (Exception e)
      ErrorBucket.AddError(e.Message);
      return default(T);
    Incidentally, every folder path leads to either C:\Data\SharedData... or C:\Data\Users..., which is very strange, since my project is not even on the C drive.  I have recreated the directory structure that it is looking for and put my files there, but
    eventually this is going to be an issue.  The program used to look in the correct place and then it stopped and starting looking in C:\Data, and I have no idea why.
    Larry Maturo

    Try code below.  I always like to write XML from the code before reading.  It is easier to debug the class formats when writing than reading.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Data;
    using System.Xml;
    using System.Xml.Serialization;
    using System.Xml.Schema;
    using System.IO;
    namespace XMLSerialize
    class Program
    const string FILENAME = @"c:\temp\test.xml";
    static void Main(string[] args)
    ArrayOfPrize arrayOfPrize = new ArrayOfPrize(){
    prizes = new List<Prize>(){
    new Prize(){
    prizeName = "Dog",
    prizePath = "http://www.dog.com",
    prizeOwner = "System",
    prizeChecked = false,
    won = false
    XmlSerializer serializer = new XmlSerializer(typeof(ArrayOfPrize));
    StreamWriter writer = new StreamWriter(FILENAME);
    serializer.Serialize(writer, arrayOfPrize);
    writer.Flush();
    writer.Close();
    writer.Dispose();
    XmlSerializer xs = new XmlSerializer(typeof(ArrayOfPrize));
    XmlTextReader reader = new XmlTextReader(FILENAME);
    ArrayOfPrize newArrayOfPrize = (ArrayOfPrize)xs.Deserialize(reader);
    [Serializable, XmlRoot("ArrayOfPrize")]
    public class ArrayOfPrize
    [XmlElement("Prize")]
    public List<Prize> prizes;
    [Serializable, XmlRoot(ElementName = "Prize")]
    public class Prize
    [XmlElement("PrizeName")]
    public string prizeName { get; set; }
    [XmlElement("PrizePath")]
    public string prizePath { get; set; }
    [XmlElement("PrizeOwner")]
    public string prizeOwner { get; set; }
    [XmlElement("PrizeChecked")]
    public Boolean prizeChecked { get; set; }
    [XmlElement("Won")]
    public Boolean won { get; set; }
    jdweng

  • Option to load XML data into BI 70

    Hi All,
    I have read some postings on forums and also have read the "HOW TO load XML data in BW" guide. I am confused when I read the SAP online help documentation for loading XML data .
    Question : Out of the 3 options listed below which option is best suited for loading XML data into BW . XML file is going to be provided by 3rd party company ?
    Thanks and appreciate any input .
    Smith .
    Here is what I found for BI 70 EHP1 help :
    http://help.sap.com/saphelp_nw04s/helpdata/en/b2/e50138fede083de10000009b38f8cf/frameset.htm
    Data is generally transferred into SAP BW by means of a data request, which is sent from SAP BW to the source system (pull from the scheduler). You can also send the data to SAP BW from outside the system. This is a data push into SAP BW.
    A data push is possible for various scenarios:
    ●     Transferring Data Using the SOAP Service SAP Web AS
    ●     Transferring Data Using Web Services
    ●     Transferring Data Using SAP XI
    In all three scenarios, data transfer takes place using transfer mechanisms that are sufficient for Simple Object Access Protocol (SOAP); the data transfer is also XML-based.
    The SOAP-based transfer of data is only possible for flat structures. You cannot transfer hierarchy data.

    Hi,
    I feel you can go with 2nd option. But still wait for some more inputs from Experts........
    Regards,
    Suman

  • Updating a user text field in sap system form in Find Mode

    Dear All,
                    I created a Edit text field in Sap System form [FormType :149] -Sales Quotation. I want to update a value to the text while clicking OK button in Find Mode. the code is given below.
    If pVal.ItemUID = "1" And pVal.FormMode = SAPbouiCOM.BoFormMode.fm_FIND_MODE And (Not pVal.Before_Action) And pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK Then
            oForm = SBO_App.Forms.Item(FormUID)
            oForm.Freeze(True)
            oItem = oForm.Items.Item("txtUID") 
            oEdit = oItem.Specific
            oRS = ConSBOdb.Execute("Select * from BG_CAMPAIGNSHDR where CMIDENT ='" & Trim(oEdit.Value) & "'")
            oItem = oForm.Items.Item("txtCampgn")         ' //  User created field
            oItem.Enabled = False
            oEdit = oItem.Specific
            If oRS.EOF = False Then
                oEdit.Value = oRS.Fields("CMNAME").Value
            Else
                oEdit.Value = ""
            End If
    end if
    while clicking the OK button, Based on the value fetched on the screen, I have to open a recordset and get the value.  But, the screen loads the value to the system textboxes. I could not get those value to run the Sql  in the event. it returns empty. Could any one help please how to solve this ?
    Thanks in advance.
    Manikandan.

    Hi,
    Try This..
    If pVal.FormType = 149 And pVal.ItemUID = "1" Then
                If pVal.FormMode = SAPbouiCOM.BoFormMode.fm_FIND_MODE Then
                    If pVal.Before_Action = False Then
                        If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then
                            Try
                                oForm = SBO_App.Forms.Item(FormUID)
                                oForm.Freeze(True)
                                oItem = oForm.Items.Item("txtUID")
                                oEdit = oItem.Specific
                                oRS = ConSBOdb.Execute("Select * from BG_CAMPAIGNSHDR where CMIDENT ='" & Trim(oEdit.Value) & "'")
                                oItem = oForm.Items.Item("txtCampgn") ' // User created field
                                oItem.Enabled = False
                                oEdit = oItem.Specific
                                If oRS.EOF = False Then
                                    oEdit.Value = oRS.Fields("CMNAME").Value
                                Else
                                    oEdit.Value = ""
                                End If
                            Catch ex As Exception
                                SBO_application.MessageBox(ex.Message)
                            End Try
                        End If
                    End If
                End If
            End If
    Best Regards,
    Mahendra

  • Creating new analysis gives "Error loading XML Document from ..."

    Trying to create analysis and getting "Error loading XML Document from saw.dll/answers/answersproperties.xml?fmapId=S1clug.
    The response given was:" after choosing subject area. Analysis editor is opened but Subject Areas is empty and can't do anything.
    The problem is on Mozilla 12 (16.0.2, 17.0.1) and IE 8. Chrome works fine.
    My system is Win 7, BI 11.1.1.6.0 is on Oracle Linux (and by the way Mozilla from Linux system works fine)
    What could be the reason of this?
    Edited by: 898973 on 4/12/2012 15:11

    Reinstalling Mozilla with "Remove personal data" option checked resolved the problem.

Maybe you are looking for

  • Getting error while creating Communication capability

    Hi, I am getting this error while creating communication capability of Host. I have successfully configured the TP communication capability. Even I have tried many times after changing the names given by me during configuration. Error creating Commun

  • Do I need a convertor?

    I live in the US and I am getting the Ipad 2. Next month I am going to the UK for vacation. I know I need a plug adaptor for the outlet. But, do I need a convertor to charge it? Or will the plug convert the power automatically? Thanks!

  • Need help for new message type for PO archiving

    Hello All   I have configured new message type ZARR for PO archiving process. After configuring all the steps this condition is not getting picked to by itself. And after maintaing it manually it is giving red flag without any error message. Here I a

  • Macbook Air camera not working or even being recognised in ANY application!

    I was trying to fix a problem with the camera on my Macbook Air because it was not working with my skype. After trying (not successfully) so solve this by following an online instruction, somehow I have made matters worse and now NONE of my cameras a

  • Just upgraded to Lion and cannot open files on my old SL partition - permissions error

    I have just installed Lion on my 2008 MacPro on a new internal HD and cannot open word/text etc  files on the original Snow Leopard disc.  I get a permissions error.  I can preview the file but not open it.  When I do a get info, I can add my user an