HTTP - XI - IDoc
Hello,
I want to post a message via XI in an asynchronous scenario to an IDoc.
I already have the sender message interface that should be filled via http.
How should the payload look like? Is XML possible to directly fill the sender message interface?
Thanks for the comment.
If I have the following MI:
testMI
field1
field2
Then could I use the following HTTP Body:?
<body>
<testMI>
<field1> 2 </field2>
<field2> 3 </field3>
</testMI>
</body>
Are there also other possibilities?
Similar Messages
-
How to Send Idoc Acknowledgements back to Http sender (Http to Idoc)
Hi
I have scenario: Http To Idoc
first requirment:
i need to map xml file come from HTTP Sender to Idoc (SAP system), and need to send Idoc acknowledgements/status back to Http sender.
second requirment:
while mapping COM Xml file come from Http to COMMAT04 idoc into SAP system i need to to check whether corresponding material already exist in R/3 or not, if material is not exist, process should be cancelled and alert should be raised. ( i mean to say before sending COMMAT04 idoc into SAP, corresponding material should be exist already, if not alert should be send to http sender)
please thrown some inputs, if sombody has already done with htis....
Thanks in Advance, and help would be appreciated..
Thanks and Regards
Rajesh BabuJust providing the specifics that Suhail has intended.
How to handle IDOC Acknowledgements in XI.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
RFC Mapping Lookups:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
Regards,
Ravi
Edited by: Ravi Kanth Talagana on Jul 7, 2008 3:32 PM -
Change FILE to IDOC by HTTP to IDOC scenario
Hi !!!
We have a txt FILE to IDOC scenario.
Now we want to implement a HTTP to IDOC scenario, but taking advantage of the mappings existing and avoid re-implement it. The HTTP calls must contain the text of the actual FILE.
What is the best way to do it?
How convert a txt FILE in a XML?Hi, Bhavesh
Rigth? Not exactly... I assume I need to create new receiver determination and to make some changes in integration directory (like message interface, message mapping), but if it's possible, i want to avoid changes in message mapping
In fact, I have more than one scenario (orders, stocktaking, cash up, bank information... ) and therefore, some complicated message mapping. This is the main reason to evaluate the best solution.
In your proposal... ¿How test if first imput is a XML or a TXT? ¿When and how call the java code?
Thank you in advance,
Carme -
Hi,
Plz specify me that whether i am following correct or not?what is the next steps i have to do?I stucked here.
1)created a Data type
2Message type3)Message Interface4)MM5)IM in IR.In the ID i have created 1)comm channel for receiver2)recevier Determination3)Interface Determination4)Recevier Agreement.
The inbound IDOC is MATMAS.only two values i have selected as data type and mapped.In ID,it is not allowing to create Sender comm channel.Is it OK?I have created RFC destinations and ports in SAPR/3 and XI.
What is the next step i have to follow.
After doing the above steps ,i have tested in Component monitoring by entering header info and payload.It has shown message sent succesfully.The payload i have given as
<?xml version="1.0" encoding="UTF-8"?>
<ns:HTTPTOXRPMFICO_MT xmlns:ns="http://urn:HyperTextTOXRPMFICO/sridhar">
<VERSION>MSR</VERSION>
<FISCYEAR>2005</FISCYEAR>
</ns:FILETOXRPMFICO_MT>
what i ahve to do from here..Plz tell me
Regards
Sridhar RajuHi Sridhar,
Plese check out his thread.Might be of some help to you.
HTTP-->XI-->IDOC
Regards,
Sulakshana -
hello everybody,
I designed my interface scenario http-PI-Idoc
Mapping is a very easy point to point
I would like know where ( to witch URL) the third part system need post xml data
this one?:
http://<mysever>:<myport>/sap/xi/engine?type=entry ???
or this?
http://<mysever>:<myport>/
and in wich mode i can set configuration?
it's necessary send also some parameters like Sender Interface, namespace, QOS?
In witch mode?
i'm searching a example about this but i don't find nothing
thanks
AlexRefer this link
http://help.sap.com/saphelp_nwpi71/helpdata/en/44/8f54b8b01e3673e10000000a114a6b/content.htm
Example:
http://sap-ag.com:8088/sap/xi/adapter_plain?service=sender&namespace=yahoo.com&interface=someinterface&qos=BE
which mode?
If you are using synchronous then specify QOS=BE otherwise (EOIO or EO) for asynchronous -
BPM HTTP Sync - IDOC Async Timeout
Hi!!!
my scenary is using a BPM
HTTP sync <--> BPM -> IDOC
my IP
receiver sender1 transforme sender2
SI_ABS_SYNC SI_ABS_REQ OM_ABS_REQ_to_ABS_RES SI_ABS_RES
SI_ABS_REQ SI_ABS_REQ Close S/A Bridge
Open S/A Bridge SI_ABS_RES
Create New Transaction
HTTP IDOC Mapping HTTP_Response
-> -> -> <-
-> <-
the steps the BPM pass
receiver -ok
sender1 -ok
tranformer -ok
sernder2 - mistake
could you help me, what i need to move or configurate to return the response message
the tranformer is a Mapping with return a ID that it is in the request message, i simple sent to return
Levy GonzalezHi Levy,
this forum is about SAP NW BPM, not PI ccBPM. Please post your question in the PI forums, I´m sure there are people that can help you.
Best regards,
Matthias -
Hi,
Can any one tell me how to proceed with a HTTP request which is sent to ECC system in form of Idoc and I want the response back from The Idoc Format.
i.e.Request- HTTP-SAP XI------IDOC
i.e.Response---IDOC -SAP XI----HTTP
Any Help Is Highly appreciated.
BR,
Sainath Chutkehi,
if you want like this:
Request- HTTP-SAP XI----IDOC - Response-IDOC -SAP XI----HTTP
then it's not possible with IDOC
if like this:
first flow i.e.Request- HTTP-SAP XI------IDOC
second flow i.e.Response---IDOC -SAP XI----HTTP
as two flows then it's standard
Regards,
Michal Krawczyk -
Sender communication channel for HTTP and IDOC
Why the sender communication channel is not necessary for HTTP and IDOC
Hi,
Because they lie on ABAP stack ie on Integration Engine...so that they can process directly but other adapter lies on Adapter engine.
Regards
Hemant -
Hi Experts,
We are receiving orders from our customers into sap system through PI but the problem is we are getting same orders twice from
them as it is creating duplicates in our sap system.
So I thought of doing RFC look up where if that order exist in sap system I can raise exception that duplication order as occured.
But the problem is it is coming through with the same time frame like when they send order it is coming with the gap of milli secs.
So from PI side how I can handle this duplicates.
Please help meRaju,
You can't handle this in PI lookup. If the transactions are coming in msecs apart lookup is not the approach that I would prefer. The reason I'm saying this is because your mapping program won't wait for the first IDOC to post successfully and then do a lookup on the next order do find a duplicate - it's going to be multi threaded process where each transaction executes individually. I would think this should be handled in ECC. Don't post your IDOC immediately. Change the partner profile to post IDOC by Background program and then have your ABAP program (which is responsible for posting an IDOC) to check for duplicity.
This is just my perception. Wait for other experts advice too!
Raj -
Hi,
HTTP - XI - iDOC is my scenario.....
i am facing problem in iDoc adapter...
the error category is idoc adapter and the error id is "ATTRIBUTE_INV_SND_SERV"
Which RFC destination and port should in mention in Communication Channel? Either the receiver or XI?
forward your suggestions....
Thanks,
RPNhi rpn,
check this links
Go to Int. Directory -> Double Click on your IDoc Business System -> Menu -> Service -> Adapter Specific Identifiers
Maintain Logical System name and System ID and Client number.
Check the following blog.
The specified item was not found.
Unable to convert sender service to an ALE logical system
ATTRIBUTE_INV_SND_SERV
XI 3.0, Party and Service problems (IDoc inbound)
Trouble shooting file to IDOC and IDOC to file
Troubleshooting File-to-IDOC Scenario in XI.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/error%2bhandling%2bin%2bfile-idoc%2bscenario
see the below links
ALE configuration for pushing idocs from SAP to XI
Introduction to IDoc-XI-File scenario and complete walk through for starters.
idoc settings Configuration steps required for posting idoc's(XI)
Also
/people/sravya.talanki2/blog/2005/10/27/idoc146s-not-reaching-xi133-not-posted-in-the-receiver-sap-systems133
IDOc testing - Generate Test Case for an IDOC Scenario
regards
srinivas -
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? -
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. -
Hi All
I have senario IDOC - HTTP the flow will be like this
IDOC - HTTP - HTTPRESPONSE - IDOC AUDIT
I have planned to use BPM but the problem is when Creating Message interface i cannot make
idoc as sych so please tell me how may MI and IM will come
JayaramanHi Prateek
Thanks for the reply but the problem is
1) Receiver( IDOC ) - xyz idoc -ok
2) Tranform(idoc to http) - ok
3) Send Sync
The problem is here i need to create a Syn MI that is
IDOC - HTTP
HTTP- AUDIT
how to create MI and when you creat interface mapping also the problem will arise
and when configuring Interface determination it will ask for SYNC inbound how to over come this problem
Jayaraman -
Logical system for IDoc acknowledgment?
Hi,
HTTP --> XI --> IDOC (with acknowledgment) is my scenario
whether the inbound and outbound parameters should be configured in the same logical system or in a different one (in transaction we20)
Thanks,
RPNFor IDOC acknowledgement ,go thru this and do the settings :
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
This will help u :
Configuration Tips for a Business Service/Integration Process to send back ALE audit IDOC -
Hello -
Scenario is IDOC to XML to HTTP.
IDOCs will be coming into XI and based on the vendors will be routed to various Suppliers.
I used BPM to configure the error handling.
If i get an IDOC and is successfully sent then i have no problem.
Lets say there is a problem in transmission of the IDOC then i need to keep sending the IDOC for a period of time. If within that period of time if i get a response then well and fine else throw an exception.
Now while the above scenario is running another IDOC is picked up by XI. now will this IDOC overwrite the previous IDOC?
Will the older messages be overwritten by the newer ones or internally XI handles through multithreading?
TIA
JerryHi Lloyd,
Are u using BPMcollect pattern for Idocs?
If so, then it is working based on Correlation concept.. So foreach correlation id it will create one new instance.
There will be a chance of Message loss during this .
This blog may give some hints-
/people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
Some of the SAP Notes- 898131, 852019
Hope this helps,
Regards,
Moorthy
Maybe you are looking for
-
Automatic multiple batches creation during GR
Hi Experts, I have a problem, wherein in a PO i m entering 1 line with a material code, but vendor sends total quantity in multiple lots specified in invoice.My query is how can i do GR for multiple lots in single transaction? Thanks KDS
-
Which hard drive is the best for iMac (late 2012)?
Wich hard drive is the best for the new iMac. I thought one of LaCie, do you guys know better hard drives. Please comment. It would be nice if it has Thunderbolt or/and USB 3.0. Not too expenive.
-
Hi I am creating the contract for the MTO material and creating the sales order with reference to sales contract r. When the process order is created , contract is assigned in the process order instead of sales order and the sales order stock is pos
-
Embed an HTML5 interaction in a webpage without tracking
I am developing a course in LearnDash, a WordPress plugin LMS. I would like to create some rich media interactions like drag and drops and other HTML5 interactions in Captivate and then drop them into my LearnDash course. I do not need to capture use
-
Call ABAP WebService with Elips Studio /Flex
Hi everybody, Does somebody has experience with Elips Studio for Flex? I can't find much about it.. I would lik to call my SAP Webservices into my Elips project. (I know it's not the same as a regular Flex project, there are some differents...) Can s