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 in ASP.Net program calling RFC Bapi using .Net connector

Former Member
0 Likes
378

Hi al,

i have written a progam in ASP.Net which passes a set of records to RFC Bapi to create sales orders.

input records should be passed into the bapi , if record is ok it should be added in valid table

if it is not ok it should be added in error table.

if i give the .Bapi call command after the for loop, only the last record in the input table is passed into bapi.

if i give the .Bapi call command inside the for loop, records are processed more than once.

how to solve this?

regards

nagarajan

2 REPLIES 2
Read only

Former Member
0 Likes
325

Hi,

It could be happen because after BAPI call from legacy system you need give a commit work. Try do that with .Bapi call inside loop.

Hope it helps.

Paulo Afonso Cordeiro

Read only

Former Member
0 Likes
325

Hi Nagarajan I'm in a similar situation can you post your code here please or send it to my id ravindra under score br at yahoo dot com