BP address move in CRM 5.0

Hi Friends,
There is a functionality of BP address move in CRM 5.0
Here we can move the source BP address into target one.
I created one contract using the source address. After this i created a new target address for BP and now i am trying to move the BP source address into target address, i am getting an error "Address still in use; change to validity not allowed".
Kindly provide some inputs.
Thanks and Regards,
Suraj

Hi Friends,
Waiting for inputs.
Thanks and Regards,
Suraj

Similar Messages

  • BP address move in SAP CRM 5.0

    Hi Friends,
    There is a functionality of BP address move in CRM 5.0
    Here we can move the source BP address into target one.
    But i created one contract using the source address and now if i try to move the source address into target, i am getting error "Address still in use; chnage to validity not allowed".
    Kindly provide some inputs.
    Thanks and Reagrds,
    Suraj

    Hello
    There is a report attached to [SAP Note 725857|https://service.sap.com/sap/support/notes/725857] that performs the deletion.
    Regards
    Joaquin

  • Creating a target group based on the BP email address only in CRM

    Hi there,
    I am currently trying to create a target group based on the business partner email address only.
    I have a list of over 1000 email addresses - these email addresses equate to a BP in our CRM system, however I do not have a list of the equivalent business partner numbers, all I have to work on are the email addresses.  With these 1000 BP email addresses I need to update the marketing attributes of each of these 1000 BP records in CRM.
    What I need is a method to find the 1000 BP numbers based on the email addresses and then use the marketing expert tool (tx. CRMD_MKT_TOOLS) to change the marketing attributes on all of the 1000 BPs.
    The issue I am having is how can I find the list of BP numbers just based on the BP email address, I tried creating an infoset based on table BUT000, BUT020 and ADR6 but I after creating attribute list & data source for this I am stuck on what to do next. In the attribute list the selection criteria does not allow me to import a file for the selection range.  I can only enter a value but I have 1000 email addresses and cannot possibly email them manually in the filter for the attribute list.   I also looked at imported a file into the target group but I do not have any BP numbers so this will not work.
    Does anyone know a method where I can create a target group based on the email addresses only without having to do any code?
    Any help would be most appreciated.
    Kind regard
    JoJo

    Hi JoJo ,
    The below report will return you BP GUID from emails that is stored in a single column .xls file and assign the BP to a target group.
    REPORT  zexcel.
    * G L O B A L D A T A D E C L A R A T I O N
    TYPE-POOLS : ole2.
    TYPES : BEGIN OF typ_xl_line,
    email TYPE ad_smtpadr,
    END OF typ_xl_line.
    TYPES : typ_xl_tab TYPE TABLE OF typ_xl_line.
    DATA : t_data TYPE typ_xl_tab,
           lt_bu_guid TYPE TABLE OF bu_partner_guid,
           ls_bu_guid TYPE  bu_partner_guid,
           lt_guids TYPE TABLE OF bapi1185_bp,
           ls_guids TYPE  bapi1185_bp,
           lt_return TYPE bapiret2_t.
    * S E L E C T I O N S C R E E N L A Y O U T
    PARAMETERS : p_xfile TYPE localfile,
                  p_tgguid TYPE bapi1185_key .
    * E V E N T - A T S E L E C T I O N S C R E E N
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_xfile.
       CALL FUNCTION 'WS_FILENAME_GET'
         IMPORTING
           filename         = p_xfile
         EXCEPTIONS
           inv_winsys       = 1
           no_batch         = 2
           selection_cancel = 3
           selection_error  = 4
           OTHERS           = 5.
       IF sy-subrc <> 0.
         CLEAR p_xfile.
       ENDIF.
    * E V E N T - S T A R T O F S E L E C T I O N
    START-OF-SELECTION.
    * Get data from Excel File
       PERFORM sub_import_from_excel USING p_xfile
       CHANGING t_data.
       SELECT but000~partner_guid FROM but000 INNER JOIN but020 ON
    but000~partner =
       but020~partner
         INNER JOIN adr6 ON but020~addrnumber = adr6~addrnumber INTO TABLE
    lt_bu_guid FOR ALL ENTRIES IN t_data WHERE adr6~smtp_addr =
    t_data-email.
       CLEAR: lt_guids,ls_guids.
       LOOP AT lt_bu_guid INTO ls_bu_guid.
         ls_guids-bupartnerguid = ls_bu_guid.
         APPEND ls_guids TO lt_guids.
       ENDLOOP.
       CALL FUNCTION 'BAPI_TARGETGROUP_ADD_BP'
         EXPORTING
           targetgroupguid = p_tgguid
         TABLES
           return          = lt_return
           businesspartner = lt_guids.
    *&      Form  SUB_IMPORT_FROM_EXCEL
    *       text
    *      -->U_FILE     text
    *      -->C_DATA     text
    FORM sub_import_from_excel USING u_file TYPE localfile
    CHANGING c_data TYPE typ_xl_tab.
       CONSTANTS : const_max_row TYPE sy-index VALUE '65536'.
       DATA : l_dummy TYPE typ_xl_line,
              cnt_cols TYPE i.
       DATA : h_excel TYPE ole2_object,
              h_wrkbk TYPE ole2_object,
              h_cell TYPE ole2_object.
       DATA : l_row TYPE sy-index,
              l_col TYPE sy-index,
              l_value TYPE string.
       FIELD-SYMBOLS : <fs_dummy> TYPE ANY.
    * Count the number of columns in the internal table.
       DO.
         ASSIGN COMPONENT sy-index OF STRUCTURE l_dummy TO <fs_dummy>.
         IF sy-subrc EQ 0.
           cnt_cols = sy-index.
         ELSE.
           EXIT.
         ENDIF.
       ENDDO.
    * Create Excel Application.
       CREATE OBJECT h_excel 'Excel.Application'.
       CHECK sy-subrc EQ 0.
    * Get the Workbook object.
       CALL METHOD OF h_excel 'Workbooks' = h_wrkbk.
       CHECK sy-subrc EQ 0.
    * Open the Workbook specified in the filepath.
       CALL METHOD OF h_wrkbk 'Open' EXPORTING #1 = u_file.
       CHECK sy-subrc EQ 0.
    * For all the rows - Max upto 65536.
       DO const_max_row TIMES.
         CLEAR l_dummy.
         l_row = l_row + 1.
    * For all columns in the Internal table.
         CLEAR l_col.
         DO cnt_cols TIMES.
           l_col = l_col + 1.
    * Get the corresponding Cell Object.
           CALL METHOD OF h_excel 'Cells' = h_cell
             EXPORTING #1 = l_row
             #2 = l_col.
           CHECK sy-subrc EQ 0.
    * Get the value of the Cell.
           CLEAR l_value.
           GET PROPERTY OF h_cell 'Value' = l_value.
           CHECK sy-subrc EQ 0.
    * Value Assigned ? pass to internal table.
           CHECK NOT l_value IS INITIAL.
           ASSIGN COMPONENT l_col OF STRUCTURE l_dummy TO <fs_dummy>.
           <fs_dummy> = l_value.
         ENDDO.
    * Check if we have the Work Area populated.
         IF NOT l_dummy IS INITIAL.
           APPEND l_dummy TO c_data.
         ELSE.
           EXIT.
         ENDIF.
       ENDDO.
    * Now Free all handles.
       FREE OBJECT h_cell.
       FREE OBJECT h_wrkbk.
       FREE OBJECT h_excel.
    ENDFORM. " SUB_IMPORT_FROM_EXCEL
    Just copy paste the code and run the report select any local xls file with emails and pass the target group guid.
    snap shot of excel file:
    Let me know if it was useful.

  • Standard address indicator in CRM

    Hey everyone
    I need to extract this standard address indicator for delivery addresses to send out to our website database.
    The issue is I am unable to find where it's stored.
    I had been using the FM ' BAPI_BUPA_ADDRESS_GETDETAIL' and assumed the standardaddress field in ls_address was the one I was after.
    I have just found out this is not the case, that indicator just shows the main postal address.
    Does anyone know anything about this?
    If I haven't been very clear, what I'm talking about is in the BP screen in CRM, under the address overview tab.
    The address usages displayed here show the word 'Standard' against one of the delivery addresses of a customer. This is what I'm trying to retrieve.
    Any help would be much appreciated.
    Cheers
    Kieran

    Hi Kieren,
    Please use the table parameter ADDRESSUSAGE when calling this BAPI.
        CALL FUNCTION 'BAPI_BUPA_ADDRESS_GETDETAIL'
          EXPORTING
            businesspartner = iv_bupa_number
            valid_date      = iv_bupa_valid_date
          IMPORTING
            addressdata     = es_addressdata
          TABLES
            bapiadtel       = lt_telefondatanonaddress
            bapiadfax       = lt_faxdata
            bapiadsmtp      = lt_e_maildata
            bapiaduse       = lt_communicationusage
            addressusage    = lt_addressusage            "<----- include this parameter
            return          = et_return.
    Then read table lt_addressusage with key addresstype.
    The following values are usually possible for field addresstype ( as per customizing in table TB009 )
    BILL_TO  =   Billing Address
    SHIP_TO  =   Delivery Address
    XXDEFAULT = Main Address / Standard Address
    Hope this helps.
    Cheers,
    Sougata.
    Edited by: Sougata Chatterjee on Nov 21, 2011 1:52 PM

  • Business Partner records with large numbers of addresses -- Move-in issue

    Friends,
    Our recent CCS implementation (ECC6.0ehp3 & CRM2007) included the creation of some Business Partner records with large numbers of addresses.  Most of these are associated with housing authorities, large developers and large apartment complex owners.  Some of the Business Partners have over 1000 address records and one particular BP has over 6000 addresses that were migrated from our Legacy System.  We are experiencing very long run times to try to execute move in's and move out's due to the system reading the volume of addresses attached to the Business Partner.  In many cases, the system simply times out before it can execute the transaction.  SAP's suggestion is that we run a BAPI to cleanse the addresses and also to implement a BADI to prevent the creation of excess addresses. 
    Two questions surrounding the implementation of this code.  Will the BAPI to cleanse the addresses, wipe out all address records except for the standard address?  That presents an issue to ensure that the standard address on the BP record is the correct address that we will have identified as the proper mailing address.  Second question is around the BADI to prevent the creation of excess addresses.  It looks like this BADI is going to prevent the move in address from updating the standard address on the BP record which in the vast majority of cases is exactly what we would want. 
    Does anyone have any experience with this situation of excess BP addresses and how did you handle the manipulation and cleansing of the data and how do you maintain it going forward?
    Our solution is ECC6.0Ehp3 with CRM2007...latest patch level
    Specifically, SAP suggested we apply/review these notes:
    Note 1249787 - Performance problem during move-in with huge addresses
    **applied this ....did not help
    Note 861528 - Performance in move-in for partner w/ large no of addresses
    **older ISU4.7 note
    Directly from our SAP message:
    use the function module
    BAPI_BUPA_ADDRESS_REMOVE or run BAPI_ISUPARTNER_CHANGE to delete
    unnecessary business partner addresses.
    Use BAdI ISU_MOVEIN_CUSTOMIZE to avoid the creation of unnecessary
    business partner addresses (cf. note 706686) in the future for that
    business partner.
    Note 706686 - Move-in: Avoid unnecessary business partner addresses
    Does anyone have any suggestions and have you used above notes/FMs to resolve something like this?
    Thanks,
    Nick

    Nick:
    One thing to understand is that the badi and bapi are just the tools or mechanisms that will enable you to fix this situation.  You or your development team will need to define the rules under which these tools are used.  Lets take them one at a time.
    BAPI - the bapi for business partner address maintenance.  It would seem that you need to create a program which first read the partners and the addresses assigned to them and then compares these addresses to each other to find duplicate addresses.  These duplicates then can be removed provided they are not used elsewhere in the system (i.e. contract account).
    BADI - the badi for business partner address maintenance.  Here you would need to identify the particular scenarios where addresses should not be copied.  I would expect that most move-ins would meet the criteria of adding the address and changing the standard address.  But for some, i.e. landlords or housing complexes, you might not add an address because it already exists for the business partner, and you might not change the standard address because those accounts do not fall under that scenario.  This will take some thinking and design to ensure that the address add/change functions are executed under the right circumstances.
    regards,
    bill.

  • How to Restrict Oracle VIP address Movement between DB servers?

    I installed the Oracle 11.2 RAC on 4 server setup.Its a 4 server Grid SETUP and out of 4 servers only servers are runnning the Database Instances.
    The did this installation to use ACFS feature.
    Now i need to map the Public IP with Oracle Database ip address. so from Internet limited user can connect through oracle tns and listener entry.
    If i am mapping with database static ip, then will face service outage in case of that Oracle Instance server down.
    If i am mapping with Oracle Virtual IP address, then this Virtual IP is shifting anyone of the three server. So sometimes it can shift to Grid server where Database is not running.
    How Can I restrict the Database Virtual IP movement between Database servers only ?
    -sumit

    So you have a 4 node RAC, but with only 3 nodes running the database ?
    I am confused about why the 4th node is part of the RAC then ?
    Please post more info about how things are configured

  • Streaming (web address) - .MOV

    Hi,
    I'm currently watching some TV channels via web address' but would like to have these as icons (.MOV file) so I can open them in QT directly by double clicking them. This way I can also watch them in Front Row which would be great.
    So, how do I get an address (http://) playable in QT as an icon (.MOV)?
    Any pointers would be great

    I see what you mean. So I checked with a quick test. Never done before, so it's new for me too.
    Streaming by broadcasters are usually done in WMV.
    They embed an asf file in a webpage with the <embed> code.
    Find the links and save it. Safari usually saves them as .wmv files.
    Here's one to download for demo purposes.
    http://www.wyodor.net/_Data/player.wmv.zip
    Unzip it and open the file in a PLAINTEXT editor. It's text.
    You'll see the URL to the movie.
    Note: I noticed that after opening the player.wmv with a HTML Editor just to look at the code, it didn't work anymore in Front Row.
    The sample above does work. I hope. The player.wmv file does not work in QT player.
    Place the player.wmv file in the movies folder and open up Frontrow. Navigate to the file in the Movies folder and select it.
    You will see this recorded broadcast from Dutch TV.
    [Looking for reconciliation|http://www.uitzendinggemist.nl/index.php/aflevering?aflID=11224376&md5=022a3811b 129f442dde8ff8744fc7f7c]
    Click on *Bekijk uitzending* to compare.
    (I don't know if the broadcast is visible outside the country.)
    Now you have to find your own URL and replace the one in the player.wmv file. Or download their asf file.
    See if that works.

  • BP Address not replicated with the Premise address in IC-Web during move-in

    Hello,
    When we do the move-in of a BP, the premise address is not maintained as an additional address for BP in CRM and IC Web environments. We see the address being maintained in ECC for the BP, but don't see the same address replicated in CRM and IC Web. Please let me know if we are missing anything.
    Thanks
    Santosh.

    Hi,
    Does anyone have any inputs for the above question.
    One more thing we observed is that, whenever we process a move-in (move-in date 7 days from processing date), the primary address in the BP still remains the old address (this is expected), and we see the new address in the Address overview with the new address validity from Move-in date. After 7 days, when the service address becomes the primary address for the BP (This happens after the move-in date), the address in the address tab is replaced with the service address and now this changed address is replicated into CRM. At this time we also see 2 addresses in the overview tab in both CRM and ECC.
    To test this scenario, we processed a move-in with a prior date (Move-in date equal to current date or prior date), we found that the BP address is replaced with the service (premise address) and we see 2 addresses in address overview tab. Now we see the same being replicated in CRM.
      Now my question is, how can we make sure that even if the new address has validity for a post date, CRM will show 2  addresses in address overview tab.
    Edited by: Santosh Kolleti on Feb 17, 2011 12:32 AM

  • Movement of order from CRM to R/3

    Hi,
    We know that after creating the order in CRM it moves to R/3 and there the delivery takes place. Now can you tell me where to do the necessary config so that after creation,the order will move from CRM to R/3? Similarly I want to know the config for billing where it is mentioned that after completion of delivery the billing will be done in CRM and not in R/3.
    Another thing is what is work flow and what is the meaning of workflow inbox?
    Thanks and regards,
    Dipankar Nag

    Hi Dipanker,
    To get the data flowing from CRM to R/3 you will have to configure your middlware.
    Refer the following link:
    http://help.sap.com/saphelp_crm40/helpdata/en/c7/95fc381478ab6fe10000000a11402f/frameset.htm
    Workflow is automation of the Business Processes to be handled by different people in the organisation.
    Refer the following links for Workflow:
    http://www.sap-press.com/product.cfm?account=&product=H950
    /people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
    http://help.sap.com/saphelp_erp2005/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://www.sapgenie.com/workflow/index.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Workflow inbox is your business workplace (SAP Inbox) for where you can view or execute workitems assigned to you.
    <b>Reward points if it helps.</b>
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left.

  • CRM Sales Offer: Change Partner Address.

    Hi gurus,
    I need to change a partner address from a CRM sales offer. I'm using FM's CRM_ORDER_READ in order to get all order data.
    I don't understand very well the use of CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE.
    Can anybody help me?
    Thanks a lot!

    Hi,
    It's right to use FM CRM_ORDER_READ to retrieve data but you will not maintain partner address data using CRM_ORDER_MAINTAIN.
    You can change partner Address using FM BAPI_BUPA_ADDRESS_CHANGE.
    Best regards,
    Caíque Escaler
    Edited by: Caíque Escaler on Dec 2, 2010 6:11 PM

  • IPC in CRM 7.0

    Hi Friends,
    Currently we are on CRM 5.0, and here we use IPC which sits on the Java Stack. Now we are planning to upgrade to CRM 7.0 which has IPC as part of ABAP stack.
    What happens to the IPC related data on CRM 5.0 which is on Java Stack when we move to CRM 7.0 ABAP Stack. How do we move this to the upgraded version.
    Regards
    Sadhu

    HI Sadhu,
    Please Check this excellent blog:/people/dheeram.kallem3/blog/2010/07/07/pricing-user-exits-in-crm
    Hope this answers your question.
    Regards
    Sastri

  • CRM 7.0 EHP1 and FINBASIS

    Gurus,
    I hope this question is posted in the correct forum...if not, let me know where it ought to go.
    We are currently running CRM7.0 with NW7.01 dual stack with these components:
    SAP_ABA     701     0007     SAPKA70107
    SAP_BASIS     701     0007     SAPKB70107
    PI_BASIS     701     0007     SAPK-70107INPIBASIS
    ST-PI     2008_1_700     0004     SAPKITLRD4
    SAP_BS_FND     701     0008     SAPK-70108INSAPBSFND
    SAP_BW     701     0007     SAPKW70107
    SAP_AP     700     0021     SAPKNA7021
    WEBCUIF     700     0008     SAPK-70008INWEBCUIF
    BBPCRM     700     0008     SAPKU70008
    ST-A/PI     01N_700CRM     0000          -
    Now, we'd like to move to CRM 7.0 EHP1 which includes NW7.02
    When I log in to the maintenance optimizer to pull down the entire list of patches, I'm also prompted to install a completely new component called FINBASIS.  Now I'm familiar with this component from the ECC6.0 side, but never from CRM.
    I'm wondering if I must install this or if optional when I move to CRM 7.0 EHP1.
    Does anyone have any experience with what I am describing?
    --NICK

    I found the master guide and it states this:
    Finbasis for CRM
    Finbasis for CRM is a optional SAP add-on that can be either installed on top of either SAP ERP or SAP CRM. This add-on includes the Financial Supply Chain Management (FSCM) applications SAP Dispute Management and Collections Management, which extend the SAP ERP Financials capabilities.
    These applications add extra functionality to the Shared Service Center business scenario available with the SAP CRM Interaction Center. To use these applications, you may simply deploy this software unit on top of your SAP CRM system, without having to upgrade your SAP ERP system to EHP5.
    So since we already have an ECC system that is moving to EHP5, I don't think we'll add this component to CRM.

  • How can I write to multiple daisy-chained network serial addresses through a single COM port?

    I have a VI to write to 3 PI Mercury motor controllers using daisy chained RS232 connected via a Prolific USB-to-Serial adapter. I know that it is possible to talk to the individual controllers because the PI terminal that I have recognises the addresses of multiple controllers and designates them Device 1,2,3. The VISA resource name when configuring the port just comes up as COM5 most of time, with seemingly no way to specify an address on that COM port. Occasionally the VISA resource is ASRL5::INSTR and as this is disconnected and re-connected, this address moves up a number (e.g ASRL7::INSTR). Can anybody tell me how I can configure my serial communication to allow me to individually communicate with the different devices through a single COM port?

    What does the manual say about addressing? RS-232 is not multidrop, the resource name is correct, and there is no additional configuration needed. There would have be a specific write in order to address a certain controller.

  • E-mail router (On-premise) to CRM 2015 (On-line) connectivity issue

    Hello Experts,
    I was trying to configure e-mail router on my location environment (working on domain administrator credentials :)) to connect to CRM 2015 Online server (TRIAL version).
    Unfortunately during "Load data" process ("Users, Queues and Forward Mailboxes" tab in E-mail Router Configuration Manager) I'm still getting "Access is denied" error.
    "CRM Server address" I'm using is: “https://disco.crm.dynamics.com/orgname” ("orgname" is 100% correct, I've also tried "DEV" instead of "DISCO" address option) and "Access credentials"
    specified are also correct (this is System Administrator user in my CRM organization).
    I assume that the problem is somehow connected with user account, because when I’m trying to use some fake one (ex. "[email protected]") the error message is different ("GetAuthStateEx(), Request Status: ").
    I was trying to use Fiddler to see problem source and I found that "Access denied" is return during accessing "https://disco.crm.dynamics.com/XrmServices/2011/Discovery.svc" URL.
    Am I missing something? Should CRM account used by e-mail router have some additional permissions except "System administrator" role in CRM?
    Any help will be really appreciated.
    Kind regards,
    Piotr

    I've checked unique organization name on developer resources page many times (this is very common reason of many problems with e-mail router deployments).
    Actually I'm looking at this name right now and it is 100% correct (only lowercase letters, no "strange" characters :)).
    Today - the error message looks a little different.
    I've checked above mentioned web service address ( https://disco.crm.dynamics.com/XrmServices/2011/Discovery.svc ) in IE and there is no problem with accessing it.
    I'm wondering should this error be somehow connected with fact that our CRM online organization is TRIAL version or that it is 7.0.1 version (our e-mail router is 7.0.0)?
    Any other ideas?
    Best regards,
    PG

  • Read file, search file for duplicate addresses

    Hi - i have no teacher to ask, nor do i know any java programmers to ask this question, so your guidance would be appreciated.
    I have created an "Insurance Project " for myself� but I do not know how to proceed,I have a file that contains 30,000 records in the format:
    Policy1 ccyy mm dd NameOfInsured StreetOfInsured CityOfInsured
    Policy2 ccyy mm dd NameOfInsured StreetOfInsured CityOfInsured
    Policy3 ccyy mm dd NameOfInsured StreetOfInsured CityOfInsured
    Policy4 ccyy mm dd NameOfInsured StreetOfInsured CityOfInsured
    Policy5 ccyy mm dd NameOfInsured StreetOfInsured CityOfInsured
    Policy6 ccyy mm dd NameOfInsured StreetOfInsured CityOfInsured
    In a nutshell: I want to check to see if any one household holds more than 1 policy. If a household does have more than 1 policy then I want to be able to offer those households "package deals".
    My problem: how do I read in the file for comparasons? And how do i handle the comparasons?
    Do I create a duplicate file and compare record 1 in fileA to each record in fileB, and if so, after the first search of fileB it will reach EOF, how do I get the pc to compare fileA record2 with the start of fileB?
    Or Do I move record1 into a holding-area & compare each record against record1, problem again, eventually I will reach EOF, how do I let pc know: get record2 go to first record in file & compare each file?
    Open file insured.dat
    Read in file insured.dat
    thisPolicy = policyNumber //move policy number(address)you are searching for
    getNextPolicy
    //compare thisPolicy to nextRecord in file
    if nextRecord = NUL //then go to the top of the file,
    //again to search with next record
    else
    if thisPolicy-Address is the same as nextRecord-Address
    move nextRecord to pkgDealFile.dat
    getNextPolicy
    Kinda stumped,
    Thank you

    Make very simple Access.DB
    Go to your control panel and look for 'ODBC data souces' go to System DSN and add the name of your database. (Go to the help files)
    You can test your connection with this programme. Drag and drop it to notepad and run it from the command line./*
    Dear Friends,  This program will detect whether jdbc driver is properly installed in ur system or not.
    This will helps you in ur jdbc applications.
    If anyone having any pblms, please feel free to contact me at [email protected]
    I will be delighted to help you.
    Thank you very much.
    import java.sql.*;
    import java.util.*;
    public class MyConnection
         Connection con;
         MyConnection()
              try
    // ******************************Connected To Jdbc-Odbc Type - 1 Driver
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con = DriverManager.getConnection("Jdbc:Odbc:dsnname","userid","password");
                   con = DriverManager.getConnection("jdbc:odbc:Driver={SQL Server};Server=servername;Database=pubs","userid","password");
    // ******************************Connected To Ms-Access JDBC ODBC Driver .
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con = DriverManager.getConnection("Jdbc:Odbc:dsnname","","");
                   con = DriverManager.getConnection("jdbc:odbc:Driver={MicroSoft Access Driver (*.mdb)};DBQ=G:/admin.mdb","","");
    // ******************************Connected To Ms-Access Type-3 Driver.
                   Class.forName ("acs.jdbc.Driver");
                   String url = "jdbc:atinav:servername:5000:C:\\admin.mdb";
                   String username="Admin";
                   String password="";
                   Connection con = DriverManager.getConnection(url,username,password);
    // ******************************Connected To Microsoft SQL.
                   Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
                   con = DriverManager.getConnection("jdbc:microsoft:sqlserver://servername:1433","userid","password");
    // ******************************Connected To Merant.
                   Class.forName("com.merant.datadirect.jdbc.sqlserver.SQLServerDriver");
                   con = DriverManager.getConnection("jdbc:merant:sqlserver://servername:1433;User=userid;Password=password");
    // ******************************Connected To Atinav SqlServer.
                   Class.forName ("net.avenir.jdbc2.Driver");
                   con= DriverManager.getConnection("jdbc: AvenirDriver://servername:1433/pubs","userid","password");
    // ******************************Connected To J-Turbo.
                   String server="servername";
                   String database="pubs";
                   String user="userid";
                   String password="password";
                   Class.forName("com.ashna.jturbo.driver.Driver");
                   con= DriverManager.getConnection("jdbc:JTurbo://"+server+"/"+database,user,password);
    // ******************************Connected To jk Jdbc Driver.
                   String url= "jdbc:jk:server@pubs:1433";
                   Properties prop = new Properties();
                   prop.put("user","userid");//Set the user name
                   prop.put("password","password");//Set the password
                   Class.forName ("com.jk.jdbc.Driver").newInstance();
                   con = DriverManager.getConnection (url, prop);*/
    // ******************************Connected To jNetDirect Type - 4 Driver
                   String sConnect = "jdbc:JSQLConnect://127.0.0.1/database=pubs&user=userid&password=password";
                   Class.forName ("com.jnetdirect.jsql.JSQLDriver").newInstance();     
                   Connection con= DriverManager.getConnection(sConnect);
    // ******************************Connected To AvenirDriver Type - 4 Driver
                   String url= "jdbc: AvenirDriver: //servername:1433/pubs";
                   java.util.Properties prop = new java.util.Properties ();
                   prop.put("user","userid");
                   prop.put("password","password");
                   Class.forName ("net.avenir.jdbc2.Driver");     
                   System.out.println(" Connected To AvenirDriver Type - 4 Driver");
                   con= DriverManager.getConnection("jdbc: AvenirDriver://servername:1433/pubs","userid","password");
    // ******************************Connected To iNet Sprinta2000 Type - 4 Driver
                   String url="jdbc:inetdae7:servername:1433";
                   String login="userid";
                   String password="password";
                   Class.forName("com.inet.tds.TdsDriver");
                   System.out.println(" Connected To iNet Sprinta2000 Type - 4 Driver");
                   con=DriverManager.getConnection(url,login,password);
    // ******************************Connected To iNet Opta2000 Type - 4 Driver
                   String url="jdbc:inetdae7:servername:1433";
                   String login="sagar";
                   String password="sagar";
                   Class.forName("com.inet.tds.TdsDriver").newInstance();
                   System.out.println(" Connected To iNet Opta2000 Type - 4 Driver");
                   con=DriverManager.getConnection(url,login,password);
                   DatabaseMetaData md = con.getMetaData();
                   System.out.println("Driver Name            " + md.getDriverName());
                   System.out.println("Driver Version         " + md.getDriverVersion());
                   System.out.println("Database URL is        " + md.getURL());
                   System.out.println("Database UserName is   " + md.getUserName());
                   System.out.println("Connection Name        " + md.getConnection());
                   System.out.println("Database Name          " + md.getDatabaseProductName());
                   System.out.println("Database Version       " + md.getDatabaseProductVersion());
                   System.out.println("Database ReadOnly Type " + md.isReadOnly());
                   System.out.println("MaxColumnNameLength    " + md.getMaxColumnNameLength());
                   System.out.println("MaxConnections         " + md.getMaxConnections());
                   System.out.println("");
              catch(ClassNotFoundException cnfe)
                   System.out.println(cnfe.getException());
                   System.out.println("The Specified Driver Does not Exist....");
              catch(SQLException sqle)
                   if(sqle.getErrorCode() == 0)
                        System.out.println("No Suitable Driver Found..");
                   else if(sqle.getErrorCode() == 1017)
                        System.out.println("Wrong UserName Or Password..");
                   else if(sqle.getErrorCode() == 1034)
                        System.out.println("Database not Started..");
                        System.out.println(sqle.getErrorCode());
                        System.out.println(sqle.getSQLState());
                        System.out.println(sqle);
         public static void main (String args[])
              new MyConnection();
    }It will tell you if you have done it (JDBC.ODBC) correctly or not. If - well when you have, you can then use java to run queries and write data etc.
    You'll also need a PWS to test it, but you can do your writing and queries from the MSDOS shell for now. (then use servlets.)
    Good luck!

Maybe you are looking for