cancel
Showing results for 
Search instead for 
Did you mean: 

ALEAUD acknowledgements

Former Member
0 Kudos

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/

Accepted Solutions (0)

Answers (4)

Answers (4)

santhosh_kumarv
Active Contributor
0 Kudos

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...

Former Member
0 Kudos

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:QualityOfService>ExactlyOnce</SAP:QualityOfService>

</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

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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

http://scn.sap.com/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-se...

Former Member
0 Kudos

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

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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.

santhosh_kumarv
Active Contributor
0 Kudos

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...

Shabarish_Nair
Active Contributor
0 Kudos

how to guide is available - http://scn.sap.com/docs/DOC-16142

iaki_vila
Active Contributor
0 Kudos
maciej_jarecki
Contributor
0 Kudos

Hi

check configurtion on PI using program IDX_NOALE and add your idoc to list od requested for aleaud.

BR

Maciej