cancel
Showing results for 
Search instead for 
Did you mean: 

Add-On para SAP con VB.Net

Former Member
0 Kudos

Quiero abrir un archivo .XML en SAP utilizando  VB.NET ...

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185682
Active Contributor
0 Kudos

Hi Marlon,

If your doubts about "working with xml" was solved, please close this thread to help other users that have the same problem to find the solution.

About your new question, you already opened a new thread, please wait. As soon as possible some user helps you.

Regards,

Diego

former_member185682
Active Contributor
0 Kudos

Hi Marlon,

Can you explain more about your needs?

What is the content of xml?

Regards,

Diego

Former Member
0 Kudos

Es este

Former Member
0 Kudos

Quiero intentar abrirlo en SAP para poder controlar sus eventos

former_member185682
Active Contributor
0 Kudos

Marlon,

If you have the sap sdk installed in your machine, you can find a sample in :

%PROGRAMFILES%\SAP\SAP Business One SDK\Samples\COM UI\VB.NET\04.WorkingWithXML

There is a class sample attached to this answer.

Hope it helps.

Diego

Former Member
0 Kudos

si no tengo las librerias para utilizar este codigo:

     sPath = IO.Directory.GetParent(Application.StartupPath).ToString

Como mas puedo hacer esto?

former_member185682
Active Contributor
0 Kudos

Marlon,

Are you refer System.IO?

If yes, System is native in Microsoft.NET framework, and you can add in add reference "Assemblies\Framework".

But it is not necessary use the line like in the file, you can use something like this:

sPath = "My file path"

oXmlDoc.Load(sPath & "\" & FileName)

Regards,

Diego

Former Member
0 Kudos

Hola, Necesito traer los valores de una tabla a un combo box

intente asi -->

   

Dim oComboBox As SAPbouiCOM.ComboBox

        oComboBox = oForm.Items.Item("ComboBox1").Specific

       oComboBox.DataBind.SetBound(True, "OCRD", "CardCode")


pero solo sale el ultimo campo de la tabla