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.

Similar Messages

  • 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

  • User exit to change sales order status once a delivery is created

    Hello Experts,
    I want to update the Overall status(VBSTT-GBSTA_BEZ) of a sales order to completed once a delivery is created for that order.Please guide me how can i do this and also the user exit or badi where i can write the code for this.
    Thanks in advance.
    Regards,
    Koustubh

    Got the complet guidance in new thread.
    User Exit to update Sales order text (Terms of delivery) on saving it
    Thanks

  • Ignore the number of schedule lines in sale order item when run MRP

    Dear All,
    I have a problem when I create production order (discrete manufacturing)
    When I create a sale order with one sale order item and 3 schedule lines for this sale order item.
    After that, I run MRP for this sale order, what I get is 3 planned orders for 3 schedule lines. It means that I will have 3 production orders for 1 sale order item.
    I want  create one production order for one sale order item whatever the number of schedule lines in sale order item.
    I think I have to config in MRP. Please help me.
    Thanks in advance

    Dear
    Check in OPPQ then look in Master data Availability Check & strategy for material also check whether u have maintained strategy for same material and see did u extended sales views for other material
    As u said 3 schedule lines for this sale order item check whether u have extended sales views for next material
    With Regards
    Pushpalas

  • Update manager in IdM automatically when the manager changes in SAP HR

    Hi Experts
    I have been given a requirement where the manager of a user in IdM should be updated automatically when the manager changes in SAP HR.
    The HR extraction job is currently in place and runs every 30mins.
    Please could you give me some ideas on how to implement this.
    IDM 7.2 SP 6
    Thanks
    Ran

    Hi Deepak
    I have been discussing this a bit more in detail with the client. So, the issue is as follows
    When a new/replacement manager is hired
    When people are moved from one org unit to another
    The scheduled extraction job (RPLDAP_EXTRACT_IDM with a variant with the delta tick on) does not update the new manager info in IDM for the relevant users who report to that manager. The client has to run the program (RPLDAP_EXTRACT_IDM with a variant with the delta tick off) manually each time for the affected users which updates the manager info successfully in idm.
    I investigated the query LDAP_IDM_QUERY from user group /SAPQUERY/L1 and want to know if the below should be ticked as well. Your thoughts please?
    Please advise.
    Thanks
    Ranjit

  • We are using EBS 12.1.3.  When we input a sales order from a customer we input the sales order and specify the date the customer wants it.  This isn't always the date that we intend on manufacturing it though.  I need to put a customer due date in, but be

    We are using EBS 12.1.3.  When we input a sales order from a customer we input the sales order and specify the date the customer wants it.  This isn't always the date that we intend on manufacturing it though.  I need to put a customer due date in, but be able to put a date in another field that MRP can read in the event we choose to manufacture based on another date.  For example, early.
    Any help would be appreciated.

    What you are experiencing is 100% related to Malware.
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Change Distribution channel in Sale order after O/B delivery

    Dear All,
    I want to change Distribution channel in Sale order after O/B delivery. i am trying same in MASS change sale order, but there is no any selection for Distribution channel.
    Please suggest new way to chane Distribution channel in sale order after O/B delovery
    -Sunil

    Hi,
    Please post this thread in Sales & Distribution forum

  • Problem for searching Sales order no. ref. to delivery no. from VBFA

    Hi,
    I want to search Sales order no. ref. to delivery no., as generally ref. to devilery no. as a VBELV filed for Table VBFA , I am selecting  VBFA where VBTYP_N = C that is Order ,  but in my present case when I am looking for the available entry in VBFA ref. to delivery no. I am not getting Any  VBTYP_N = C , insted of this I am getting VBTYP_N = Q, i.e transfer order and also in VBELN  it is just giving the date of delivery , as 20090430,
       Can u help on this ,  I want to get SO no. ref. delivery no. and then want to search customer PO and Date . for that SO.
    regards,
      zafar

    Hi Zafar,
    VBFA is a document flow table. I'll tell you the way to fetch preceding or subsequent document out of this table:
    Document flow for order to delivery is as below:
    Sales order > Delivery>shipment-->billing
    So sales order is preceding document of delivery so put delivery in VBELN(SUBSEQUENT DOCUMENT) and fetch the VBELV i.e. preceding document for the same. Also put document category as 'J' i.e. delivery.
    hope it helps.
    Vivek Gupta

  • Sales order is blocked for Delivery-ZH Cost estimate Req

    Hi experts,
    When I am saving the sales order I am getting the informative message standard cost estimate for material xxxx is missing. when i am creating delivery with reference to sales order  it is not allowing me to do delivery it is showing that Sales order is blocked for Delivery-ZH Cost estimate Req( in  a log). Can you pls let me know what configuration I have to check.
    Regards,
    Sunina Agarwal

    hello, friend.
    it looks like product costing has been activated in your environment.  if such is the case, you would have to coordinate with your FICO consultant, and they have to make the necessary standard cost estimates.
    please also check if the cost estimates are part of the incompletion procedures.  if it is, you would not be able to bill the transaction even if this is taken out of the incompleteness procedure.
    regards.

  • 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

  • How Variant Configuraton data  from Sales Order stored in the database

    Hi,
    I understand that the "variant configuration" data (chosen values for each characteristics assigned to material) from a sales order is stored separately with reference of an object in SAP.
    Please let me know how SAP stores such data -source in the database tables.
    This is required to draw a report of these charateristics values for various sales orders (Transactional data).
    I also understand that there are function modules to retrieve this data, but the function modules are unable to retrieve data as accurately as the VA03 program.
    Thank you for your advice.
    Regards,
    Hemant

    Hi ,
    I do not know what a reference charactersitcs is,but there are all independant characeristics in terms of their values.
    A guess it is because the VC data is changed after the sales order is created, the updated VC data is displayed properly only in VA02 or VA03 but other function modules fail to display the updated VC data.
    I understand there is a relationship of instance -between sales order object and VC data object-which we need to update and then see the latest data.
    Please let me know if anyone has debgged VA03 to know how the standard SAP program retrieves VC data in a sales order.
    Thank you,
    Hemant

  • Combining 2 Sales Orders - 'Complete' with 'Partial'  Delivery into 1 Delv

    Hi folks,
    I have a typical requirement from my client and it is as follows:
    My client want to combine 'Sales Orders' marked with 'Complete Delivery' indicator(VBAK-AUTLF check-box is checked) at the Header -> Shipping, with Sales Orders marked for 'Partial Delivery' (VBAK-AUTLF is not checked) in the Header-> Shipping.
    Although all the other business conditions/fields values at the Header levels,like Ship-To_party, Shipping Conditions, Incoterms, etc. are same across both these Sales Orders; SAP as a standard Business Process Flow, doesnot allow <u>COMBINING</u> of  2 such orders into a <u>SINGLE Delivery</u>, since their 'Headers' seem to differ for that ONE field value.
    I have searched through all user-exits, SAP Help forums as well as OSS notes to get a solution to this problem but could not find any (bad luck).
    Will anyone of you who has come across this particular scenario or know a way to get around this problem, be able to contribute with his/her ideas? I would be
    grateful, thanks in advance.
    Regards,
    Shripad

    Hi iim nava,
    Thanks for your reply.
    However in our case, the system does throw that error, when i try to combine the second order (partial) into the delivery created for the first order (complete).Here is the log for your reference, when I try to add the second(partial so items) into the delivery created for the first (complete delivery SO):
    Diagnosis
        Item 000010 cannot be shipped in the same delivery with the
        other items in the document because the header data (AUTLF)
        is different. The field AUTLF for the item has the value &4,
        yet in the delivery it has X.
    System Response
        The system issues this message if a delivery split is
        necessary.
        This message either appears in the collective processing log
        or during creation of outbound deliveries from projects or
        for subcontracting. It informs you that the item specified
        will be shipped in a delivery other than the delivery that
        includes the other items from the same document. If there was
        a general problem with shipment of the delivery, a different
        message appears.
        If this message appears when you are creating an outbound
        delivery with reference to a sales order in the foreground,
        it indicates that the order item cannot be shipped with the
        current outbound delivery.
    By any chance, did you actually try simulating my scenario in your system. If you have and the same works fine in your system, then pls help me by sending your 'copy control' settings, to help me compare. We run SAP 4.6 and my settings for copy control are as follows:
    <u>LF <-> OR (Header)</u>:
                 Data Transfer (VBAK) = 001 [HEADER]
                 Data Transfer HU = 000 [blank]
                 Order Requirements (VBAK) = 001 [HEADER]
                 Combination Requirements = 651 [051 w/o Comp dlv]
    <u>LF <-> OR <-> TAN (Item)</u>:
                   Item Data = 101 [ITEM]
                   Order Requirements (VBAK) = 101 [ITEM]
                   Business Data = 2 [BUSINESS DATA]
                   Buss Data Reqmt = 151 [COMBINATION]
    Hope the feedback can you will help me solve my problem. Thanks once again.
    Regards,
    Shripad

  • AR invoice and Sales order # to be the same

    this is an email from one of our customers, and we cannot confirm if it is possible. Can someone help?
    We require the AR Invoice # to be the same as the Sales Order Invoice #, so that the Account Statement shows information (the original Sales Order #) that the client understands. If the Account Statement were a little more flexible, we might be able to get around this issue, but it is hard to change the SAP account statement.
    Currently we manually copy the S/O # over from Every Sales Order as we copy the S/O to A/R. This is inefficient & should not be necessary.
    Plus, we want to automatically copy one of the dates over from the S/O. Surely other businesses want to copy over a S/O date to the AR Invoice (for instance, to fill in the Document Date field of the AR invoice - ie. the document date of the S/O).
    The Bug in SAP is that you can not AUTOMATICALLY retrieve the SO# (using a Formatted Search) BEFORE saving the AR Invoice.
    This whole issue also applies to copying over POs to A/P Invoices.
    (AFTER saving the AR Invoice on the database, my formatted search CAN pick up the original SO#, but by then it is too late, because the AR Invc # has to be Specified BEFORE saving the AR Invc)

    Dear Mr. Emery,
    I hope you don't mind if I am interfering in your issue.
    Regarding the manual Invoice number to be equal to the original based Sales order Number AND
    providing that you only work in a 1-2-1 relation between the two sales document:
    Settings:
    Create the following query: SELECT $[$38.44]
    Link that query to the invoice number field, refreshed automatically on 'series, Displayed Saved-User defined values
    Process:
         The user opens a new sales invoice
         The user choose the Business Partner
         The user choose u2018copy from a sales orderu2019
         The user change the series from u2018primaryu2019 to u2018manualu2019 -> this trigger the query
    Regarding the invoice posting date = based sales order posting date:
         Settings:
              Create the following query: SELECT CONVERT(CHAR,T0.DocDate,103)  FROM ORDR T0 WHERE T0.DocNum =  $[$8.0.0]
              Link that query to the invoice posting date field, refreshed on u2018Seriesu2019, Displayed Saved-User defined values
         Process:
              When the user change the series to manual, the based sales orderu2019s posting date will automatically overwrite the invoice posting date.
    This solution does not cater for an invoice created directly (Not based on Sales Order). But you have here a basic idea on how to solve your issue, thus easily can improve the solution.
    Tested on 2007A PL42.
    Regards,
    Frederic Bada
    Pretoria, South Africa

  • Mapping between Sales Order-Schedule-Line and Delivery-item

    Hi together,
    I want to extend the Datasource 2LIS_12_VCITM (Delivery-number, -item, Order-number,-item is available) by Sales Order Schedule Line.
    Could not find any ERP table (VBEP and LIPS allow a mapping only on item level) for the mapping between Sales Order Schedule Line and Delivery item yet. The use of the extractor 2LIS_12_VCSCL for the extention (e.g. infoset) afterwards is no option.
    Thanks for your help in advance!!
    Assign full points!!
    Sven

    Hi Reddy,
    thanks for your answer.
    I know that I have to add this field.. but the problem is, how to fill this field. I don't know how to map the delivery-item with the schedule line-item.

Maybe you are looking for

  • Can I use OSX Server instead of Dropbox?

    We are considering buying OSX Server.  One basis for the purchase would be to replace Dropbox.  We currently use Dropbox with local sync of folders, so all oru people work directly in folders that are synced to everyone else.  Thus all docs are avail

  • How to minify code in DW CS6 without using third party tools?

    I work in a secure environment without access to the internet or third party plugins. We just have access to Dreamweaver CS6 and I am looking for ways to minify (remove all the white space) in my code (CSS, JS, HTML, etc). I did see a tutorial about

  • Great CRT Monitor for Mac Mini

    Having purchased a Mac Mini a few weeks ago I was horrified to read all the posts on this site reporting problems with monitors. In need of a new CRT monitor I asked the folks at Mac Zone for a recomendation and then placed an order for the 17" Views

  • Regarding PO reports

    Hi Guru's I have written a report which display output.and the output fields are 1-Plant, 2-Purchase oragnization ,     3- Purchase Order  and 4-Purchase item. Plz check this program where i can mistake to write this program.. TABLES : EKKO,         

  • Problem in moving Set_pf_status from pquality to production syatem

    Hi, I came across one strange incident while transporting code from Quality to Production. I could see the module set_pf_status in tcode se51 in the quality system. When I transported the code, I could see only module %_pf_status in the tcode se51 in