Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SE16 Data Browser problem with field wdctx_input


I was trying to implement the tutorial made by Thomas Jung "SE16 Data Browser", but I have problem....

View MAIN_VIEW contains method WDDOINIT.

Problem is in line of this method :

node_input = wd_context->get_child_node( name = <b>if_main_view=>wdctx_input</b> ).

When in checked program I get message syntax error :

"Field "WDCTX_INPUT" is unknown. It is neither in one of the specified tables nor defined by a "DATA"...."

I checked interface 'If_Main_View' and I couldn't find definition of the field <b>WDCTX_INPUT</b>.

Any sugestion ?

Mayby someone will try click on this field and check where should it be ?

I have install the NW04s SneakPreviw version.

Former Member

I assume that you are still on SP5. The tutorial was created on SP6. In SP6, the runtime does generate constants for all the node names. That way if you rename something you will get a syntax error in the referencing code. On SP5, you can just substitute these constants with the names of the nodes: ie. `INPUT` instead of if_main_view=>wdctx_input.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question