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

Similar Messages

  • 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

  • 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>

  • 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

  • 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

  • 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....

  • 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

  • Your Price and Retail Price are showing same value.

    In my Catalog section display routing page "Your Price" and "Retail Price" are showing same value. How can I resolve this issue?

    Hi Ashish,
    The CUSTOMER context for qualifiers is supported at the Item / Cart levels.  However, it is only supported in the Catalog when using Best Price.  If using minisite based pricing, "IBE: Use Price List Associated with Specialty Site" = Yes,  and/or customer account pricing, "IBE: Use Customer Account Price List" = Yes,
    Then this qualifier is not referenced for the catalog pricing calls by the pricing engine.
    As per the documentation link referenced above -
    Pricing Qualifiers Supported by Oracle iStore
    All of the pricing qualifiers that are supported by Oracle iStore are supported at the shopping cart level -- but in the catalog pages, a only subset these supported attributes are available to the pricing engine.
    The following table shows the pricing attributes supported in the Customer Application. The table also shows the context for the attributes, whether they are supported in the catalog in addition to the shopping cart, and whether they are supported at item level (also known as line level) or cart level (also known as order or header level). Remember, all of the following are supported in the shopping cart; some are only supported in the catalog. Customer contexts are supported in a Best Price scenario only.
    The discount will not be applied in the catalog with a CUSTOMER context qualifier on the modifier unless using Best Price for pricing.  This behavior is discussed in the (Doc ID 429657.1)
    Regards,
    Debbie

  • Billing and shipping names are one name! Terrible system

    The form was so dumb and confusing, it doesn't have the name on my credit card listed under billing address, and it doesn;t have my full name listed on the shipping address. I wonder if this will screw my order up. I got confirmation email though.

    Answered in your other thread...
    BTW In general you should avoid cross posting the same question to a number of forums.
    tt2

  • Billing doc and accounting number to be same

    Hi Gurus,
        Requirment: whenever i create Billing VF01
    "Billing document should be same as Accounting document"
    What are the steps i need to follow to do?
    Thanks in Advance

    Dear Sameer,
    In the billing process accounting document type is RV
    As per the standard settings billing document number range and account document number range will be the same.
    If you use standard billing document number range system will give the same number to the billing documents and account document.
    This happen based on the check mark in external check box of the accounting document number range maintenance.
    If you remove the external check mark system will take the different number range which is defined assigned to the accounting document type.
    You can check the accounting document number range through FBN1 transaction.
    To check the Number range assignment to RV document type go to OBA7 transaction
    I hope this will help you,
    Regards,
    Murali.

  • Number range of billing doc and accounting doc to be same

    Hi Gurus,
    Can any one help me out to make the number ranges of billing doc and accounting doc same every time.
    Even though the invoice is cancelled the same no range should come for cancellation accounting doc.
    Thanks in advance
    Dushyant

    Hi,
    Create or change the same interval for the BILLING DOCUMENTS & ACCOUNTING DOCUMENTS in VN01 and FBN1*
    For BILLING DOCUMENTS assign this Number range in the VOFA transaction code for the Billing document tyes*
    For ACCOUNTING DOCUMENTS assign this Number range in the FBN1 for your company code and fiscal year*
    activate the External Field [] . this is mandtry
    please check and revert back.
    regards,
    Anup Shukla

  • How do I setup RFC if Solution Manager and Target system are in same server

    Dear Experts,
    How do I setup RFC if the Solution Manager and the Target System (SAP ERP 6.0) are sitting in the same server?
    Do I really need to setup RFC?
    regards,
    Abraham

    Hello,
    An RFC is a Remote Function Call and is used to communicate between computer systems.
    A system can be on a server. Multiple systems can be on a single server, a single system can exist on multiple servers.
    When you setup the RFC Target it is the Host and not the system that is specified.
    You can get the host information when logged into the ERP system by running transaction SM59.
    This would then be the target Host in the RFC from Solman to the ERP system.
    As Miguel suggested this is rather simple. So I hope this has shone a light for you so you may proceed.
    But if you continue to have problems please advise.
    Regards,
    Paul

  • VPN ASA inside Interface and ip pool are one same Subnet

    Hi Everyone,
    I have configured RA VPN full tunnel.
    Inside interface of ASA is
    Vlan1                    inside                 10.0.0.1        255.255.255.0   CONFIG
    ip local pool 10-pool 10.0.0.51-10.0.0.100 mask 255.255.255.0
    Need to know is it good design to have both on same subnet?
    When i access the Switch  connecting to VPN ASA  inside interface via--https://10.0.0.2
    which has IP 10.0.0.2  while using Remote VPN connection to ASA it does not work gives error
    message as below
    Jan 19 2014 19:42:46: %ASA-5-305013: Asymmetric NAT rules matched for forward and reverse flows; Connection for tcp src outside:10.0.0.51/51077(LOCAL\ipsec-user) dst inside:10.0.0.2/443 denied due to NAT reverse path failure.
    Jan 19 2014 19:42:57: %ASA-5-305013: Asymmetric NAT rules matched for forward and reverse flows; Connection for tcp src outside:10.0.0.51/51078(LOCAL\ipsec-user) dst inside:10.0.0.2/443 denied due to NAT reverse path failure
    Jan 19 2014 19:42:59: %ASA-6-302014: Teardown TCP connection 22418 for outside:10.0.0.51/51069(LOCAL\ipsec-user) to identity:10.0.0.1/443 duration 0:01:08 bytes 1035 TCP Reset-O (ipsec-user)
    Jan 19 2014 19:42:59: %ASA-6-106015: Deny TCP (no connection) from 10.0.0.51/51069 to 10.0.0.1/443 flags FIN ACK  on interface outside
    Current NAT config is
    nat (inside,outside) source dynamic any interface
    Regards
    MAhesh
    Message was edited by: mahesh parmar

    Hi Mahesh,
    It should work but I generally would not suggest having the same network on the LAN and also configured partially as a VPN Pool network.
    Your problem at the moment is simply lacking the NAT0 configuration for the traffic between LAN and VPN Pool.
    I would suggest changing the VPN Pool first and then configuring this
    object network LAN
    subnet 10.0.0.0 255.255.255.0
    object network VPN-POOL
    subnet
    nat (inside,outside) 1 source static LAN LAN destination static VPN-POOL VPN-POOL
    We have to use the line number "1" in the above command so that it gets moved to the top since your current Dynamic PAT would otherwise override it.
    In the future it would be best if you changed your current Dynamic PAT configuration to this
    nat (inside,outside) after-auto source dynamic any interface
    We simply add the "after-auto" to this Dynamic PAT configuration so that it gets moved down in priority. The "after-auto" refers to the fact that this NAT will be inserted after Auto NAT (after Section 2). Your current rule is Manual NAT (Sectiom 1). The new rule will be Manual NAT (Section 3)
    - Jouni

  • 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.

Maybe you are looking for

  • Itunes Match upload keeps failing

    Hey there, I signed up for iTunes Match yesterday and it's matched up most of my library but it's just started running the Step 3 "Uploading Artwork And Remaning Songs" FOR THE THIRD TIME - it gets all the way through the process then I turn around t

  • This has been going on for some time.

    this is getting very frusturating. i've tried everything, even "restoring iPod to factory settings" I put a CD in that I would like on my iPod, i import it to my iTunes, but then it takes another CD out of my iTunes & off my iPod! My iPod always has

  • Problem with AD Synchronisation - Any Ideas

    We are in the process of migrating from our 4.5WS portal to G6 and thought we were doing OK until we tried to run our AD Authentication source. Although all the users & groups appear in our G6 portal and we can log on to the portal using our AD crede

  • Terminating enqueued threads at synchronized block

    Hi! I would really appreciate your opinions: :) The application desing: - I'm developing a web applicaction running on a Tomcat server. - The app is being developed using Struts and Spring. - Pages (presentation layer) are made of JSPs. - There are S

  • Colors not showing up and print doubleing and blurry

    Some sites colors do not show as they should,in black and white.Print is superimposed over each other and blurry.I never had this problem till I down loaded firefox 4.