on 02-08-2010 8:32 AM
I am new to WebDynpro. I have succesfully learnt the navigation between views (tutorial 3). In the tutorial 4, I wrote the simple select query for displaying the flight details, but I get a runtime error.
METHOD IF_WD_CONTEXT_ELEMENT~GET_STATIC_ATTRIBUTES .
FIELD-SYMBOLS:
<VALUES> TYPE DATA.
ASSIGN ME->STATIC_ATTRIBUTES->* TO <VALUES>.
>>>> MOVE-CORRESPONDING <VALUES> TO STATIC_ATTRIBUTES.
ENDMETHOD.
Error Analysis: The MOVE CORRESPONDING can only be used with operands with structured type.
In the case at hand, this condition is not fulfilled. Operand "values" has TYPE "C".
Hi,
I guess STATIC_ATTRIBUTES is the name of some variable you are using in your code.
Try to use simple MOVE statement:
MOVE <VALUES> TO STATIC_ATTRIBUTES.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.