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: 

Smartforms

Former Member
0 Kudos

How to change values in internal table in smartforms.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You can change values in the internal table in the report program before passing to Smartforms.

Else you can change in smartforms by creating a new command and write your logic there.

6 REPLIES 6

Former Member
0 Kudos

You can change values in the internal table in the report program before passing to Smartforms.

Else you can change in smartforms by creating a new command and write your logic there.

0 Kudos

What is the order / sequence in the smartform..

Command should come before display.

Former Member
0 Kudos

I have created command with :

clear itab-field.

and displayed it.

But it doesn't work.

Former Member
0 Kudos

Hi ,

You can write program lines (NODE : Program lines) and you can change the values of the internal table.

Example : in a LOOP Command/Table changing the internal table values

Loop at Itab into WA_TAb.

(CODE/PROGRAM NODE for your programming lines)

Add your logic and change

W_ITAB-F1 etc...

OR as mentioned by others change the values in the program .

Regards,

Lanka

0 Kudos

Hi,

Thanks to all.

Private_Member_17805
Participant
0 Kudos

U can do it without the driver prog also.U dec ur INT tab with appropriate ref to the structure or DB TABLE.then mention the same int table name in ur input parameter of ur initialisation tabstrip(global defintions).select the values from DB table and modify the values of the internal table here and output the same table in the output parameters of initialisation