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: 

Z-Table updation with function module

naveen_inuganti2
Active Contributor
0 Kudos
434

Hi..,

I want to update one of my custom table with function module.

Can i do this by using changing parameter, where my upload internal table may have multiple entries?

Thanks,

Naveen.I

3 REPLIES 3

Former Member
0 Kudos
57

you need to write code to insert data in FM...

Check what the FM has whether import/export parameters...if so use changing parameters....

if FM has table definition use tables directly...

naveen_inuganti2
Active Contributor
0 Kudos
57

Hi..,

We need to create structure and table type for that tabel and decalre itab in import parameter as type table type.

Now we can insert multiple entries.

Thanks,

Naveen.I

Former Member
0 Kudos
57

Hi

you create one structure with your internal table fieldsand put it in tables parameter.Tables parameter can work as import and export .Create another structure with ref to ztable.move the record from tables structure to yor ztable structure by looping.Later you will use this syntax

modify ztable from table zstr.