Skip to Content

Replacing result of one query with another query?


I have a scenario, i want to send the result of particular field in a query to the another query field as multiple values.i created a varible with replacement path by using the first query.

the required field in first query technical name is different in second query field but the data is same in both the fields. when i execute the second query it is giving me error and saying "variable cannot be replaced". in both the queries do i need to use the same infoobject?


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jan 08, 2014 at 10:44 AM

    Yep, you should use the same infoobject in both queries. Moreover, make sure you keep only that field alone in Rows pane in first query. Then only second query can take the values of it.

    Add a comment
    10|10000 characters needed characters exceeded

    • Technically speaking, it is not possible because, you are supplying value to this infoobject from the result of another query which has the same infoobject(with all its data type , length properties etc). Technical names should be same to make them identical, right?

      How will two infoobjects hold same kind of data? What sense it makes? You can drop another one, right?

  • Posted on Jan 08, 2014 at 10:48 AM

    Hi Kool,

    Yes you can use same infoobject in both queries and try.


    Ganesh Bothe

    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.