IDOC to file scenario plus control (master) file

Hi PI gurus,
I have got the simplest possible scenario.
It is IDOC to file without BPM. Works fine.
Is there a smart way to add master file ( the one that would contain number of records and filename with data sent ) without BPM ?
THe requirement is first to ftp data file and then master file as the second file ( The reason is master file triggers processing of data file ).
Cheers
A.

should be simple.
use two interfaces, one for data file and one for master file.
two mapping which will create the required files and then in interface determination add the interfaces in the required order and check the option maintain order during runtime.
this should solve your problem.

Similar Messages

  • File to idoc scenario with controls

    I am working on file to idic scenario.
    file has four types of lines :
    Begin of file.
    header.
    items.
    end of file.
    each line has a element Record type and some other elements.for header record type is A , for item its B , for Begin of file its C and for end of file its D.
    we have to check for every line that it should have record type as one of these four and if not so we have to send a mail through alert functionality.we have to send a mail which has all errors by checking the whole file for record types.we have to ignore these lines in the file and proceed with the rest.
    how can we implement this?
    regards,
    rohit

    Hi,
    Please go through these links
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    /people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    Thanks
    Vikranth Khimavath

  • ABOUT DATA SENDING IN idoc TO file SCENARIO

    How the data is sended in idoc to file scenario?
    what is the difference in sending data through BD10, BD14 and WE19 ?
    Is the data is sended through XI OR R/3 SYSTEM?

    Hi Rammohan
    >> How the data is sended in idoc to file scenario?
         Makeing settings in SAP R/3 side then based on the RFC
         destination,port,parterner profiles.....
         Idoc can hold the data with out any direction but RFC port will direct where to
        go ...based on the partner profiles (Out buond IDOCS)
    >>what is the difference in sending data through BD10, BD14 and WE19 ?
        BD10,BD11,BD12,BD13,BD14 will be to send the master data automatically
        generally will be in the production(But not for testing) and this will be depending
        on the declaration of profiles in the BD64
        --- But we19 will be used to test the Idocs with any data
            but here we need to give all the parameters like senders,receivers,ls,idoc...
    >>  Is the data is sended through XI OR R/3 SYSTEM?
         Data will send through XI  i.e XI will receive the Idoc and Convert into XI specific
         SOAP XML message and process all the pipe line steps ...based on the target
         it will send
         Here target is file so choose the file adapter as target and give all parameters
         it will work fine
    I hope this will answer your question
    regards
    --- prasad

  • IDOC-BPM-FILE scenario ERRORS

    Hi gurus,
    I am trying to send IORDER01(pm order) from an R/3 system to a file, which works fine.
    but when i try to use some business logic like if order type = 'PM01' then only i have to write to the file, using ccBPM, it fails...
    this is my first BPM scenario and am having trouble....have read lot of blogs etc...can u please tell me where i am going wrong...
    I have a data type DT_FILE for writing to the file.
    I have interfaces:
    si_oa_iorder(outbound asynchronous interface for file)
    si_aa_iorder(abstract asynchronous interface for idoc)
    si_aa_file( abstract asynchronous interface for file)
    si_ia_file (inbound asynchronous interface for file)
    I have message mapping MM_IORDER2FILE mapping IDoc to flat file structure
    I have operation mapping OM_IORDER2FILE where I have mapped si_aa_iorder and si_aa_file
    (( Is this right? are both abstract interfaces to be mapped? or do i need to create more mappings like si_oa_iorder to si_aa_iorder etc? please clarify...))
    My IP is very simple with just a 'recv step' having container element of  type si_aa_iorder and 'send step' having container element of  type si_aa_file to start with..i haven't yet put the switch control etc...even such simple IP fails....
    I have created Configuration objects like
    Business System for file receiver
    Business component for Idoc sender with adapter specific details set
    Communication channels for Idoc and file adapters
    No sender agreement as it is Idoc communication
    Receiver agreement between the Integration Process(IP_IORDER2FILE) and the file server
    2 Receiver determinations between BC_idoc_send to IP and other from IP to FileRecv system
    2 interface determinations , one from si_oa_iorder of  BC_idoc_send  to IP and other from si_aa_file  of IP to file recv system.
    This is my setup and this fails....
    My question is..is my message mapping and operation mappings correct? and can u see any obvious blunders i am doing?
    please bear in mind that with same interfaces and sending and recv components, it runs fine without BPM....so please look at the BPM bit of mappings/config that i might have missed and please advice asap..
    Thanks in advance and i am sure there would be lot of gurus for whome it is just a peanut...so please reply...
    Regards
    Jhansi

    Hello,
    I am trying to implement one pi scenario :
    File -> file adapter -> ccBPM -> soap receiver adapter -> web service request -> web service response -> ccBPM -> output file adapter.
    The web service that I call works file from wsnavigator. I have created all the design and configuration objects
    needed for the scenario.
    I place a file with following contents:
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <SOAP-ENV:Body>
        <pns:GetSetNameWS xmlns:pns="urn:file2soap2fileWSVi">
         <pns:name1>ajeet</pns:name1>
          <pns:name2>phadnis</pns:name2>
        </pns:GetSetNameWS>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    When I look at the process monitor I get this:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Determination
      -->
    - <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">CX_RD_PLSRV</SAP:Code>
      <SAP:P1>Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error when determining the receiver: Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. Problem while determining receivers using interface mapping: No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists. No operation with XML root tag http://schemas.xmlsoap.org/soap/envelope/.Envelope exists.</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have no clue about this error. Can you help me with this ?
    If yes I can send you more details, if you liked 
    Hoping to get help from you,
    Cheers,
    Ajeet Phadnis

  • Idoc-bpm-file scenario

    Hi gurus,
    I am trying to send IORDER01(pm order) from an R/3 system to a file, which works fine.
    but when i try to use some business logic like if order type = 'PM01' then only i have to write to the file, using ccBPM, it fails...
    this is my first BPM scenario and am having trouble....have read lot of blogs etc...can u please tell me where i am going wrong...
    I have a data type DT_FILE for writing to the file.
    I have interfaces:
    si_oa_iorder(outbound asynchronous interface for file)
    si_aa_iorder(abstract asynchronous interface for idoc)
    si_aa_file( abstract asynchronous interface for file)
    si_ia_file (inbound asynchronous interface for file)
    I have message mapping MM_IORDER2FILE mapping IDoc to flat file structure
    I have operation mapping OM_IORDER2FILE where I have mapped si_aa_iorder and si_aa_file
    (( Is this right? are both abstract interfaces to be mapped? or do i need to create more mappings like si_oa_iorder to si_aa_iorder etc? please clarify...))
    My IP is very simple with just a 'recv step' having container element of  type si_aa_iorder and 'send step' having container element of  type si_aa_file to start with..i haven't yet put the switch control etc...even such simple IP fails....
    I have created Configuration objects like
    Business System for file receiver
    Business component for Idoc sender with adapter specific details set
    Communication channels for Idoc and file adapters
    No sender agreement as it is Idoc communication
    Receiver agreement between the Integration Process(IP_IORDER2FILE) and the file server
    2 Receiver determinations between BC_idoc_send to IP and other from IP to FileRecv system
    2 interface determinations , one from si_oa_iorder of  BC_idoc_send  to IP and other from si_aa_file  of IP to file recv system.
    This is my setup and this fails....
    My question is..is my message mapping and operation mappings correct? and can u see any obvious blunders i am doing?
    please bear in mind that with same interfaces and sending and recv components, it runs fine without BPM....so please look at the BPM bit of mappings/config that i might have missed and please advice asap..
    Thanks in advance and i am sure there would be lot of gurus for whome it is just a peanut...so please reply...
    Regards
    Jhansi

    Firstly, you said you are not using any Switch, then how are you specifying the condition ?
    Secondly, your interface is not dependent on the BPM, its dependent on the configuration. BPM is a representation on how the interface works in step-by-step manner.
    So, while checking the condition order type = 'PM01', you must be using the Switch, i believe, which has to options Branch1 and Branch Oherwise. Branch1 means when the condition is TRUE and BranchOtherwise is when condition is FALSE.
    If you can let me know the condition statement that you have given in the Switch, I can try to tell you more.
    -Sid

  • Idoc to File scenario using Party

    Hi All,
               I have to configure Idoc to File scenario .This file needs to be posted in EDI Subsystem .My receiver partner type is LI.That means i need to use Party here.So please let me know the step by step solution to do this.Specially i want to know the configuration in Party Identifier and Receiver Communication channel Identifiers.
    How the control record values from idoc are transferred to EDI File structure and how will XI identify one of the many customers to post the file.
    All valuable suggestions will be rewarded the points.
    Please send me the documents for such scenario with screen shots.

    Hi,
    Let me see if I had you requirement correct.
    When the Idoc is sent from R3, sender partner type is LS and Receiver Partner Type is LI.
    If yes,
    1. Create a Party in ID.
    2. The Agency , Scheme and Identifier will have values,
    Agency --> Receiver Business System name or Business Service Name  to be used for File.
    Scheme --> ALE#LI
    Identiier --> Value of the RCVPRN field in the idoc control Record. Basically the Receiver Partner Name.
    All the Configuration In ID will use this Party as the Receiver Party and the corresponding Service asthe Receiver service.
    No need for a sender party as sender partner is LS.
    Regards
    Bhavesh

  • Regarding IDOC 2 FILE Scenario

    Hi Friends,
                    please help on IDOC 2 File Scenario. I have done tha ALE settings in R3 system and the Idoc has been  generated out of r3 system. but how it wiil be sent to XI server can any body help me on this issue.make it as quick as possible.

    Hi,
    Goto We02 and take the IDOC number froom there.
    goto WE19, give the copied idoc number and click on execute.
    Check for Control records for that IDOC and say outbound processing
    ALE Settings
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    Check this for posting the IDOC From R/3 to XI
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI+--
    StepsSummarized&
    Regards
    Seshagiri

  • Testing of Idoc to file scenario

    Hi Gurus,
    I have completed the Idoc to file scenario, But how should I test the whole scenario??!!
    Because of my functional guy is absent for this week and I do want to test my scenario, whether its working properly or not??!!
    Note: As I knew, we19 tcode, it asks some Idoc number and other info to do the same.. could you please help me out?!!
    Thanks.,
    Stallin

    Hi
    Just for testing purpose..you can use WE19..
    First goto transaction WE02 and put Basic type : MATMAS03 as filter criteria, change your creation date to select little old idocs and run...on next screen your will see number of idocs "MATMAS03" with green status(if there is any in that period..otheriwse change period again).
    Then goto WE19 and put existing idoc number in the field existing idoc and and presss F8...On next screen press "Standard outbound processing".
    Can also use we19 and change control record ( Double click in EDIDC segment) to your sender / recever partner profile.. and run
    Thanks

  • Idoc to file scenario doc

    Hi,
    Can anybody share the document of IDOC to File Scenario for Vendor Master.
    Regards,
    Balaji

    Hi Balaji Permi ,
    Check these websites which wil answer u'r question:
    A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    IDOCs (Multiple Types) Collection in BPM
    IDOCs (Multiple Types) Collection in BPM
    cheers!
    gyanaraj
    <removed by moderator>
    Edited by: Mike Pokraka on Aug 12, 2008 3:07 PM

  • Test IDOC to File scenario

    Hey guys
    i m doing a IDOC to File scenario and am stuck at testing it.i went in we19 but dont know how should i test my scenario there.
    any idea how should i test my scenario
    thanx
    ahmad

    Hi Ahmad,
    IDOC to File
    R3 system.
    1. Create SM 59 RFC destination to XI,.
    2. We21 - Create port to XI.
    3. We 20 -- Maintain Partner Profile for the outbound Idoc.
    XI SLD
    1. Create technical system for R3 system
    2. Create Business System for the Client of the R3 system.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    These are the required steps for IDoc to File scenario...
    In R3 (i.e., your IDES system)...
    RFC dest to XI (sm59) - any name
    Logical system (bd54) - any name
    Port to XI (we21) - any name
    Partner profile for the logical system (we20) - use Logical system name created in bd54
    In XI...
    RFC dest to R3 (sm59) -
    Port to R3 (idx1) -
    create metadata for the idoc (idx2)
    In sld...
    create business system for R3 with Logical system name as r3 sys.
    In we19
    and give in control record as
    Sender : Port ; Partner
    Receiver : Port = <Port created in WE21> ; Partner = <Partner created in we20>
    Regards..
    Ramesh.

  • Unable to Test Idoc to File scenario

    Hi All,
    I am doing Idoc to file scenario.But dont know how to test this scenario.
    I have done all the configuration in Backend and XIServer system.
    Please help me out.
    Thanks in Advance.
    Regards,
    Vikas

    HI
    Chech that these steps have been done
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    One these are done
    1) U can trigger the the IDOC by scheduled job in BD87 immediately after the       document is saved in R/3
    2) Using transactions like bd10 and bd12 u can trigger IDOC for master data
    3) While creating the partner profile there is a option “trigger immediately” . By enabling this option the idoc gets triggered.
    4) Using the transaction WE19 u can trigger the IDOC mannually
    Regards
    Santhosh

  • Idoc-xi-file scenario.  how to display file in html format

    I am not sure whether this is a valid question.........but want to confirm as it was asked by somebody
    In idoc-xi-file scenario.......  how to display file in html format ??
    Thanks in advance
    Kumar

    Hi Vijayakumar,
    Thanks for your reply !! You mean to say I got to use XSLT mapping and also .htm and .html extension together to produce the html file ?? or it is sufficient to use any one of them to produce the html file ??
    Regards
    Kumar

  • In idoc to file scenario, if XI system is down where do idocs pile up?

    In idoc to file scenario, if XI system is down where do idocs pile up (get stuck)
    what tcode can I use to reprocess it?

    Sender System ,Check  BD87 .. you will see alll the IDOCs in Yellow state ..
    You can reprocess all the IDOCs in go from there .. if only they are in yellow state ...
    regards
    PS

  • FIle Content Conversion Problem in IDOC-XI-File Scenario

    Dear All,
    I am doing IDOC-XI-FILE scenario.
    I am facing one problem related to File Content Coversion.My requirement was to generate a dynamic file like <b>%store_code%_%current_date%_sitemaster.xml</b> , I have completed the dynamic generation successfully .
    Now there is slight change in the requirement ,<b>we have to suppress the current_date node of the xml content</b> . i have tried to suppress the current_date using these <b>DATE.fieldFixedLengths 0 , Date.fixedLengthTooShortHandling Cut</b> , But I am unable to suppress it Can some body provide me the details on this .
    The output xml version generated by Reciever file adapter is as below :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    </ns0:MT_SITE_MASTER>
    Plz provide me the code I have to write in the file content conversion .
    Thanks in advance
    Regards
    Prabhat

    If u see my earlier reply, I mentioned that u can not suppress the field from the one node.i.e Form SITE_DATA data type u can not suppress the field called CURRENT_DATE.
    My suggestion is that , modify the Data type in such a way that you will be having two nodes as I have mentioned earlier.  Then use the Suppress Logic for the Current Date.
    So it will look like this-
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    <CURR_DATE>
       <CURRENT_DATE>20051105</CURRENT_DATE>
    </CURR_DATE>
    </ns0:MT_SITE_MASTER>
    So ur SITE_DATA is not having a field called CURRENT_DATE. This field is in separate node (segment ) called CURR_DATE. Now u can use the Suppress Logic for the same like this.
    CURR_DATE.fieldFixedLengths - 0
    CURR_DATE.fixedLengthTooShortHanling - Cut
    And in your Variable Substitution you can use the date from the other segment called CURR_DATE.
    Hope this solves ur problem.
    Regards,
    Moorthy

  • Error/Doubts in Idoc-XI-File scenario

    Dear All,
    I am doing one scenario in which DELIVERY idoc is posted from R/3 to XI and then from XI that idoc is to be sent as flat file to one local folder.
    For this scenario, I have done all ALE settings and I am able to see the idoc in XI in cXML format.Now I want to sent it as flat file.
    Now, for doing this I created 2 BS & 2 TS. 1 BS & TS of type Third Party for receiver & 1 BS & TS are of type Web as ABAP for sender. Then I have created one namespace in IR. I have not created any DT, MT, MI, MM becoz the structure of source and target file are same. Now, I created one IM in which I specified specified Type as "ABAP Class" & Mapping program name as one of the Z function module as specified in one of the SAP Guides.
    Then in ID, I created 2 Parties ie. one for Sender & one for receiver. Sender is having a communication channel of type Idoc & receiver is having communication channel of type File. And thn further Receiver Agreement, Inetrface Determination, Sender Agreement & Receiver Agreement are configured.
    In my system there is one scenario already configured which is using Delivery idoc so I have used party in my scenario for both sender & receiver.
    Now, when I am sending the idoc from R/3, I am able to see cXML in SXMB_MONI but it is taking receiver as the one which is defined for the already existing scenario but not the receiver defined by me.
    Can anybody guide if I have followed the correct steps & where I am doing the error.
    Warm Regards,
    N.Jain

    Hi ,
    Plese refer the following blogs ,
    IDoc to File
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    You have to do all this settings mentioned in the docuemnt:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&
    Also can you check this weblogs on the same:
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    Thanks ,
    Suvarna
    Award pts if  it helps .

Maybe you are looking for

  • Changing controlling areas

    Hi All, I want to know if the co area in cj20 can be changed , if it can be changed please tell me how to change the co area from 1000 to 2000

  • Nexus 7004 with N2K-B22HP-P FEX won't connect

    Hello I'm trying to connect an HP Blade server with an N2K-B22HP-P to our Nexus 7004 but it stays in de download mode. # sh fex   FEX         FEX           FEX                       FEX Number    Description      State            Model            Ser

  • Multiple airporter setups

    I have an airporter extreme that's working fine. I want to set up a newly purchased one for my daughter (in another city) who has a PC (win7) and iPad. Can I do the setup on my iMac with the new utility disc then take airporter to her? She's going to

  • Dataguard Active/Active Vs Golden gate in 11i environment

    is there any difference between setting up 11gR2 RAC + Dataguard in Active/Active mode Vs 11gR2 + DG + Golden Gate in 11i environment? Besides, are there any pros and cons in setting up one over another? environment: RH5.x, 11gR2, 2-node RAC, 11.5.10

  • CS2 Activation Error

    Hello everyone, I recently bought a used copy of CS2. It came in the retail box and the CD still had the seal on it. It looked very legit (not that it always means anything, I guess), but when I try to install it I get the message that an activation