Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

changing data using table control

Former Member
0 Likes
537

hi,

changing database data using table control..i need logic....pls send me

6 REPLIES 6
Read only

Manohar2u
Active Contributor
0 Likes
511

Refer to this table control example

http://www.planetsap.com/online_pgm_main_page.htm

Read only

Former Member
0 Likes
511

Hi,

U mean to say that you want to design a table control in screen and throuh that you want to update the database table . Isn't it?

Regards,

Jayaram...

Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
511

Hi,

Create the table control using the WIZARD available in the screen painer, there give the TABLE name. Then you will get the code for basic table control.

Then in the PAI on say event SAVE just say

INSERT INTO <db_tab> from it_tab.

Regards,

Sesh

Read only

Former Member
0 Likes
511

refer demo report program ' demo_dynpro_tabcont_loop_a t'

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
511

Hi,

Check this link for code sample.I am explaining the concept here.Kindly reward points if it helps.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table%20c...

Read only

Former Member
0 Likes
511

Hi,

Create the table control using screen painer,

Then in the PAI write logic related to insert

INSERT INTO <db_tab> from it_tab.

Regards,

deepak