cancel
Showing results for 
Search instead for 
Did you mean: 

How ro run interface in loop

former_member192238
Participant
0 Kudos

Hi,

I have requirement to send the data to custom functional module Record by Record.Sender JDBC adopter is picking Records with status 0 from Data base.In mapping Target functional Module has occurrence 1..1 so for target i can pass only record.

Suppose if data base has 30 records with status 0 is there any way i can pass record by record to Functional Module .

Regards

Praveen

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Praveen,

why you do not use a Proxy to send data to ECC, instead of calling your Function Module ?

your flow will be:

JDBC send one message with 30 records to PI.

PI send one message to ECC by using a proxy, so with the 30 records.

And then in this Abap proxy (abap class on which you write what you want in ECC), you can easily do a LOOP...ENDLOOP on your 30 records in order to call your Function Module for each record.

regards.

Mickael

former_member192238
Participant
0 Kudos

Thanks@ Every one valuable inputs

I have changed my select query by addind limit 1 in the query with this i am able to pick single records from sorce.

Regards

Praveen

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Why dont you look at this thread...? create some custom idoc to update the function module.

Edited by: Baskar Gopal on Jan 13, 2012 10:29 AM

Former Member
0 Kudos

Hi.

you can use Enhaced Determination

Regards.

Luis Ortiz

former_member192238
Participant
0 Kudos

Hi Luis,

I dont have multiple receivers target is the same functional module i mean if 30 records are inserted in to data base interface should run 30 times .

Regards

Praveen