Create ORDRSP Idoc on creation, change or deletion of outbound delivery

We have ORDRSP Idocs being created when a sales order is created or modified.  Now our customer would like an ORDRSP Idoc sent to them when the outbound delivery is created for the sales order.    The reason that the customer would like an additional ORDRSP sent is because the time between the entry of the sales order and the creation of the outbound delivery may be a few weeks or more and the actual delivery may not be able to satisfy the quantity ordered.  The customer is not set up to allow partial deliveries.
The customer uses the ORDRSP to feed into their billing system and would like updated quantities at delivery time.  They do not want an ASN record.
Does anyone have any ideas or suggestions on how to trigger the ORDRSP Idoc when the delivery is created, modified or deleted?  We are on SAP release ECC 6.0
Thanks for any help,
Russell

Vinit and Abhishek,
Thanks for your replies and information.  Sorry I was not clear in my question.  The ORDRSP Idoc is already being created when the order is created or changed.  ORDRSP works fine.  The partner profile is set up, NACE is already configured for ORDRSP, change pointer is working properly, output determination is configured and working, the ORDRSP Idoc is being created. 
What I would additionally like to do is trigger the creation of an ORDRSP Idoc when the delivery for the order is created or modified.  I suspect this will require using a user exit in the delivery program to trigger the ORDRSP Idoc and not standard SAP configuration.   This is what I would like help on (trigger the creation of an ORDRSP Idoc when the delivery for the order is created or modified).
Also this site is a small shop.  I am the ABAP programmer, the functional consultant and the EDI consultant for all SAP modules.  There is no one else on the team here other than one person that does transports and security for SAP.
Thanks,
Russell

Similar Messages

  • Difference between IDOC for creation, change and deletion

    Hi,
    As per the requirement, an IDOC will be generated for PO, Vendor Masters and Goods receipt when ever a PO or Vendor or Goods receipt is created or changed. How can we identify whether the IDOC has been created for creation or change of a particular thing? Is there any identifier where in we can check whether the IDOC generated is for creation or change?
    And also how to identify that a particular PO or VM or GR has been deleted or cancelled?
    Thanks & Best Regards,
    Phani.

    hi,
    to check the idoc status ie idoc created or changed --use transaction WE05
    we02 to diplay idoc
    please rewrd points if helpful,
    shylaja

  • Can we use idoc technique to change or delete the vendor master data?

    Hi,gurus,
    Can we use idoc technique to change or delete the vendor master data?You know we can create vendor data using idoc CREMAS03 as the receiver adapter,but when change or delete the specified vendor data,must we use RFC adapter technique?
    Another question:I found the bapi which creates a vendor master data doesn't have the parameter account group,then we turned to idoc technique.But which adapter should I use when change or delete the vendor data?
    Thanks in advance.

    Hi,
    >>>I found the field of the segment of deletion flag at different level,and very appreaciate your help.
    yes - LOEVM  - but remember this will not delete the record but only mark it for deletion
    >>>It's a long time to wait for your new blog,what new and interesting things do you find?
    at least 4 new in my head - 2 simple but important and 2 new + I'd also like to write something for XI guys about
    BO data integrator which can also work as EAI tool (BTW I know it's ETL) but how knows when they will appear
    Regards,
    Michal Krawczyk

  • What is the filed in ORDRSP idoc to stop changes in PO?

    Hi,
    SO gets created from PO and when ORDRSP idoc comes from SO to PO, there should be filed in the IDoc that will not allow to change PO anymore when ORDRSP is received to PO. Could anyone let me know the filed in IDoc and where in that will be in the ORDRSP idoc to stop the PO from being changed. appreciate your help. Thank you!

    i think you should use the BADI ME_PROCESS_PO_CUST to check if there is an entry in table EKES. If yes, the Method FILDSELECTION_HEADER or FIELDSELECTION_ITEM have to be used to set the the whole PO to 'display only'
    Edited by: Gabor Harsfalvi on Aug 4, 2010 4:40 PM

  • Changing filed name description - idoc segment creation/change

    HI,
    is it possible to change the fieldname description in an IDoc Segment without changing the DataElement ?
    Exampel:
    I Used CHAR40 as dataelement for my own ZZFIELD. In the Idoc the fieldname description of the data element CHAR40 is shown.
    Can i change this description ?
    thx,
    Gordon

    No, The IDOC always displays the texts based on the Data Element which is assigned to that field. If you want to display your own text you have two options:
    1. Create an enhancement and change the text of the data element which is not recopmmended because it will be changed wherever that data element is used.
    2. Instead just create an own data element where you can maintain any texts you need.
    Hope that helps,
    Michael

  • Change of Sales order info without deletion of Outbound Delivery Order

    Hi Experts
    Background :  Although Invoice has been created and issued , Customer request SD user to divide the invoice into two invoices.
    or change the amount or quantity with same order No.
    AS IS  : 1 . Cancel invoice -> Reverse PGI -> Delete Outbound Delivery -> Change Sales Order -> Create New Outbound Delivery -> PGI ->
    Invoice
    Please let us know how to change sales order info ( cases : seperate 1 item with two items , change ship-to-Customer ,,,,,,,
    Further Explanation on this : After the invoice has been issued, If the customer wants to change the quantity 10, into two line items and One line item with 5 quantity another line item into another 5 quantity , wnats to have two seperate Invoices for this
    Is it possible to have?
    And some times the user wants to change the Ship to party after the Invoice has been issued, Is it possible to change ?
    Pls help me on this
    Thanks In advance

    Further Explanation on this : After the invoice has been issued, If the customer wants to change the quantity 10, into two line items and One line item with 5 quantity another line item into another 5 quantity , wnats to have two seperate Invoices for this
    Then, you have to first change the same in SO. to do so, you have to reverse all the process to reach SO & amend as required.
    Parila quantity billing is another way to have 2 seperate invoices.
    Is it possible to have?
    And some times the user wants to change the Ship to party after the Invoice has been issued, Is it possible to change ?
    This is doesnt seems logical or Business need. Once goods are alredy sent to respective partner. I dont think business asks you to change the Party name that too Invoice is already made. Is it your assumption or business requirement?
    if its really a business requirement, instead of thinking about the solution, suggest you to educate the Business. Is there any such practical scenario happens in the Market. I dont think so.

  • Idoc to post goods issue against an outbound delivery

    We happened to simulate both the idocs 'WPUWBW01' and 'MBGMCR02' for posting goods issue for an outbound delivery but failed.
    Request you people to help us on this. Is there another idoc that we have to use to post GI... if so please let us know... and if we are using the right one, guess we are not executing it in the right way... in such a case please guide us with the steps...
    Thanks
    Arun
    We got hold of the Idoc type 'DELVRY03 PGI SHPCON' we are able to post the Idoc but we are able to do the packing only or we are able to change the deliveries but the PGI is not happening..
    please help us on this.. is there some condig that updates the delivery with the PGi or is there something else do be done in the Idoc....
    will provide additional details if required.
    Thanks

    Hi Arun,
    There are no configuration settings in this. It is development that your abaper need to carry out.
    Explain to him that this is the func module. And intrun it has to either trigger a BDC or BAPI for creating packing and PGI.
    He should then do the recording of that and will assign the program pertaining to BDC with in the function module.
    One more suggestion is to put the same query in ABAP section too. U will definitely get a positive response.
    Hope this helps.
    Kind Regards
    Chakradhar

  • Idoc used by CRM to post the outbound delivery in R/3 while saving the sale

    Hi,
    Can any one tell me …which idoc (from the r/3 system) the crm system calls while creating a inbound delivery for the sales order created in crm.
    I am having fields like ‘Transaction Type’, ‘Ext. Reference cust’, ‘Delivery Control’ etc…which are there in the CRM.These fields need to copied to the R/3 in the tables LIKP and LIPS.
    The process of creating the outbound delivery is automatic means when a sales order is created and saved in CRM ,the delivery is created in the R/3 (note: the order is not moved to r/3 ..Only delivery is created).
    I need the idoc which is used by the CRM system to post the outbound delivery and any badi ….so that I can extend the idoc segments and use the badi to populate the data.
    Need your inputs on this.
    Thanks in advance.
    Regards
    Shafath

    Hi All,
    For this requirement IDOC's are not used.Bapi is used.
    The BAPI ‘BAPI_DELIVERYPROCESSING_EXEC’ will be enhanced to add the new fields into the BAPI structure.
    The BADI ‘/SPE/BAPI_DLVEXEC_EX’ and the user exit ‘EXIT_SAPLV50R_CREA_001’ will be used to populate the data into the new fields created in the BAPI structure and the new fields added into the tables LIKP and LIPS.
    Regards
    Shafath

  • How to change QCI data in Outbound Delivery Order (VL02N)

    HI,
    Dear ABAP Experts,
    I need to over ride standard Quantity conversion interface data in Outbound Delivery Order with user specific data. Go to VL02N and select item number and click on ‘Additional Quantities’ button we can see all SAP calculated QCI data for that item. I need to over write these values with User specific data in VL02N. When I do with BDC program I can update only few units what ever visible in QCI screen. When i scroll down or page down and add new values for other units, system is not capturing any function code for scroll or page down function.
    Please can anyone guide me if have any BAPI or FM to solve this issue. Delivery order is related to IS-OIL/HPM.
    Any help will highly appreciate…

    Try this FM to create Oubound delivery with QCI IS-OILS HPM, additional quantities.
    It works perfectly and saves data in LIPSO1 and LIPSO2
    OIJ_EL_DOCG_CREATE_DELIVERY
    I_TICKET_ITEM-menge
    I_TICKET_ITEM-meins
    I_TICKET_ITEM-matnr
    - QCI convertion values
    I_TICKET_ITEM-tstmp
    I_TICKET_ITEM-tsteh
    I_TICKET_ITEM-tdich
    I_TICKET_ITEM-werks_d
    I_OIJNOMI-docind = 'S' for sales order document
    I_OIJNOMI-docnr
    I_OIJNOMI-docitm
    - fill table T_ERR_LOG with one blank line because it raise an index error
    T_ERR_LOG

  • How to change actual quantity in Outbound delivery User exit

    hi all ,
    My requirement is to change the quantity of outboud delivery according to some logic .but my issue is after writing the code MV50AFZ1 , system is not considering the quantity changed by me , it is taking the quanity directly from sales order confirmed quantity .
    please anybody help on this issue  .

    Hi,
    Under which user exit have your written your code:
    USEREXIT_MOVE_FIELD_TO_LIKP or
    USEREXIT_MOVE_FIELD_TO_LIPS or
    USEREXIT_SAVE_DOCUMENT or
    USEREXIT_SAVE_DOCUMENT_PREPARE
    I think if you write your code within the USEREXIT_SAVE_DOCUMENT, it should work.
    Regards,
    Subramanian

  • Changing billing block in outbound delivery

    Hi All,
    I want to change the billing block for the outbound delivery( tcode : VL02N ). That field is LIKP-FAKSK (Billing block). It will be helpful for me if I could get a BAPI or FM. I have tried BAPI_OUTB_DELIVERY_CHANGE but it has only the Delivery block but not the billing block. Plz. help.
    Thanks,
    Srinath S

    Thanks Rajesh for quick reply.
    I did the same earlier but if delivery block is available in ECC and material is stage on hold area. and now after some time i need to dispatch same delivery, but now i am not able to remove delivery block from ECC, Beacouse Vl02N does not work after delivery distributed in EWM so how can i do PGI for the same .

  • IDOC for creation/change of payment terms

    Hi all,
    We have a requirement to send payment terms information to a non SAP system. I am trying to look for a standard IDOC that contains this information how it can be triggered from OBB8.
    If somebody has done it before, please advice. Thanks.
    Regards,
    Nene

    HI nene,
    I think there is no standard idoc to send this. You create an RFC and send to  non sap.
    Regards,
    Madhu.

  • Deletion of Outbound Delivery of ME2O

    Hello All,
                  I have one delivery created through ME2O & later on all WM Movements has been done & TO get confirmed.
    But from IM side,Goods Issue has not been done w.r.t Delivery.
    Now i want to cancel the Delivery,where it shows me the warning message as below:-
    The material this item contains was staged using
    a WM transfer order.
    If you want to delete this item, you must also
    return the material to inventory.
    Do let me know,How i can i delete the Delivery & if i am deleting the Delivery by going ahead with the above error message,then what will be implications on WM & IM Side .
    Also if i am carrying out the deletion of delivery with the error message,then what should be the steps i have to do previously both in IM & WM Side..
    Waiting for a fast reply.
    Thanks
    JP

    Hello Frenchy
    Many thanks for your quick reply.
    I have already tried to do so,by unassigning the HU.but while i was doing the same,i am getting a LOCK symbol (In SL no) behind the delivery no.
    I am not able to get this,why this LOCK symbol is showing.
    Could you please clarify,in which cases this LOCK symbol generally show & how to remove this,so that "Return to Stock from Delivery" activity can be done..
    Waiting for your reply.
    Thanks
    JP

  • Deletion of Outbound delivery

    Hi,
    Right now we are able to delete a delivery after PGI.  (no billing yet).
    Is there a way to control this in configuration?
    User should not be able to delete a delivery if status is already PGI.

    Hello,
      this is quite strange. It should allow the deletion only if the Good Issue is reversed.
    Refer to the following OSS Note:
    580226 - No authorization check during the deletion of deliveries
    and search for other discussions regarding the same issue.
    Best regards,
    Andrea

  • Vl02n outbound delivery deletion check

    hi all,
    i need to create a checking when user going to delete a outbound delivery in VL02n, if there is any billing document status NE 'E' then program should issue error message and block the deletion.
    currently i am using badi LE_SHP_DELIVERY_PROC method DELIVERY_DELETION, but i get short dump DYNPRO_MSG_IN_HELP when program issue error message. After some research in this forum, i know that message 'E' or 'W' is not allowed in this badi, but is there any workaround can help me to achieve the requirement?
    If possible please provide me the sample code.
    thanks in advance
    Edited by: Mingo Lau on Jun 14, 2010 5:30 AM

    thanks both,
    i tried both method, both can solve my problem.
    but for SAVE_DOCUMENT_PREPARE, when issue message type E, it will close the transaction and back to /n screen which i am not sure my user will accept or not.
    for CHECK_ITEM_DELETION, use a bit more resources as it loop all delivery item but actually it can be done in once..
    anyway, let see which one is accepted by my user.
    thanks.

Maybe you are looking for