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

Program Flow

Former Member
0 Likes
835

Hi,

I am working on a program,which has a screen 100 with radiobuttons.

Followed by screen 200 which displays the ALV GRID.Data is filtered & displayed in the ALV.When the Print button of the toolbar is pressed,data needs to be passsed to smartform.after the smartform is displayed,the data is to be saved in the z table.

Please guide me this logic.I am getting confused.

This is very urgent.

Thanks.

5 REPLIES 5
Read only

Former Member
0 Likes
759

Hi Sneha,

One question in Logic Flow: Data is displayed in ALV, then why u need to show in Smart Form?

1. Create one <b>Main Driver Program</b>, where generally u fetch the data.

2. Call Screen 100 with radio button.

3. Filter Data in driver program as per radio button selected in screen 100.

4. Display data in ALV in screen 200.

5. From the main driver program, call smart for and pass data in SF. And Display it.

6. After everything is okey, update data in z table.

Hope, this will solve ur problem.

Thanks,

Chetan Shah

Read only

0 Likes
759

after the smartform has been displayed,how will we update the z table.please advice.

Read only

0 Likes
759

write the insert command after calling smartform function module.

Read only

0 Likes
759

when I press the print button in the toolbar,my z table gets updated & my smartforms internal table is also sent data.I have calculated all the values for my z table in the perform which has been called when the print button is entered.

please let me know,how will i change the position of data in the program.Also since the smartform has no screen defined should I include it just after the smartform function module is called.

Read only

Former Member
0 Likes
759

Thanks for all the suggestions.