cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC related question

Former Member
0 Kudos

Hi,

How to extract the content from IDOCs.e.g mautiple idocs are comming.we need to retrive the company ID from all the IDOC.So Please tell me how to extract.

Regards,

Suchitra

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Thanx to all

sunilchandra007
Active Contributor
0 Kudos

Hi,

You can use BPM in ur case.Inside the loop collecting idoc, use a Multiline Container( Category - simple type , Type - xsd:string) to append the Company_Id from the Idoc .

Regards,

Chandra

Former Member
0 Kudos

Thanx for the answer but m not getting the proper answer to proceed that scenario.actually from multiple idoc i have to retrive the company id and that company id will be the input of RFC.is it need to use UDF

If we are using UDF den please tell me the java program which one will retrive the company id from idoc and will map with the RFC

Regards,

Suchitra

Former Member
0 Kudos

Hi Suchitra,

Is it n:1 mapping scenario? Then better to use BPM.

Please check the link:

https://forums.sdn.sap.com/watches!add.jspa?forumID=44&threadID=913427

I hope it will be helpful for you.

Regards,

Nutan

Former Member
0 Kudos

Do you want to get that company id and hold it in xi for further processing? then you can go for bpm

or else you can get that company id from IDOC in mapping itself.

Hetal

Former Member
0 Kudos

Hi Suchitra,

this can be done using BPM were we can differentiate depending upon the company ID value

go to this link it would be helpfull

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=multiple+idocs&adv=false&sortby=...

Thanx

Sampath

former_member187563
Contributor
0 Kudos

hi,

you can write a simple abap code for that.

regards,

ujjwal kumar