Ship to and Bill to the same

Thanks for all the wonderful tips and tricks here...I've learned a lot. I am trying to create a check box that will automatically transfer the "Ship to" to the "Bill to" if the are the same. I can't seem to figure it out.
Here is an example:
http://www.wizzardweb.co.uk/java_copy_info.html
I've used the following code but to no avail:
var ShipToCompany = "";
var ShipToContact = "";
var ShipToAddress = "";
var ShipToCityStateZip = "";
var ShipToPhone = "";
var ShipToEmail = "";
function InitSaveVariables(form1) {
ShipToCompany = form1.ShipToCompany.value;
ShipToContact = form1.ShipToContact.value;
ShipToAddress = form1.ShipToAddress.value;
ShipToCityStateZip = form1.ShipToCityStateZip.value;
ShipToPhone = form1.ShipToPhone.value;
ShipToEmail = form1.ShipToEmail.value;
function infoCopy(form1) {
if (CheckBox1.copy.checked) {
InitSaveVariables(form1);
form1.ShipToCompany.value = form1.BillToCompany.value;
form1.ShipToContact.value = form1.BillToContact.value;
form1.ShipToAddress.value = form1.BillToAddress.value;
form1.ShipToCityStateZip.value = form1.BillToCityStateZip.value;
form1.ShipToPhone.value = form1.BillToPhone.value;
form1.ShipToEmail.value = form1.BillToEmail.value;
else {
form1.ShipToCompany.value = ShipToCompany;
form1.ShipToContact.value = ShipToContact;
form1.ShipToAddress.value = ShipToAddress;
form1.ShipToCityStateZip.value = ShipToCityStateZip;
form1.ShipToPhone.value = ShipToPhone;
form1.ShipToEmail.value = ShipToEmail;
Any help would be great appreciated.

Steve thanks for getting me started and the clarification. Still cannot get the data to move over. I think I'm over looking something.
form1.#subform[0].subform.CheckBox1::click - (JavaScript, client)
if (this.rawValue == "1") {
form1.subform1.BillToCompany.rawValue = form1.subform1.ShipToCompany.rawValue;
form1.subform1.BillToContact.rawValue = form1.subform1.ShipToContact.rawValue;
form1.subform1.BillToAddress.rawValue = form1.subform1.ShipToAddress.rawValue;
form1.subform1.BillToCityStateZip.rawValue = form1.subform1.ShipToCityStateZip.rawValue;
form1.subform1.BillToPhone.rawValue = form1.subform1.ShipToPhone.rawValue;
form1.subform1.BillToEmail.rawValue = form1.subform1.ShipToEmail.rawValue;

Similar Messages

  • How to give the details of delivery and billing on the same row in alv

    i want delivery and billing no i.e vbeln and quantity for billing and delivery for category 'J' and 'M'   for corresponding sale order
    Nothing is displayed while executing only the heading is displayed but in the debugger got the values for all how to solve this issue
    Moderator message - Welcome to SCN
    Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
    Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    Edited by: Rob Burbank on Sep 9, 2010 12:13 PM

    FORM FINALDATA.
      LOOP AT ITAB1.
        ITABFINAL-VBELN   = ITAB1-VBELN.
        ITABFINAL-AUDAT   = ITAB1-AUDAT.
        ITABFINAL-BSTNK   = ITAB1-BSTNK.
        ITABFINAL-POSNR   = ITAB1-POSNR.
        ITABFINAL-MATNR   = ITAB1-MATNR.
        ITABFINAL-KWMENG  = ITAB1-KWMENG.
       IF ITAB1-VBTYP_N = 'J'.
          ITABFINAL-VBELN4 = ITAB1-VBELN2.
          ITABFINAL-RFMNG1  = ITAB1-RFMNG.
        ENDIF.
        IF ITAB1-VBTYP_N = 'M'.
          ITABFINAL-VBELN3 =  ITAB1-VBELN2.
          ITABFINAL-RFMNG2 =  ITAB1-RFMNG .
        ENDIF.
    FORM FILL_FIELDCATALOG.
      REFRESH: I_FIELDCAT_ALV[].
      PERFORM BUILD_FC USING
                              '1' 'VBELN'    'ITABFINAL' 'SALES ORDER NO'  'C100'.
      PERFORM BUILD_FC USING
                              '2' 'AUDAT'    'ITABFINAL' 'DATE'            'C200'.
      PERFORM BUILD_FC USING
                              '3' 'BSTNK'    'ITABFINAL' 'Region'          'C300'.
      PERFORM BUILD_FC USING
                              '4' 'POSNR'    'ITABFINAL' 'Site'            'C400'.
      PERFORM BUILD_FC USING
                              '5' 'MATNR'    'ITABFINAL' 'MATERIALNO'      'C500'.
      PERFORM BUILD_FC USING
                              '6' 'KWMENG'   'ITABFINAL' 'ORDER QUANTITY'  'C100'.
      PERFORM BUILD_FC USING
                              '7' 'VBELN2'   'ITABFINAL' 'DELIVERY'        'C200'.
      PERFORM BUILD_FC USING
                             '8'  'RFMNG'    'ITABFINAL' 'ORDERQUAN'       'C400'.
      PERFORM BUILD_FC USING
                              '9' 'VBELN3'   'ITABFINAL'  'BILLING'        'C300'.
      PERFORM BUILD_FC USING
                             '10' 'RFMNG2'   'ITABFINAL' 'DELIVERED QUAN'  'C500'.
    ENDFORM.                    "fill_fieldcatalog

  • Ship to and Bill to country code issue

    The ship to and bill to on the invoice for proforma is not printing the country if being shipped to France  All other countries print just fine...it is only France that will print (see the example below).  Anyone have an idea as to why?  Customer Master appears to be ok as well....Again this is only for France.
    Example:   Name of Company
                     Address 123 Rue
                     91919 - Bondoufke Cedex
                     Z.I. La XXXXXXXXX
                     F- Bondoufle Cedex (this is how the country prints)
    Edited by: Kimberly Blair on Oct 29, 2010 8:35 PM

    Hi
    It seems in your smartofrm for printing the address of ship to and bill to the function module Address_into_Printform is being used. The function module has some parameters that need to be passed like customer name, number of lines of address to be printed, Street PO Box priority etc. One such parameter is the sending country. If the customer is from FR and the sending country paramter is also FR then the country would not get printed as the function module thinks that for transport within country the address with the country detail is not required. Please change the logic of the smartform by altering the Address_into_printform parameter and leaving the sending country as blank.
    Thanks
    Indranil

  • I have a new iPad with wifi. When I send messages I can see my sons and my husbands but not my phone number.  We all have an iPad and all use the same apple ID as iPad the bill.  How can I remove their numbers and add mine?

    I have a new iPad with wifi. When I send messages I can see my sons and my husbands but not my phone number.  We all have an iPad and all use the same apple ID as iPad the bill.  How can I remove their numbers and add mine?

    Add another e-mail account to your messages, so people could reach you on that e-mail from messages. As soon as you are online (if you have wifi only iPad) you are able to send and receive messages. i.e. your son can send you a messages from his iPhone addressing it to your (that additional) e-mail address.

  • Itunes asking me my billing verification again and again on the same computer. I don't know why it behave like this. Anyone can solve my problem?

    Itunes asking me my billing verification again and again on the same computer. I don't know why it behave like this. Anyone can solve my problem?
    I already provided my 3 digit CVV number but Itunes again need to confirm the code whereas on my Office Computer I am purchasing Apps on Itunes without verifying my billing information again and again except once at the time of creation of account.
    Please help me as I am charging by my Credit Card bank by US$ 1 each time when I give verification code.
    Thanks
    Talat Khatri

    Try the following steps,
    Sign into your computer and removal of credit card information. Here are the steps:
    1) Open iTunes and sign in to the iTunes Store.
    2) Select "View My Account" from the Store menu.
    3) Enter your password and click the View Account button.
    4) Click the Edit Payment Information button.
    5) Select "None" as the payment type.
    6) Click the Done button at the bottom of the page.
    Reset your account password from the following link:
    http://iforgot.apple.com
    Phase 3:
    Download a free content on to get recognized in iTunes.
    To ensure your account is functioning, try downloading a free item from the iTunes Store. To do this, navigate to the iTunes Store main page by clicking the Home icon near the upper-left corner of the window. Scroll down and click the "FREE ON iTunes" link near the bottom of the main page, then select an item to download.
    After you are able to download the free App try updating the billing information as usual.

  • IProcurement: Ship To and Bill To location at the header level

    All,
    Standard Oracle displays Deliver-To location at the detail level. But the Ship To and Bill To locations do not show on the requisition. I do understand that a typical requisitioner does not need to know this information and is just requesting an item to be delivered. But we are in a power user scenario, wherein we would like the iProcurement user to create a req, get it approved and use contracts to automatically create approved POs.
    1. We are not sure where the Ship To and Bill To location information on the Req/PO come from in the above scenario? Is it from the contract?
    2. Is it possible to make the Ship To and Bill To location information visible on the Req Header in iProcurement? I do not see it in the "CheckoutSummaryPG" to make personalizations and make them visible.
    3. Is there a way to configure Ship To and Bill To locations in iProcurement?
    Thanks
    Satish

    I dont think so its possible to show ship to and bill to location on Requisition. Header Level Ship to and Bill to Location is coming frm setup either from Supplier Site, Supplier or Default System Setup.
    Hence if you have Auto create Workflow Setup then you have to either correct setup on supplier site for Ship to and Bill to.
    Requisition line level Deliver to will be present in PO Distributions.
    Thanks,
    Akshay

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • How to put material and service in the same order

    I want to put the material and service in the same order. How do it input different taxes. and also migo for one material item and other service item.

    HI,
    In your scenario create material and service PO using T-code ME21N as follows.
    1) Select PO document type, vendor and PO date
    2) PO first line item account assignment 'N' if project and give input data material code,plant,storage location,qty,rate,delivery date and tax code.
    3) PO second line item account assignment 'K', item category 'D',material short text for service, plant,storage location,material group data's are input given and press enter it will open 'Service Tab' in Item Detail Menu.
    4) In item Detail Menu - Service tab you will give Service no.,qty,gross price for the above  service material activity and service tax code in Invoice TAB and then check PO and SAVE.
    5) After getting PO approved by top management.
    6) PO first line item, you will do MIGO and PO second line item you will do ML81N service entry sheet.
    7) On the vendor bill, you will mention material document number (GRN no.) & Service sheet number and given to accounts dept.. They will book vendor bill and give payment.
    Hope, it is useful for you and solve your requirement.
    Regards,
    K.Rajendran

  • Everytime I try to pay with my cc on paypal, I enter all of my infor and after I press the "review and confirm" button the same page reopens but has erased only my cc #, exp date and security cvv number. What could be wrong?

    b.stats.paypal.com : server does not support RFC 5746, see CVE-2009-3555
    This appears on my error page everytime I try to use my credit card through paypal. I enter all of my info (billing, etc..) and after hitting the "review and confirm" button the same page reappears and has erased my cc number and leaving my name and billing info. What can I do to finish my transaction?

    The message about CVE-2009-3555 is meant for webmasters to make them aware that they need to fix their servers.<br />
    Firefox 3.6 versions can detect such a misconfiguration and displays a warning in the "Tools > Error Console".<br />
    * http://wiki.mozilla.org/Security:Renegotiation
    You may have a problem with the PayPal cookies.
    * "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    See also:
    * http://kb.mozillazine.org/Cookies#Removing_cookies
    * [[Cookies]]
    * [[Enabling and disabling cookies]]

  • Ship to and bill to address

    Hi experts
    I am newly installed sap bone 2005B version.I using OEC computers.I creadted one customer with ship to and bill to address. but in that address is not come in print lay out.
    I selected database and given Bill to address in respective area.
    what is the reason?
    pls tell me
    regards

    Hi
    1. yes
    2. system PLD also
    3. yes i changed my PLD but it will not come
    Now i understood the correct one, the customer bill to address not come in the invoice logistics part.
    I create the customer this also not come in the Logistics bill to address part as well as ship to address.
    what should i do?
    regards

  • Ordering Hardcovers and Softcovers at the same time

    Is there a way to order hardcovers and softcovers in the same order? It seem ridiculous to have to pay extra shipping by having two seperate orders and send the whole book twice, when only the front cover is different, when I need some hardcovers and some softcovers for clients. If this is not possible it would be a nice addition in the next version.
    Sean
    G5 & MacBook Pro   Mac OS X (10.4.6)  

    I am assuming that you mean Kodak EasyShare. I will take a look at it.
    However, it would still be nice if you could do this withing Aperture. It seems a bit silly that you can't.
    Thanks,
    Sean

  • I am trying to connect to apple support and it keeps asking me to put in the SN of my MAC and when i do it says that the SN is invalid I am putting in the SN from under about this mac and it is the same as the one one the bottom of the MAC any ideas ?

    I am trying to connect to apple support and it keeps asking me to put in the SN of my MAC and when i do it says that the SN is invalid I am putting in the SN from about this mac and it is the same as the one on the bottom of the MAC any ideas ?

    Did you purchase this product direct from Apple online, in an Apple Store, or through a third-party authorized reseller? Or did you buy it from an original owner whose Applecare plan was supposed to be transitioned to a new owner, by them?
    Do you have an original shipping carton the unit arrived in?
    If the product was a retail 'open carton' purchase and no
    back-track is possible, contact the reseller.
    And if the computer had seen a major service with logic
    board replaced, etc, it may have other issues with serial
    number vs one they may have assigned it. Usually a
    new logic board may have the SN flashed or if a unit
    was determined to be a reman, a new # assigned. But
    that would appear in System Profiler, if officially reman.
    If you registered a product anywhere with Apple, it would show on a web page along with its serial numbers, going back several years, at this page after you log in there.
    https://getsupport.apple.com/GetproductgroupList.action
    A blue text with triangle See all products and services opens an Apple ID
    sign-in window, then the page changes to show your items & info about them.
    If you run the serial number through online Lookup, what appears?
    http://www.powerbookmedic.com/identify-mac-serial.php
    Not sure if this helps, 'your product' should appear - if registered.
    Good luck & happy computing!

  • Regarding Ship to and Bill to Address on iStore.....urgent

    Hi All,
    In Address of Ship to and Bill to , I need extra search based on Address1..
    I am looking into jsp page;ibeCCkdSrchListAddr.JSP
    please give me any suggestions or steps to implement this feature.
    Thanks in advance..
    Best Regards,
    HHH

    Hi
    1. yes
    2. system PLD also
    3. yes i changed my PLD but it will not come
    Now i understood the correct one, the customer bill to address not come in the invoice logistics part.
    I create the customer this also not come in the Logistics bill to address part as well as ship to address.
    what should i do?
    regards

  • Restricting SHIP TO and BILL TO address in VD02

    Hi
    Does anybody have idea on how we can restrict accessing certain user community to change Ship to and Bill To address in VD02. Any thoughts on this will be helpfull.
    Thanks
    KV

    Alex
    <b>Thanks for your input.</b>
    After creating a Field Grp in IMG how can associate the Field Grp to the <b>F_KNA1_AEN</b> auth object. I have create the field Group in SPRO (IMG) via Financial Accounting -> Accounts Payable and Accounts Receivable -> Customer Accounts -> Master Data -> Prepare Changes to Customer Master Data -> Define Field Groups for Customer Master Data.
    Please let me know your thougts on this if this is correct what im doing.
    Thanks
    KV

  • Query to get Primary ship to and bill to contact details

    Hi ,
    Please help me to get the query to find primary ship to and bill to contact details for a istore customer .
    Thanks
    Mark

    Hi Mark,
    The following should give you a good starting point.
    Regards,
    Jon
    SELECT
    cac_party.party_name as customer
    , cac.account_number
    , cac_party.party_number as orgnum
    , party_site.party_site_number as sitenum
    , csu.location
    , loc.address1
    , csu.site_use_code
    , orgcon.title
    , cont_party.party_name as contact_name
    , orgcon.job_title
    FROM
    hz_org_contacts orgcon
    , hz_party_relationships party_rel
    , hz_party_sites party_site
    , hz_cust_acct_sites_all cas
    , hz_cust_site_uses_all csu
    , hz_cust_accounts cac
    , hz_loc_assignments loc_assign
    , hz_locations loc
    , hz_parties cac_party
    , hz_parties cont_party
    WHERE 1=1
    AND orgcon.party_relationship_id = party_rel.party_relationship_id
    AND orgcon.party_site_id = party_site.party_site_id
    AND party_site.party_site_id = cas.party_site_id
    AND cas.cust_acct_site_id = csu.cust_acct_site_id
    AND cas.cust_account_id = cac.cust_account_id
    AND cac.party_id = cac_party.party_id
    AND cas.party_site_id = party_site.party_site_id
    AND loc.location_id = party_site.location_id
    AND loc.location_id = loc_assign.location_id
    AND party_rel.subject_id = cont_party.party_id AND cont_party.party_type = 'PERSON'
    ORDER BY cac_party.party_name, loc.address1, csu.site_use_code, cont_party.party_name

Maybe you are looking for

  • Distorted Playback with iTunes 11.0.1

    Since updating to 11.0.1 (12) all tracks in iTunes are distorted when played, however same tracks from albums played through VLC are fine, any ideas anyone??

  • Magento API

    Hi, I have Problems with the API and coldfusion. I created a User in the Magento,add a role (full access). Via API, i can login ask for globalFaults,resources (List), end Session but i can't make a "call". The Errormessage is always "Web service oper

  • Good flash photo slideshow app, FYI

    FYI, I've found & have been using a very impressive flash slideshow app (and have abandoned Slideshowpro), Imagevue X. Easy to use, no need to use macromedia flash app, etc. Nice fullscreen images, music, thumbnails, etc. Example: http://www.gpmalone

  • Enable commenting bar in web browser

    Does anyone know how to enable the commenting toolbar while in the web browser?  It is my understanding that the commenting is only allowed while collaboration is taking place but I found this link: http://www.planetpdf.com/codecuts/pdfs/tutorial/Acr

  • Unable to log into Adobe Story CC Desktop App

    Good day, I'm having troubles getting into the App. It was working fantastic until a recent power outage. Now when I load it, it gives me the welcoming splash screen with the Learn More & Sign In. When I sign in, it seems to load, but then resets to