Skip to Content
avatar image
Former Member

File to HTTP Mapping error in PI 7.1

Hi Team,

In my file to HTTP scenario- Im using file content conversion at source side . under MT , i have used Record node, under Record fileds. At target side I have used External definition. To generate multiple records , Im using 0...unbound occurance in External defination.

Example:

MT_SOURCE

-Record

--fileds

External_Definition

-fileds

After 0..unbound the structures looks like..

Source:

Message

-Messages1

--MT_SOURCE

---Record

-


fields

Target:

Messages

-Messages1

--ExternalDefinatuion

---fields

Now I record context to Messages1 from MT_SOURCE and mapped with Externl_Definition node. My reguirement is , For every record occurance the target structure should generate . I have changed the occurance in Interface mapping as 0..unbound. BUt when im testing with 2 Records , i got the below error...

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">ADAPTER_NOT_MMF</SAP:Code>

<SAP:P1>PLAINHTTP</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>Adapter PLAINHTTP cannot process message packages</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

If I used file adapter at receiver side , the messages are processing successfully , so mapping is correct . If I use HTTP im getting the error in MONI. Can anyone suggest whats the issue is ?

Cant we handle multiple records/messages in HTTP adapter.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 27, 2012 at 06:59 AM

    Hello,

    <SAP:Category>XIServer</SAP:Category>

    <SAP:Code area="INTERNAL">ADAPTER_NOT_MMF</SAP:Code>

    <SAP:P1>PLAINHTTP</SAP:P1>

    <SAP:P2 />

    <SAP:P3 />

    <SAP:P4 />

    <SAP:AdditionalText />

    <SAP:Stack>Adapter PLAINHTTP cannot process message packages</SAP:Stack>

    <SAP:Retry>M</SAP:Retry>

    If I used file adapter at receiver side , the messages are processing successfully , so mapping is correct . If I use HTTP im getting the error in MONI. Can anyone suggest whats the issue is ?

    Cant we handle multiple records/messages in HTTP adapter.

    Multi-mapping is not possible when you use Plain HTTP Adapter. You could use SOAP Receiver Adapter and check Do Not Use SOAP Envelope also make sure that your content-type is correct as checking this option changes the content-type to application/xml.

    Hope this helps,

    Mark

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Mark,

      Now the message splitting issue resolved. Now the problem is the receiver portal expects Content-type text\xml in HTTP header .

      As you mentioned , if i check DO NOT USE SOAP ENVELOPE , the content type should be application/xml . How can I change the content type to text/xml .

      Thanks.

      Drumi

  • Jan 27, 2012 at 06:42 PM

    >Cant we handle multiple records/messages in HTTP adapter.

    HTTP adapter is in abap stack in pi 7.1 so multiple message creation is not possible in abap stack. The huge volume single message splits only in the adapter engine which is java engine. Since File adapter is in java stack, it works. You cannot use idoc and http as receiver for this. Hope that helps.

    Add comment
    10|10000 characters needed characters exceeded