cancel
Showing results for 
Search instead for 
Did you mean: 

Table input on BAPI not working

Former Member
0 Kudos

We have developed a custom BAPI that has 2 inputs, a String value and a simple two column table used to filter the output. Both inputs are required. The String input always works, but the table input does not. When we execute the BAPI in VC and provide data to the input table, the output is not being filtered. However, when we test the BAPI on on ECC through se37, it works.

We are running VC SP14 patch 2. We imported the BAPI, and switched the input table from the output port to input port. When we test the data service, we get data back, but the output is not filtered by the inputs we pass in. The logs show us that the inputs are not received by the BAPI.

Any ideas what might be going on, and how to fix it?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

First test the application like this :

with a input form having the 2 input fields and add a Filter to the out put port of the Data service and then add a table to the filter opeartor.

Check that you are able to get the data in the table for the input values after filtering.

Then tilt the output port of table to input side then test with right values.

But where you are displaying the output for thetable input data ?

Govindu

Former Member
0 Kudos

Govindu,

We did this test already. As an output port, the table returns data. But when we switch it to an input port, it still does not take data.

We are displaying the output data in a table.

- Andrew

Former Member
0 Kudos

Hi,

Check the mapping b/w the Input table and dataservice

Govindu

Former Member
0 Kudos

We have checked the data mapping, even recreated it several times, with no affect. We have also tested the data service by entering input data directly, but it still does not work.

We also did a test by switching another output port to an input port, and sending data into it. That worked. Unlike the problem input table, the one that did work was setup as an input/ouptu table in the BAPI. The problem table is just an input. So we tried switching the problem table to an input/output, but it still did not work. Is there some other setting in the BAPI that could be effecting this?

Former Member
0 Kudos

The issue turned out to be a bug in the BAPI. Once the bug was fixed, everything is working.