cancel
Showing results for 
Search instead for 
Did you mean: 

issue with service call code generation ...

Former Member
0 Kudos

Hi,

I am referring to a video on ABAP webdynpro application creation where a service call is used to call a BAPI. U can find the video in https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/093055e7-0b01-0010-d89d-cf883dd27d... link.

In my system, after the service call wizard is done with and the BAPI is selected, the code is automatically generated. The last part of the code says

  • store output to context

$NODE$->bind_Structure( Stru_C_Flight_Data[] ).

ENDMETHOD.

But in the video something else is shown.

If (stru_C_flight_list[] NE copy_c_flight_list[])

...

endif.

The video does not mention anything about adding this code, so I assume that it is automatically generated. But it does not happen for me and when my code is compiled, it gives error on line with $NODE$ !!

Did I miss something ? Please help.

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Sm1tje
Active Contributor
0 Kudos

well I guess that some parts of the code still has to be done manually.

But in this case (I haven't seen the video), the problem occurs in the statement for the node.

When binding the data to a node, you can do this by using the code wizard, which will generate the code for you. So $NODES$ should be replaced by the name of your actual node you created for this, for binding the data to the context node.

Answers (0)