cancel
Showing results for 
Search instead for 
Did you mean: 

ALEAUD in IDOC to File Scenario

Former Member
0 Kudos

Hi,

I have a IDOC to file scenario in which im sending the PAYEXT IDOC from SAP to a bank as the IDOC-XML.

ie the user will create a payment in the SAP system , this shoud trigger an IDOC to XI. XI puts the IDOC-XML sturcture into a FTP folder path from which the bank will pick it up. Now the bank has to send an acknowledgement(asynchronously) that the payment was processed. And this response should be captured and returned to the user.

can we use ALEAUD as the acknowledgement or does using ALEAUD make no sense here?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It really depends on what you want this acknowledgment to do and when you say return to the user, exactly what does that mean.

Do you just want to update the original IDoc status? If so ALEAUD is ok, you could also use SYSTAT which is also a status IDoc can contain more information than a normal ALEAUD.

But like I said these will update the IDoc status generally if that is what you want then it is ok.

Answers (3)

Answers (3)

Former Member
0 Kudos

closed

Former Member
0 Kudos

Hi,

Assuming that the bank will send you a file to the FTP server you can simply pick up this file and mapi it to the Systat IDoc. I would assumt that the IDoc status's would not be in the file so you would have to do some value mapping or other logic to determine the IDoc status codes that you want.

The IDoc is very simple with few fields so the mapping should not be a problem.

Please note you do not use BPM for this scenario. In essence this would be a new flow of File --> PI --> IDoc

Import the STATUS.SYSTAT IDoc into the Design and play from there, you can make a POC now and test the functionality which would probably be best for you at this point.

Let me know if you need more details

Edited by: Alexander Ong on Jul 14, 2009 4:57 PM

Former Member
0 Kudos

Thanks for all your inputs.

The user user a txn F110 to create a payment. Lets say that i have configured XI to map the acknowledgement file from the bank to the SYSTAT idoc , what should i do with this SYSTAT idoc, i mean when the sender SAP system receives this SYSTAT idoc how will it be processed further. How will the user know what happened to her transaction , whether it was succesfull or not?

Former Member
0 Kudos

Hey,

It is quite straight forward the SYSTAT would update the Original IDoc and this can be seen in transaction WE02 or WE05

Former Member
0 Kudos

Ok. Thanks a lot.

Former Member
0 Kudos

need to use SYSTAT idoc in order to get updated of original idoc status..

ALEAUD will not be helpful here

Rajesh

Former Member
0 Kudos

Thanks.

What i want to stress is that the target system is a FTP system. The bank has not yet decided what ackowledgement its going to send to XI. But lets say the ackowledgement file will have info whether the payment info given in the PAYEXT IDOC was good or not.

Now where do i have to use the SYSTAT idoc and tell the user that the trnasaction was successfull?

Former Member
0 Kudos

Sakthi,

File will not support the synchronous call. So once the file reaches the ftp site of the bank you can receive the application acknowledgment and you can go from there. Please check soulution 2 in this doc:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df...

Regards,

---Satish

Former Member
0 Kudos

if you want ack from file transport ack can be achieved using bpm see the below blog for the same

/people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments

if you want app ack they need to generate a ack file which you need to pick via ftp sender map it to idoc and send it back to your source system..

Rajesh

Former Member
0 Kudos

Hey

This will be done as 2 separate async scenario.

first one will be from SAP(PAYEXT) to FTP.

second will be FTP to SAP (SYSTAT01).

the thing you need to look at is that how will the ack. from FTP partner find the corresponding IDOC in SAP system,if you will get fields like IDOC number etc back in ack itself,then you can populate that otherwise you need to store them when IDOC went from SAP to FTP and then populate those fields when ack comes back(will be handled via ABAP mapping).

Recently worked on similar scenario(with addition of FTP being FTP VAN),its a fun thing to do:)

Thanks

Aamir

Pl:ALEAUD will not work in your case,since that if sent back from XI itself,not from actual receiver system.

Edited by: Aamir Suhail on Jul 14, 2009 10:00 AM