cancel
Showing results for 
Search instead for 
Did you mean: 

problem in the program for disply of flight details. webdynpro tutorial 4

Former Member
0 Kudos

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".

Accepted Solutions (1)

Accepted Solutions (1)

arjun_thakur
Active Contributor
0 Kudos

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

Answers (0)