cancel
Showing results for 
Search instead for 
Did you mean: 

update function module interface in component controller

Former Member
0 Kudos

Hi,

My function module interface has changed. I have added one more table. Now how to update the node structure in component controller so that this new table can be added to the context.

Thanks in advance,

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi How did you first create the NODE structure did you use the SERVICE to get it generated?

Greetings

Prashant

Former Member
0 Kudos

Yes. I used the service call to generate it. now my function module interface is changed. Please let me know what is the best procedure to update it.

Former Member
0 Kudos

Dont know exactly at what stage of component development you are....

here are the options

1.)Easy option . You can use the service again and create a new set of Nodes and a new method to call your function module with changed parameters.

2.) Manually add the structure change at

a) Node Structure level

New Node cardinality 1..N or 0..N depending on your usage.

OR

New Subnode if structure has changed to have a nested table within.

b) change the function Module call passing the table parameter.

if you are not sure put the call signature of Old & New Function module highlighting what has changed may be i can be more helpfull then.

Greetings

Prashant

Former Member
0 Kudos

If i change it manuaally do i need to change Execute method also manually?

Thanks,

Former Member
0 Kudos

As a result of new table parameter added to your FUNCTION MODULE execute method call needs to be changed so that it contains the table parameter. Syntax check on this method should start pointing this fact already.

Also note that newly created NODE that corresponds to TABLE must be filled before you make function call.

Greetings

Prashant