IDoc with Acknowledgement

Hi all
i have a scenario in which an IDoc is updated fetching data from ODS table.We require the IDoc to send an acknowledgement depending on the processing it does .
In accordance with the IDoc acknowledgement we want to give an RFC call.
Can anyone help me in this scenario giving some information on IDoc acknowledgement.

Hi Mudit,
Here are some example of IDoc acknowledgement:
/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
Regards
Vijaya

Similar Messages

  • Web Service u0096 IDOC with acknowledgement interface

    hi experts,
    for this scenario do i need to use ccBPM??
    <b><i>Web Service – IDOC with acknowledgement interface.</i></b>
    because we need response from idoc and idoc supports asynchronous processing.

    hi,
    yes you need to use a BPM if you want to use
    acknowledgment to a web service from IDOC interface
    more on IDOC can be found in my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • JDBC - IDoc with acknowledgment

    Hello,
    I have the following requirement:
    Reading data via JDBC from a database (select query), creating an IDoc and send to SAP.
    If the IDoc was sent successfully there should be an acknowledgement written back to the database (there is a special coloumn for acknowledgements in the database,key is record ID).
    My question:
    - Is it absolutely necessary to use BPM for this scenario (I think yes, as I need to track the record ID to write back the acknowledgement?)
    - My idea was to use a send step for the IDoc with enabled acknowledgments (system or application ??). In case of positive acknowledgement I would update the database in the next step (How do you check the acknowledgment returned from the SAP system, do I need a separate asynchronous receive step to get the ALEAUDIT back?)
    Thank you very much for your advice on this!

    Is it absolutely necessary to use BPM for this scenario (I think yes, as I need to track the record ID to write back the acknowledgement?)
    i think the key of question is either transport ack or application ack?
    if you just need transport ack,actually,you do not have to use bpm!
    >My idea was to use a send step for the IDoc with enabled acknowledgments (system or application ??).
    apparently,you need it which is application ack,otherwise,whereis your purpose?
    >How do you check the acknowledgment returned from the SAP system, do I need a separate asynchronous receive step to get the ALEAUDIT back?)
    For the inbound IDoc adapter to be able to send an acknowledgment IDoc to the sender, a communication channel with the interface ALEAUD.ALEAUD01 must be maintained for the sender,that is your intergration process.

  • IDoc - XI - iDoc with Acknowledgement

    Hello,
    I am trying to send an iDoc between two R3 systems and receive system\application acknowledgement response.
    According to the How-To guide, all I have to do is to schedule a job for program RBDSTATE which sends the ALEAUD iDoc back to the sender system, and create a communication channel for iDoc interface in the sender service.
    After running the RBDSTATE program an ALEAUD iDoc was received by the original sender service but in the monitoring transaction SXMB_MONI it shows that the iDoc is still waiting for Acknowledgement.
    Has anyone implemented this scenario with any ideas ?
    Thanks in advance,
    Elad Saar.

    Hi!
    > Can you try executing that particular LUW again from
    > SM58?
    > Check your trace in XI for more info.
    If I execute the LUW again in SM58 the same error appears. In SM21 there is the following error:
    09:13:31 DIA   1 020 C12_X3D           D01 Transaction Canceled 000 ( )
    09:13:31 DIA   1 020 C12_X3D           R68 Perform rollback
    09:13:31 DIA   1 020 C12_X3D           R68 Perform rollback
    eading:
    The C12_X3D user is a user on XI that is used by the sending system.
    Regards, Tanja

  • File to IDOC with ACKNOWLEDGMENT

    Hi,
    Can anyone tell how to handle acknowledgment in FILE  TO IDOC scenario. ( no BPM please )
    Just tell me steps for this with any example but without using BPM.
    Thanks in advance..

    hi Prateek,
    >>You have to keep in mind that the acknowledgement in this case would be sent in the form of ALEAUD from receiver SAP system to XI. It could not be directly sent to file system without BPM.
    actuall it can be delivered to file system without a BPM
    you just need to specify that aleaud from this sender are treated as XI request messages
    unless I got your response wrong
    Regards,
    Michal Krawczyk

  • File 2 Idoc with Acknowledgement to Mailreceiver

    HI,
    i have a simple file to Idoc scenario.
    A file is sent to Xi, mapped to an ORDERS Idoc and the IDoc creates an SalesOrder in the SAP R/3.
    Is it possible to send an acknowledgement or something else back to a mail receiver ?
    In case the SalesOrder is processed -> Mail to the filesender (Mailaddress) everything is fine.
    In case the SalesOrder failed -> Mail to the filesender (Mailaddress) there is an error.
    ideas ?

    Hi Gordon,
    When Idoc creates SalesOrder in SAP R/3 an acknoledgement Idoc is created in R/3 for corresponding SalesOrder.
    You need to create a scenario in such a way that, when Ack Idoc will created in R/3 it will be picked up by Sender side Idoc Adapter and sent to XI from where you can configure Email Receiver and you can get Ack details through email.
    Regards,
    Shripad
    **Reward points if it helps you**

  • Idoc to ABAP Proxy with Acknowledgement Coming Back

    We are running SAP standard SRM scenario where our ECC systems are posting Idocs to PI which maps and sends to SRM as an ABAP proxy.  Can someone please explain to me the best way to have SRM send back an acknowledgement to the sending ECC system when the document has been posted so we can update the Idoc status?  We are looking for standard SAP config firstly, then will consider custom development if absolutely necessary.
    Thanks in advance!
    Peter

    Hi Peter,
    you can configure the IDOC ack setting and you can getthe idocs for acknowledgement in ECC side.Configure the ALEAUD message type in ECC and configure one Coomunication channel for the ACk in ID.
    if this is not clear just giive ur mail id i will send u one pdf or this
    Regards

  • IDOC with extension from external ECC system

    Hello experts.
    I have a scenario where I need to receive an IDOC with extenstion from an external system.
    how can I define the xsd of that IDOC in my PI system?
    will I need to receive an xsd file from the external system and import it as an external defenition?
    how is it done? (this 3rd party doesn't have a PI system, so they can't export XSD like me)
    another option is to build a similar IDOC with extenstion in our SLD, and import it into the PI system... but it seems  a bit problematic.
    I'll be happy to hear suggestions from people who had to implement a similar scenario.
    thanks,
    Imanuel Rahamim.

    Hi,
    Three questions:
    1. how your external system will send to you the data: by an Idoc-XML file ? or by directly an IDoc (so with an ALE config) ?
    if it's ALE config, then you should have also a connexion to this Ext. ECC system, for instance to return back an acknowledgment. And so, if you have a connexion, you can import this IDoc into PI.
    If it's a file, they have to provide to you an XSD file, that you can use as External Def, and create a Service Interface. So it will be not really like an IDoc, but like all other message which look like an idoc.
    2.  with this ext. ECC system, do you have a logon connexion ?
    if yes, you can import this IDoc into PI.
    3. Do you have to send the same IDoc to your own ECC system ?
    if yes, that means the extension has to be developped in also in your own ECC. In that case, you will be able to import it PI and use it for source and target.
    > how is it done? (this 3rd party doesn't have a PI system, so they can't export XSD like me)
    you can find on SDN, some program to generate an XSD from a DDIC table/structure, but for complete IDoc, I don't know.
    Anyway, if it's really an ECC system, the better way to exchange data, it's to do an ALE config from their system to your PI, and no issue to import the IDoc def in PI.
    regards.
    Mickael

  • Idoc with status 68

    Hi,
    Can any one tell me the reason for idoc status as 68.......in which case the system will show me the idoc status as 68
    Thanks,
    Shilpa

    IDoc status Description
    Outbound values :-->
    00 Not used, only R/2
    01 IDoc generated
    02 Error passing data to port
    03 Data passed to port OK
    04 Error within control information of EDI subsystem
    05 Error during translation
    06 Translation OK
    07 Error during syntax check
    08 Syntax check OK
    09 Error during interchange handling
    10 Interchange handling OK
    11 Error during dispatch
    12 Dispatch OK
    13 Retransmission OK
    14 Interchange Acknowledgement positive
    15 Interchange Acknowledgement negative
    16 Functional Acknowledgement positive
    17 Functional Acknowledgement negative
    18 Triggering EDI subsystem OK
    19 Data transfer for test OK
    20 Error triggering EDI subsystem
    21 Error passing data for test
    22 Dispatch OK, acknowledgement still due
    23 Error during retransmission
    24 Control information of EDI subsystem OK
    25 Processing despite syntax error (outbound)
    26 Error during syntax check of IDoc (outbound)
    27 Error in dispatch level (ALE service)
    28 Not used
    29 Error in ALE service
    30 IDoc ready for dispatch (ALE service)
    31 Error - no further processing
    32 IDoc was edited
    33 Original of an IDoc which was edited
    34 Error in control record of IDoc
    35 IDoc reloaded from archive
    36 Electronic signature not performed (timeout)
    37 IDoc added incorrectly
    38 IDoc archived
    39 IDoc is in the target system (ALE service)
    40 Application document not created in target system
    41 Application document created in target system
    42 IDoc was created by test transaction
    Inbound Values::-->
    50 IDoc added
    51 Application document not posted
    52 Application document not fully posted
    53 Application document posted
    54 Error during formal application check
    55 Formal application check OK
    56 IDoc with errors added
    57 Test IDoc: Error during application check
    58 IDoc copy from R/2 connection
    59 Not used
    60 Error during syntax check of IDoc (inbound)
    61 Processing despite syntax error (inbound)
    62 IDoc passed to application
    63 Error passing IDoc to application
    64 IDoc ready to be transferred to application
    65 Error in ALE service
    66 IDoc is waiting for predecessor IDoc (serialization)
    67 Not used
    68 Error - no further processing
    69 IDoc was edited
    70 Original of an IDoc which was edited
    71 IDoc reloaded from archive
    72 Not used, only R/2
    73 IDoc archived
    74 IDoc was created by test transaction

  • Issues in IDoc Sender Scenario:IDoc  with errors added

    Hi all
             Am working on an IDoc to JDBC scenario. In R/3 system, I have created distribution model, partner profile, RFC destination and port.The IDoc is generated and is sent to XI successfully. But in XI , there is no entry in SXI_MONITOR for this (unfortunately IDX5 is not available in the XI server! ;as of now). Instead an entry is made in WE05 and WE02 with stautus 56(IDoc with errors added). In the status record:
    status 56 : External segment name E2KOMG003 cannot be interpreted
    status 60 : Basic IDoc type COND_A03 could not be found.
    And the segments displayed in data record  are different from the segments in the data record of the IDoc generated at R/3. (say for E1KOMG at R/3, E2KOMG003 in XI).Earlier the flow was working fine and the DB table was updated successfully. And the entire stuff is believed to be 'unmodified' .
    Would any one help in resolving the issue.
    Thanks,
    Chilanka

    Hi,
    >>>>I have created partenr profile in R/3.Need I create a partner profile in XI for R/3 system?
    no you cannot create any partner profiles in XI
    for more about IDOC configuration in XI check :
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • B1358 error while posting inbound idoc with a FM

    Hi
    We are trying to post and inbound IDOC with the help of an rfc and eventually creating an invoice from a bdc wrapped in the RFC
    The idocs are successfully pushed to R/3 while they are not getting posted and the error code in we02 is as follows
    No status record was passed to ALE by the application
    Message no. B1358
    Diagnosis
    The application failed to return a status record to the ALE layer after the IDoc was processed.
    This is due to an error in the application function module which processed the inbound IDoc.
    Procedure
    If you wrote the application function module yourself, you need to change the program.
    If the function module in question is a standard application function module, you should consult SAP.
    Note: we are using a custom function module
    regards
    krishna

    Hi Krishna,
    I assume that your function module processing the IDOC does not follow the ALE/IDOC processing rules.
    Please check out the programming guidelines in the SAP Online Help under:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/78/21758051ce11d189570000e829fbbd/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/78/21758051ce11d189570000e829fbbd/frameset.htm</a>
    Important are the parameters and tables that need to be returned, containing the correct IDOC processing status. Please take the IDOC processing quite serious in regards to complete Logical Unit of Works.
    Best regards,
    SIlvia

  • Creation of Custom IDoc with Message control for sales Order

    Hi all,
    I am trying to create custom Outbound IDoc with message control.
    I wrote the code in a function module and i want to register that function module. (as in inbound registration of function module as in BD51).I am not knowing if that registration is necessary for outbound Idoc, if so in which transacition?
    Please list me the steps to create a custom IDoc for Message control.
    Thanks in advance,
    Regards,
    John.

    Hi,
    You need to use FM : MASTER_IDOC_DISTRIBUTE to create outbound idoc.fill the data in the tables EDIDC,EDIDD and generate the IDOC.
    check this link:
    Re: Master_IDoc_Distribute
    and use transaction : WEDI for IDOC configurations.
    here you will have all the transactions(step by step) to set the outbound IDOC configurations.
    Regards
    Appana

  • Creation of IDOC with message type INVOIC01

    Hi All,
    I am trying to create a new IDOC with message type INVOIC01.
    When I see transaction WE81, I observe that the required message type INVOIC is available. Also in WE82 the basic types INVOIC01, INVOIC02 and INV_ID01 are attached to the message type INVOIC.
    However, while trying to create an IDOC in WE19 using a message type, I get options to create against INVOIC02 or INV_ID01. The basic type INVOIC01 is not getting populated because of which all the IDOC that I create are of basic type INVOIC02.
    The client wants me to create IDOCs with basic type INVOIC01.
    Can anyone please help?
    Thanks in advance.
    regards
    Nagarajan

    Hi Nagaraj!
    I've looked at the documentation and did not find information, which would help me. Should I use in my case z-segment to put extra lines or there is some qualifier in segment E1EDP02 (Document Item Reference Data), which triggers to another referencing (not PO or delivery note)?
    Thank You,
    Natalija

  • Loading Invoice XML IDoc with digital signature via XI into R/3

    Hi,
    I received an Invoice XML IDoc with digital signature via Mail (for test purposes) and want to load it via XI into an R/3 systeme.
    My idea is to load the Invoice XML IDoc file via the File Sender Adapter into XI and send it to the R/3 system via the IDoc Inbound adapter.
    Due to the digital signature the file looks like this:
    0‚ S      *†H†÷
        ‚ D0‚ @   1 0       +      0‚ '      *†H†÷
        ‚   ‚   ‚ –0‚ ’0‚ û      etc.
    When I load the file like this with the File Sender Adapter, an error message occurs in the XI Monitoring as the XML Parser cannot read the file due to the digital signatur (as expected).
    Has anybody an idea how I can configure the File Sender Adapter Communication Channel to be able to load only the XML IDoc and ignore the digital Signature strings?
    Thanks in advance for your support.
    Alex

    BTW
    do use the second way you need:
    Security Settings for the Sender Mail Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/27/c0524257a1b56be10000000a155106/content.htm
    and
    Key Storage Service
    http://help.sap.com/saphelp_webas630/helpdata/DE/e9/a1dd44d2c83c43afb5ec8a4292f3e0/content.htm
    apart from adapter module config
    Regards,
    michal

  • Status 56 -  IDOC with errors added

    Hi everyone,
            I was configuring File to IDOC Scenario, in the receiving R/3 system, i am getting error as Status 56 -  IDOC with errors added "<b>EDI: Partner Profile not available</b>".
            but i had already created Partner profile in WE20.
    Regards,
    Varun Reddy.K

    Hi Varun,
                   The below link will help u in solving u r problem
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Just try follow the steps followed in above mentioned link
    And also check u r RFC connection in TC "SM59".
    Reward with ponits if helpful
    Regards
    Sai Ganesh

Maybe you are looking for