Acknowledgement without BPM
Hi.
We have a scenario asynchronous ABAP proxy to JDBC.
We have setup the scenario so that the Abap proxy requests a acknowledgement from the JDBC adapter. This is working fine.
Is it possible to set an event for the acknowledgement or to wait for the acknowledgement before continuing?
We do not want to use a BPM for this.
Thanks
Hi Rodney,
from within your proxy, you must evaluate the ack and take different actions based on the status.
The code would be something like shown in the "Querying an Acknowledgment" section of the following link:
http://help.sap.com/saphelp_nw70/helpdata/EN/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm
Also, you may wanna wrap the ack query in a loop (DO ENDDO) while the ack is not returned, since it may take a while.
Regards,
Henrique.
Similar Messages
-
Regarding acknowledgement without using BPM
Hi,
regarding acknowledgement without using BPM,
i've read all realated document sap lib, but i am not clear on it.
what step do i have to follow?
1. IDOC to Java server proxy?
2. RFC to Java Server Proxy?
3. ABAP proxy to SOAP?
thanks & regards
dennis.> what step do i have to follow?
> 1. IDOC to Java server proxy?
For the IDOC you need not do anything, as IDOCs request ack's per default. For Java Proxies look here:
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3531 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
> 2. RFC to Java Server Proxy?
This is not possible.
> 3. ABAP proxy to SOAP?
Look in the online help for requesting ack's in ABAP proxy (it is similat leik in Java Proxies). You can only work with system ack's.
Regards
Stefan -
Error handling in File - XI - SOAP scenario without BPM
Hello!
We have a File -> XI -> SOAP scenario without BPM. The problem is that if the Web Service sends back an error XI tries to reprocess the same message again and again instead of taking the next one.
We do not want set the retry interval to NULL because most error cases are temporary connection problems and then also those messages would not automatically be reprocessed any more.
We also have to use BE instead of EO, otherwise the Web Service will not return a response. But we need the response to be sure that the processing was successful. The message volume in this scenario is quite high and we do not want to use BPM only for the error handling.
I know that from SP19 some additional adapter modules are available for async - sync scenarios without BPM. I tried to configure it like described in File - RFC - File without a BPM - Possible from SP 19. but it did not solve the problem. Does anybody have any other ideas? Thanks.
Regards, TanjaHi Tanja,
>>>The volume is 3000 messages/day on business days and 700 messages/day during weekends but the traffic will increase in the future
I think, you should check that out. It is assumedly only 2 days work to build a scenario:
IDoc -> BP
BP <-> SOAP/HTTP
BP -> IDoc (Acknowledgement)
In the process you need a condition branch, where you decide success or not. You need 2 Interface Mappings for filling the ALEAUD.
Just send 1000 IDocs to the Test-XI and look to performance monitoring at Runtime Workbench, to find out, how many message will be processed in one hour. Assumedly 3000 and more per day should be possible. The advantage would be to reduce number of systems (no file system) and messages (better monitoring) and using the standard (better maintenance).
>>>So you are suggesting I should use HTTP adapter and then add the SOAP header manually in a mapping?
Yes, build the SOAP envelop during the mapping. Most easy is to use XSL or, if your mapping is ready, an additionsal XSL. You can put the error into the Acknowledgement to see it in ERP transaction WE02.
Filling of ALEAUD fields:
E1ADHDR/MESTYP: original message type
E1ADHDR/E1STATE/DOCNUM: original IDoc number
E1ADHDR/E1STATE/STATUS: 68 in case of error, 53 in case of success
E1ADHDR/E1STATE/STATXT: Short description for R/3 user what has happend
I ve done such a scenario several times. That works without any problems.
Regards,
Udo -
Correlation issue in JMS adapter - SYNC/ASYNC scenario without BPM
Hi,
I am working on a SYNC/ASYNC scenario with JMS adapter without using BPM. My scenario is SOAP<>PI>JMS. I configured the interface as below:
1. SOAP Sender channel
2. JMS Receiver Channel writing to Queue A.
Module used: a. RequestOneWayBean
b. WaitResponseBean
Correlation Settings:
a. Set JMS Correlation ID to "XI Message ID"
b. Store JMS CorrelationID of request (Checked)
c. Set JMS Property to "JMS Correlation Id"
d. Value = "XI MEssage ID"
3. JMS Sender channel reading from queue B ( I am exporting the message from queue A and importing into queue B)
Module used: a. NotifyResponseBean
Correlation Settings:
a. Set XI MEssage Id to "GUID"
b. Set XI Conversation ID to "Stored JMS COrrelationID of Request"
I can see the cid in the message from queue A. But I observed thhat the header format of the message in Queue A is "MQSTR".
ISSUE:
1. While writing the message to queue A, below adapter log details(part b) concerned me:
a. Message '8747a7c2-2b06-11df-8055-005056a70ed6' successfully processed by channel
b. Could not create acknowledgements for message '8747a7c2-2b06-11df-8055-005056a70ed6'
I am not sure why I am receiving the message that " could not create acknowledgements"
2. While reading the message from the sender channel,I consistently get the error message as below:
a. XI message ID corresponding to JMS message with ID 'ID:414d51205341504449442e514d202020c67b954b20005602'
will be created as a new GUID with value '21bca916-424f-41f6-3347-c71090392b58'
b. Error while processing message '21bca916-424f-41f6-3347-c71090392b58'; detailed error description:
com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: found no correlation ID: RecoverableException:
found no correlation ID at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...
Below are the blogs which I have already gone through:
1. JMS Synchronous Scenario without BPM - Correlation Settings and Transactional JMS Session
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b028f6f6-7da5-2a10-19bd-cf322cf5ae7b
2. Note: 1086303
3. Sync / Async Bridge without BPM
In the note, they mentioned something about header being "MQRFH2". BUt in our case, the header is "MSSTR". Not sure whether it makes any difference.
Please help.
Edited by: GP on Mar 9, 2010 4:24 AMHi,
detailed error description:
com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: found no correlation ID: RecoverableException:
found no correlation ID at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...
This error would generally arose when there are multiple messages, got stuck in the outbound queue. Try to stop both the sender and receiver JMS comunication channels and clear both the inbound and outbound queues.
Once all the messages in the queue are cleraed, try posting the message again.
Regards,
Swetha. -
Reg Alerts using with & without BPM.
Dear Experts,
The flow of the inbound message is Customers>( Seeburger Adapter which receives the message and passes to the integration of XI CENTRAL HUB) CENTRAL XI HUB> XI HUB-->SAP System and the out bound is viceversa.
1. A Message failed with the Mapping Exception Error in the SXMB_MONI of the CENTRAL XI Hub. An alert should be raised for thsi error in the form of email..how this can be done WITHOUT BPM ? or WITH BPM ?
2. How to integrate This type of alerts with with Tivoli to raise a ticket with the support team ?Hi,
How you checked acknowledgment for IDOCs
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
For proxy acknowledgment please refer to help.
Best regards,
Wojciech -
Hi,
I can trigger an alert when we get an error message .
I would like to trigger an alert without BPM when we receive an acknowledgement succesfully from the legacy system.
Thanks,
SharmilaHi,
go through this links...
/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
/people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
regards,
Ansar. -
File-RFC-File (without BPM)- Issue
Hi All,
I am working on a File-RFC-File (without BPM) scenario in PI 7.1.
My scenario is having few problems like, its not able to delete the file from the source directory path (for which we have delete permissions) and it is an NFS system and it shows an error in the Sender file CC.
"Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId"
But it gets processed successfully and provides a written paramter which I could see in MONI, but again doesn't write the file in the target directory. Could you please provide your inputs and let me know if I need to do any additional settings w.r.to PI7.1.
These are the parameters which I have specified in the Sender File adapter
Processing sequence
AF_Modules/RequestResponseBean Local Enterprise Bean 1
CallSapAdapter Local Enterprise Bean 2
AF_Modules/ResponseOnewayBean Local Enterprise Bean 3
Module configuration:
1 PassThrough true
3 receiverChannel <FilereceiverCCname>
3 receiverService <Receiver Bus System>
Regards,
NithiyanandamHello,
Check out in module configuration tab for any "type error" or spell mistakes.
Check out this thread which might be useful for you :[ File - RFC - File without a BPM - Possible from SP 19.|File - RFC - File without a BPM - Possible from SP 19.]
regards
Ramesh -
Alert on a variable without BPM
Hello,
I have implemented a Idoc-PI-File scenario to integrate ECC to ESourcing.
I have implemented basic alert with the help of SAP ABAP table.
I want to trigger alert on a specific variable/field of the payload.
I can do that with the help of BPM. Is it possible without BPM?
Kindly reply.
Thanks & Regards,
Vishal KHi Vishal,
As mentioned in the blog /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function, alerts can be triggered from UDF.
In PI7.1, alerts can be triggered by using "RFC Lookup" standard function instead of UDF. SALERT_CREATE need to be used in the "RFC Lookup" standard function of Graphical Mapping. Refer this blog to work on RFC Lookup: http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20befc9a-aa72-2b10-ae9b-b0988791d457
Regards,
Geetha -
Duplicate Message ID issue in case of Multi mapping (without BPM)
Hi Experts,
I am doing one sample Example for my requirement of converting the single source message data into the multiple Target messages.
for example, when sender system is sending the 5 sale order details into a single message in PI then my Inbound proxy class of ECC R/3 receiver system must get this sale orders separately, that means inbound proxy class method must be triggered separately for 5 sale orders from sender system. for achieving this, I have used the Multi mapping concept in ESR (without BPM).
This scenario is in Asynchronous mode.
The below screen shots give the details on what I have configures so far.
IN ESR
IN ID
IN SXMB_MONI of PI
IN SXMB_MONI of ECC R/3 Receiver system (Error in Processing)
due to this error, inbound Proxy class method is not being triggered for the single Sale order details as well,
please let me know how to tackle this duplicate message ID issue when we have multiple payloads to process in a single message.
please also let me know if is there any other workaround to fulfil this requirement.
Thank you,
Regards,
JageshHi Nunu,
Check the below blog for restrictions.
Multi-Mapping without BPM - Yes, it’s possible!
Restrictions
Messages that result from the split in a mapping-based message split are sent using one AE. So only adapters running on the AE are supported. In particular, this means that target IDOC message splits are not supported since the IDOC adapter is not part of the AE.
Regards,
Praveen. -
File sender adapter:FILE to IDOC without BPM, can't see in SXMB_MONI.
Hi all
I have a FILE - XI - IDOC Async scenario without BPM.
I configured FILE sender adapter and IDOC receiver adapter. I made a mapping to transfer file data to the structure of IDOC.
Now when i am trying to load the file using command prompt, i cud see nothing in the monitoring. Whereas if i go to the communication channel monitoring of runtime workbench, i saw that CC is polling correctly and was reading the file also.
And also wen i saw in the processed folder which i mentioned in the CC configuration for the ARCHIVE DIRECTORY, i saw that file got transferred to the folder also.
I don't understand why i cant see anything in the monitoring.
Could anybody help me to rectify the problem. Is there anything i m missing ?
Regards
NainaRajesh/Amar
TCode:: SXMB_ADM->Integration engine configuration->specific configuration->runtime
Trace_Level = 3 then you can get all MONI PIPELINE Steps also
I did this change but cudn't see anything in SXMB_MONI.
This is how i have configured my process:
http://wiki.sdn.sap.com/wiki/display/XI/FiletoMultipleIDOCSplittingwithoutBPM
But instead of IDOC splitting i have simple FILE - XI -IDOC scenario.
I have configured everything exaclty the same way it is mentioned here. But for me the process is not visible at all.
I can't even see the first request message in the monitoring.
This is the message i can see in the communication channel monitoring:
2010-05-24 09:07:41 Success Channel CC_*: Entire file content converted to XML format
2010-05-24 09:07:41 Warning Channel CC_*: Empty document found. Proceed without sending message
2010-05-24 09:07:41 Success File "/xyz/ABC.txt" archived after processing
Is there any problem with the file and that could be the reason it cant convert the file to the request message MT_REQUEST and thus am not able to see anything in monitoring.
help me guys....this is a simple process and i m stuck...its frustrating
Regards
Naina -
Hi ,
I am following this weblog
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
but stuck up with what are the fields contained by ID in target message2 ...
Please check this for your clarification
http://www.flickr.com/photos/11212307@N08/1135395357/
Thanks
dushanthID will have only ID under it. instead of creating flat structure like the one above Jin has changed the strucutre below . you will have only ID field in it or you want u can add other fields in it .
Regards
Sreeram.G.Reddy -
Sync/Async communication in JMS adapter without BPM
Hi,
as of SP19 XI's JMS adapter offers this new feature for Sync/Async communication through JMS Adapter modules instead of using a BPE.
Now I would be interested to know if anybody has already successfully used this feature especially using WebSphere MQ as a JMS Provider (preferredly in the mode JMS Compliant: WebSphere MQ (non-JMS)).
I experienced some issues with the XI Message ID being used as the JMS Correlation ID which is then mapped to the MQ Correlation ID being truncated after 24 characters. So I don't exactly know whether this is due to wrong setup or some general issues with this messaging system.
Please let me know if you have any experiences at all with this new feature (please do not just post links to the following blogs, which I have thoroughly studied as well as the How-to Guide concerning this topic)
/people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
/people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
thanks & regards,
PeterHi Peter,
we working on the same Problem. Using IBM Websphere MQ as JMS Provider for the new feature: sync/async bridge without BPE.
we switched on a high level trace for the adapter framework and saw a problem in the receiving Object of the JMS correlation id. The notify bean receives the JMS correlationid in hex format. so the beans have two different correlations, which could not find together.
did you have any solution to get this new feature works with IBM Websphere ?
thanks
joachim -
Hi All,
Is it possible to do N:1 mapping without BPM in PI 7.1 ?
Thanks and regards
UmaHi,
>Yeah, It is possible.
how can it be possible based on ANY requirement ?
you just cannot receive many messages into PI and bundle them into
one without BPM - and this is final
can you tell the way if you know how to do it without a BPM
in any (even very specific) scenario ?
thanks,
Regards,
Michal Krawczyk -
File - RFC - File without BPM --- Object not found in ResponseOneWayBean
I am using PI 7.1, and facing the following error in File - RFC - File without BPM
"Error: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object not found in lookup of ResponseOneWayBean."
I am using 1 sender CC for File ( CC_LOTUSNOTES_CHALET_SND)
1 receiver CC for File( CC_LOTUSNOTES_CHALET_RCV_FILE)
1 receiver CC for RFC (CC_LOTUSNOTES_CHALET_RCV_RFC)
in the sender CC I have given Module parameter as:
Processing sequene
CallSapAdapter Local Enterprise Bean 2
AF_Modules/ResponseOneWayBean Local Enterprise Bean 3
AF_Modules/RequestResponseBean Local Enterprise Bean 1
Module configuration:
1 passThrough true
3 receiverChannel CC_LOTUSNOTES_CHALET_RCV_FILE
3 receiverService Bus_File
pls let me know where i am wrongHi
i am facing following error:
2009-12-03 09:08:17 Information The application sent the message asynchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
2009-12-03 09:08:17 Information MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
2009-12-03 09:08:17 Error MP: exception caught with cause java.lang.NullPointerException
2009-12-03 09:08:17 Error File processing failed with java.lang.NullPointerException -
Message Split -- File to Idoc Scenario - ( Without BPM )
I have multiple records coming to XI in a File and I have to create Multiple Idocs to R/3.
Due to Complexity of mapping I'm splitting Maaping step into 2 message Mappings.
A-->B
B-->C
In the 2nd Mapping step I'm doing message Split meaning for each Source record I'm creating multiple Idocs ( To be precise each record on the source becomes 4 idocs in the Target.
2nd Mapping step is as follows
Source 1..1
Sourcerecord 0.. Unbounded
field1 0..1
field2 0..1
filed3 0..1
Target
Message 1
Idoc 1.. Unbounded
Idoc Structure..
Message 2
Idoc 1.. Unbounded
Message 3
Idoc 1.. Unbounded
Message 4
Idoc 1.. Unbounded
So based on some criteria each record of Source will be mapped to 4 Messages ( 1 each under each Message )
Is it possible to do this without BPM?. Iam sending all these Idocs to same R/3 System.
Thanks for any help..RKHi,
See the blog
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
<i>Basicly we have 2 ways of handling such scenarios:
- we can use a block step and send multiple IDOCs from our BPM
- we can also do a little trick and send multiple IDOCs from the XI without a BPM
The first approach is a standard XI approach. It involves the use of a BPM
so the speed of this transfer many not be very good in case you'd like to send
hundreds or thousands of IDOCs in just one call.
The second approach uses a little trick that was mentioned several times
on the XI Froum by a number of XI developers but is still not very clear to the XI newbies.
It allows us to send multiple IDOCs without the use of a BPM. Most probably this will be your choice
if you'd like to use such 1:N (IDOCs) scenarios effectively.</i>
Please see the bwlow threads also..
IDOC Splitting
File To IDOC Thru XI
Multi-Mappings in BPM (XI 3.0)
Please let me know , your prob..is solcev or not..
Regards
Chilla..
Maybe you are looking for
-
E-Mail Array - Showing Up As Blank.
Hey Again.. So I'm now trying to e-mail a log of some script actions, which include an array of data that was processed, however it seems that while I can display the data with a write-host command, I cannot e-mail it? In this one I am trying to load
-
Mac Pro - 50% of the time, it does not turn on properly.
Hello all, I got my 8-core Mac Pro in september - very new - very happy - and all the rest of it! Two days ago however, my Mac starts playing up... It now boots with a car-like rev and roughly 50%-70% of the time I switch on the Mac it thinks for abo
-
How to send a Notification in the Background????
Hi Experts, I am working on a process consisting of 2 activities :- - Creation of a Proposal by the Employee - Evaluation & Approval of Proposal by the Manager I have these 2 doubts :- - I need to send a notification to the manager on cre
-
Hi all, I am trying to work out how to create an image gallery on a page whereby there is a set of thumbnails to the side and the relevant large image opens adjacent to the thumbnails when they are moused over. I have done this using the hide/show la
-
ITunes won't let me buy music, what do I do?
On my new Macbook Pro, when I go on ITunes and click on the price to buy something, ITunes asks me to sign into the ITunes store, but when I do nothing happens. So, I ttried clicking it again and the same thing happened. It always does the same thing