Settings to trigger Order response IDOC

We need send order reponse to external customers using IDOC. What are the settings/steps to generate order response or any outbound IDOC from CRM (5.0, 6.0, 7.0)?  We are planning to use IDOC type CRMXIF_ORDER_SAVE_M02.
Prompt response highly appreciated.
Regards,
Netaji Nikam

if you want the order response , you need to consider this as inbound interface . you need to configure a new interface for this and make the following settings in the R/3 and XI
R/3
WE20 - Add the order response in the Inbound parameter for the r/3 partner type.
XI
Import the meta data of the order reponse idoc in IDX1.
Configure IR and ID objects seperately.
Thanks

Similar Messages

  • Status field into order response IDoc

    Hello friends,
    We have a problem in order response Idoc. The order response Idoc contains all the data from a sales order except the fields Order status. In the screen VA03 --> Header Info --> Status we can see the delivery status fields, but it is not present in ORDRSP IDoc. The technical detail to the corresponding field data is VBSTT-LFSTA_BEZ. We just want to include this field in the order response IDoc.
    Please help
    f.kökce

    Hi there,
    In IDOC structure WE30, in the IDOC segments add a new segment through 'extensions' if you need a separate segment for status. Give the field mappings to the segment with the help of an ABAPer.
    If you want to include the filed in the existing segemnt ask your ABAPer go add the field VBSTT-LFSTA_BEZ into an existing segment.
    Hope this helps.
    Regards,
    Sivanand

  • Read Idoc via a report and post response idocs

    Hello All,
                Can any one suggest me a report to read an idoc and secondly based on the segment (say position segment) trigger a response idoc ?
    Regards,
    Anirban.

    Hi,
    go to following code :
    Program To Generate IDoc
    *& Report  ZZ_Program_To_Create_Idoc                                        
    report  zz_program_to_create_idoc                     .
    tables: ekko,ekpo.
    selection-screen skip 3.
    selection-screen begin of block b1 with frame title titl.
    selection-screen skip.
    select-options s_ebeln for ekko-ebeln.
    selection-screen skip.
    selection-screen end of block b1.
    data: header_segment_name like edidd-segnam value 'Z1EKKO',
          item_segment_name like edidd-segnam value 'Z1EKPO',
          idoc_name like edidc-idoctp value 'Z19838IDOC1'.
    data: header_segment_data like z1ekko,
          item_segment_data like z1ekpo.
    data: control_record like edidc.
    data: messagetyp like edmsg-msgtyp value 'ZZ9838MESG1'.
    data: i_communication like edidc occurs 0 with header line,
          i_data like edidd occurs 0 with header line.
    data: begin of i_ekko occurs 0,
          ebeln like ekko-ebeln,
          aedat like ekko-aedat,
          bukrs like ekko-bukrs,
          bsart like ekko-bsart,
          lifnr like ekko-lifnr,
          end of i_ekko.
    data: begin of i_ekpo occurs 0,
          ebelp like ekpo-ebelp,
          matnr like ekpo-matnr,
          menge like ekpo-menge,
          meins like ekpo-meins,
          netpr like ekpo-netpr,
          end of i_ekpo.
    start-of-selection.
    select  ebeln aedat bukrs bsart lifnr from ekko
              into table i_ekko where ebeln in s_ebeln.
    select ebelp
           matnr
           menge
           meins
           netpr
           from ekpo
           into table i_ekpo
           where ebeln in s_ebeln.
    control_record-mestyp = messagetyp.
    control_record-rcvprt = 'LS'.
    control_record-idoctp = idoc_name.
    control_record-rcvprn = '0MART800'.
    loop at i_ekko.
    header_segment_data-ebeln = i_ekko-ebeln.
    header_segment_data-aedat = i_ekko-aedat.
    header_segment_data-bukrs = i_ekko-bukrs.
    header_segment_data-bsart = i_ekko-bsart.
    header_segment_data-lifnr = i_ekko-lifnr.
    i_data-segnam = header_segment_name.
    i_data-sdata = header_segment_data.
    append i_data.
    select ebelp
           matnr
           menge
           meins
           netpr
           from ekpo
           into table i_ekpo
           where ebeln = i_ekko-ebeln.
    loop at i_ekpo.
    item_segment_data-ebelp = i_ekpo-ebelp.
    item_segment_data-matnr = i_ekpo-matnr.
    item_segment_data-menge = i_ekpo-menge.
    item_segment_data-meins = i_ekpo-meins.
    item_segment_data-netpr = i_ekpo-netpr.
    i_data-segnam = item_segment_name.
    i_data-sdata = item_segment_data.
    append i_data.
    endloop.
    clear i_ekpo.
    refresh i_ekpo.
    endloop.
    call function 'MASTER_IDOC_DISTRIBUTE'
      exporting
        master_idoc_control                  = control_record
      OBJ_TYPE                             = ''
      CHNUM                                = ''
      tables
        communication_idoc_control           = i_communication
        master_idoc_data                     = i_data
    exceptions
       error_in_idoc_control                = 1
       error_writing_idoc_status            = 2
       error_in_idoc_data                   = 3
       sending_logical_system_unknown       = 4
       others                               = 5
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    else.
      loop at i_communication.
        write: 'IDOC GENERATED', i_communication-docnum.
      endloop.
      commit work.
    endif.
    initialization.
    titl = 'ENTER THE PURCHASE ORDER NUMBER'.
    Reward points if helpful
    Regards
    Srikanta Gope

  • Status field into order response

    hello gurus,
    We are creating a sales order with XI and get orderresponse. The order response Idoc contains all the data from a sales order except the fields Order status. In the screen VA03 --> Header Info --> Status we can see the delivery status fields, but it is not present in ORDRSP IDoc. The technical detail to the corresponding field data is VBSTT-LFSTA_BEZ. We just want to include this field in the order response IDoc or any other field for that matter. How can we achieve that.
    Please help
    FK

    Hi,
    Try one of user-exits to fill the Idoc with specified value during the outbound processing. For your case EXIT_SAPLVEDC_002 should be the best.
    Regards,
    Radek

  • What is inbound XML message type and idoc type in Purchase Order response

    Hi ,
    We are on SRM 7 ECS , support pack SAPKIBKV08.
    We have a process in which vendor will send a Purchase Order response  which will be
    converted to XML format by a middleware. This XML message will come to
    SRM and post a POR. I want to do the EDI mapping for this XML message,
    but there is no message type and idoc type in SRM for Purchase Order
    response. How do I map my message type in SRM to the vendor sent fields
    in middleware .
    Please advise
    Rgds
    Sumendra

    Hi,
    You can process with XML without IDoc.
    Vendor->  (XML) -> PI -> (XML) -> SRM.
    Please check PurchaseOrderConfirmation_In in namespace "http://sap.com/xi/SRM/Procurement/Global".
    http://esworkplace.sap.com
    Regards,
    Masa

  • Automatic ORDCHG Change Purchase Order after Order response from Vednor

    Hi
    How to trigger Change Purchase Order action after receiving PO Confirmation - Order Response from Vendor.
    The scenario is that Order Confirmation vednors sends contains delivery date or delivery qunatity variance within defined tolerances. In such cases it is acceptable to allow automatic PO change.
    This is an EDI scenario. Idocs ORDRSP and ORDCHG in use.
    Thanks for hints.
    Mariusz

    - For automatic document adjustment, you must make the necessary settings in Customizing (SPRO ->Materials Management->Purchasing->Conditions->Automatic Document Adjustment). The system logs all the relevant purchasing documents and can therefore determine all the documents affected by a change to a condition.                                    
    - This is only possible for purchasing documents for which follow-on documents (goods receipt, invoice receipt) do not exist.           
    - Before you run this report, you must have run report RMEBEIN4 (creation of worklist for automatic document adjustment).

  • Purchase Order Response to being created automatically in SRM

    We have a scenario where we trigger,from portal, in R/3 to send Orders02 to XI,XI maps Orders02 to Purchase Order to XML, and  sends to a SRM system. We see a Purchase Order being created in SRM system, and ALE AUDIT Idoc is sent to the sender R/3 system sucessfully. Now, when we "confirm" the purchase order in the SRM system, this should automatically trigger a Purchase Order Response from SRM to XI and then from XI to the R/3. This part isn't working for us. Are we missing some configurations the SRM side?
    Does anyone know how to fix this problem?
    Any help is appreciated.
    Thanks.
    Karma

    Hello Jay
    Are you running Rescheduling job - T code V_V2- to confirm the back ordered items?
    Are there any status (incompletion/credit) issues or blocks for these items?

  • User-exit after updating PO from Order response ?

    Hi All,
    We are looking for a user-exit after the Purchase order is updated from an order response.
    With this user-exit we would like to trigger a WF to the user to carry out transaction YE22N, with the WF the user(PO creator) can execute and update the PO.
    Any feedback, tips would be helpfull and for sure points reward.
    Thanks & Regards,
    Nameeth

    Hi Anand,
    Sorry for the confusion., try to explain here.
    During the updation of PO from inbound ORDSP IDoc, we have a transaction YE22N to confirm if the changes in ORDSP is accepted or not.
    So we would like to automate this so that after the PO is update/saved from ORDSP IDoc, then we can trigger a workflow to send email to the PO creator.     
    If its still confusing then, "I would like to know if there is a user-exit or if Workflow can be triggered after updating PO" ?
    Regards,
    Nameeth

  • Purchase Order Response in SRM 4.0 through XI

    Hi Friends
    We are working on SRM 4.0. We are sending a PO from SRM to R/3 usng XI in xml format.
    Now we want the Purchase Order Response in SRM from R/3 through XI. How can we achieve that?
    We have used an RFC receiver Adapter in XI to connect to SRM and we have mapped the ORDRSP IDoc to the PurchaseOrderConfirmation Message Type. But in the Message Monitoring of the RWB we are getting an error:
    Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was
    Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was .
    How to resolve this?
    In which format does this PO response should be sent to SRM and How to send this?
    Thanks in Advance....

    Hi Chris
    Thanks for the Response
    But Chris, I have some doubts regarding this.
    What is XI proxy Framework?
    I think the Proxy Framework consists of the Proxy Generator and the Proxy Runtime. The Proxy Framework for ABAP (generator and runtime) is part of the SAP Web Application Server and no specific installation is needed.
    Is the same as XI Framework?
    Dont we require any mapping? Because Iam getting the Sales Order details through ORDRSP IDoc fron the Vendor. So in order to transfer the data to SRM I require the mapping.
    Please Respond Immediately....
    Thanks in Advance...

  • Purchase Order Response in SRM 4.0

    Hi Friends
    We are working on SRM 4.0. We are sending a PO from SRM to R/3 usng XI in xml format.
    Now we want the Purchase Order Response in SRM from R/3 through XI. How can we achieve that?
    We have used an RFC receiver Adapter in XI to connect to SRM and we have mapped the ORDRSP IDoc to the PurchaseOrderConfirmation Message Type. But in the Message Monitoring of the RWB we are getting an error:
    <b>Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was</b>
    <b>Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was .</b>
    How to resolve this?
    In which format does this PO response should be sent to SRM and How to send this?
    Thanks in Advance....

    in pre-XI times in order to Acknowledge IDocs you used ALEAUD which is an incoming IDoc to the sending SAP system that collects all the received idocs in the receiving system and sends there processing status to the sending system.
    Problem is that this IDoc can only be generated on a job schedule.
    This is a shot in the dark but Maybe you can try to find this IDoc on the XI side and map to it the RFC response,
    this way you'll acknowledge the IDoc that basically were send to xi from the sending system.
    Why not using Sending Idoc on R\3, Recieving IDoc on SRM,sending ALEAUD from SRM to R3 all through xi???

  • SRM Purchase Order Response

    Hi Friends,
    I am working on a scenario where I am sending Local PO from SRM Srever(EBP) to Vendor R/3 through XI. In Vendor system I am creating Sales Order. Now I want to send Purchase Order Response to SRM Server, which should be automatically inserted in the SRM.
    I am sending ORDRSP Idoc from Vendor R/3 to XI Server. This Idoc is Received Successfully in XI. I am mapping this Idoc to PurchaseOrderConfirmation_In Interface. This XML msg.is then sent to SRM using XI Receiver Adapter communication channel. This msg is received in SRM, but with error as follows:-
    <b>   <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--
    Call Inbound Proxy
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">PARSE_APPLICATION_DATA</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error during XML => ABAP conversion (; error ID: ; ( )) PARSE_APPLICATION_DATA Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXS00000000000000000004 XML Bytepos.: 902 XML Path: nr1:PurchaseOrderConfirmation(1)PurchaseOrder(1)Item(6)ActionCode(3) Error Text: Data loss occurred when converting 0010000274nfotech Kernel ErrorId: CONVT_DATA_LOSS)) Error during XML => ABAP conversion (Request Message; error ID: CX_ST_DESERIALIZATION_ERROR; (/1SAI/TXS00000000000000000004 XML Bytepos.: 902 XML Path: nr1:PurchaseOrderConfirmation(1)PurchaseOrder(1)Item(6)ActionCode(3) Error Text: Data loss occurred when converting 0010000274nfotech Kernel ErrorId: CONVT_DATA_LOSS)) An error occurred when deserializing in the simple transformation program /1SAI/TXS00000000000000000004 Data loss occurred when converting 0010000274nfotech</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error></b>
    Here out of <b>0010000274</b>, 001 is the Action code  at Item level which is mapped with E1EDP01-> Action, and 274 is the Sales Order No. (Seller Id) which is mapped with E1EDK01-> BELNR.
    Can any one please suggest me some solution to come out of this.
    Thanking you in Advance.
    Waiting for your valuable Reply............
    Regards,
    Nitin Sawant

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Create Sales order from Internal Purchase Order using IDOC

    Hello Friends,
    I have requirement to create Sales Order from Internal Purchase Order Using IDOC.
    Backgorund, we have already configured IDOC orders05 to create Sales Order from external Purchase order from Inbound IDOC, and it is working fine.
    Now we have new requirement to create Sales Order from our own Purchase order, i.e. When PO is created in one plant corresponidng sales order automatically must needs to create in another Plant with respect PO.
    I m trying to design a solution for above problem as follows,
    1.create an Inbound Idoc from PO, by creatiing one new message type on PO save.
    2.Process that Inbound  IDOC same as it is from external PO.
    3.Once processed Sales order will create.
    Please help me in step 1. to create Inbound IDOC from PO.
    If you want any further clarification please write me.
    Thanks,
    Mahesh

    I had done a similar scenario before and we achieved it through SAP XI. The problem is with the control record. When we create a ORDERS IDOC from a PO the control record will be for outbound transmission. We sent the file to XI and XI resent it back with some data parsing and a new inbound control record. This way it went neat outbound and inbound.
    I'm not sure what kind of architecture you have. If you have to do it within your ECC/R/3, then you could create the outbound IDOC to a new port and write a fresh RFC to pick it up from the same folder and create a new control record for inbound processing.
    I haven't tried this; but there is a "processing w. trigger (inbound)" option on the outbound process code. May be you can explore into that a bit more.
    I'm sure there could be better approaches to handle this within ECC so if you stumble on any, do write back. I would like to know to update my knowledge .

  • Do we not send Purchase order acknowledgement IDoc for order cancellation?

    Hi all,
    Is there a way to NOT send a Purchase order acknowledgement IDoc (POA) when we process an IDoc to cancel the order (or cancel all items)? The system now sends POA whenever there is a order create or order change (including cancellation) IDoc coming in but my customer wants not to receive POA in case of order cancellation.
    Thanks,
    Charles.

    Hi,
    Please give me your opinion and if we do not send the order response in case of order cancellation then please tell me how should I configure for that.
    Thanks,
    Charles.

  • Process button in purchase order response SUS not present

    Hi all.
    We have SRM 7 and ECC 6.4. Scenario MM-SUS Purchase Order Response.
    We can transfer purchase orders from MM to SUS. Purchase Order SUS are generate correctly In SUS system.
    However. When a Vendor user enters in the SUS system  to create the POR, we can not create it  because the Process button is not present.
    The user was create by process of Creating Buyer Data (BBP_SUS_BP_ADM) and  rols SAP_EC_SUS_BIDDER and SAP_EC_SUS_ORDER_PROCESSOR in trx SU01
    I appreciate a tip to solve this issue.
    Regards
    Raul.

    Hi,
    You can do what Sam has suggested in vendor master too so that everytime a PO for that vendor is issued, you do not have to manually maintain these settings in the PO.
    Regards,
    Nikhil

  • SRM 7.0: Purchase Order Response (BUS2209) functionality, workflow

    Hello,
    We're trying to configure the purchase order response (BUS2209) functionality. We have configured the BUS2209 document types and numberranges and maintained the 'purchase order response expected' marker for certain vendors. We therefore expected to be able to post a POR via the Purchasing:PO powl however the 'create POR manually' and other 'POR actions' are greyed out. Has anybody been able to post BUS2209 documents in an SRM 7.0 system?
    Also if we look at: IMG -> SAP SRM -> SRM SERVER -> Cross-Application Basic Settings -> Business Workflow -> Define Process Levels  -
    No BUS2209 object is list, no workflow can be maintained (you can't add anything manually either). We have activated the Process Controlled Workflow for all business objects.
    Any help and input is very much appreciated.
    Kind regards,
    Tim

    Hi Tim,
    I did two things:
    1) I activated the start conditions for the three POR workflows as supplied by SAP. I still think this has nothing to do with the problem, but you never know.. The setting is located in the IMG under Workflow -> Application-controlled wfl, or similar (I don't have access to the system right now).
    2) I created a tolerance group Zxxx with tolerance key PR; I used 'limit as percentage' of 5% in both upper and lower limit.  I assigned the key Zxxx to the attribute TOG of a user (with the role /SAPSRM/OP_PURCHASER)  in PPOMA_BBP.
    This caused the options to be enabled. I then successfully created a PO response manually for a PO, which in turn caused a change version of the PO to be created. This change version had to be approved in order for the changes in the POR to be valid.
    Regards
    t7

Maybe you are looking for