Skip to Content
0
Former Member
Aug 23, 2007 at 09:56 AM

Problem in retrieving multiple records SAP xMII from SAP using BAPIS

37 Views

Hi friends,

In SAP xMII i called BAPI_USER_GETLIST by passing import parameters 10 and y.In r/3 BAPI returned 10 rows but In xMII it was returned only one Record.

i want to display 10 records in sap xmii

1) I created to connection ECC5 in Dataservices-->SAPSERVERConfiguration

2)In BLS we placed JCO Interface inside Sequence

3)In BLS I used ECC5 connectrion(using JCO Interface) and called BAPI_USER_GELLIST

4)In Links-->Transaction created two input values for "maxnoofrows","withusername" and output value is "userid".

Input what i mapped

Transaction >"maxnoofrows" =====SAPJCOINTERFACE ->Request >BAPI_USER_GETLIST >INPUT-->MAX_ROWS

Transaction >"withusername" =====SAPJCOINTERFACE ->Request >BAPI_USER_GETLIST >INPUT-->WITH_USERNAME

Output what i mapped

SAPJCOINTERFACE ->Response >BAPI_USER_GETLIST >TABELS >USERLITS >ITEM >USERNAME=====Transaction-->userid

5)Saved the Transaction.

6)In Query Template -->xactuateQuery selected

7)In Datasource Query mode was selected ,Inputrarams i passed 10 and y as parameters.

It was returned one user id from R/3 inSAP xMII

please help me to retrive all 10 rows from r/3

Regards

Srikanth