cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC to IDOC -Split

yeshuaq
Explorer
0 Kudos

Hi,

I am working on JDBC to IDOC scenario and my requirement is if i receive 100 records from database table, i have to send 100 records to SAP ECC. tried with changing occurrence in IDOC structure and working fine.

-At present i am able to send 100 records in one payload as input to SAP ECC and it creates 100 IDOC's in SAP ECC. but my requirement is i will extract 100 records from database table to SAP PI and then i have to process those 100 records as 100 individual IDOC's to SAPECC. i mean instead of 1 payload of 100 IDOC's, i have to send 100 different payload (1 IDOC in each) to SAP ECC.

Please suggest if any option available.

Reagrds,

YeshuaQ

Accepted Solutions (0)

Answers (3)

Answers (3)

sugata_bagchi2
Active Contributor
0 Kudos

Hello YeshuaQ,
You can implement multimapping as described in the blog below -

https://blogs.sap.com/2010/03/16/multi-mapping-with-a-simple-scenario-fledgling-kit/

Thanks

Sugata

yeshuaq
Explorer
0 Kudos

Thank you for Quick response Evgeniy.

If i try to change occurrence, my existing mapping logic for all fields will be lost. So is there any way to change occurrence without lose my field mapping.

Also can you please elaborate what is Split mapping. because i have to generate same IDOC type 100 times in my requirement. i have only one receiver and i need to send 100 input records as 100 individual IDOC's (Paylaods) to target system.

Thank you

Reagrds, YeshuaQ

former_member190293
Active Contributor
0 Kudos

Hi YeshuaQ!

Use occurence 1..unbounded for target interface in Operation Mapping and the same for target message type in Message mapping. Using split mapping you will fulfill your requirement.

Regards, Evgeniy.