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

Module Pool Programming

Former Member
0 Likes
470

Hi all,

I am making one module pool program.

I have created one screen in which i have taken one table.

The value which i input in that table should b save in database table which is Ztable.

so is that possible?

and i am entering more than one rows at a time and when i click on save button, all rows should save in database table ( my Ztable).

can someone help me?

Thanks in advance.......

1 ACCEPTED SOLUTION
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
444

Hi,

Are you using table control? If so, Check this link.I am explaining the data base manipulations using table control.It can help you.

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

2 REPLIES 2
Read only

Former Member
0 Likes
444

Hi

U need to manage it in the USER_COMMAND module in the PAI of your screen.

After activing the ICON SAVE of your status GUI:

PROCESS PAI.
  LOOP AT
  ENDLOOP.

  MODULE USER_COMAND.

MODULE USER_COMAND.
  CASE OK_CODE.
    WHEN 'SAVE'.   MODIFY Z-TABLE FROM TABLE ITAB.
  ENDCASE.
ENDMODULE.

Max

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
445

Hi,

Are you using table control? If so, Check this link.I am explaining the data base manipulations using table control.It can help you.

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