Application Development 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: 

module pool with table control-

Former Member
0 Kudos

Hi All

Can u give me the sample program for module pool , below is my requirement

in initial screen

i will display sales order no

in the second screen I need to display all sales order data in table control

sales or no , item , qty.I need to give qty field in change mode co that user can modify the value , when he saves it has to update the one ztable with these values.

Please can any one provide sample code for this

very urgent

Thanks in advance

Regards'

Venu

1 REPLY 1

former_member192429
Active Participant
0 Kudos

I dont have sample program but I can give you idea on how to go about it.

In Start of selection Create Screen1.

In Screen 1 create a field to Enter Sales order no and a push button to call next screen.

In Screen1 PAI write code to call Screen2 when Push button is clicked.

In Screen2 create Table control

In Screen2 PBO module write the code to select sales order detaisl based on Sales order no from Screen1

In Screen2 PAI write a module which gets all the rows that are changed or selected for update and write back to your internal table so that even after ENTER they remain in the screen.

In PAI module for handling user commands, write code in PAI for SAVE to update Ztable from internal table.

Hope this helps.

-Kriss.