cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a report program inside wda...

simadri_sekhar
Participant
0 Kudos

Hi all,

Actually I want to update data in a table through assistance class. So i made a button with name "Update" when user'll click the button the method inside assistance class is called along with some importing parameters from the event method. But the problem is that inside method we can't use TABLES statement . so how can I update the table inside method without using table statement because without tables statement it shows error as the field is unknown.

when I tried to update something it shows runtime error as

" Invalid statement for ICF in program program CLASS============CP "

please help in this regard.

Thanks,

sekhar

Accepted Solutions (0)

Answers (3)

Answers (3)

simadri_sekhar
Participant
0 Kudos

thanks all...

Former Member
0 Kudos

Hi Sutar,

I dont know in assistance class it is allow tables statement or not.

But you can do like this.. you can create function module to update data, you can use tables statement also in FM

and call taht FM in your button action. I think it works for you.

Cheers,

Kris.

Lukas_Weigelt
Active Contributor
0 Kudos

Hi,

I answered in your cross-post.. :

If this doesn't help you or you don't understand, please elaborate what exactly you want to do. i.e. what parameters are you giving the method, what should the method do with it and what should it return to your wd4a-Framework?

regards, Lukas