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

Reg: Function Module

Former Member
0 Likes
446

Hi All,

I have a function Module With TABLES xyz,

xyz has 40 fields, now i need to stop 4 fields out of 40 passing from the FM. is there any way other than creating a new structure and its row type by removing those fields....

PLease help me with this.

Thanks and Regards,

Rajesh.M

1 ACCEPTED SOLUTION
Read only

former_member673464
Active Contributor
0 Likes
430

hi,

if you does not want to pass those fields from the function module before the endfunction statement clear the contents of those fields.

Otherwise you have to create a new work area with out those fields and work with that work area and finally pass it to interfacing structure or table.

Regards,

Veeresh

3 REPLIES 3
Read only

former_member673464
Active Contributor
0 Likes
431

hi,

if you does not want to pass those fields from the function module before the endfunction statement clear the contents of those fields.

Otherwise you have to create a new work area with out those fields and work with that work area and finally pass it to interfacing structure or table.

Regards,

Veeresh

Read only

Former Member
0 Likes
430

Hi!

You can clear the values from the given 4 fields in your xyz internal table, within a LOOP, before you call the given FM. Mostly it is enough.

Regards

Tamá

Read only

Former Member
0 Likes
430

Thanks Everyone...