cancel
Showing results for 
Search instead for 
Did you mean: 

each row into one idoc

Former Member
0 Kudos

hello all,

here i have a basic problem ,

i am given a text file ie. note pad which has around 100 rows ,

each row represents each employee details,

now i have to convert each row into 1 idoc,

for this i had created one datatype whose structure coincides with the employee fields and after creating the message interface i mapped it with the all ready imported idoc,can any one tell me how to further with little details, any help will be appreciated ,its very urgent, thank you.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi kutumba,

you need to do a so called multi-mapping in BPM.

To do this, in your message mapping set the occurence of your target-message to 0..unbounded.

After this transformation-step you need to define a BLOCK.

A sample to do this is in IR: SWC: SAP-BASIS.

Regards Mario

Former Member
0 Kudos

thanks mario , your suggestion looks good, but i have to try practical, at work

Former Member
0 Kudos

hai neetu and satish thanks for replying,

can u please tell me what to do in next few more steps, do i have to do somthing in integration process step. or what to do in ID

Message was edited by: kutumba rao

Former Member
0 Kudos

See these blogs can help you in understanding ID and seetings required in R/3 side

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi

There are lot of blogs and threads for your requirement. Just explore XI Forum.

Regards,

Satish Chauhan

Former Member
0 Kudos

Hi Kutumba,

In ID u need to create atlest one business service with a Sender File Communication Channel to receive the file and one Business System for the R/3 System with a Receiver IDoc Communication Channel to receive the Idoc XML.

U also need to create the Receiver and the Sender Agreements.

U can also go through this link:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adb...

Try doing this and let me know if u face any further problems.

Regards

Neetu

Former Member
0 Kudos

thanks sathish but my issue is from file to idoc

Former Member
0 Kudos

Hi Kutumb,

Try the link sent by me. It deals with File to IDOC.

Regards

Neetu

Former Member
0 Kudos

hai neetu, i just read the entire pdf attached with the link, but it is a simple file to idoc, my problem was to convert each row into one idoc can u help in that regard

Former Member
0 Kudos

Hi,

I think you need yo use file content conversion of file adapter to convert each row of text file into idoc.

You can find this under adapters.

Converting File Content in a Sender Adapter

Regards,

Dipali

Former Member
0 Kudos

Hi Kutumba,

Are you facing some problems in mapping or you require next steps to configure ID for the scenario.

Regards,

Satish Chauhan

Former Member
0 Kudos

Hi Kutumba,

Ur scenario seems to be fine. Next u need to do proper configurations in the ID.

Just try doing that and see if things work fine.

Regards

Neetu