on 04-05-2006 4:45 PM
Hello
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thomas,
Thanks a lot for your help.
That's it. You have right.I was check my version and I am still on SP5.
I substitute these constants whit the names of the nodes and the tutorial activate without problem.
Problem solved.
PS.
This tutorial is really great ! It shows many aspects of Web Dynpro for ABAP.
I would very much recommend this tutorial !
Best regards,
Jakub Dyczko
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.