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
Vijay

Hi 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 haven’t 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.

Similar Messages

  • Nokia 6230i : how to send applications java from ?

    How to send applications java from nokia 6230i to an other nokia 6230i ?
    Looking for applications: "converter II, world clock II, translator".
    thanks.

    as hole is right ,there is no way can be sent , but i would like to know how the Mosh is working and which way everybody uploading the apps to Mosh ? i have downloaded apps from Mosh and want to send it to another phone and also i like to send some apps games to Mosh , thanks for any advise .
    The only thing necessary for the triumph of evil , is for good men to do nothing .

  • How to send sms port from Desktop applications to the Midlet?

    how to send sms port from Desktop applications to the Midlet?

    Depends on the API your SMS gateway provides, and may not even be possible. Even if you can send the SMS with a port specified, be aware that some carriers deliver the SMS without the port number, which will result in it going to the device inbox and so won't activate your MIDlet registered with the PushRegistry.
    I understand that you're working on a JavaSE application, but members who frequent the mobility forums might have more knowledge about this. Would you like me to move this thread there?
    db

  • How to send a file from FTP to external server

    My requirement is to send a file from FTP to D3(External) server.
    Now I am able to store the file in Appln server.
    I want to send the file created by the program thru FTP to D3 server.
    I know the username,Password,HostID,RFC destination details.
    How to send the file from FTP to D3.
    If u have any program,Plz send it...
    I dont want the function modules name...I want the example code ....
    Thanks in advance.

    Hi Sumi,
    You could do it so that you create a .bat or .cmd script to your server which does your ftp transfer.
    To do this you must use sm69 to create a external operating system command which you can call from FM SXPG_COMMAND_EXECUTE. To SXPG_COMMAND_EXECUTE you the file you need to transfer as a parameter.
    What happens is that your abap program passes the file to windows batch script (.bat .cmd) which will then do the transfer for you.
    Here's a sample of ftp-script for windows:
    echo open IP_ADDRESS_TO_YOUR_SERVER > c:zftp_transfer.ftp
    echo USERNAME>> c:zftp_transfer.ftp
    echo PASSWORD>> c:zftp_transfer.ftp
    echo put YOUR_FILE>> c:zftp_transfer.ftp
    echo quit>> c:zftp_transfer.ftp
    ftp -s:c:zftp_transfer.ftp
    also take a look here for more details:
    http://support.microsoft.com/?kbid=96269
    Ok, this might be a bit trivial but if your server is unix/aix etc.. Instead of using batch script you must do a shell script.
    Regards,
    Ville

  • How to send the data from mac pc to External drive

    how to send the data from mac pc to External HDD
    or Pen Drive but with out deleting the preview as data

    You can use "Finder", which is in your dock, to copy files from your iMac folders over to the external hard drive.
    Hope this helps

  • How to send automatic EMail from SQL or SAP B1

    hi experts as we are using SQL as DB i ned to send E-mails from sap system automatically but from SBO mailer  or Scheduler is not working from my side now i was planning to send emails from SQL can any one help me how to send emails automatically from SAP business one or from SQL

    Hi
    In SQL under Management\Database Mail
    You can configure account you use to send mails from SQL
    Then you can prepare procedure that will send mail
    for example
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'Hurtpol',
    @recipients = '[email protected]',
    @query = 'select isnull(syncherror,'''')  collate polish_ci_as
    from np.dbo.OITM
    where U_SynchStatus=''Failed''',
    --@body = @tresc,
    @subject = 'synch error'
    read about sp_send_dbmail

  • How to send ENCRYPTED email from 10v2

    Helllo,
    How to send ENCRYPTED email from 10v2 to end users who will receive their emails from Microsoft Outlook?
    I created a stored procedure to change user passwords. I need to email the users their passwords but the email message has to be encrypted since it contains user passwords. How do I use util_mail to send encrypted messages? The users will pick up their passwords through Microsoft Outlook. Thank you in advance.

    not sure what is the mechanics of decrypting (PGP maybe?)
    I have few tips ...
    1. look at DBMS_CRYPTO package
    2. create JAVA stored procedure (I'm sure there are some good samples to use java for encryption) to encrypt the body (this can be executed from pl/sql)
    3. save the body as a file on unix and encrypt it with unix command (this can be executed from PL/SQL utilizing UTL_FILE and JAVA stored procedure)
    4. forget sending the password in email and save the password on Oracle Apex site and configure access using single sign-on with transparent windows authentication

  • How to send an email from ADF11g.

    Hi,
    How to send an email from ADF11g.can u give example code and send me any link.
    Regards
    AP

    perfect and simple way is to use the java mail api from apache
    very simple, easy to use, and handle all types of emails.
    http://commons.apache.org/email/userguide.html

  • How to send an email from a VI

    Hello..
         I want to know how to send an email from VI. I am using Labview 8.6 . I tried some examples also. But when I run those VIs, I getting errror. It is smtp server error. I dont have any idea about how to change smtp server settings. Can any body tell step by step procedure to accomplish this task.. 
    Further, I need send an attachment with this email... 
    Please help me
    Thanks
    Prashanth
    Solved!
    Go to Solution.

    Hello harold..
               thanks for sending VI. I tried it, but I am getting following error
    Error 1172 occurred at Error calling method System.Net.Mail.SmtpClient.Send of ObjectId handle: 0xCD21184 for obj 0x212E63[System.Net.Mail.SmtpClient] in domain [LabVIEW Domain for Run] and thread 280, (System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
        Inner Exception: System.Net.Mail.SmtpException: Failure sending mail.
        Inner Exception: System.Net.WebException: Unable to connect to the remote server
        Inner Exception: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it
    ) in GmailLV86.vi
    How can I solve this problem..
    Please let me know.
    Thanks
    Prashanth

  • How to send group emails from ipad

    How to send group emails from ipad

    Thanks.  So matters haven't changed.  Ipad and iohone systems still not make use of the groups created in OSX Contacts, although one can "see" the groups synced through iCloud.  They just do not function as real distribution lists in Mail.
    With the Mailshot app, one creates Mailshot groups with Mailshot group name.  It's as smooth as a work around can get.
    Silly that Apple iOS folks never got around to connecting the contact groups now listed in iOS Contacts through iCloud syncing to also be fully functional in iOS Mail for the purpose of group emailing. 

  • How to send a video from  a macbook air to a tv with dnla

    how to send a video from  a macbook air to a tv with dnla ?without apple tv
    macbook air with os mountain lion
    thank you

    Do you have an Apple TV.  In which case AirPlay or if your Mac is too old, Eric Root's AirParrot suggestion.
    If no Apple TV, then a miniDisplay Port to HDMI adaptor and an HDMI cable  (a Thunderbolt to HDMI adaptor is really the same as a miniDisplay Port to HDMI adaptor).

  • How to send an iMessage from an iPhone to an iPod touch?

    Hi Guys,
    I installed the new iOS 5 on my iPhone 4 and i was wondering if somebody could tell me how to send a iMessage from my iPhone to my iPod Touch.

    to b very honest i think iMessage has been launched in competition to Blackberry BBM service.
    But iMessage being an Apple product is far more advanced.
    Also SMS and Email are two different things. cannot be discussed in detail here.
    I know people who dont use email on their iphone just to save on data usage. so sending them an iMessage makes sense.
    and now they save money on their message plan also.....!!

  • How do send an mail from apex

    Hello colleagues!
    How are u?
    Could you help me explain me how to send an email from Apex please?
    I suposed that Apex has an option designed for this purpose.
    I would thank you your prompt reply.
    Best Regards.

    Hello Erik.
    FYI this is the sytax I use to send an email in one of my pages as part of a PL/SQL process...
    l_id := APEX_MAIL.SEND(p_to      => v_recipient_mail
                          ,p_from    => '[email protected]'
                          ,p_body    => l_body
                          ,p_subj    => 'Issue Updated Regarding: '||INITCAP(:P203_SUBJECT)
                          ,p_cc      => v_cc_recipients
                          ,p_replyto => '[email protected]');Please feel free to post back if you get stuck.
    Regards
    Simon

  • How to send an object from one application to another?

    Hi all,
    I have two applications over the same server. The first application needs to send an object to the other application.
    I try to put the object as a session attribute, but in the moment that the second application tries to get the attribute, the attribute doesn't exist.
    Does anybody now how can pass an object from the one application to the other?

    You can also use JMS

  • How to send communication message from application server to load balancer

    Hi,
    Environment: 8 application servers are clustered behind a load balancer. Java/J2EE based client-server application
    When any one of the servers is supposed to go down, I want to send a message from that server, programmatically, to load balancer something which signifies "server is down or going down, do not forward any client connections to me". This is to avoid any CLOSE_WAITs.
    How do I achieve this? How can I send message programmatically from app server to load balancer? From very basic knowledge, SNMP can be used for this. But do not know how to start of. Any other means is also OK. Need details.
    Thanks
    Sunil

    At the same time we stop accepting any new connections [ServerSocket.accept() will be escaped during server shutdown].Just close the ServerSocket.
    Both these are working fine. But during the 25 seconds, still the client connections gets queued up trying to find that serverNot if you close the ServerSocket.
    reason being the load balancer is still forwarding requests to this server whose shutdown has started but not completed. So CLOSE_WAITS happen.Not if you close the ServerSocket. Not that the CLOSE_WAITS are the actual problem, as they will all disappear when the server exits. It's more that the clients shouldn't have been able to create the connection in the first place. Which wouldn't have happened if you had closed the ServerSocket.
    If we tell load balancer not to send any more client socket connections, then we completely avoid getting CLOSE_WAITS.If you close the ServerSocket ditto.

Maybe you are looking for