Populating Bill to and Ship to

We use a custom process (which calls the order creation API) to create orders. Now, a number of orders got created with the Bill to and Ship to missing. There had been a change of address made using the Telesales form and the change got reflected only at the party level, and not the account level, and so the sites weren't present at the account level, which led to this situation. We are now trying to update these orders, and populate the Bill to and Ship to using API. We have populated the account level tables already. However, when we proceed to using an API to update the order header, we get the error saying that we cannot update the Bill to/Ship to as lines already exist for this order. There are some 10000 orders stuck, and we need a resolution pretty badly, as these orders need to be booked.Can anyone assist?
thanks!!

Hello,
I think you booked sales order and API can update this sales order. Try update sales orders with out API use update in oe_order.... :) First use in test instance.
Regards,
Luko

Similar Messages

  • Vendor's bill-to and ship-to partner

    Hello,
    I need to identify the Bill-to and Ship-to partner in the account assignment for a vendor.  Can someone please explain how to go about doing this?
    Thank you,
    JR

    ?? Vendors ship to us...we're the bill-to, ship-to from their Sales Order viewpoint....

  • Vendor's bill-to and ship-to partner in SRM

    Hello,
    I need to identify the Bill-to and Ship-to partner in the account assignment for a vendor in SRM. Can someone please explain how to go about doing this?
    Thank you,
    JR

    ?? Vendors ship to us...we're the bill-to, ship-to from their Sales Order viewpoint....

  • Tables for  bill to and ship to addresses in crm order

    Hi Experts,
    In which tables the bill to and ship to addresses are stored in CRM order?
    Thanks in Advance.

    Hi Jak,
    Goto table CRMD_PARTNER to get the address numbers i.e. ADDR_NR and using this address number retrieve the address details from ADRC table.
    <b>Reward points if it helps.</b>

  • Bill to and ship to address on PO

    Asper Business requirement we want  Bill to and Ship to adrresses on PO.How to configure this
    Thx

    Hi,
    You Want this in the PO Print out or in the PO screen it self.
    if it is for PO it self ,you can define a Text feild in the header for the Bill to
    And in the Item text for ship to .
    If you Want the Ship to and Bill to from CSO in Print Out..(if the PO is third part CSO driven PO)
    the Logic is EKKN-- sales order number ,And VBPA for the sales order partner functions
    or else
    The Bill to would be the Plant to which the vendor is raising the invoice
    NOrmally it can be the Plant address from the first line item in the PO,which is not deleted.
    Or the same can be Maintained in standard text  So10.
    Regarding Ship to.address it can be four ways-plant,customer,vendor,address ID
    Plant
    EKPO -Pass PO NUmber - collect the plant and pass in table T001W to get the address number
    and pass the address number to ADRC table
    Customer (third party)--item category  'S"
    IN table EKPO -collect the customer Number-KUNNR and pass that value to KNA1 table and then get the address number and then get the address from ADRC table.
    Direct address number ( created by t code MEAN- Type ME01)
    This adress number-ADRNR can be taken from EKPO table and pass this value to adrc table to get the address.
    Vendor ( subcontracting)
    In this IN EKPO we will have the vendor field -LIFNR and this field collect the vendor number and pass in LFA1 and get the address number and then pass the address number to ADRC table
    If in EKPO,the address number and customer vendor field are blank then it picked from the plant and we have to default the Plant Address
    hope so it helps
    Regards
    Anjanna
    Edited by: Shiva Rajanala on May 6, 2009 4:28 AM

  • What's Impact of changing the customer Name(along with Bill To and Ship To) at the header level after book

    Dear All,
    Revision: 11.5.10.2
    We have a case where some of the orders we have created have incorrect customer name along with incorrect Bill To Ship To.
    All these orders are booked. And their Line Status is either Awaiting Shipping or Supply Eligible.
    What Impact of changing the customer Name(along with Bill To and Ship To) at the header level.
    Thanks,
    Helen

    Hi Helen-Oracle
    As said above there should not be an impact if the warehouse on the order before and after changing the customer, ship to and bill to remains same.
    Additionally, if the item on-hand qty is sufficient to reserve the item and there is no B2B internal requisition kicked off.
    As long as the above conditions are fine, I don't see any impact of changing the customer, bill to and ship to.
    Also, you can run a complete wing to wing cycle in case you really want to test the behavior of the system in such scenario.
    Please feel free to mark the response as helpful or correct if you think it is helpful and to help people easily find help and answered responses.
    Thanks
    Mirza Tanzeel

  • Customer has same Bill-To and Ship-to address...

    If a Customer has same Bill-To and Ship-to address, then is there any way to enter one address and copy to another in the BP-Master??? (in SAP B1 2007 B PL7)

    If you want to copy them automatically, only FMS may not be good enough.  By SDK or add-on wold be better. It is not that difficult to copy them manually . Because not all Customers have same Bill-To and Ship-to address, automation might not be a good idea.
    Thanks,
    Gordon

  • If the bill-to and ship-to are the same

    Hi everybody,
    Can somebody please help me with this? If I have both the bill-to and ship-to party as the same, how can I get that information as two different addresses etc in Sales. I am looking at the KNA1 table and I know I can use partner functions for this but I cannot figure out how to use them to get the information in one report as bill-to and ship-to if the information is the same.
    PLease somebody help.
    Thanks.

    IF it would help here is the code:
    DATA: l_kunnr LIKE vbpa-kunnr.
    SELECT kna1kunnr kna1name1 kna1stras kna1ort01 kna1regio kna1pstlz
    kna1brsch kna1erdat kna1ktokd kna1bran1 kna1~telf1
                     kna1telfx knvpparvw knvp~vkorg
                     knvp~vtweg
                     knvp~spart INTO
                     CORRESPONDING FIELDS OF TABLE
                     typ_tab FROM KNA1 JOIN knvp on
                     kna1~kunnr =
                     knvpkunnr where knvpparvw = 'Z3'.
    LOOP at typ_tab.
      WRITE: / typ_tab.
         WRITE:/ typ_tab-kunnr,typ_tab-name1,typ_tab-stras,   typ_tab-ort01,
                 typ_tab-regio, typ_tab-pstlz,'USA',
                 typ_tab-brsch, typ_tab-erdat, typ_tab-bran1, typ_tab-telf1,
                 typ_tab-telfx, typ_tab-parvw, typ_tab-vkorg,
                 typ_tab-vtweg, typ_tab-spart.
         SELECT kunnr INTO l_kunnr FROM VBPA
         WHERE kunnr EQ
         typ_tab-kunnr and parvw EQ 'RE'.
         ENDSELECT.
      WRITE: / l_kunnr.
         SELECT name1 stras ort01 regio pstlz INTO TABLE   typ_kna1 FROM
         kna1 where kna1~kunnr = l_kunnr.
         LOOP AT typ_kna1.
             WRITE:/ typ_kna1-name1,typ_kna1-stras,typ_kna1-  ort01,
                    typ_kna1-regio,typ_kna1-pstlz.
             WRITE:/.
        ENDLOOP.
    ENDLOOP.
    Thanks & regards,
    AM

  • Set bill to and ship to as primary

    ple find the link PL/SQL

    Perhaps if your link pointed to a question, rather than the enter a new post screen, you would have better luck getting assistance.

  • Tax Determination Bases on Bill to Party and Ship to Party

    Hi Guru ,
    I have a requirement Tax should be determined based on Bill to Party and Ship to Party.
    If Bill to and Ship to are  Overseas Customers then '0' TAX.
    For all remaining Customers 7 % Tax
    Could you please advice
    Thanks

    Hello,
    Define two  ACCESS SEQUENCE with the combination of Region code/Country key
    Define the two TAX  CONDITION types and assign the Access sequence one for each scenario
    In OVK1 assign the Country key and TAX CONDITION and in OVK3 assign the tax category as 0 for the Overseas customer and 1 for Domestic customer
    Then in VK11 maintain the condition records as 0% for Overseas customers and  7% for the Domestic customers.
    Regards,
    santosh

  • Unloading point and ship to party not copied from PR to PO

    Gurus,
    Am populating unloading point and ship to party in a PR for both item category standard (" ") and service ("D"). However during PR conversion to PO, both these fields only get copied for item category standard and NOT for item category service. What is the correct set up so that these fields are copied from PR to PO during PR conversion ? Any customizing point i missed ?
    Cheers
    Olivier

    HI,
    Please see note:
    118008   >  MM-SRV: Goods recipient and unloading point missing
    unloading point can not be used in MM-SRV.
    About ship to party I was not able to find any information. I would recommend to enter a ticket at SAP, so that an expert can have a look into your system.
    Best Regards,
    Arminda Jack

  • Please review your billing information and approve it

    PLEASE help me before I pull out my hair!  I have a photo book I've created in iPhoto 09.  It's ready to be ordered (in-time for Christmas!) and no matter what I do, it comes back with a "please review your billing information and approve it".  There are two things in this repeated (at least 20 times) process that I find interesting 1) every time I re-enter my account info, it says I have an invalid city, state zip code combination and 2) when I try to check out my preferences in iPhoto it freezes up (spinning beach ball) and I have to force quit.  Here's what I've done already:
    1. restarted iPhoto
    2.  restarted computer
    3.  re-entered billing information in apple store
    4.  enabled one-click purchasing and express checkout options in apple store
    5.  trashed iPhoto preferences
    6.  deleted my keychain preferences
    7.  re-entered account info in iPhoto
    8.  double-checked that I choose United State
    9.  Changed credit cards and tried all the above over again
    I'm out of ideas.  Someone PLEASE help me figure out what is going on!

    every time I re-enter my account info, it says I have an invalid city, state zip code combination
    The zip code error suggests you are ordering from an Apple Print Products Store in the wrong country.  Your Billing Address, Shipping Address, Credit Card, Apple ID must all be valid in the same country as the Apple Store is you are ordering from. Is the region setting in your System Preferences > Language & Region the same as the country of your Billing Address and Shipping Address?

  • Open orders and Shipped not billed orders

    Hi All,
                     What is the fastest way to calculate the open orders amount and shipped not billed amount for a given customer.
    Thanks
    Venugopal Reddy

    Can u try this option and see if this is increasin your performance.
    For the billing documents ...
    Goto table VBUK and check the fields LFSTK = 'C' " Delivery completed and
                                                            FKSTK NE 'C' . "billing open
    At header level check that GBSTK ne C "over all processing status is open .
    This will yield you the list of open Invoices ..
    You need to bring in the select query with a join on VBRK and VBUK ..
    once u get the list of open invoices  then calculate the open qty from VBRP and VBUP where VBUP-GBSTA ne 'C'.
    here pick the qty from vbrp and sum it up to check the open qty.
    just like this ..
    SELECT vbeln
             fkart
             kunag
             gbstk
             INTO TABLE it_billing_h
             FROM vbrkuk                       "VBRKUK is a DB view " VBAK+VBUK
             WHERE vkorg IN so_vkorg
             AND vtweg IN so_vtweg
              AND spart IN so_spart
             AND kunag IN so_kunnr
             AND gbstk NE 'C'.
        IF NOT it_billing_h[] IS INITIAL.
          SELECT c~vbeln
                 c~posnr
                 c~matnr
                 c~fkimg      "---->open qty
                 d~fksta
                 d~fksaa
                 d~uvfak
                 d~fkivp
                 d~fssta
                 d~gbsta
                 INTO TABLE it_billing_items
                 FROM vbrp AS c JOIN vbup AS d
                 ON dvbeln EQ cvbeln
                 AND dposnr EQ cposnr
                 FOR ALL ENTRIES IN it_billing_h
                 WHERE d~vbeln EQ it_billing_h-vbeln
                 AND d~gbsta NE 'C'.
    use control break and sum the qty ..
    hope this helps ,
    Regards,
    Vijay

  • Calculation of open orders and shipped not billed orders amount

    Hi All,
    I have  a  requirement to arrive at the values of ‘Open Order’ and ‘Shipped not billed  ’ . 
    This is an interface program and the output will be sent to a target server.
    Input :  Company code,  Customer Code , Document date.
    Output Fields are:
    Customer Code
    Sum of all open orders value
    Sum of all shipped not billed orders  value
    To give an example
    A Customer has 50  orders and  the number of line items are  200 .
    Overall  order amount for 200 line items is 10,000.
    70 line items have been delivered (amounting to 5,000) and
    30 line items among the 70 delivered have been invoiced. (amounting to 3,000).
    I need to know the best way to get to:
    (1) Total "Open order" amount for the customer which is 5,000 in this example.
    (2) Total "Shipped not billed" amount for the customer which is 2,000 in this example.
    (3) Total "Invoiced" amount for the customer which is 3,000 in this example.
    We are looking for the tables to access and the sequence of access
    Since the interface is to be executed more than once in a day ,
    the execution time should be optimum
    Please suggest
    Thanks
    Venu

    check table VBUK
    GBSTK ne 'C'      "over all processing status
    and FKSTK ne 'C'  "open billing orders
    at header level
    and
    for item level check
    Vbup tbale
    make a join on Vbrk and VBuk in the where condition in addition to the selection criteria add the above two conditions and check the same.
    once you have all the open orders enable the items and do the subtotalling and grand total on the item loop.
    regards,
    vijay

  • Print photo book with billing and shipping addresses in different countries

    I live in the U.S. and would like to create photo books for family living in Europe. Rather than sending the book myself to Europe after having it first printed in the U.S. and shipped to me in the U.S., I would like to simply submit the book to the Apple print service in the country it is destined to anyway.
    Unfortunately, the Apple print service bases the country in which the order is fulfilled solely on the billing address of the credit card used, i.e. U.S. in my case. In addition, one can not choose a shipping country other than the country of the billing address.
    Has anyone else found a way around this limitation?

    I can't offer a way around, but at least for me in Europe it doesn't seem to be a problem: I have had Aperture books sent to England whilst the bill comes to me in Switzerland. I think I read once that quite a lot of Apple's European printing is done in Holland, maybe that makes a difference.
    More generally I do find Apple's way of dealing with international customers a bit irritating - I can only order software through the Swiss Apple-store in French or German...

Maybe you are looking for

  • Verifying DSN reports Datasource not found?

    Hello, thanks for looking.. I have two datasources configured on a production web server (Win IIS, CF8), one that connects to a remote database and the other connects to a local database. A web application I was in the process of migrating to a new s

  • Lens correction profiles LR3.4 Mac

    I use a mac. I shoot raw. I created lens correction profiles for my camera and a few lenses.  I uploaded them to Adobe.  The lens corrections show up in Adobe Camera Raw  but not in Lightroom.  ACR "looks" for the .lcp files in the Library/Applicatio

  • I cannot load certain pages using FireFox i could days ago. Pages load fine IE.

    I use google doc to link me to pages/spreadsheets for work, and i was accessing everything fine till 5 days ago. Now i am being redirected. I get a glimpse of the page/spreadsheet then it begins to redirect me with a blank screen. Disabled Java Add o

  • EXIT_SAPLMEREQ_010 DUMP

    Hi Guys, I tried activating a user exit for Purchase Requistion and have encountered a short dump stating that "<i>Function Module EXIT_SAPLMEREQ_010 is called, but cannot be found in its function group</i>". I checked the enhancement it belongs to a

  • Safari 4.0.3 Microsoft Visual C++ Runtime error

    I've got a "Microsoft C++ Runtime Library error" in safari main program (safari.exe) "R6025 -Pure Virtual Function call" when I was in MySpace. I've taken a screenshot to the error. http://img254.imageshack.us/img254/6296/runtimesafari.jpg I believe