on 03-26-2012 3:13 PM
Hi
I have 2 business systems - SAP and non-SAP (JDBC).
SAP is sender system which sends idocs to PI server, where mapping and transformation takes place and data is inserted into destination jdbc database tables.
Without using ccBPM, I want to get back ALEAUD idocs back to the SAP system.
I already have the logical system related to the SAP server assigned to the SAP business system. hence unable to reassign the same logical system to the non-SAP business system.
I have activated the required parameter for acknowledgements in SXMB_ADMIN.
The partner profile for receiving ALEAUD idocs is also present and configured.
Please could you let me know the steps I need to take in Enterprise builder to receive error acknowledgements back to SAP system via ALEAUD idocs so that the idocs in SAP system get the failure status/
JDBC Adapter supports only System acknowledgment and system error acknowledgment.
Using the report IDX_NOALE add the IDOC message type that you need acknowledgment and enable System OK and System Error check box.
~SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can see that the PI system is trying to send back acknowledgement in sxmb_moni.
Reliable messaging shows as below
<SAP:ReliableMessaging SystemErrorAckRequested="true" ApplicationAckRequested="true" ApplicationErrorAckRequested="true" SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
</SAP:ReliableMessaging>
However I keep on getting error as below
Unable to convert sender service XXX to an ALE logical system. Our dev system is already assigned as the logical system to the Dev business system in PI.
So I cannot re-assign it to the above non-SAP receiver system in PI.
SO how do I go about assigning the logical system to above sender? Should that be done in XI or in the back end SAP system (transaction BD54? BD64?)
Please can somebody help me here
You need to have logical system in the backend and that should match the name of your business system.
You might want to check michal's blog
Hi
Hi Baskar
Based on your input now I have started getting ALEAUD idocs back to sender SAP system. I have another issue though.
My receiver is jdbc adapter (data being inserted into sql tables). I can see a message Ack not supported in sxmb_moni (second message). Why is this generated?
Also the message has actually failed due to null exception on insert statement, how can I trap this error and send negative ack so that the corresponding idocs in sender system show failed status?
The problem is our support team does not get notified about this error and hence they cannot take corrective action immediately.
Would appreciate if you could guide me in this regard
JDBC receiver supports synchronous communication. So why don't create async sync without bpm.
This way you can collect the response and write it to file or some system.
Refer this link
http://scn.sap.com/thread/1932994
You can retrieve the number of records inserted count value. with this you get the response whether the insert happened successful or not. If you retrieve failure, you might send the response error.
Like I said JDBC adapter supports only System acknowledgment and System Error Acknowledgment but from your reliable messagin log I see that the Application Acknowledgment and Application Error Acknowledgment is also requested. Use IDX_NOALE report and disable this as i replied earlier.
SystemErrorAckRequested="true" ApplicationAckRequested="true" ApplicationErrorAckRequested="true"
This will stop message ack not supported message in sxmb_moni.
Tracking the null exception happening in the DB is the application ack which will not be supported. You should have to think about re designing to a synchronous StoredProcedure interface in that case.
~SaNv...
how to guide is available - http://scn.sap.com/docs/DOC-16142
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you check this blog http://scn.sap.com/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business...?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
check configurtion on PI using program IDX_NOALE and add your idoc to list od requested for aleaud.
BR
Maciej
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.