cancel
Showing results for 
Search instead for 
Did you mean: 

Field is unknown .

Former Member
0 Kudos

Hi.

I've a method. Into the method I call to function that has 1 exporting attribute named PERN. I write ' pern = Struct_Team-Pern', Team is my node and Pern is the field that it's in the view mapped with my node. But There's a error: The field is known. How i can call to filed PERN in the view.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

shwetars
Advisor
Advisor
0 Kudos

Hi Guillermo,

i think the signature of your call is wrong. for example if you are calling fm abc, then the call would look like this

call function abc

exporting

pern = struct_team-pern.

before this make sure you have read your attribute through the web-dynpro wizard. following is a sample code:

node_team = wd_context->get_child_node( 'TEAM' ).

elem_team = node_team->get_element( ).

elem_team->get_static_attributes( static_attributes = struct_team ).

Regards,

Shweta