Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

How to fetch 2 set of records in MII from SQL procedure

$
0
0

Hi Experts,

 

I am invoking a SQL procedure from MII which return 2 set of records. But at MII I am able to get only first set of records. Is there any configuration required at MII side or SQL side to get both set of records in MII?

 

Here is the SQL Query Structure

 

Create procedure Sample_Proc

 

  @Param1 Varchar(10),

  @Param2 varchar(10),

  @Param3 Varchar(20) OUT,

 

  SET INCOUNT ON;

 

AS

Begin

 

  *//Selection statements//*

 

END

 

SP Executing in MII

 

Declare @Param1,
  @Param2,
  @Param3,

Exec Sample_Proc

  @Param1='name',
  @Param2='Id',
  @Param3=@Param3 OUTPUT,

Select @Param3


Our SP is returning values (Say Recordset1)based on the input parameters 1 and 2 , along with Parameter3 value(Say Recordset2) in MS SQL server but in MII its returning only the values(Recordset1) ... how to fetch recordset2 values in MII

 

I hope MII can return 2 set of records (rowsets) after executing the procedure.

 

 

MII version -> 12.2.3 Build(182)

 

Thanks & Regards,

Rajasekhar Kantepalli


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>