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

XI interface

Former Member
0 Likes
694

I have created a FM that is exposed as a BAPI. This has the parameters that correspond to my flat file.

Now the interfacing can be done with XI, but assuming that the file has 1000 records, obvoiusly the BAPI cannot be called a 1000 times, is there an option of a bulk fetch into a table/structure.

Thanks.

6 REPLIES 6
Read only

Former Member
0 Likes
674

Hi

Incase if iam not wrong,why you are calling BAPI 1000 times,

you can fill the BAPI structures and you can call that BAPI in loop.

Thanks

Read only

0 Likes
674

either the BAPI has in it´s interface some TABLES in which you can give him BULK data, or if not, there should be no problem even calling the BAPI a million times.

Read only

0 Likes
674

Can you demonstrate this with an example please

Read only

0 Likes
674

We want to call the BAPI only once.

Read only

0 Likes
674

Which BAPI you are calling by the way?

and which tcode you are uploading

Read only

0 Likes
674

We will create a new FM and expose it as a BAPI, the FM will contain as many parameters (input) as there are fields in the file