cancel
Showing results for 
Search instead for 
Did you mean: 

UI: Save system form as xml

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

> 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

Former Member
0 Kudos

Many thanks for your help, Florian.

I used this code successfully to export the order document to XML.

Regards,

Dennis

Answers (0)