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

Data from screen to table

Former Member
0 Likes
576

hi experts,

Can we pass a data from screen to 'z' table?is it possible?

if yes then how?

5 REPLIES 5
Read only

faisalatsap
Active Contributor
0 Likes
554

Hi, Yash

Can you Please be more clear with your Question.

Regards,

Faisal

Read only

0 Likes
554

hi faisal,

actually ithe scenareo is that i m working om module pool,i have created a screen which contains 7 fields-zbukr,chect,vblnr,hbkid,pridt,hktid and one manually created field DDNO(for dd number).i want to save all these data to my 'z' table which will be inserted in this screen.is it possible to transfer data from screen to table.?

Read only

0 Likes
554

Hi, Yash

First of all you need the Values off all these field in you Driver Program from where you put this to a table Structure and finally update to Ztable. you need to declare the Same names in your Driver Program and check the Value of that Variable in PAI, you will find these with Values you enter in Screen.

Hope will help you, Please reply if any problem,

Best Regards,

Faisal

Read only

0 Likes
554

Hi Yash ,

This is possible .

Please search google or SDN on Module pool programming.

Basic knowledge of Module Pool programming will help to implement your requirement .

Hope this helps you

Read only

0 Likes
554

Hi,

all your screen input fields has to be binded to global variables of a program (the name of input field on screen has to be the same as the name of global variable). The most common aproach is usage of dynpro structure. In PAI module use statement INSERT to insert values from these variables to DB table.

That's all You need to do.

Also check this link http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ce935c111d1829f0000e829fbfe/content.htm

Hope it helps.

Regards,

Adrian