Skip to Content

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 04:16 PM

    Hi,

    Declare a variable of line type Z.

    Move corresponding values from variable X to this variable.

    Append this variable to the table Z.

    Try this.

    Regards,

    R.Nagarajan.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.