cancel
Showing results for 
Search instead for 
Did you mean: 

How to update a Z-Table from a Web Dynpro Application?

Former Member
0 Kudos

Hello Gurus,

I am new to Web Dynpro and have a simple question.

I have written a Web Dynpro Application where I created a form and users enter values in input fields and I would like to captures those values in the Z-Table?

I am unsure of how to do this and would greatly appreciate any help.

Thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sheta,

Just to add in to the answer, to preserve MVC model, all database operations should be performed in Model Layer. This mean you should use an Assistance Class to save the data. Please read these below links for more information:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/content.htm

http://scn.sap.com/docs/DOC-24854

http://help.sap.com/saphelp_nw73ehp1/helpdata/en/49/caa89df6355d5de10000000a421937/content.htm

http://www.saptechnical.com/Tutorials/WebDynproABAP/Class/Index.htm

Hope it helps. Cheers!

Neslinn
Participant
0 Kudos

Hi,

Place a Button in screen. In the properties of the field you will be able to screen the Events-> On action.

Give any name for example : SAVE and double click on the event and it will take you to the method : ONSAVE. Over here you can write your code. Use the Wizard button on the top and select the node and set the read button.

Now use the above retrieve value to update your Z table.

Thanks,

Neslin.