cancel
Showing results for 
Search instead for 
Did you mean: 

Idocs

Former Member
0 Kudos

Hi All,

Im passing an Idoc from SAP to a 3rd party using HTTP adaptor.at the receiver i wrote a ASP page which stored the HTTP body into one folder at target.

My question is XI sends the HTTP request in the form of xml. So I could get the IDOC-XML format on the target directory. But how do i get a Idoc i mean i dont want xml format of Idoc. with out XML tags would do it.

I appriciate quick response

Thanks

Kiran

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

use the abap mapping code from this tutorial:

https://websmp101.sap-ag.de/~sapdownload/011000358700001795162005E/HowToIDocXMLToFlat.pdf

you just have copy and paste the code

and you'll be able to send the IDOCs in flat file format

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi Michal,

Thanks a lot for a quick response.

I mentioned the inbound , outbound interface as MATMAS04 type. Here im not doing any mapping(Its one of the customers requirement coz the target here is a kind of middleware and there mapping would be done), Since source and target types are same and Im expecting the same idoc in Target side.Actually purpose of the idoc is converting the XI XML formal to native format of Target right ? Then Im wonderign how come the receiver is getting still the IDOC-XML format (though i mentioned the inbound as MATMAS04 type).

Could you please help me out?

Thanks

Kiran

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>>Actually purpose of the idoc is converting the XI XML formal to native format of Target right ?

your scenario can only be handles with mapping from my document

you can alos do something like this:

- r3 and send idocs to a file port

- then with XI pick the idoc and post it as HTTP

with no mapping

these are the only two possibilities

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi Michal,

Thanks a lot!! I dont have access to services.sap.com.

Could you please that doc to my mail id kiran97_99@yahoo.com.

I didnt do ABAP mapping anytime I appriciate if you gimme some steps to do it

Thank you very much for your time and inputs

Kiran

MichalKrawczyk
Active Contributor
0 Kudos

hi,

so just do the second way it much faster:

- create a file for in R3

- use the file adapter to pick the file

- send the message to the http

Regards,

michal

bhavesh_kantilal
Active Contributor
0 Kudos

Kiran,

For ABAP mapping, this document should be useful .

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d0...

Regards,

Bhavesh