cancel
Showing results for 
Search instead for 
Did you mean: 

The Mapping to Node COMPONENTCONTROLLER.1.DEROGATIONS Has Not Been Complete

Former Member
0 Kudos

There is a PRINT WD component with an interfase node called derogations to show an adobe form through xml.

The MAIN WD component add into the usage component the interfase node.

In the MAIN WD component, the values are charged as follow and then it fire the plug to PRINT WD.

DATA lo_nd_derogation TYPE REF TO if_wd_context_node.

DATA lo_el_derogation TYPE REF TO if_wd_context_element.

DATA ls_derogation TYPE wd_this->element_derogation.

  • navigate from <CONTEXT> to <DEROGATION> via lead selection

lo_nd_derogation = wd_context->get_child_node( name = wd_this->wdctx_derogation ).

  • get element via lead selection

lo_el_derogation = lo_nd_derogation->get_element( ).

  • get all declared attributes

lo_el_derogation->set_static_attributes( static_attributes = wd_this->w_derog_dqi ).

wd_this->fire_ficha_to_print_plg( ).

By debugg, i can enter to init method of a view in PRINT WD.

But the form is not showed and inform a message as follows:

The Mapping to Node COMPONENTCONTROLLER.1.DEROGATIONS Has Not Been Completed.

Could somebody help me to solve this?

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Have you donw mapping correctly.?

You have to do mapping in component usage. check once.

Cheers,

Kris.

Answers (1)

Answers (1)

former_member199125
Active Contributor
0 Kudos

Hi..

Did you select the interface node property and input element property of .DEROGATIONS node? If not, go to PRint WD component, and select .DEROGATIONS node under component controlelr and select the above two properties.

And Did you write this statement or it is auto generated using codewizard?

lo_el_derogation->set_static_attributes( static_attributes = wd_this->w_derog_dqi ).

I am not sure about above statement..

Generally wd_this->w_derog_dq be of structure type of node.

Regards

Srinivas