Re-open EDI - ORDCHG for outbound sales order

Re-opening post
Hi Experts,
I am trying to capture the changes done to a sales order
in SD and outbound the information changed in the sales order?
I was thinking that ORDCHG was the correct message type.
But seems that this is used for captureing purchase order changes instead of sales order change.
I know I can send a new idoc with ORDERSP but I want to capture what information was changed.
Any help is greatly appreciated.

Rolmega,
There are two options to send out a IDOC when there is a sales order change.
You need to do the message control customization and user exit programming in such a way that it triggers the output only when there is some change with the sale document.Tiggering output can be controlled for specific fields like 'Inco terms' (Header level) and 'Quantity' or 'Schedule lines' (item level).
Generating an IDOC for a change can be controlled via this mechanism.This method we have already implemented for the requirement like this.
The problem is generated IDOC would not only contain the changes done to the sale order.But this can be very well handled that at the other end by simply updating the sales order information based on the sales order number.
(ii) In this method you can have a custom table to have all the changes done to the sales order.All the changed information can be captured at the user exit MV45AFZZ and updated with the custom table which you could for sending only the changed information to the sales order.
With this method you can have a better control about sending the changes only once.
If you are using CDHDR,CDPOS table how would you exactly captutre the information which have not been previously sent.Selecting the values from change documents table would affect the performace considerably.If you decided to go with the change document option then use function module 'CHANGEDOCUMENT_READ'.
I would suggest you to take up the option 1 which is easy to implement ( Will guide you if you are intrested) and can be controlled in a better way.
Thank you.
Regards,
Karun M

Similar Messages

  • Standard Idoc for Oubound sales order billing plan

    Hi Guru,
    Can any one let me know is there any standard  idoc type are available for outbound sales order Billling Plan.
    Much appreicated your help.
    Thanks a lot.
    Regards,
    Jairam

    Hi Ravi,
    I'm unsure whether this will help you or not. In VOV7, choose your It Cat, in detailed screen of It Cat settings there's a checkbox with "Business data" when not checked which will allow you to change Data at Item level.
    Regards
    SD

  • How do know open quantity  for a  sales order  (patially  delivered)

    Hi  Gurus,
    I have requirement to  know  open quantity for  sales order and it was partially delivered.
    Any table  to know partially delivered qty of a material for a  sales order.

    Hi
    Check This Table  VBBE for open order quantity
    You can find open Qty like this
    Open Qty  = Delivery Qty (LIPS-LFIMG) - Order Qty (VBAP-KWMENG)
    Swamy

  • Two  outbound Delivery for one sales order

    Hi Experts
    I am an Abaper and i have to find the root couse of this problem
    problem is  two outbound delivery getting generated for one sales order with same no of quantity
    Now i am unable to find the approch what can be root cause of this problem , I checked the details of these deliveries these are created by some job , but even in job history any positive solution comeout,
    please suggest me what are other ways or causes of this problem

    Hi there,
    Delivery split will be there is the header data in shipping is different.
    For eg of shipping points, delivery dates, ship-to etc are different.
    Apart from this in the copy control routines at the headerlevel from OR to LF in VTLA, there might be some customized code written to split the deliveries. Possible conditions could be items from different warehouses / storage locs or if the quantity is more, then a delivery split.
    Pls check if there is any customised code written in copy control routines in VOFM.
    Regards,
    Sivanand

  • Want to change output type for 10000 sales orders through MASS

    Hi Friends,
    I would like to change the Output type in the sales order for 10000 sales orders.
    Can I do with MASS transaction. If so, Plz let me know how ?
    Is there any other process to change the output type for 10000 sales orders, as its difficult to manually in each and every sales order.
    Its very urgent issue, Plz let me know at the earliest.
    Thanks & Regards,
    Praveen Kumar. A

    This may be little tough for 10000 sales orders.
    1. You have to remove the output record for the irrelevant output record using tcode VV12 for the relevant document type. So now for the document type, the old output wont be triggered.
    2. Now, create output records for hte correct output type in VV11 tcode(for the output type BA03) for the document type. Now this output will be triggered for all the document types you are creating from now onwards.
    3. To trigger the output type BA03, in all the old orders, you just have to open these sales orders in change mode (VA02), and just save it. When u open it the output type BA03 will be automatically triggered as the master data is maintained in VV11. But because just opening all the 10000 sales orders in VA02 one by one be a mechanical task, you have to think of some tool for this.
    May be a CATT procedure can do the trick. Else, you can just create a small program, where you can upload these sales orders and the program will just open these orders in change mode and just saves it (without making any changes). Then the output will be retriggered.
    Here again, if you are printing the output directly, it is advisable to trigger the output in batch mode(Date/Time field is 1 in VV11), and then you can again trigger the printing again using the program RSNAST00 after office hours for these 10k orders.
    I hope I answered ur query.
    Pls lemme know if you need some more info. (You can reward me too...)

  • RR Reversal for deleted sales order items

    The revenue has been recognised for a sales order. but somehow user deleted this sales order. it seems there was some problem in the deletion. i can still see the sales order in VBAP but not in VBAK.
    Is there a way to reverse the RR for this sales order? The sales order appears as open item in FBL3n.

    The revenue has been recognised for a sales order. but somehow user deleted this sales order. it seems there was some problem in the deletion. i can still see the sales order in VBAP but not in VBAK.
    Is there a way to reverse the RR for this sales order? The sales order appears as open item in FBL3n.

  • How to block sales order creating manually for a sales order type

    Hi SD gurus,
    My client wants for EDI orde type, the sales order should not be processed manually
    how can i restrict this. I know to i can restrict this by not giving authorization
    I want globally to maintain this.
    thanks

    Hi.
    I think that the best way to do this is to create a field exit to data element AUART.
    You will need an ABAP'er to create this field exit and associate the field exit to program SAPMV45A.
    Doing this, you need create a customized table to maintain the sales order type permitted to manual creation.
    You can use the program RSMODPRF to see all active field exits.
    I believe that EDI orders in your process are created through BAPI, correct?
    Waiting for response.
    regards.

  • Report for viewing Sales order no against delivery date & actual GI date

    Hi Experts,
    Is there any report for viewing Sales order no against delivery date & *actual GI date*
    Because in VL06F , i can only able to get planned GI.
    Please guide regarding the same where i can get 'ACTUAL GI DATE ' against above combination .
    Regards,
    Sujit S.

    dear Hrishi,
    i followed your suggestion, but couldn't get desired results,
    here i can get planned GI date, where i wanted to get Actual GI date for complted deliveries,
    thanks for your valuable reply.
    @ G. Lakshmipathi ;-
    i think i will need to develop z-report for fetching the data from the tables
    VBAK (to get sale order reference) and
    LIKP (to get delivery and actual GI date)
    thanks for your reply,
    Regards,
    Sujit

  • How to create a single delivery for two sales orders?

    Hi Experts,
    I need to create one delivery for two sales orders. But it fails.
    The route, shipping point, ship to party are same for both orders but INCOTERMS are different.
    Delivery date, Good issue date, loading date,material availability date, transportation planning date for 1st order is 12/07/11 and for second order is 14/07/11.
    I have created delivery on 14/07/2011 but the delivery is created for 1st order only, the second order is missing in the delivery.
    It not happened because of incoterms.? different dates
    Kindly help regarding this.
    Thanks
    Raghu

    Prerequisite for Grouped delivery
    1. Header data should be same like Inco terms,Payment terms
    Go to VL10A
    Enter the sales order Numbers and execute
    Select the sales order Nos  for the group delivery and select "Background"  Tab in Tool Menu Bar
    If delivery is created coloured line items will get generated
    Check the log for delivery docuements
    Check and confirm
    Senthils

  • Credit Block for released sales order

    Dear All,
    I have got one issue. There is a sales order which was created earlier say 15 days back. It went into the credit block at the time of saving it. It was released through VKM3 too.
    Now when i change any field in the sales order today, it is going into the credit block. We are not changing any value of any of the item. Just maintaining the Billing block in it or remobving the Billing block.
    The number of days maintained in the OVA8 are 182. So as per the standard functionality it should not go into the credit block for any change in the sales order like changing the billling date or changing the billing block.
    Can you please let me know what might be the reason for this sales order to go into the credit block..??? Any help is very much appreciated.
    Thanks and regards,
    Vishi.

    Dear Vishi
    Please check if you have checked the critical fields option.
    Credit check against critical fields (fixed value dates)
    The indicator controls the critical field check. If the field is selected, the system checks whether critical fields have been changed.
    Use
    If a check is carried out, the following fields are relevant:
    Payment terms
    Additional value days
    Fixed value date
    Note
    Use this type of check for sales documents only.

  • Auto-create delivery for multiple sales orders

    I would like to ask how to create auto-create 'single' delivery
    for multiple sales order during release sales order in R11i.
    It is found in my example during release sales order, multiple
    sales orders fulfill release sales order criteria, a single pick
    slip is generated but it is found that each sales order have
    individual delivery with it. It will casue multiple pack slips
    for a singles pick slip. Is it normal feature for auto-create
    delivery, or any setup to solve it?
    Thanks in advance.

    Am not able to do Single Delivery for Muktiple sales orders
    Have you searched the forum for this question as to why you were not able to generate ??  It could be due to multiple reasons.  Please search the forum and update here what steps you have taken after taking the inputs from here, if the problem is still not resolved.
    thanks
    G. Lakshmipathi

  • Single idoc generation for multiple sales orders

    Hi,
    Pls let me know how do we generate single idoc for multiple sales orders.
    Its not collecting idoc. As we know we can generate an idoc for one sales order correspondingly
    my requirement is to generate single idoc number for multiple sales orders.
    Do we need to write a program.

    Amar,
    To understand take HRMD_A04 as example. Root segment has Maximum 9999999999 defined.
    Segm.type       E1PLOGI
    Minimum number  1
    Maximum number  9999999999
    Parent segment
    Hier.level      2
    This means that this IDOC types has capability to hold multiple HR Master data objects. PFAL program creates this IDOC and it has facility to mention the Objects per process, check selection screen.
    I checked for INVOICE01/02 its not possible there. Hope this clarifies.

  • Problem when setting Reason of Rejection for a sales order using IDOC

    Hi All,
          I am working on a requirement where i need to put a reason for rejection as 'Item Cancelled' for a sales order via IDOC 'IDOC_INPUT_ORDCHG' in a third party scenerio where the PR is created automatically from the sales order . When the IDOC is run in the foreground I get the information message Subsequent function  " 'Purchase requisition from sales document' not possible Item & was rejected "(Message V1579) and the IDOC results in a error when run  in the background mode because of the same information message. The message should not appear when a sales order is being processed in the background but still the message is being displayed . Is there any way the message can be suppressed ? Thanks in Advance.
    Regards,
    Sowmya.

    can you send the program how you create a so or po using IDOC, as i've a assignment creating PO using IDOC & then creating a sales order of the PO. and i dont know how to create a IDOC. SO IF you have sample program it would be help full
    Thanxs

  • KPIs for SD:Sales Orders & Delivery

    Hi Experts,
    Could some one please help me out to find out different KPIs for SD : Sales Orders & Delivery.
    Am trying to create a BEx report for SD mofule using custom list of KPIs.
    Any source where i could find the KPIs for SD module.
    Thanks in advance.
    Best Regards,
    Krishna.

    Krishna,
    ???? There is no list of 'KPIs for SD module'.  KPIs differ for every company.  Perhaps you should first ask your business users what THEY think the KPIs should be.
    A few KPIs related to SD I have seen:
    Forecasted/Budgeted vs Actual - Bookings
    Forecasted/Budgeted vs Actual - Backlog
    Forecasted/Budgeted vs Actual - Billings
    Current backlog late to Requested date
    Current backlog late to Confirmed date
    Historical Requested vs Confirmed vs Actual (Shipment) date
    Historical/Current Pricing and Pricing trends
    Historical/Current Price vs cost
    ....but don't start work on ANY KPI until you get confirmation from your users that the KPIs have merit TO THEM.
    Best Regards,
    DB49

  • MTO - how to prevent a second planned order for a sales order?

    Dear friends,
    We are working on Make to Order process (Planning strategy group 20).
    No Production/process order is used
    Shop floor uses a different system --> details from planned order is passed to the shop floor system; and finished product is delivered/posted into SAP Sales order stock - through interfaces
    No QM in place
    A typical day-to-day scenario –
    Sales order Qty = 100
    MRP Run à Planned order qty = 100
    Raw materials posted to ‘Sales order stock’
    Planned order is firmed
    For example if Produced qty = 90
    sales order stock of the finished product = 90
    Balance 10 cannot be produced / delivered for various reasons
    Planner posts the raw material to cost center / rejections / own stock etc., and ensures that the ‘sales order stock’ of the raw materials are zero.
    Planner deletes the planned order
    Next MRP run triggers a new planned order for the balance qty 10
    Now, the requirement is to prevent the new planned order getting generated for the balance quantity, during the subsequent MRP run (despite the shortage in the Sales order stock of the finished product).
    The following options have been evaluated –
    Once the final good receipt is done & before deleting the planned order,
    o       Change the Sales order quantity to match the total produced quantity
    o       (or) Change the schedule line category for the Sales order item from CP to CN
    §         Since the Sales order and planned order are handled by different teams, considering the frequency of correspondence/coordination needed between these two teams to get the sales order items corrected, this idea is not accepted
    §         Additional authorization for the planner to change the sales order item is not acceptable
    Include Under delivery / Unlimited tolerances
    o       at the customer (master) level
    o       (or) Sales order level…
    §         In this case, System seems to consider the tolerances only when the  delivery for the Sales order is posted; and not when the sales order stock is received within the tolerance limits;
    §         Considering the time gap between the GR and Delivery of the finished product, this option is not accepted
    Kindly suggest the other options / settings / processes, to meet this requirement
    Thank you for your time and efforts.
    With Best Regards,
    Senthil

    Closing this thread
    Thanks
    Senthil

Maybe you are looking for