Skip to Content

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

Assigning data from one Table type to another structure

Hi every one,

I have a table type X sent from one function module to another Proxy generated method which has the parameter defined as a structure.

I have declared a variable Y as a LINE TYPE OF X.

Then I have this statement which fills up the data.

READ TABLE X INTO Y INDEX 1.

The data is transferred from X to Y.

Now i need to send this to the proxy generated Function module which has a structure Z.

Now when i say MOVE-CORRESPONDING Y to a variable of type Z, it says it cannot be converted.

The structure in proxy generated FM has different data type but the same domain as that of standard one.

Everywhere it is prefixed with YY.

And also has one additional Controller tab inserted,

Can you guys tell me how to move the data from this table type to the structure.

- Venkat

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