IDoc to HTTP communication....Is B2B required?
Hi All,
I have a scenario where I have to communicate from SAP IDoc to a 3rd party via HTTP communication.
Please tell me if I have to configure this as a B2B or A2A.
Is it must to use B2B for Idoc communication with 3rd party.
If yes then please let me know the actual use of B2B in this case.
regards,
Piyush
Hi,
use below links this might help u.
/people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service
/people/suraj.sr/blog/2006/01/05/multiple-inbound-interfaces-within-a-service
For the use of B2B application refer below link.
http://help.sap.com/saphelp_nw04/helpdata/EN/ca/efb540efe68631e10000000a1550b0/frameset.htm
Regards,
Sari
Similar Messages
-
SAP PI 7.0 https communication
Dear All,
Im in the process of setting up PI for B2B connectivity with the client using BC and we PI 7.0. I would like to have https communication when sending messages over the internet. I would like to know on which stack we would have to configure SSL https communication, either on Java or ABAP stack.Any pointers to a step by step guide would be very much appreciated.
Thanks,
Mohammad.hi ,
All PI runtime components using the HTTP protocol support the encryption of the HTTP data stream by means of the SSL protocol, also known as HTTPS. HTTPS data streams are completely transparent to usage type PI.
To enable an HTTPS connection, two steps are required:
1. Both parties of an HTTP connection (that is, the HTTPS client and the HTTPS server) must be technically enabled.
2. The internal PI communications and the messaging communications must be configured in PI to use these HTTP connections.
U can go through the below links . it has all the details: -
http://help.sap.com/saphelp_nwpi71/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm -
Message Mapping - IDOC to http
Hi ,
I am creating Message mapping for IDOC to Http scenario.
In which i have the following requirement. For a partner Role in segment E1BPDLVPARTNER we need to get the Address_No value
and then with that we need to get the address from segment E1BPADR1
<E1BPDLVPARTNER>
<PARTN_ROLE>AG</PARTN_ROLE>
<PARTNER_NO>0007745359</PARTNER_NO>
</E1BPDLVPARTNER>
<E1BPDLVPARTNER SEGMENT="1">
<PARTNER_NO>0007745359</PARTNER_NO>
<ADDRESS_NO>0000267775</ADDRESS_NO>
</E1BPDLVPARTNER>
<E1BPDLVPARTNER SEGMENT="1">
<PARTNER_NO>0007759123</PARTNER_NO>
<ADDRESS_NO>9000001048</ADDRESS_NO>
</E1BPDLVPARTNER>
<E1BPADR1 SEGMENT="1">
<ADDR_NO>000075</ADDR_NO>
<NAME>BRIDT HOSPITAL INC</NAME>
</E1BPADR1>
<E1BPADR1 SEGMENT="1">
<ADDR_NO>00775</ADDR_NO>
<NAME>BRIDGA</NAME>
</E1BPADR1>
<E1BPADR1 SEGMENT="1">
<ADDR_NO>05</ADDR_NO>
<NAME>BRIDL INC</NAME>
</E1BPADR1>
Can you provide inputs on this.
Thanks,
VishalFor the Address No 0007745359 in E1BPDLVPARTNER we need to go to the E1BPADR1 segment and get the address from
it and populate the target. Also the data above is test one
Me a bit confused about your requirement!
In your structure Partner_Number is having the value 0007745359
What i get is you have to check for PartnerNo in E1BPDLVPARTNER and if that value matches then go to E1BPADR1 segment and get the Address......but to go to a particular E1BPADR1 you need to check for some field within it.....
Your mapping logic will be something like:
PartNum/ AddrNum -->
--->equalS --->
Constant(0007745359)
----> And ----> IfWithoutElse ---> Target
Field_of_E1BPADR1 (validation logic) --> Then(Field_of_E1BPADR1)
Context of PartNum/ AddrNum to be raised and also that of Field_of_E1BPADR1 (the one on which validation is imposed.
If possible get some more details from your technical lead on how to select the E1BPADR1 ...
Regards,
Abhishek. -
IDOC to HTTP tutorial and vice versa
Hello all,
I am a beginner in PI and I have just configured my first IDOC to file scenario. I am looking to implement an IDOC to HTTP scenario where I create an order in ERP 2004 and the order is sent as an XML file via PI into a suppliers website. I am trying to find a tutorial on how to do that but after looking here in SDN and in google, I couldn't find something helpful. There are plenty of file to idoc and idoc to file tutorials, but not an idoc to http .
Could you please provide me with some links or some information on where I can start with that. I am also interested on the reverse, i.e. HTTP to IDOC: The supplier sends the invoice in XML format through PI and I receive it in my ERP 2004 system as an IDOC
Many thanks
AndreasHey folks!
We have a PI 7.31 SPS5 Java-only installation here and are using the module IDOCFlatToXmlConvertor. For single IDocs with one line for the EDC_DC40 header and the others for the IDoc payload the conversion works. But when we want to process multiple IDocs from the same type within one file, we see this error in the log:
Module Exception 'com.sap.aii.af.idoc.exception.IDOCModuleException: No data segments for DOCNUM = ' found, cause: <null>
Are there any requirements how the multiple IDocs have to be structured within the file?
Best regards
Heinrich
Update:
I found out that the module wants each record to contain the corresponding DOCNUM to find the matching records. The non-SAP sender system normally does not set this value. Is there a way to "convince" the module to convert the IDocs nevertheless? -
Idoc and http adapter resides in ABAP stack. So how do we monitor these two adapters ? It wont be visible in RWB ?
Hi,
To know the difference i suggest u try to do it by ur self only.
Login in to Runtime Work bench- component monitoring-Adapter engine-communication channel monitoring- Filter the communication channel with name.
and click on message id of that channel, it will show u the steps by step log for that channel.
MONI is used for message monitoring.
chirag -
Hi,
My Requirement is IDoc(Async)HTTP(sync)-IDoc(Async) using BPM
and there is a condition if i will not get response from HTTP then i need to send error message to ECC(IDoc).
could you please provide me details steps in IR and ID.
Thanks
GiriiHI,
please go through below blog instead of file you are using IDoc and instead of rfc you are using HTTP,
http://wiki.sdn.sap.com/wiki/display/XI/FILETORFCTOFILEwithBPM
regards,
ganesh. -
HTTPS communication using HTTP receiver adapter URL address as Address Type
Hi All,
If some one who has tried HTTPS communication using HTTP receiver adapter using URL address as Address type can you please guide me what are the steps need to be done.
Note : Address type is a parameter in HTTP adapter setup .
Regards,
ReddyHi,
Check this,
Configurations in Integration Directory
The plain HTTP adapter gives the receiver system the following specifications:
— Specifications for addressing using a URL address:
Target host, service number, and path prefix including query string:
http://<hostname:port>/<path>?<query-string>
You can identify the target host (HTTP port) of a SAP Web Application Server using
the
ICM monitor
Host and port of the HTTP proxy (optional if there is a firewall between the plain
HTTP adapter and the receiver system)
Authentication data for the receiver system.
See also: transaction Display and Maintain RFC Destinations (SM59).
— Specifications for addressing using an HTTP destination:
HTTP destination
— Parameters from the communication channel for technical routing
Content type (the entry text/XML is expected as default)
Specifies the format that the message contents (the payload) should have.
Optional header fields for the receiver-specific protocol
Attributes for the query string
1. Sender party
2. Sender service
3. Receiver Interface
4. Message ID
5. Quality of service
6. Queue ID
All attributes are selected except for the queue ID. If you do not want a value to be
transferred to the receiver, deselect it. The queue ID is only required if the quality of
service is EOIO.
Specifications for payload manipulation
XML code (default UFT-8)
Specifies the character set.
URL escaping
Presents the XML in a URL-enabled format. Special characters that could be
interpreted as control characters are replaced with escape characters (masked).
Prolog
Enhances the payload for particular servers (optional, see below).
Epilog
Enhances the payload for particular servers (optional, see below).
Enhancing the Payload
Regards
Seshagiri -
Http communication with non-sap system
Hi ,
We have a requirement to send OM related data to a non-sap system using HTTP post in XML format and receive the response from that external system. We are on ECC 6.0 and we cannot use XI at this time.
What would be the correct approach to do this? I read that we could use ICM for HTTP communication am I on the right track?
ThanksHi ,
We have similar type of requirement, if you have the solution then let me know .
Thanks in adv
Vishnu -
Non-XI HTTP Communication with non-sap system
Hi ,
We have a requirement to send OM related data to a non-sap system using HTTP post in XML format and receive the response from that external system. We are on ECC 6.0 and we cannot use XI at this time.
What would be the correct approach to do this? I read that we could use ICM for HTTP communication am I on the right track?
ThanksWhat setup do we need for this ?
We are on ECC 6.0. I am trying to run the program, I am getting http_communication_failure = 1 in the receive function.
I am not sure if I am missing any authorizations/setup.
Thanks for your help.
VV -
In sap 4.7 ver i want to dispatch an Idoc through http in xml format
Hi
Here i am giving the brief scenario of about my
requirements "::::
Our organization need to receive an IDoc through
HTTP into XML format then we have to send an acknowledgement back to USA (external system
located)
then we hav eto process tha tIDoc an dsend it back
to the edi 850 ...
we are not using Sap Business Connector
Plz send the suggestions as soon as possible
I really appreciated if u can give the suggestions
regarding my business scenario ..
without using any thirdparty tool in sap 4.7 version it is possible how can i do that ??
Thanks & Regards ,
bakThe exact error message I'm getting is :
ABAP XML formatting error in XML node of type "element", name: "abap" -
Https communication not connecting from sm59
Hi Team,
Scenario is , via sm59 we are connecting https URL to third-party using a proxy server within our network , and https port also opened in proxy server.
Is there any configurations required in sap for https communication with third party URL.
Error Logs:- While trying to connect https connection from proxy server to a third party URL , we are getting proxy 502 error.
My doubt is do we need to activate https service from ICM , Also is it required to open 443 port number on that particular box
Can anyone help on this. Really appreciate your inputs.
Please suggest.
Regards,
Pradeep G.Hi Amit,
Please find the below ,
Status HTTP Response 502
Status Text Proxy Error ( No data record is available. )
Duration Test Call 18895 ms
Technical Information (for support personnel)
Error Code 11004: Host not found
Background: This error indicates that the gateway could not find the IP address of the website you are trying to access, possibly due to lack of information in the DNS server.
Date: 2/07/2014 11:36:51 AM [GMT]
Server: adelisa001.originenergy.com.au
Source: DNS error
Thanks,
Pradeep G. -
HTTP Communication with iSoft eCommerce Suite
Hello,
I am trying to establish an SSL communication link with a business partner that is running the iSoft eCommerce Suite. The business partner receives and transmits data using an AS2 engine. Unfortunately, the business partner has yet to configure a communication link using SSL. Is there anyone out there that has successfully setup a HTTPS communication link with a partner that uses iSoft eCommerce Suite? Is a third party adapter required for this type of scenario? If so, on whose system is the adapter required?
Thanks in advance,
JackHi Samba,
I'd suggest better raise it in he ADF forum.
However, this should be possible by calling the Arbortext functions on click of ADF form buttons. Or you may send the information to a placeholder (JMS, File, DB etc.) from where Arbortext can pick that information.
Regards,
Neeraj Sehgal -
Hi,
I got a requirement where in I need to have HTTPS communication with one of my client. Basically I have to send files and receive files from their server.
Can anybody guide me what are the requirements my client should work for to support HTTPS communication and what type of adapter I should use to send and pick these files?
Regards,
Vijay.HI Vijay
refer the below links
You can use the HTTP adapter. Refer to following SDN TV demo of the HHTP adapter for details steps involved into it.
https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
HTTPS using XMLSPY
http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
The HTTPS configuration data of the Adapter Engines has to be configured in the SLD.
More Information in the "SAP Security Guide XI"
http://help.sap.com/saphelp_nw04/helpdata/de/f7/c2953fc405330ee10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
Under Security Check for Inbound Messages, you can specify which HTTP Security Level is to be assumed for incoming messages. You can choose from the following security levels:
○ HTTP (default value)
○ HTTPS without client authentication
○ HTTPS with client authentication
http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/65/6a563cef658a06e10000000a11405a/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
Hope this will help you .....
pls reward if useful..... -
EOIO QOS for IDOC- PI- Proxy communication
Hi,
We have a scenario where IDOC communication is being used for sending the data to PI and PI does the mapping and routes it to ABAP proxy of the reciever.
In this scenario, we want to ensure the EOIO for one IDOC which means we want all the XML messsages of a particular interface need to be executed in the same queue.
Sender Uses IDOC to send information to PI
PI does the mapping and routes to reciever using XI adapter.
Reciver uses ABAP proxy to execute the XML
THanks,
Prashanthyou need IDoc serialization.
/people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter & http://help.sap.com/saphelp_erp2004/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm will help you -
PI 7.1 HTTPS Communication
Hi PI Experts,
We are enabling HTTPS communication in PI 7.1 EHP1 using CIDX adapter. We have nearly completed settings after going through several threads and sap help documentation.
1. Defined SSL parameters in RZ10 (ssl/pse_provider = Java and other parameters)
2. Created entry for private key (2048 key length) in ICM_SSL_<instance id> view of key storage in nwa. Generated CSR response, imported CSR response with CA containing private key, intermediate key.
3. Installed Public key of Partner certificate into ICM_SSL_<instance id> and Trusted CAs
4. Exported key to PSE
5. Restarted ICM
Inspite of completing the above configuration and installation of the certificates, still we are not able to complete HTTPS communication. We are facing two issues
(1) For outbound: HTTPException:Padding length error
(2) For inbound: Client is facing issue "HTTP/401 Unauthorized".
What is the service user that is utilized in HTTP communication with certificate logon in PI 7.1? Where do we see this service user? We expect that through nwa>>configuration management>> Identity Management>> for this service user need to apply PI private key and Client public key.
Please provide your inputs for resolution.Hi Baskar,
Thanks for the reply.
Inbound communication:
We did see this documentation earlier. As per the link, it says "In the Adapter Engine and PCK, only the security role xi_af_receiver of the J2EE component sap.com/com.sap.aii.af.ms.app*MessagingSystem allows the execution of incoming messages.
we strongly recommend that you create separate messaging users with the corresponding role representing individual business systems in a productive environment."
So we created a new user id for the purpose, through NWA Configuration Management>>Authentication, we could able find the policy configuration sap.com/com.sap.aii.af.ms.app*MessagingSystem. For this policy, we need add authentication log in as 'ClientCertLoginModule'. But we do not know how to add/specify this user id against this policy. Though we have added security role xi_af_receive for this user.
In brief we need to specify the server for this policy through certification logon use this new service user id? We want to know where it can be done.
Thanks,
Suraj Pabbathi
Maybe you are looking for
-
Editing photos for a slide show, each photo seems to take forever to complete edit and go on to next photo. I don't remember having this problem before the upgrade. Does anyone know what the cause could be? Thanks
-
Checking the syntax of a program
Hi, I have a problem , in my program (ABAP editor) i want to check the syntax line by line and then wants to show all the errors together . like now we go to abap editor n press check button it displays only one error at a time , my requirement is to
-
Third Party Drop Ship with Auto PO Generation
Hi All - I am using a third party drop ship process and I would like the PO to be automatically generated by the system. I have changed the configuration on the TAS item category and checked 'Create PO Automatically'. I went to OVX5 and maintained t
-
I'm using PC Suite 6.81.13.0 and my phone is a Nokia 7370. If I go into my contacts within PC Suite, edit a contact, click "Add Thumbnail" button, locate a JPEG file on my computer, then the thumbnail shows up fine within PC Suite. I then click the "
-
Help! I-Web error message
I am trying to save my draft web pages in i-Web and an error message keeps appearing: "The document i-Web could not be saved." I have done everything else I am supposd to do, as far as can tel. P. Andrew Sandlin MacBook Pro Mac OS X (10.4.9)