Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem Calling a BAPI with a Table as an input parameter

Former Member
0 Likes
396

Hi,

I am new to SAP Developments.

I have a cutom BAPI that has a TABLE (PLANT_LIST) as an INPUT PARAMETER not in a list of table. I populated that table with multiple values/rows and get results in my another table(PLANT_STATUS). I tested it in SE37 and it is working fine and retrieving me multiple records as output.

Import Paramaters

PLANT_LIST (Table Input)

Tables

PLANT_STATUS (Table Output)

But the problem comes when i call this table from SAP MII using JCo interface. If i populate multiple values to the input table it does not work. However, If i pass a single value/row it works.

Could any body explain that is it recommended to pass table as an INPUT PARAMETER or is it for SINGLE VALUES and we should define INPUT tables in Tables structure.

2 REPLIES 2
Read only

BH2408
Active Contributor
0 Likes
348

Hi,

Check , the multiple values are updated correctly to input table.

Thanks and Regards,

Bharani.

Read only

Former Member
0 Likes
348

Yes they are. I am displaying them at console on different levels in order to make sure they are working fine.

Input table has correct multiple rows before calling BAPI.