cancel
Showing results for 
Search instead for 
Did you mean: 

Call Idoc in s4HANA Cloud

former_member188458
Active Participant
3,560

Hi,

I have a question regarding Calling Idoc in S4HANA cloud(Multi-tenant) .

After setting up the communication arrangement(SAP_COM_0141) i get the url to call the idoc - BATMAS. And I am able to call it from SOAPUI with http response(HTTP/1.1 200) and also getting idoc id back in response. But the data is not getting updated as expected .

Is there any way to check the idoc in s4hana cloud like We05 in ECC?

Also m not sure what should be sent in Sender/Receiver Partner number - As in ECC we use to do this set up by setting up logical systems & partner profiles .

Pasting input SOAP as well below. Would appreciate any pointers. My end goal is call this idoc from CPI - iflow.

Thanks,

Rini

SOAP XML

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cxf="http://cxf.component.camel.apache.org/">
<soapenv:Header/>
<soapenv:Body>
<BATMAS03>
<IDOC BEGIN="1">
<EDI_DC40 segment="1">
<IDOCTYP>BATMAS03</IDOCTYP>
<MESTYP>BATMAS</MESTYP>
<SNDPOR>8080</SNDPOR>
<SNDPRN>BATMAS</SNDPRN>
<SNDPRT>LS</SNDPRT>
<RCVPRT>LS</RCVPRT>
<RCVPRN>BATMAS</RCVPRN>
<RCVPOR>8080</RCVPOR>
</EDI_DC40>


<E1BATMAS segment="1">
<MATERIAL>3000001</MATERIAL>
<BATCH>0000000065</BATCH>
<PLANT>2920</PLANT>
<BATCHSTORAGELOCATION>292A</BATCHSTORAGELOCATION>

</E1BATMAS>

<E1BPBATCHATT segment="1">
<VENDRBATCH>RK00</VENDRBATCH>
</E1BPBATCHATT>

<E1BPBATCHATTX segment="1">
<VENDRBATCH>X</VENDRBATCH>
</E1BPBATCHATTX>
</IDOC>

</BATMAS03>
</soapenv:Body>
</soapenv:Envelope>

Accepted Solutions (1)

Accepted Solutions (1)

former_member188458
Active Participant

Hi,

Resolved myself . Basically you need to be careful on below when sending idoc in s4HANA cloud edition:

--> In RCVPRN & SNDPRN , put the logical system specified in your Communication Arrangement; And also the SNDPOR & RCVPOR as in Commun Arrangement

--> to monitor Inbound idocs - If you are lucky and the idoc is configured for AIF , You can do so in "Message Dashboard" app

Hope it helps someone trying a similar scenario . I ll publish a blog probably when i get time with screenshots.

Thanks,

Rini

Answers (1)

Answers (1)

sumanth171
Active Participant
0 Kudos

Hi,

Follow below series for enabling the connectivity between ECC or S/4HANA with CPI.

https://blogs.sap.com/2016/08/09/hci-hcp-is-idoc-adapter-deciphered-part-1-trigger-idoc-from-sap-to-...

former_member188458
Active Participant
0 Kudos

Thanks Anil. However i already checked this and it is not the same scenario. As my S4HANA cloud instance is Multi tenant and things are set up differently there. Good news is I got it working myself 🙂 . Will publish a blog probably for this as i dont see this info anywhere.

Thanks,

Rini