cancel
Showing results for 
Search instead for 
Did you mean: 

How can get the XML back to my_context?

former_member202077
Participant
0 Kudos

Hello,

I am developing a interactive form from webdynpro ABAP.

I converted my_context to XML by using TO_XML, fine.

But, now i would like to do,

1) Modify some elements/attributes/components data of received XML (for example, BANK_NAME from BANK_1 to BANK_2)?

2) Then, i want to convert this XML to my_context back parsing?

Pls. let me know How can i get it achieve these 2 questions? I saw below, but, dont know how can replicate/implement/use(pass params) in my case?

[;

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

RalfRuth
Employee
Employee
0 Kudos

Hi ABAP_SAP_ABAP,

There's no reason at all to convert the Web Dynpro Context (or a part of it) to XML when working with the interactiveForm UI element! Just bind the Context node to the dataSource property of the UI element - that's it. The Web Dynpro framework handles the data transmission from the Context to the form and back from the form to the Context.

Proceed as explained in the [online documentation|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/48/a06781fb696bb9e10000000a42189d/frameset.htm].

Regards,

Ralf

Answers (0)