Acknowledgement from XI
Hi,
I am integrating a legacy application with SAP CRM using XI. The integration can be asynchronous but client has legacy system requirement to receive a blank message as acknowledgement (Response) once XI receives the message. This shows that Legacy to XI synchronous & XI to CRM Asynchronous which means I have to use BPM.
Is there any way by which I can send acknowledgement to legacy system? There are many interfaces to be built using this solution and the acknowledgement will be different for different integrations.
Whats is the good solution for this?
thanks,
KP
Hi,
yes you could create a BPM , and in the BPM have a synch- asynch bridge. So when ur legacy system calls the BPM its sycnhronous, in the synch-asych bridge send an ack back, and after that you could continue with ur BPM in asych mode, taking with CRM.
(Using a Receive Step to Open a Sync/Async Bridge)
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
cheers,
naveen
Message was edited by: Naveen Pandrangi
Similar Messages
-
Acknowledgement from receiver file Adapter with out BPM
Hi Gurus,
I am trying to get Acknowledgement from Receiver file Adapter with out Using BPM.
Here is the scenario. I am sending files from different Sender Adapters. There is only one target that is File Adapter. After each successfull and failure transaction I need an Acknowledgement that needs to trigger another receiver adapter and send the the file name and timestamp to that file.
Hope this is a complicated scenario. Please help me.
Thanks,
Kevinfrom sap note 821267
6. Acknowledgements
* Q: Does the File Adapter support acknowledgements?
* A: You need to distinguish system acknowledgements (indicating that a message has been received by the target system) and application acknowledgements (indicating that the message has been successfully processed by the application on the receiver side).
The receiver of an XI message will only send an acknowledgement back to the sender if the sender has requested one. However, the File Adapter has no functionality that relies on the receipt of an acknowledgement, so it never requests one.
On the other hand, if a File Adapter Receiver receives a request to send an acknowledgement, it will do so for a system acknowledgement request. Application acknowledgements are not supported at all as the File Receiver has no way to determine if the written file has been correctly processed by the back-end application, which is what a positive application acknowledgement would imply.
this means that your requirement is ideally not possible without a BPM -
Succesful IDOC acknowledgements from ECC
Dear MDM gurus,
What is the best way to handle acknowledgements from ECC (INTO MDM) for inbound IDOCS from MDM (MDM->XI->ECC).
We want it such that when an IDOC gets posted into ECC succesfully,it should send an acknowledgement signal back to MDM saying that IDOC was received properly.
Thanks.HI Mugdha,
I have a concern on the Acknowledgement (ALEAUD) Idoc. I have implemented this scenario wherein DEBMAS IDoc is posted from MDM -PI - ECC and ECC sends back the acknowldgement using ALEAUD Idoc.
However, in PI (SXMB_MONI) there is no separate message entry created for this acknowledgment. The ALEAUD acknowldgement message details is attached to the original DEBMAS message which was triggered from MDM - PI - ECC. Due to this, PI interface created is not able to read the acknowledgement message and process it to post/dump the target file onto the MDM Port.
I tried triggering and ALEAUD Idoc manually using PI - RWB which generated a separate message for ALEAUD Idoc in sxmb_moni and then my target file was created in MDM (But this is just a manual way of testing the PI interface).
Can you advice on how this concern can be dealt with?
Thanks in advance,
Elizabeth. -
Hi experts,
Actually what i want is i am writting one sql file ,in that file i am trying to update some rows of emp table. What is the requirement is is the updation is done then i have to perform one task or i have to perform another task .I am asking if is there any way to get the acknowledgement from sql whether an update statement has successfully executed or not.
In unix we do the same thing via $? .
I think i am clear.
Regards
RajatWhat do you mean by Failing here?
If the Update hits a Unique Key Constrain violation or violation of any other constraint then it will be raised.
So the op has to define what Failing means here. If the op thinks not updating any row is failing then no error is going to be raised. But usually that is not considered as failing of an update statement.
In that case SQL%ROWCOUNT will give the number of rows the current update statement has processed.
Thanks,
Karthick. -
PO acknowledgement from vendor in system
Hi gurus,
PLease let me know the procedure for getting acknowledge from vendor for PO...
Once po created , how to get acknowledge and what are settings required for the same.. how to use that option..
plesae explain..
thanks in advanceVendor Acknowledgment can be used with Confirmations Concept
After Receiving PO, Vendor will notify you acknowledgment through mail/phone/ some other source.
Then, in ME22N, In the Item Details, Confirmations Tab (BELOW),
You Acknowledge the materials,...
Then only system will allow you to do GR in MIGO.
You have to activate Confirmations In SPRO,and Vendor Master data
Edited by: Anand K on May 1, 2008 3:17 PM -
HI Experts,
Trying to make acknowledge from XI to R/3 through BPM but get error message Unable to convert the sender service <BPM_Process> to an ALE logical. The XI process flow is from SAP with Idoc to XI BPM and to JDBC. Have check setting in Adapter specific identifier which has logical system. Could experts have same experience before, please advice?
Thanks in advance.
KatjunHey,
Have you maintained all the ALE setting from R/3 to XI > and the Port on Idoc Adapter IDX1 >? Once try to specify Adapter Specific identifier to the bpm process .
<b>Cheers,
*RAJ*
*REWARD POINTS IF FOUND USEFULL*</b> -
How to send application acknowledgement from R/3 system
Hi guys,
How to send application acknowledgement from R/3 system. Ex. we have post one IDoc and check user validations. Suppose date is wrong that means indicate earlier or wrong date but date format is correct. In this situation we need send one acknowledment to sender.
How to find the solution? pls tell anyone.
Regards
VijayHi Vijay,
Plz do perform the following steps:
1) In the Integration Server, call transaction SE38
2) Run program IDX_ALEREQUEST to process IDocs with message type ALEAUD as XI request
message.
3) Now Enter Sender Port, Sender Client,Partner Number, Partner Type, and Partner Rol
4) In Integration Directory, configure the routing of interface
5) Call transaction SXMB_MONI to display the XI message.
Also,
Further in IDX5 as well you will find entry for IDoc ALEAUD.ALEAUD01
Please go through the link
1)Succesful IDOC acknowledgements from ECC
2)https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
3)https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
After you triggered the IDoc by e.g. tcode: WPMA and IDoc reached FILE system, FILE receiver CC actually is only able to send acknowledgment types SystemErrorAck and AckNotSupported.
This is because:
- IDoc sender adapter requests the following acknowledgments:
SystemAckRequested="false"
SystemErrorAckRequested="true"
ApplicationAckRequested="true"
ApplicationErrorAckRequested="true"
- File receiver adapter that run on the Adapter Engine support system acknowledgments and system error acknowledgments if they are requested by the sender. These acknowledgments are triggered when a message is successfully processed by the adapter or if an error occurs while it is being processed.
If you havent suppressed acknowledgments for IDocs WP_PLU in IDX_NOALE in XI then you will get:
SystemErrorAck when message has not reached the FILE system
AckNotSupported for all others acknowledgement types
QQ) Will this IDOC Ack applicable for this scenario???
Rather not, since FILE adapter does not support any other acknowledgements then system and IDoc adapter does not request other acknowledgements then application + SystemErrorAckRequested.
In sender system your IDoc will be always in status 39 (instead of 03), when acknowledgement is turned on.
This is because:
For SystemErrorAck the corresponding ALEAUD status is 56
For AckNotSupported the corresponding ALEAUD status is 50
Both inbound 56 and 50 statuses end up in 39 for your outbound IDoc in sender system.
Q1) Will this ALEAUD Idoc contains any Message from File System????
In both cases, it will result in status 39 - IDoc is in the target system. So it does not matter.
Q2) Basically what Information will contain this IDOC Ack.
Idoc number from sender system and status 56 or 50 depends on acknowledgement type.
Q3) Do we receive any Info from the Target File System , if we implement this Ack concept??
Nothing useful.
Remember that File Receiver has no way to determine if the written file has been correctly processed by the back-end application. However, if your FILE application can read your WP_PLU message and after successful processing is able to generate any kind of message then you can acknowledge the communications but you will not be able to link original message with the acknowledgement request message.
To do that you need to configure just normal scenario (that will be your new acknowledgement scenario) FILE -> XI -> R/3. Your FILE service will send ALEUAUD Idoc to R/3 system. Your FILE application must take care to generate proper ALEAUD XML message. In order to treat ALEAUD as a request message (not standard acknowledgement) you need to run IDX_ALEREQUEST in SE38 on XI.
Q1) It means if the Idoc not reached to Target File system means we can able to get the System Error Ack to Sender SAP R/3 System. Am i Right????
Supposed you have turned off acks on XI (tcode: se38, IDX_NOALE) for your sender port/client:
You have sent the IDoc and the last status is "03 - Data passed to port OK"
You don't know whether it was even delivered to XI ...
Supposed you have turned on acks on XI (tcode: se38, IDX_NOALE) for your sender port/client.
1)
You send and IDoc and it has been delivered successfully to FILE system.
Adapter Engine creates acknowledgement type: AckNotSupported
In XI you can see Ack Status: AckRequestNotSupported (Acknowledgement not possible). Category: permanent.
XI will send ALEAUD IDoc to R/3 system: status "50 - IDoc is added"
The IDoc status in sender will be "39 - IDoc is in receiving system (ALE service)".
2)
You send and IDoc and it has not been delivered successfully to FILE system. e.g. FILE server is down.
Adapter Engine creates acknowledgement type: SystemErrorAck
In XI you can see Ack Status: Error (Acknowledgement contains system errors). Category: transient.
XI will send ALEAUD IDoc to R/3 system: status "56 - IDoc with errors is added"
The IDoc status in sender will be "39 - IDoc is in receiving system (ALE service)".
So status 39 means only that IDoc reached XI, but you don't know whether it was delivered to FILE system or not.
Q2) And one more thing is Even though we are dealing with the IDOCFile OR FileIDOC we can able to get the ACk of Type System Error Ack only. Am I Right?????
No, "Sender adapters of the Adapter Engine do not request any acknowledgements."
Q3) So the same case( Which we disscused for IDOCFile) is Applicable for FileIDOC also????
No.
Can we able to get the System Error Ack, if the File is not reached to SAP R/3( Target here)
No.
Q4) If Yes to Q3 means,Where this System Error Ack will be seen in File System side???
Do we need to do any extra settings to receive these System Error Ack at File system side??
Not relevant.
Regards,
Vinod. -
Acknowledgement from MDM to PI.
Hi All,
I am new to MDM. We have a requirement ECC->ABAP Proxy->PI->MDM Adapter->MDM. And Acknowledgement has to be sent to PI from MDM.
Using MDM 7.1 and PI 7.1 versions.
The interface is working fine but no acknowledgment is received at the PI.
In SXMB_MONI of PI: Staus is Success. (But no Ack Staus.)
RWB: Message Processing started.
Message Prcessing Completed Successfully.
My question is, do we need to do any configuratiions in MDM side or PI side to receive Acknowledgement from MDM?
Referred Links:
/people/ramesh.gulipalli2/blog/2009/11/16/sap-47-to-mdm-integration-using-pi71-part1
/people/ramesh.gulipalli2/blog/2009/11/27/sap-47-to-mdm-integration-using-pi71-part2
/people/orit.prince/blog/2009/02/03/how-to-schedule-mdm-inbound-processes-with-pi-ccbpm
Thanks in advance.
Prasanna.Hi Prasanna,
First thing, I hope that you are using MDM PI Adapter rather than File Adapter. As MDM PI Adapter delivers the message to the MDM server by using the MDM Java API ports functionality. Then The MDM PI Adapter updates the message delivery status in PI Monitoring.
Second thing, Your MDIS (MDM Import Services should be running) because it imports the message independently (MDIS). Once completed, a processed import event is triggered. Then The MDM PI Adapter captures the processed import event and updates the PI Monitoring with the message import status.
Please have a look on Statuses(No error, contain errors etc) for Acknowledgment of Messages (inbound messages to MDM):
http://help.sap.com/saphelp_nwmdm71/helpdata/en/48/986fec0e0e0e27e10000000a421937/content.htm
Also refer, Inbound Message Flow to MDM
http://help.sap.com/saphelp_nwmdm71/helpdata/en/48/cee75a6dc1581ce10000000a42189c/content.htm
Complete MDM PI Adapter Guide:
http://help.sap.com/saphelp_nwmdm71/helpdata/en/48/956cd09521062de10000000a42189d/frameset.htm
Note: Your MDIS services should be running because only this triggers import event when data successfully imported into MDM. Then this event captures by MDM PI adapter which updates PI monitoring with message import status.
Regards,
Mandeep Saini -
Hi all,
I am implementing MM-SUS scenario. I have replicated the vendor and I am able to send PO and change POs to SUS. When I try to send the PO Acknowledgement from SUS, I get the following error: "HTTP_RESP_STATUS_CODE_NOT_OK". Any ideas on how to resolve this error.
Thanks
VenkatVendor Acknowledgment can be used with Confirmations Concept
After Receiving PO, Vendor will notify you acknowledgment through mail/phone/ some other source.
Then, in ME22N, In the Item Details, Confirmations Tab (BELOW),
You Acknowledge the materials,...
Then only system will allow you to do GR in MIGO.
You have to activate Confirmations In SPRO,and Vendor Master data
Edited by: Anand K on May 1, 2008 3:17 PM -
How can I send acknowledgement from B2B
Hi,
I want send acknowledgement from B2B. I don't want to sue As2 protocol. Can I send acknowledgement from B2B through file or JMS protocol? Is is possible in B2B?Hi Roshni,
Please post Oracle B2B related queries in B2B forum -
Integration - B2B
AS2 is an exchange protocol which mandates the acknowledgement as part of it's specification, whereas File or JMS are transport protocols and hence no exchange level acks can be exchanged for these. Though both File and JMS have transport level acks and on the basis of transport level ack only, B2B considers whether a message has been sent successfully or not. If you need extra layer of ack then you may always use a functional ack.
Regards,
Anuj
Edited by: Anuj Dwivedi on Feb 7, 2013 3:58 PM -
How to get Acknowledgement from legacy system in an Asynchronous scenario?
Hello Experts,
My current scenario is to send an invoice from ECC --> ABAP proxy --> PI --> webservice --> Legacy system & I need acknowledgement back to ECC system from legacy system. How SAP XI acknowledgements work in asynchronous scenarios?
Please guide.
Thanks & Regards,
Nidhi KukrejaHi nidhi,
please check following link
http://help.sap.com/saphelp_nw04/helpdata/EN/44/932e8896b610bbe10000000a422035/frameset.htm
Also check this one.
http://help.sap.com/saphelp_nw04/helpdata/EN/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm
hope this helps..
- Deepak. -
BPM - IDOC System Acknowledgements from R/3
Hi My scenario is File-XI/BPM-R/3(Idocs).
In Integration process, we configured 'system ack' in Send Step which sends Idocs to R/3 system.
BPM Process stays in 'STARTED' state forever though XI received acknowledgement ( in SXMB_MONI, on the main screen ACk Status is in '?'mark meaning its still waiting for Acknowledgement. But the moment you click on the message Ack status becomes 'Ack received' and BPM ends".
This seems to be a bug.
How can the Acknowledement staus changes the moment you clike on the message?. Does anyone have same issue?. Any suggestion will be appreciated. we are on PI7.0 sps6.0 environment.
<b>we donot want to deal with ALEUPD..so please do not suggest to config ALEUPD.</b>HI,
see the below
The Business Process Engine supports Acknowledgments when sending asynchronously as follows:
Acknowledgment------ Processing of Send Step
Receiver system does not support requested acknowledgments --- Send step completed successfully
Positive acknowledgment----
Send step completed successfully
Permanent negative acknowledgment------ Send step triggers system error for which you can define a specific exception handling.
Temporary (transient) negative acknowledgment------- Send step continues to wait because the temporary acknowledgment can still change to a permanent or negative acknowledgment. This can occur in the IDoc environment in particular, for example, when a user intervenes.
Exception or error handling within the integration process is not possible. However, using message monitoring you can determine whether the acknowledgment is temporary or not.
Acknowledgment with multiple receivers A message sent from a send step can have multiple receivers. In this case, the system duplicates the message accordingly. Acknowledgments returned from the respective receivers are ignored and the send step continues to wait.
If multiple receivers are possible and you want to evaluate the individual acknowledgments, you must define the integration process accordingly. To do this, determine the receivers in a receiver determination step and send the message to the individual receivers in a loop.
For more information about acknowledgments, in particular how they are used in the adapter environment,
Note: see SAP Note 837285.
Regards
Chilla -
How to receive acknowledgement from Vendor via SOAP adapter.
Hello Experts, my outbound scenerio is R3>PI->Vendor via the URL given by vendor. From PI i'm sending my POs via SOAP adapter and in the conversion parameters I choose the check box "Do not Use SOAP Envelope" My message reached the vendor. Now vendor sends back a functional acknowledgement indicating the message had been received and processed. Below is the entire XML file content.
<MessageAcknowledgment>
<AckLocation>Medical</AckLocation>
<AckRefNum>98712345</AckRefNum>
<AckNote>200-Accepted</AckNote>
</MessageAcknowledgment>
Can anyone let me know how to receive the above message? What setup do i need to do?
Thanks,
Edited by: XISearch on Jan 10, 2011 3:05 PM>>> Can anyone let me know how to receive the above message? What setup do i need to do?
Solution: You need to create a synchronous scenario.
Might be at R3 side proxy sender and vendor side Reciever Soap
Basically PROXY <------> SOAP
Map the proxy request message to soap(vendor) request message as REQUEST MAPPING
and
Map the SOAP (Vendor) response message to proxy response as RESPONSE MAPPING
and in the backend parse the response.
If you need more details, Please let us know. -
Acknowledgement from a BPE fails inside an IDoc to BPE-scenario
Hi,
we have PI/7.0 SPS 10.
My scenario is quite simple: IDOC --> BPE (in XI) --> IDOC back to R3
Everything works good ... besides the acknowledgements.
I'm getting the error message
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_INV_SND_SERV</SAP:Code>
<SAP:P1>IP_KVVKS_CONTRL</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to convert the sender service IP_KVVKS_CONTRL to an ALE logical system</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I know, that the integration process has no logical system - that's true!
I know, that for "normal" IDocs sending from a BPE to SAP/R3, I can use a header mapping to enter a correct logical system.
But how can I do it with acknowledgements. Inside the PE I wanna send a transport acknowledgement back to R3.
Where can I enter a logical system for a BPE?
I tried to enter the logical system in the "adapterspecific ident." of the BPE - but it's not possible to enter a logical system two times (the logical system was already in use).
Afterwards I run the report IDX_NOALE to disable acknowledgements - works fine, but my boss wanna see the acknowledgements
What can I do?
Thank you all!
regards
Wolfgang HummelHi,
There is an option in the Receiver IDOC adapter called,<b> Restore Original Parties For Idoc Acknowledgements</b> . Have not tried this, but I think this option wil be able to help you out.
<i>Restoring Original Partners for Acknowledgments
If you set the relevant indicator, the original partners from the IDoc request message are used for acknowledgments. This means you no longer have to maintain the alternative identifiers (for party conversion) in the Integration Directory.</i>
http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm
Regards
Bhavesh -
IDoc Acknowledgement from SAP PI to SAP R/3 Server
Hi Experts,
I am sending an IDOC from sap r/3 to SAP PI. After receiving the IDoc I need to send back one acknowledgement to the sap r/3 server, without reaching the target side. Could you guys please help me?
Thanks
Dipankarit can send back an acknowledgement IDoc (ALEAUDIT) back to R/3 system
This configuration works for sending ACK message back to the Source system from the Target System and should not be mistaken to enable PI to generate the ACK and send back to the Source system.
What can be done is include the source system as receiver in the receiver determination (SAP system is both at the source and target....alongwith the existing FILE target service)......configure different ID objects for this Source > PI> Source ACK flow .... map required data in the mapping.....depending on your need you can use the target structure IDOC/ PROXY/ RFC.
Regards,
Abhishek. -
Asyncronous acknowledge from file adapter
Hi,
I have the next scenario: SAP IDOC --> XI --> Flat File.
I want to retrieve some functional acknowledge information from the third system which XI sent the flat file to.
The third system can send the acknowledge information in another flat file.
Do you have some experience in a similar scenario?. I guess I have to use some BPM, maybe when XI send the flat file, It would have to wait the acknowledge file.
If I don't use a BPM, how I can correlate the "information message" with the "acknowledge message" ?
Regards,
FranciscoHi,
Given this case,
if you get the docnum in your response, you can update the status of the idoc by the below way.
1) map it to an ALEAUD or STATUS idoc type
- the information what you need will ONLY be the Docnum of your base Idoc (which you sent earlier to file system)
2) post this idoc in the SAP system & your Base idoc's status gets changed..
when you use ALEAUD idoc type, you may have to follow certain things for appropriate status. check the msg with subject "Acknowledgements ever switch to Status 39" in the forum
Also, I am not sure if you can do this without BPM. you need not co-relate (if you have docnum) & if you plan in this way of doing it.
Hope this helps.
Regards
Vishnu
Maybe you are looking for
-
Reboot during lion installation
Hi @all, i've downloaded lion from the App-Store. After the download the installer startet automaticly and reboot the System. The problem is, that the installer starts after the first reboot and failed with no error and shutdown the system. After res
-
Is my iPhone's warranty still active ? I had a little accident.
Hello guys. I have a problem with Siri not listening (after some searching I found out that apple will replace my iphone for this problem), but recently I dropped my phone and I cracked the glass in the upper right corner (about a 0.15in crack - almo
-
trying to get to this site http://otn.oracle.com/tech/xml/xmldb/demonstrations/9202_Demonstration.<font%20style='background-color:#ffff00'><b>pdf</b></font> results in this error Invalid value specified. (WWC-41409) Object not found. (WWC-50003)
-
'System.IndexOutOfRangeException' Error in VB
Hello everyone, I'm trying to call a BAPI from VB. This BAPI is actually just a wrapper of the standard function module 'BP_JOB_READ'. Unfortunately, when I try to call this BAPI, I get this error message: ===================== An unhandled exception
-
[CS5.1] Javascript functionality removed from Applescript?
I haven't been able to find any answers with this.. and starting to feel like i'm the only one with the problem. I just finally upgraded from CS2 - thankfully not a whole lot has changed and i've found solutions for converting most of my code, but th