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

Insert values into step loops

Former Member
0 Likes
527

Hi ,

I am dispalying my Internal Table data using Step loops. on a screen ,in the step loops one column is empty . Now the user will enter value in this field and press a push button which is on the application tool bar. BY pressing this button the newly entered value should be stored in standard tables and a new screen without those modified rows should be displayed.

I found one bapi which will save the data ,but i couldnt get how to get the modified data or newly enetered data in steploop back to the program and display the steploop without those entries.

Any help or suggetion is appreciated.

Thanks.

sat

2 REPLIES 2
Read only

christian_wohlfahrt
Active Contributor
0 Likes
421

Hi Sat!

When you have already the rest of the logic, then very little is missing (seldom, that nowadays step loops are used - but I like them, because it's a nice way to design two line displays).

In PAI inside loop at itab(of step loop), you need one additional module. I asume, you have a structure for dynpro display. This will be filled (if you don't mix up with FIELD statement in PAI) with changed values. In (a routine inside of) this module you just have to update your internal table 'from' the dynpro structure.

Maybe this is part of the automatic coding of the table wizard, too. If you couldn't follow, try to generate this and have a look at the PAI.

Regards,

Christian

Read only

0 Likes
421

Thanks Christian,

Table control wizard solved my problem

Regards

Sat