I have a dataset referring to a stored procedure which delivers me some data. One column contains a specific Code (see picture), which I want to use in the second table/dataset. For each of the Codes (amount is variable) I want to add a new table with the details of that code.
The second dataset also feeds a stored procedure. Both procedures can“t be touched, because they are used in many other applications.
how to realize?
I tried to use the "lookupset" function in SSRS after searching the web for a solution. I got different problems / errors. Sometimes no parameters specified, sometimes field value cant be used as a parameter. Please help.

I would probably create a new dataset that just gets the code from your stored proc (it will run the SP again but not too much can be done about that).
Here's a simplified example..
Let's say you SP only return 3 columns ( MaterialNo, MaterialName and Code)
You can create a temp table to put the results into and then query the temp table so your dataset query would look something like this..
Now you have the data you need you can create a table, grouped by code and add whatever details in you need.