Convert .xls to .xml in the form of sap b1

Dear sir
   How can i convert the data from excel to XML file format who accept the "GetXMLelementCount" class use in programming

You entered a question on the wrong forum: this is about SAP Business One
Integration Technology.

Similar Messages

  • Problems printing a converted PDF which was converted to Word after completing the form

    Problems printing a converted PDF which was converted to Word after completing the form.  I have spent the last 3 hours trying to figure out what I am doing incorrectly.  I can't get it to print in either the PDF or Word file.  Please help, I need to complete this form and sent it NJ Department of Motor Vehicles Commission.

    Hi, make sure you are using the latest release of PDF program.
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

  • What is the form name (SAP script name ) for KO02 output .

    Hai ,
    what is the form name (SAP script name ) for KO02 output . and also pl guide how to customize that.
    thank u in advance

    spro---->controlling ->internal Order->Order Master Data----> Prepare Output and see the documentation of this.
    Regards
    Peram

  • Importing form data per XML - Using the form interface?

    Hi!
    I'm developing interactive forms by adobe and I want to import my form data per XML file. The xml file and the email are created by my pdf document.
    Now this xml file has to be parsed by a report or something like this.
    Is it possible to use the form interface, I implemented, or do I have to parse it manually?
    I think it has to work with this interface because it makes the pdf and it "knows" what to import/export.
    Am I wrong with my suspicions or can you help me with this problem?
    Thanks & greets,
    Philip Gillißen

    I'm pretty impressed of Adobe and their stuff (I do NOT refer to the community), how helpful they are.
    Perhaps I didn't understand  the meaning on the offical customer support website, stating:
    The best way to contact us...  
    Ask our experts 
    Our community and staff are at your service 24/7
    Even worst, their is a similar question from 25/09/2013 (http://forums.adobe.com/message/5711946#5711946) and no feedback form Adobe stuff at all.
    Great service guys!
    Thanks a lot!

  • Date format convert error in XML interface based Adobe interactive forms

    Hi experts,
    I am using XML interface based Adobe interactive form in Web Dynpro ABAP. The form just contains some date fields and numeric fields.
    When I test the WD Application, the date fields appear like 0000-00-00 at the first time. And then I set the form input disable, and get the XML from the form, at the same time I get the warning message, 'date format convert error'. By the way, I have set the edit pattern, display pattern and data pattern  of the date field to YYYYMMDD, but there seems no effect.
    Could you tell me how to set the default date format in date field Or clear the 0000-00-00?
    And another question, all of the numeric fields in the form appear like 0.0, how can I set it to empty when the form initialize?
    Best Regards,
    Guo Guo Qing

    Hi Chintan,
    Thank you for your reply.
    I have tried every possible changes on the Date field, locale, pattern. But still no effect. When the PDF come up in the WDA program, the date field is still '0000-00-00', and then I export the XML date of the form, there is also '0000-00-00' in the interface field.
    I can't clear the '0000-00-00' in initializiation event using javascript because if I need to open the form again, if I do this, the value user input could be cleared.
    I also try using Javascrip like this
    if this.rawValue == "0000-00-00"
    { this.rawValue = ""; }
    The code above can't clear the initializiation zeros too.
    Have you used the XML interface based online Adobe Forms? I have used XML PDF forms for output before, that's perfect. But the input forms seems so strange.
    Best Regards,
    Guo Guo Qing

  • XML Not well formed, Mapping error

    Hi All,
    I'm trying a simple file to file scenario..
    Following is the structure of source and target file..
    Source structure
    ===============
    <?xml version="1.0" encoding="UTF-8"?>
    <ns:SourceMT xmlns:ns="urn:tmp:workshop:file2file">
      <Src1>1</Src1>
      <Src2>2</Src2>
    </ns:SourceMT>
    Target Structure
    ===============
    <?xml version="1.0" encoding="UTF-8"?>
    <ns:TargetMT xmlns:ns="urn:tmp:workshop:file2file">
      <Tgt1>1</Tgt1>
      <Tgt2>2</Tgt2>
    </ns:TargetMT>
    I did a one to one mapping for the two fields and tested the same using the test tool in IR and it works fine..
    However when I put the same source xml structure in the Input file it gives me the below error..
    Also when I copy the payload from the sxmb_moni and paste the same in the test tool in IR it throws an error saying
    "XML not well-formed"
    Error
    =====
    <SAP:Stack>During the application mapping com/sap/xi/tf/_FileMM_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Payload
    =======
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns:SourceMT xmlns:ns="urn:tmp:workshop:file2file">
      <Src1>1</Src1>
      <Src2>2</Src2>
      </ns:SourceMT>
    Any inputs are greatly appreciated..
    Thanks and Regards,
    Nazim

    Hi ,
    <i>During the application mapping com/sap/xi/tf/_FileMM_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</i>
    It is clearly saying that exception in mapping....Check your mapping correcly with one to one mapping.Dont do any mapping to the root node and check it...
    And also check this...
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    Sekhar

  • Getting an invalid Item error when resizing(maximizing) the form.

    Hi Experts,
                      I have an error when in click sales A/R invoice...i have added some functionality in that as extra...all r working fine but some times when i minimize the window & again maximize(resize) it this error message is being displayed(only after 10-15 clicks).can anybody tell me some suggestions...
    System.Runtime.InteropServices.ComException(oXFFFFF7F9):Item -Invalid
    item[6600-3].form Unique id:'F_173',Item Unique ID:'100000330'
    at SAPbobosCOM.ItemClass.Item(Object Index)
    at SampleProject.clsARInvoice.FormResize(String FormUID,ItemEvent & pVal,Boolean&
    BubbleEvent) in D:\sampleproject
    Here is my coding for resizing the form
      Sub FormResize(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean)
            Try
                Dim objForm As SAPbouiCOM.Form
                Dim objCopyFromBtn As Object
                Dim objBtn As SAPbouiCOM.Button
                objForm = objSBO_Application_ARINV.Forms.ActiveForm
                Select Case pVal.Before_Action
                    Case False
                        If addFlag = True And bCMFlag = False And bBGFlag = False And bOAFlag = False And bCHFlag = False Then
                   "<----In this line the error occurs------------------>"
                            objCopyFromBtn = objForm.Items.Item("10000330")
                   "<----In this line the error occurs------------------>"
                            objForm.Freeze(True)
                            objForm.Items.Item("btnSaleQtn").Left = objCopyFromBtn.left - 5 - 200 '- 275
                            objForm.Items.Item("btnSaleQtn").Top = objCopyFromBtn.Top
                            objForm.Items.Item("txtQtnNo").Left = objForm.Items.Item("btnSaleQtn").Left - 5 - 100 '- 275
                            objForm.Items.Item("txtQtnNo").Top = objCopyFromBtn.Top
                            objForm.Items.Item("lblQtnNo").Left = objForm.Items.Item("txtQtnNo").Left - 5 - 100 '- 275
                            objForm.Items.Item("lblQtnNo").Top = objCopyFromBtn.Top
                            objForm.Freeze(False)
                        End If
                        bCMFlag = False
                        bBGFlag = False
                        bOAFlag = False
                        bCHFlag = False
                End Select
            Catch ex As Exception
                objSBO_Application_ARINV.MessageBox(ex.ToString)
            End Try
        End Sub
    regards,
    shangai.

    okey. catch the Form_resize event for Form 133 (A/R invoice) and inside it, call FormResize procedure .
    If pVal.FormType = "133" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_RESIZE And pVal.Before_Action = True Then
                    Try
                        FormResize(pVal.FormType, pVal.EventType, pVal.FormTypeCount, BubbleEvent)
                    Catch ex As Exception
                        MsgBox(ex.Message)
                    End Try
                End If
    you will  have to modify the procedure's receiving arguments accordingly.
    within this procedure, as I mentioned before,
    Sub FormResize(ByVal FormType As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByVal FormTypeCount As Integer, ByRef BubbleEvent As Boolean)
            Try
                Dim objForm As SAPbouiCOM.Form
                Dim objCopyFromBtn As Object
                Dim objBtn As SAPbouiCOM.Button
    objForm = objSBO_Application_ARINV.Forms.GetForm(FormType, FormTypeCount)
                '---------rest of the code
            Catch ex As Exception
            End Try
        End Sub
    GetFormByTypeAndCount is Deprecated so to be on safe side , use 'GetForm'. it does the same thing .
    try this.
    regards,
    Binita
    for your question about Count of the form, in SAP we can have multiple instance of standard forms and in that case, to uniquely identify each instance, it is better to refer to that form by not just its type but also with its count. so if you open three A/R invoice Form, you will have three form with Type 133 but with different count.
    Edited by: Binita  Joshi on Aug 22, 2008 8:57 AM

  • How to move offline form from SAP dev to QA and Production environments?

    I developed and Adobe Form that can be used offline - steps in development are as below:
    1. Webservice generated out of a BAPI in SAP.
    2. WSDL generated from SOAMANAGER transaction code and kept on a newtowrk folder
    3. Used this WSDL to prepare the form in SAP WebDynpro view
    4. generated the URL of the webservice per Dev / QA / Prod when the form is being generated out of the WebDynrpo app - function module ICM_SERVER_INFO (used here)
    4. Placed a regular type button on the form and passed the URL on the click of the button
    5. This worked fine in Dev system.
    6. Now the transports are moved to QA. But click of the button was still pointing to the Dev system.
    7. Realized that it is reading the Dev WSDL from the network drive - it still tries to submit to the dev url of the webservice
    8. So generated the WSDL from SOAMANAGER fo QA and over wrote with the Dev WSDL files.
    9. When I opent he Adobe Form in WebDypro in QA, it reads the new WSDLs and updates the correct URLs - I checked this in the XML of the source of the Adobe Form
    10. here comes the problem - even though step 9 is done correctly, I can not save the form and activate it to reflect the new URLs - since QA is not open. Same procedure may need to be followed in case of Production also.
    So the question is:
    How to circumvent this issue of updating the WSDL and URL after the development transport is moved to QA and Prodcution?
    Or - QA and Prod have to opened, WSDL and URl updated in change mode of form and a transport also created?
    (seems to be a limitation)
    (I looked a bit but did not get any pointers when I googled - may be my search is not correct).
    Please advise.
    Thanks,

    hi Chandra,
    I store the url in one of hidden field in form, then copy javascript below to click event, button control type: Regular.
    just replace all the "<>" in the code below.
    var message;
    var response;
    // The name of the data connection will be pulled from the WSDLConnection name in the ConnectionSet packet
    var sWSDLName = <DataConnection name>;
    // clone, modify and execute the connection.
    var vConnection = xfa.connectionSet[sWSDLName].clone(true);
    vConnection.soapAddress.value = <url>;
    // Execute the connection, without remerge data after the result.
      var ws_rc = vConnection.execute(true);
    for multiple data connection, you have to repeat these code with replace different data connection name and it's url address.
    you may use script object (something like subroutine).
    Regards,
    Kathy Lau

  • Problem with Greek forms on sap GUI

    Hello,
    I have a problem with forms on sap.
    All the clients we have, haven't any problem with the appearance of the forms on sap.
    Only one client pc have an issue, and the appearance of the forms has japanese.
    Is this a window OS issue for the client?
    Edited by: gkarag on Apr 9, 2010 2:53 PM

    Has that specific client the correct greek locales installed?
    Markus

  • How to convert Xls file into Xml file

    Hi,
    I am trying to convert Xls file into Xml  but there  is no any direct procedure for it
    Pls help me out to convert Xls file into Xml file
    Thanks
    Anushree

    you will require to write a module in your file adapter for the same.
    ref: /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter as mentioned in the earlier post.
    Else you can also use Conversion Agent to read the same.
    Ref: http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm

  • Converting Livecycle Dynamic XML pdf forms to Word?

    How do I convert a dynamic XML pdf form created from Livecycle designer ES to Microsoft word? I have Acrobat X and when I click on File -> Save As - > and choose 'Save as type' as "Microsoft Word Document (*.doc)", I am getting this message: "Save as failed to process this document. No file was created."
    Is this because its a dynamic XML form with many javascripts in the form design? if not, what could be the cause of this that is making the file not savable to word format? All of these forms are created from Livecycle designer and I have tried using Acrobat X to convert them to word but it doesnt work.

    Hi,
    don't expect an exact result.
    The conversion always is an interpretation of the given layout and may be not perfect in all details.
    There is not script you can add to a button to automate this workflow, especially not  for Reader, as it doesn't have any export functions.
    I tested Adobe ExportPDF services, which are available in Reader XI, but those only export the shell PDF of a XFA form, so it's not usable for those PDF's (image below).

  • I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the butten is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    Hi,
    You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
    In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
    Regards
    Bruce

  • Changing the size of text input field in xml style coldfusion forms

    Does anyone know how to get the size attribute of a text
    input field to work in a coldfusion xml form?
    Example: When I enter the following code and view the form in
    a browser, all of the fields are the exact same size.
    <cfform format="xml" name="testingform" method="post">
    <cfformgroup type="horizontal">
    <cfinput type="text" name="first_name" size="10"
    label="First Name">
    <cfinput type="text" name="middle_init" size="2"
    label="Middle Initial">
    <cfinput type="text" name="last_name" size="20"
    label="Last Name">
    </cfformgroup>
    </cfform>

    Indeed a mistake in the Coldfusion engine. Or is there some
    reason for it? In any case, you should report it.
    Look in the source, and you will see why it happens. The XML
    form makes use of the stylesheet
    /CFIDE/scripts/css/default_style.css. There the width attribute is
    hard-coded for the cfinput element, thus
    .cfInput, .cfTextarea {
    font-size: .8em;
    font-family: inherit;
    width: 200px;
    I would replace that block with
    .cfInput {
    font-size: .8em;
    font-family: inherit;
    .cfTextarea {
    font-size: .8em;
    font-family: inherit;
    width: 200px;

  • Importing XML Data Back into the Form

    I have a form that shows several subforms based on the selections the user has made while filling in the form. This is working quite well but when I import the XML data back into the form it doesn't show the subforms that have been used.
    Is there an easy way to change this?
    Thanks in advance!
    Emma

    Actually the issue may actually have to do with the fact that the connections aren't bound, but I haven't seen the data.
    I have some fairly complex forms that include both subforms and instances, have an XSD embedded and export as XML. When I import the data, everythi
    Now, that being said...
    Are your subforms "hidden" and you opt to display them upon selection of a radio button for example, or do you SetInstances()? If you're using visible=TRUE or FALSE, that may also cause some issues.
    Try this -- on Form:ready try this code:
    if(this.rawValue == "on"){ //this radio button 1
    _subform1.setInstances(1);
    _subform2.setInstances(0);
    _subform3.setInstances(0);
    else if(this.rawValue == "on"){ //this radio button 1
    _subform1.setInstances(0);
    _subform2.setInstances(1);
    _subform3.setInstances(0);
    else if(this.rawValue == "on"){ //this radio button 1
    _subform1.setInstances(0);
    _subform2.setInstances(0);
    _subform3.setInstances(1);
    else { // this is fisrt time open -- i sometimes had issues with subforms being visible on first entry
    _subform1.setInstances(0);
    _subform2.setInstances(0);
    _subform3.setInstances(0);
    Then on:Click essentially copy most of the code you put in form:ready
    if(this.rawValue == "on"){ //this radio button 1
    _subform1.setInstances(1);
    _subform2.setInstances(0);
    _subform3.setInstances(0);
    else if(this.rawValue == "on"){ //this radio button 1
    _subform1.setInstances(0);
    _subform2.setInstances(1);
    _subform3.setInstances(0);
    else if(this.rawValue == "on"){ //this radio button 1
    _subform1.setInstances(0);
    _subform2.setInstances(0);
    _subform3.setInstances(1);
    Of course this will go on top of your radio button group.
    If you are exporting to XML, it will make your life a whole lot easier, by the way, to import an XSD and bind your nodes, especially as your forms and data start to get more complex.
    Finally, you may also know this but -- unless you have Forms Server, any user that wants to export the data or import the data will need to have at least full Acrobat Professional. If you want people to be able to save data in the form but import/export isn't that important, they will need to have full Acrobat.
    I hope that helps a bit. Good luck!
    Lisa

  • XSLT for converting the determination server xml into the debugger xml

    I've seen this before but i can't find the post. I'm looking for an xsl or xslt document to convert a determination server xml payload request into something that can be imported into the debugger for analysis. It would be cool if the xml was constrained by the same xsd or dtd. Does anyone have a 10.3 xsl or xslt they could share? Or a past xsl?

    A while back I wrote some XSLT to convert SOAP request messages to the XDS format. I created a simple C# GUI to select the input SOAP and output XDS files. It was modelled on 10.1 schema though and I haven't adapted it yet for 10.2+. I will at some point though.
    I've found quickly being able to convert to the XDS format and debugging in the OPM rather than trawling through 1000's of lines of decision report a huge time saver.
    Evert

Maybe you are looking for