Sales Order update in APO

Hi,
We have a z-program in ECC which is triggered once sales order is saved. As of now we have maintained a nominal delay (30 secs) in the program to take into account sales order update to APO (as we are fetching some key information from APO based on SO update to APO).
So instead of maintaing the delay in the program, is it possible to check that the sales order specific CIF queue is processed successfully and then that is taken as a trigger point to execute the program in ECC.
Regards,
YR

Hi Babu,
thanks for your reply...
One last query before I close this thread.
Can this queue processing in table TRFCQIN be mapped as a 'trigger event' in case it is successful to initiate the program on ECC side with reference to the specific sales order ?
YR

Similar Messages

  • Sales orders ONLY in APO and not in R/3

    Dear Friends,
    I have this peculiar but very critical problem wherein:
    APO creates an extra schedule line to an ALREADY EXISTING sales order only in APO with a quantity in decimals like 130.320 PCs or whatever. Also, important to note is that this line has a required date very much in the future starting from 12-2009. Also, this sales order schedule line is non existent in R/3!
    - I have checked the R/3 SD tables but nothing which relates to this qty.
    - I have checked the sales order changes, but nothing in the history which suggests that someone might have changed it.
    - I checked the UOM both in R/3 & APO but nothing.
    Now, the problem is that:
    How & what created this sales order?
    If it is in APO, then y it isnt being sent to R/3 like all the other normal sales orders?
    Most critical: APO sees this reqt & automatically creates a planned order (bckgrnd) which is then sent to R/3 as a recpt!!
    Thanks in advance !

    Team Eusap,
    You say you ran LC consistency (which would be /SAPAPO/OM17).  Did you also run CCR as I mentioned earlier?
    Although there are no Queue errors, it is possible that someone has deleted the item from the queue.  So, continue.
    You can try to delete the order in APO using program /SAPAPO/SDORDER_DEL.   Select Delete on database tab, deselect test, select the appropriate product/location(S).  Select 'without check'.  Select both boxes in Additional functions.  Since you are not using GATP, you are not using allocations, but it is OK to select these items too. Execute.  Stay away from the 'Delete all DB Sales order Data" tab!, or you may have to re-cif all your orders across.  Now redo your LC consistency.
    As far as your models are concerned, you need to assure yourself that there are no ATP (transactional, not material independent) models open.  Use CFM5 to search.
    As for the material independent CIF, it is a good idea to inactivate this model after the initial transfer.  If you ever do any ATP config within APO, this model can overwrite some of the settings you created in APO.  Usually this is undesirable.
    Let me know if any of the above steps allow you to delete the APO order you don't want.
    Rgds,
    DB49

  • Sales order updation if master data is incomplition

    is there any solution for sales order updation if master dat is incomolish.
    Ex.we r created material master without account assingment group. while creating sales order it is showing in incomplition for gl a/c and we saved it. and we made POs on order.
    now with out deleting POs i want clear the sale order
    thanks
    sreenivas

    Hi,
    You have two options
    1) Goto Material master data maintain account assignment group.
    2) create billing document for that sales order. In billing Item level, click on item details tab.
        In accounting segment select material account assignment group and save it. System will create  accounting   document.
    If you don't maintain any account assignment group in material master, system will give incomplete message in sales order, complete the G/L account.  You don't want to maintain account assignment group in material master then choose table '2' in VKOA and maintain G/L accounts. so system will not give any incomplete messages at sales order level.
    Chandra

  • BPL Sales orders: Updating index tables

    Hello forum,
    After using BPL to copy sales orders, index tables are not updated. Examples of these tables are VAKPA (sales index by partner function), VAPMA (sales index by material), VLPMA (deliveries by material) or VRPMA (billing documents by material).
    To correct this what we do is run program RVV05IVB (Reorganization of SD Document Indices) but this report is very time consuming. (it is not that easy to know the documents numbers for all sales / deliveries / billing docs that were copied so we have to run the report for all documents; even if we knew the document numbers, though, the report is very slow because these tables do not have an index by document).
    Is this the way to do it, or are other people working differently?
    Or should these tables be included in the context?
    Thanks in advance,
    Rui Dantas

    >
    Nico Gaertner wrote:
    > Alternatively you can also create this index on the receiver side and connect these tables with the Table VBUK in the BPL datamodel.
    > Nico
    In this case you mean sender system, right?
    The access won't be that bad if you choose the right table to link: VBAP-MATNR for VAPMA, or VBPA-KUNNR + VBPA-PARVW for VAKPA. I'll try in our system.
    It would be even better, of course, if we could link from more than one table (e.g. VBAK + VBAP to VAPMA). This is not possible, right?

  • Sales Order updation error

    Hi All,
    I am facing problems while updating a sales order. I have some custom actions in the middle. I am loading another custom window when tabbing out of Quantity field in Salesorder matrix. In that window I am updating batch quantity for the Sales order line from which I tabbed out using DI API to zero quantity. After that action,I am trying to update the Sales Order. Then I am receiving the error "There is a difference between the document total and its components. [Sales Order - Document Total (FC)]  [Message 439-138]". Please help me on this issue.
    Thanks
    Jisha

    Hi John,
    Thank you for the updation. Yes. I am working with an addon.
    Let me explain my current environment and requirments.
    I have 2 cases which I am mentioning below. In the given 2 cases , first case(adding Sales Order works well for me). Problem occurs while updation.
    Adding Sales Order
    When I am adding a new Sales Order, I am updating the batch allocation for the line items using DI API in the FORM_DATA_ADD_Event - Action success true section. (This section work successfully)
    Updating the Sales Order
    In the update mode, If I am changing the quantity for the Sales Order lines(I am mentioning here only the case when I am reducing quantiy) , the custom window opens for me to reallocate the batches for the new quantity. In this window, I am not updating the new batch allocation. Just I am clearing the existing batch allocation  using DI API so that I can give the new batch allocation in the Sales Order window - FORM_DATA_UPDATE_Event - Action success true section.
    After this step, when I am trying to update the Sales Order , I am getting the error"There is a difference between the document total and its components. [Sales Order - Document Total (FC)]  [Message 439-138]".
    Can you please give me a solution for this?
    One more thing to note, If the unit price field for the line item is zero, the Sales Order is getting updated successfully. If the price is greater than zero, then only the problem occur.
    Please let me know, if you need further details.
    Thanks
    Jisha

  • Sales Order Updation when a Quotation is saved

    Hi All,
    Kindly help me with this.
    I have the following scenario : A Quotation (ZQR) is created with reference to a Sales Order (ZRPR). The current requirement is that if the status of the Quotation is put to "Accepted" and the quotation is saved, then a new line needs to be added to the ZRPR Order on line 1000 through "Repairs" with repair action = '109' (i.e Debit), Material = 'LABOR', item Category = 'ZSER' and Quantity = 1.
    Is there any way so that i can update the Sales Order when the Quotation is Accepted and is saved??? Please help.
    Thanks,
    Vijay

    Hey,
    You could use workflow to automatically create a Sales order when a PO is saved.
    -Kiran
    *Please mark useful answers

  • Return Sales order - update of Item category change

    Hi
    We are creating the Return Sales order with respective original sales order.
    After copying the line item details in to return sales order, we are not able to change item category to another.  Since item category is in display mode(grayed out).
    We tried with
    1.Transaction varant, it is not helpful.
    2.Maintained the item category which is required in item category determination(Manual entries)
    Though we are able to change the item catgory in the sales order through some user exit, price condition are in active status. we are doing price update, but still condition types are still in-active.
    Please help, how to change the item cateogry and to redetermine the price based on the item category in sales order.
    Thanks & Regards,
    Rajesh.

    Then how do you settle it with the customer? He has still paid for the original materials and has returned some or all of them. He is still going to be invoiced for the full quantity. There should be some way to either replace the materials or give him a credit memo
    but coming to Gunda's query, the only way I see to map this is to create a different order type ZRE which is a copy of RE and item category ZREN which is a copy of REN. In ZREN, turn on Pricing. Maintain copy controls from OR to ZRE and keep the pricing condition type Manual. Then whenever the business decides not to give the customer a refund, go to the item conditions, set the pricing condition value to 0 and save the order

  • BAPI / Function Module for Sale order updation

    Hi,
         I need to update sale order details(Reason for rejection)..Can you please tell me any of the existing BAPI's / Function modules to do the same.

    hi,
      try bapi_salesorder_change
        <b>allocate points if useful</b>
    regards,
    pavan

  • XI IDOC ORDERS04 create sales order update VBKD_BSARK

    Hello
    I have created a sales order interface from an external partner who sends a file (Purchase order), XI reads and transfers to R/3 via IDOC ORDERS04 to create the sales order.  this works fine, but i need the purchase order type field VBKD-BSARK to be updated for further processing of order confirmations and deliveries (the customer also has manual orders created which are handled differently).
    in the XI mapping i have mapped the required entry for VBKD-BSARK into E1EDP02-BSARK, but it does not work.  I notice that this is at line itme level.  i have had a good look through the segements in ORDERS04 but I cannot find any reference to PO type.
    I also tried mapping the required data to E1EDK14 'QUALF'=013 .. this did not work either.  i use FM IDOC_INPUT_ORDERS and can only find reference to vbap-bsark  but this is not working.  it always takes the default setting.
    Does anyone have any ideas?  I have to use ORDERS04 as we have user enhancements for sales orders that are not available with SALESOREDERCREATEFROMDAT2.  which may work ok.
    cheers
    Nick

    Hi,
    Can u tell me the steps to create a sales order using idoc, i've created a bapi but thats a temprory use. I wanted to created a sales order automatically when a purchase order is saved after data entry is completed.
    Please let me know if u can help me, i wanted to do it using idoc
    Regards
    Sanju

  • Problem with sales order update from MIGO ( using BADI)

    I have written a BADI while doing MIGO, through which I am updating Sales order “Order Quanity”.
    I am able to update the Quantity successfully in sales order, but I am getting following update termination message which is mentioned below.
    "Sales Order 376446 has failed an update to the billing date associated to Transaction MIGO
    Contact your STC Key user for assistance
    PO Number:"
    Any clue? Please suggest.
    Regards,
    Krishna Prasad MVN

    I have written a BADI while doing MIGO, through which I am updating Sales order “Order Quanity”.
    I am able to update the Quantity successfully in sales order, but I am getting following update termination message which is mentioned below.
    "Sales Order 376446 has failed an update to the billing date associated to Transaction MIGO
    Contact your STC Key user for assistance
    PO Number:"
    Any clue? Please suggest.
    Regards,
    Krishna Prasad MVN

  • Problem with Sales Order update(VA02)

    Hi,
    I have created a sales order. I am changing the same order. I am adding few more items to this order and saving it. When I am saving this order, it says that the order has been saved. and when I am trying to view the same order again using VA02, I am getting a 'SAP office express info' popup saying 'Express document "Update was terminated" received from author "Paddu"'. and the description says 'Update was terminated'.
    Error Info...   V2 101: Error during update of Table VBAP
    Can someone tell me why I am getting this error. and what is this error related to.
    and when I again view the order in VA02, the changes I did were not saved. Con someone please tell me the reason for this. Thanks in advance.
    Best Regards,
    Paddu.

    Hi Gert,
    Thanks for your reply. Sorry for not providing the details.
    I just found the update error details in SM13. Please find the details below.
    Function Module   : RV_SALES_DOCUMENT_UPDATE
    Status                  : Update was terminated
    Report                  : LV45UF0V
    Row                      : 175
    Error details   Class:     V2         Number:    101
    V2 101: Error during update of Table VBAP
    Could you please let me know if you find any reason for this error as it is very urgent. Once again I am very much thankful to your time. Tell me if you find any reason.
    Thannks & Regards,
    Paddu.

  • Sales order - update line status to close the document with DTW

    Hi everybody,
    yesterday i tried to update the line status of sales order lines from "O" to "C" with DTW. At first he ask me for DocRate. Then set DocRate to "1". After then DTW wrote, that I can't update the lines, during update the document... Can someone help me..., maybe with an example for DTW.
    Happy new year to everyone.
    Best regards
    Stefan

    Hi Stefan Ressel,
    Welcome To SAP Community Network Forum
    Sales Order line status close that means for particular line Item Quantity Delivered through Delivery document and sales order line status open to close.
    OR
    You have to manually close Sales Order line status without delivered Quantity.
    Check in your case Item Quantity are to be delivered through Delivery document. Right click on line & check Target document.
    If Sales Order Item Quantity are to be delivered through Delivery document then SAP restrict to update line status.
    Thanks,
    Srujal Patel

  • Sales Order Updation when the delivery changed

    Hello Experts,
                           I am working an object where I need to update the sales order when the delivery changed.
                             Actually when the remote system rejected the delivery an IDOC will come to R/3
    Sooner the delivery changed in R/3 I need to update few fields in sales order.
              When I am trying to code in the exit in the FM attached to the IDOC it is first updating the sales order and calling ws_update_delivery  next.
    Even if I am trying in mv45afz1 also same thing is happening.
              Can anyone let me know how to solve this problem.

    Hi,
    you can see the work center capacity situation for manufacturing an item in the salesorder. But it needs Assemble to Order strategy. Anyway u can see the material details in the sales order.
    Kiran.

  • VMI Sales Order CIF to APO

    Dear All;
    We are creating a VMI Order in APO which is CIF'ed to R/3 and a corresponding Sales Order is created with "Z" order type which has been configured.
    But this order is not CIF'ed back to APO. The integration model is active with the material and plant.
    Could you please shed some on light on any missing config here ?
    Thanks
    Vathsan

    Hi Vathsan,
    1) Check is there any struck queues
    2) Check the publication settings under distribution
    definition are maintained in APO customisation
    3) Run /sapapo/ccr for sales order and check the
    error noticed
    Regards
    R. Senthil Mareeswaran.

  • BAPI sales order update

    Hi folks,
    Can anybody tell me the BAPI name to update the plant, route and storage location in the sales order.
    if possible please tell me BAPI name in general which updates the sales order values...
    thanks in advance

    Hi,
    Use the bapi'S 'BAPI_SALESORDER_CHANGE'
    and 'BAPI_TRANSACTION_COMMIT' to update the sales orders.
    Regards,
    Sudheer Kumar

Maybe you are looking for

  • Error: Unable to find file image browser on you system??? help

    I keep getting this error when I try and add an image to my form. I can do it on another computer with no problem, but on my work one who these forms are for it's not working. but I can add images to anything else, word, excel, etc, just not in LiveC

  • Where is Contact Sheet II in CS4?

    Just upgraded to CS4 and cannot find Contact Sheet II under File>Automate. Went back to my old CS and pulled up the feature only to find out that when I went under Source Images> Folders>Choose... the chosen folder has all the photos grayed out.I'm o

  • Values carry over when copying pages!

    Hello, Try as I might, I cannot figure out how to copy a blank page or create a duplicate page in a document without having the values that I type into fields in one page carry over to the copied pages. Basically, I have a document with multiple page

  • NoSuchMethodError on ejbc.run stub generation under Weblogic 5.1 SP12

    It seems like this error has been posted here before but I see no message body so I'm probably reposting this error. I am getting the below error where CollectorManagementModule is a JBuilder 7 ejb module which is executing ejbc.run method to generat

  • Multicam not adding media

    I am trying to create a simple multicam clip using two angles however once I create the clip, I get no video or audio - just a black thumbnail. In the inspector, I get  an option to review a single channel of audio and only have one angle option. Not