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

Z-Table updation with function module

naveen_inuganti2
Active Contributor
0 Likes
951

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
Read only

Former Member
0 Likes
574

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...

Read only

naveen_inuganti2
Active Contributor
0 Likes
574

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

Read only

Former Member
0 Likes
574

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.