Activesync flat file configuration

configured activesync flat file using csv format, able to create users succesfully but when I try to modify user showing User already exist. It is trying to create user again. Any help would be highly appreciative.

That is right... When the feedOp is "Update", Active Sync checks out the User view along with the ActiveSync view. Following need to considered:
1.) Try to be more explicit in determining the feedOp type before applying any attribute values.
2.) Generally this exception is thrown when you are trying to set up the attributes like "waveset.accountId" or "password". Make sure that you are not trying to perform this operations in case of feedOp as "Update"
3.) You will have to provision the User view before even applying the changes to the user. Try using "reprovision" in your WF that is being invoked form activesync.
Cheers
Lalit

Similar Messages

  • Processing records using Flat file ActiveSync resource

    Hi Folks,
    I was working on flat file activeSync resource adapter. Documentation says the following..
    The Flat File Active Sync adapter can track the timestamp of a flat file. In addition, the adapter can archive the last file processed and then compare it to the most recent version. Identity Manager will then act on the accounts that are different in the two files.
    If these features are enabled, the first time Identity Manager polls the source flat file, the system copies the file and places it in the same directory. The copied (archived) file is named FFAS_timestamp.FFAS, with the timestamp indicating the last time the original file was changed. The format of the timestamp is determined by the operating system on which the source file resides.
    On each subsequent poll, Identity Manager compares the timestamp on the original file with the most recent timestamp. If the new timestamp value is the same as the previous value, then the file has not changed, and no further processing is performed until the next poll. If the timestamp values are different, Identity Manager checks for the presence of the FFAS file. If the file does not exist, Identity Manager processes the updated source file as if it were a new file.
    If the timestamps are different and the archived FFAS file exists, Identity Manager compares the source file with the archived file. The comparison will filter any users that have not changed. If a user has changed, then it will be sent through the adapter in the normal manner, and the configured process, correlation and delete rules determine what to do with the user.
    I have set the following attributes in synchronization policy as
    Track Last Processed Timestamp : true     
    Process Differences Only : true
    Unique Key for Diff : <some attribute>
    I have the following flat file..
    PERSONID,accountID,FIRSTNAME,LASTNAME,NATID,BIRTHDATE,EXTERNALID,TYPE,COUNTRY
    10004,,test,4,123444,12/01/1804,204,A,USA
    10005,,test,5,,12/01/1805,205,M,USA
    There is no user account in IDM repository. After processing this file, my code creates the above accounts in IDM.
    I deleted the above two accounts from IDM using admin interface and the accounts are not created again. So far good.
    Now I opened the above flat file and just saved again. It creates the account in IDM.
    According to the above documentation, it should not create the account as the flat file is already processed based on diff operation. Then Why it is creating the account again in IDM? Any logic??
    Your repsonse will be appreciated.

    Hi,
    I am pretty sure this has been working for me but with IAPI.Cancel. Please try to capitalize the C.
    Regards,
    Patrick

  • How to configure the flat file in 11G

    Hi,
    I am using OWB 11.1.0.6.0.
    For a map in OWB 10G having a source a flat file. I used to go and right click on the map--> then click Configure-->then Under "Source Data File" type the file name-->then give the location details and the exact flat file name with extention.
    IN when i do the same thing the node "Source Data File" is missing?? my question is do we need to configute the data file name and location details some were else in 11.1.0.6.0.
    The ERROR I get is
    "VLD-2398: No data file specified. Generated code will use the sampled file name and the file location 'FILE_LOCATION1'.
    To specify a data file configure the mapping, add a node under 'Source Data File', type in the file name and select the file location."

    There should be a node named 'Sql Loader Data Files' in the map's configuration tree (assuming it is a SQLLoader map), if you right click on that node you can create any number of data files, and define the name and location of the file. When you said 10g, were you talking about 10.1?
    Cheers
    David

  • Can SAP XI AS2 Adapter process flat files? Pl. tell me how to configure it

    I have a requirement to read and write delimited ASCII flat files using the AS2 adapter in SAP XI. The AS2 adapter should be able to read from delimited ASCII Flat files and also write to delimited ASCII flat files. Kindly let me know how to configure the AS2 adapter so that it can read and write delimited flat files. I badly need to know this configuration for a client requirement which requires file processing by the AS2 adapter in XI 7.0. Thanks in advance

    Hi,
    Is the requirement is to just read the flat file and process it ? if so, u can use File Adapter provided , ur source system provides u the data in the file format in the some directory
    following thread discussions may help u -AS2 adapter-
    Seebuger AS2 adapter for XI as sender for multiple messages
    Seeburger AS2 Adapter
    Hope this helps,
    Regards,
    Morthy

  • Error Processing a line in Flat File ActiveSync

    We are using IDM 5.5 running on Websphere 6.0.2.3.
    We are feeding a caret seperated flat file to IDM which in turn writes to Sun One Directory Server.
    A sample format of the caret seperated file is
    ssocorrespondlanguage^ssouid^mail^cn^sn^givenname^appaccess^uid^ssostatus
    ^A1C1C423-71F0-138F-CB8C-BCC3BAAF484F^[email protected]^Luigi Marra^Marra^Luigi^portal^[email protected]^A
    ^3DCC1E95-4E7D-113A-BFC0-AAA3BA195331^[email protected]^adhi asokan^asokan^adhi^portal^aadhees^A
    We are facing an issue where IDM is not able to process a line.
    I suppose its because of the "@" or "." character in the uid field as higlighted. Not sure though.
    But am not able to figure it out how to aviod this.
    The error which we are getting is
    2005-12-02T15:31:11.152-0500: Error Processing Line: {gessouid=A1C1C423-71F0-138F-CB8C-BCC3BAAF484F, sn=Marra, cn=Luigi Marra, uid=[email protected], gessostatus=A, gegcfappaccess=portal, mail=[email protected], givenname=Luigi, gessocorrespondlanguage=, diffAction=create}
    com.waveset.adapter.iapi.IAPIException: Item Resource:uniteam.it@GECF_B2B_FF(id=null) was not found.
    Have someone seen this issue.
    Or someone have any idea on this.
    Thanks.

    Thanks for the reply.
    Sorry! I was out of pocket for couple of days........
    I just double checked. I am using unique Employee ID as the "Unique key for diff" and also I have 'process diff. only' flag to set to true.
    In my tests, I modified only contractor expiry date in the incoming sap flat file and then tried processing the file. It gave me the above error. Please note that the same employee id was available in the FFA* file also.
    Interestingly, I tried the same test for another account and it worked for that account. That's what actually totally threw me off.
    Thanks once again.........
    - Lalit

  • Flat File Active Sync doesn't work for account creation without unique id

    Hi,
    I'm trying to set up a FlatFileActiveSync for creation and update of accounts in IDM 7.0. I've followed the below steps for this purpose :-
    1) Create a correlation rule (confirmation rule not reqd in my case).
    2) Create a proxy admin and assign him a empty form. Also give him control over Top organisation.
    3) Create a Flat-File Resource Adapter.
    4) Create ActiveSync input form using the (Active Sync) wizard.
    5) Start Active Sync...
    My feed file contains only 3 fields firstname, lastname, email Id.
    My correlation rule has the logic of matching up with IDM accounts(Lighthouse accountId) by taking first letter of firstname and concat with lastname from the data coming from feed file.
    Now everything works fine for account updates i.e. if I change somebody's email Id who already exists in IDM I can actually see the changed email Id in Configurator's console.
    But if I put in a record that doesn't exist, and which I expect to be created, it gives me an error.
    Although, if I introduce a unique identifier in my feed file and link it with Lighthouse.accountId the account creation works fine.
    Is this a limitation or I'm not doing something right ?
    Exception I saw in resource log with log level 4 :
    2007-04-30T10:02:12.291-0400: Error Processing Line: {lastname=Pogu, firstname=Gogu, [email protected]}
    com.waveset.adapter.iapi.IAPIException: There was a conflict with the record [{lastname=Pogu, firstname=Gogu, [email protected]}]
    and no resolution process has been specified on the adapter.
    It is recommended that you define the process for handling unmatched accounts
    on this load process.
    2007-04-30T10:02:12.292-0400: Poll complete.
    2007-04-30T10:02:12.292-0400: SARunner: loop 1076
    2007-04-30T10:02:12.314-0400: Started, paused until Mon Apr 30 10:07:12 EDT 2007
    2007-04-30T10:07:12.024-0400: Pause completed
    2007-04-30T10:07:12.038-0400: Polling
    2007-04-30T10:07:12.056-0400: Error Processing Line: {lastname=Poker, firstname=Hoker, [email protected]}
    com.waveset.adapter.iapi.IAPIException: There was a conflict with the record [{lastname=Poker, firstname=Hoker, [email protected]}]
    and no resolution process has been specified on the adapter.
    It is recommended that you define the process for handling unmatched accounts
    on this load process.

    That logic is in my correlation rule as I specified in my initial post and here's the XPRESS code for it :-
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Rule PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <!-- MemberObjectGroups="#ID#Top" description="Find out if a resource account is correlated to an IDM account" id="#ID#D23CC16ECF6E5D42:-4527465C:11224925657:-769F" lastMod="61" lastModifier="Configurator" name="HR_DB_CORR" subtype="SUBTYPE_ACCOUNT_CORRELATION_RULE"-->
    <Rule subtype='SUBTYPE_ACCOUNT_CORRELATION_RULE' id='#ID#D23CC16ECF6E5D42:-4527465C:11224925657:-769F' name='HR_DB_CORR' creator='Configurator' createDate='1177449448746' lastModifier='Configurator' lastModDate='1177686884156' lastMod='61'>
    <Description>Find out if a resource account is correlated to an IDM account</Description>
    <cond>
    <and>
    <notnull>
    <ref>firstname</ref>
    </notnull>
    <notnull>
    <ref>lastname</ref>
    </notnull>
    </and>
    <block>
    <concat>
    <substr>
    <ref>firstname</ref>
    <i>0</i>
    <i>1</i>
    </substr>
    <ref>lastname</ref>
    </concat>
    </block>
    <s>false</s>
    </cond>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    </Rule>
    Although this is not specified in Active Sync input form but in the correlation rule attribute of Active Sync config (using the wizard). Do I need to specify it there using the Field function.
    Also, I figured out today that I needed to restart IDM instance after changing the value of "Create Unmatched Accounts" flag and now the error is as below :-
    <WavesetResult>
    <ResultItem type='error' status='error'>
    <ResultError throwable='com.waveset.util.WavesetException'>
    <Message id='SES_VIEW_CHECKIN_ERROR'>
    </Message>
    <StackTrace>com.waveset.util.WavesetException: Unable to checkin view. No account ID specified.&#xA;&#x9;at com.waveset.view.UserViewer.checkinView(UserViewer.java:1165)&#xA;&#x9;at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:727)&#xA;&#x9;at com.waveset.sync.IAPIUserImpl.processCommand(IAPIUserImpl.java:526)&#xA;&#x9;at com.waveset.sync.IAPIUserImpl.submitCreate(IAPIUserImpl.java:195)&#xA;&#x9;at com.waveset.sync.IAPIUserImpl.submit(IAPIUserImpl.java:749)&#xA;&#x9;at com.waveset.adapter.FlatFileActiveSyncAdapter.processLine(FlatFileActiveSyncAdapter.java:404)&#xA;&#x9;at com.waveset.adapter.FlatFileActiveSyncAdapter.processFlatFile(FlatFileActiveSyncAdapter.java:350)&#xA;&#x9;at com.waveset.adapter.FlatFileActiveSyncAdapter.poll(FlatFileActiveSyncAdapter.java:307)&#xA;&#x9;at com.waveset.task.SARunner.doRealWork(SARunner.java:288)&#xA;&#x9;at com.waveset.task.Executor.execute(Executor.java:154)&#xA;&#x9;at com.waveset.task.TaskThread.run(TaskThread.java:132)&#xA;</StackTrace>
    </ResultError>
    </ResultItem>
    </WavesetResult>

  • Flat File Active Sync Errors

    Has anyone seen this error before:
    [#|2007-10-13T18:18:31.571-0400|WARNING|sun-appserver-ee8.1|javax.enterprise.system.stream.err|_ThreadID=12;|
    FATAL EXCEPTION (IDM): Unable to update task results due to fatal exception.|#]
    It keeps popping up the in the app server every ten minutes (the polling interval configured in the FFAS is 10 minutes). Also it seems the only way we can get the activesync to start is on server startup we are never able to manually start or stop it...I think these two issues are related and that somehow somthing maybe got corrupted in the db maybe?? Has anyone encountered a similar problem. This is the flat file active sync on IDM 7.1 on Sun App server 8.1. Any advice would be greatly appreciated. Thanks in advance!

    I'm seeing this error with our active sync processes. They seem to be executing on both of our active sync back end servers. Don't know why. It is causing problems though. We are running IDM 7.1.1.7.

  • Access my flat file, which is located on client machine

    Hi all,
    I have configure Webutil on ApplicationServer to access flat file contents which is located on client machine also configure all of the required parameter.
    file open Dialog box open successfuly but after selecting flat file from client machine ,content of text file is not read
    but if flat file exists on application server it is working properly;
    code is here
    begin
    :file_name:= CLIENT_GET_FILE_NAME('c:/', File_Filter=>'Text Files (*.txt)|*.txt|');
    get_file_contents(:file_name);
    exception when others then
    message(sqlerrm);
    end;
    Edited by: user581546 on Apr 1, 2010 5:02 AM

    In webutil.pll there is a function CLIENT_TEXT_IO. By using this function you can read the client text file.
    Search on forum by CLIENT_TEXT_IO
    -Ammad

  • Problem Reading Flat File from Application server

    Hi All,
    I want to upload a Flat File which is having a Line Length of 3000.
    While uploading it to Application server , only upto 555 length it is getting uploaded .
    i am using the code :
    DATA: BEGIN OF TB_DATA OCCURS 0,
            LINE(3000),
          END OF TB_DATA.
    *----Uploading the flat file from the Local drive using FM "UPLOAD".
    OPEN DATASET TB_FILENAM-DATA FOR OUTPUT IN TEXT MODE." ENCODING DEFAULT.
    IF SY-SUBRC NE 0.
      WRITE:/ 'Unable to open file:', TB_FILENAM-DATA.
    ELSE.
      LOOP AT TB_DATA.
        TRANSFER TB_DATA TO TB_FILENAM-DATA.
      ENDLOOP.
    ENDIF.
    CLOSE DATASET TB_FILENAM-DATA.
    What could be the problem?
    Could it be due to any Configuration Problem?
    Waiting for your replies.
    Thanks and Regards.
    Suki

    Your code looks OK, but you may have touble displaying the full width. Try:
    WRITE: /001 TB_FILENAM-DATA+555.
    (And don't forget to append your ITAB after each read.)
    Rob

  • Running reports on Flat file schemas when OBIEE server is on Unix

    Hello
    we would like to know how Unix OBIEE work with flat file. Currently, in our environment our Development and Production OBIEE are running on Unix AIX machine while our local OBIEE environment is on Windows.
    As our devolepment and configuration goes, we have encounter situations where the flat file schema that were working well on Windows OBIEE server will not run on Unix. The flat files are located on a windows file directory and could be successfully imported into OBIEE throu Admin Tool.
    However, when updating rowcounts or running reports on answers in Unix OBIEE it would return errors:
    State: HY000. Code: 472983136. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16023] The ODBC function has returned an error. The database may not be available, or the network may be down. (HY000)
    The same activity is working fine on our local machine when OBIEE is on windows..
    We would like to get some help on how to work with flat files when OBIEE is runing on Unix..

    is this the same question as [this one|http://forums.oracle.com/forums/message.jspa?messageID=4018049#4018049] ?

  • Idocs from XI to a flat file

    Dear All,
    I having a scenario in which whenever a Delivery is created in R/3 an idoc is posted into XI. I am able to see the idocs in transaction IDX5. Now I want to download this Idoc into a flat file thru XI.
    Kindly guide me how this can be done oe tell me the suitable links to do the same.
    Warm Regards,
    N.Jain

    HI Jain
    It is IDOC to File Scenario.
    Follow the steps in the wiki ...
    https://wiki.sdn.sap.com/wiki/display/XI/StepbyStepProcedureofIDOCtoFileScenariousingBPM
    see the below links
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    Also
    /people/sravya.talanki2/blog/2005/10/27/idoc146s-not-reaching-xi133-not-posted-in-the-receiver-sap-systems133
    IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
    Cheers..
    Vasu
    <i>** REward Points if found useful **</i>

  • How to Extract data to a Flat File?

    Hello,
    Im using OWB 10g and Oracle 9.2 version of database. I want to know the complete steps of creating the flat file as my target module. I need to extract the data (source) from the oracle tables and load it into the flat files. Pls let me know your suggestions. Pls note except the flat files, I do not have any oracle tables as my targets.
    Thanks,
    Kishan

    Hi, here's an excerpt from some notes I wrote a few months ago, they shpoud be clear enough.
    0) the file will be created on the server using the utl_file package. So the path where the file will be created must be added to the utl_file_dir Oracle Server parameter. Request your DBA to complete this step.
    -In OWB client:
    1) create a file location (or use existing one) under "Files/Locations" in project tree
    2) create a new Flat File module (or use existing one) under "Files" ; associate it with the desired location (not really necessary)
    3) create a new mapping in an Oracle module
    4) add to mapping a table operator bound to the table to dump
    5) add to mapping un unbound Flat File (FF) Operator, give it a meaningful name
    6) drag the desired attributes from table to FF Operator. This will instruct OWB to feed the file with comma-separated values from the source table using the utl_file package. Be careful to format attributes accordingly to the format you want.
    7) reconcile outbound the FF Operator, creating a new flat file in the module created during step 2
    8) close mapping, right-click on it an from menu "Configure..."->"Sources&Targets"-><YOURTARGETFILE>, specify the desired output location and the output file name
    9) Open deployment manager and connect to runtime rep. If the FF location is new, register it by right-clicking+menu "Register" and specify parameters: operating system user/passawrd of the DB server, host and path where the file will be stored (must be the same added to utl_file_dir). ATTENTION: path info is stored in the generated mapping so be sure to redeploy mappings if changes occur
    10) deploy mapping, test execution
    11) OPTIONAL you can specify a different delimiter (TAB,etc) for the target file directly in its editor. But be careful then to reconcile inbound the FF op in the mapping before deploying.
    Cheers, Antonio

  • SSIS : How to create Column Header dynamically using expression in Flat File Source

    Hi Team,
    I need to keep configured Header Names for columns, Is there is any way to set each column name from expression? or is there is any other way?

    Nope
    But you could add a dummy row to your source to include column headers and then use options column headers in first row in flat file connection manager.
    So suppose you've three columns column0,coulmn1,column2 and you want to make it as ID,Name,Datethen make source query as
    SELECT 'ID' AS Col1,'Name' AS Col2,'Date' AS Col3, 0 AS ord
    UNION ALL
    SELECT Column1,Column2,Column3,1
    FROM YourTable
    ORDER BY Ord
    then choose  column headers in first row option
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Rejecting the Data to a flat file

    Hi,
    I want to reject the bad data to a flat file. For example, for primary key violation, the bad data should be loaded to a flat file, instead of giving the error and stopping my mapping job (after the error limit of 50).
    Can I do this? Please do help me.
    Thanks,
    Harsha

    Hi,
    what is your actual requirement?
    If you do not want the mapping to fail after raising the 50 errors, then configure your mapping and increase the value for Maximum number of errors tab under runtime parameters.
    If you actually want to capture all the PK violations into a flat file, there is no direct way of doing this.
    Either you have to query RT repository views (write your own sql) to produce a file OR
    While in Mapping Configure window
    expand Sources and Targets
    expand constraint management
    set Enable constraints to FALSE
    set Exceptions Table Name <your own exceptions table>.
    Have a look in Oracle Documentation for constraint management. That should give you an idea how to create your own exceptions table etc.
    HTH
    mahesh

  • How to load the data from flat file ( ex excel ) to Planning area directly

    Hi all ,
    How can i load thedata fro m flat file directly to Planning area .
    PLease help me in this.
    Regards,
    Chandu .

    download one key figure data from planning book ( interactive damand plan) and made some changes and need to upload the data back to same planning book
    But, may I know why you are thinking of downloading, changing and uploading for just changing the figures for a particular key figure. You can do it in the planning book itself.
    However, not all the key-figures can be changed. But, what type of key-figure  you are speaking here? Is it like 'Forecast' for which the value is based on other key-figures, or is like a key-figure where some manual adjustments are to be done--so that it can be manually edited? However,  in both the cases, the data can be changed in the planning book only. In first case, you can change the values of dependant key-figures and in the second case, you can change the key-figures directly.
    And please note that you can change the values of the key-figures only at the detailed level. So, after loading the data in the book, use drill-down option, maintain the data at the detailed level, change the figures, and automatically, this gets reflected at the higher level.
    In case you are unable to change the values, go to the 'Design' mode of the book, right-click your key-figure, under "Selected Rows", uncheck "Output Only" option. In case you are unable to see that option, then you are not authorised to change that. See if you can change the authorisations by going to the "Data View" tab in planning book configuration (/n/sapapo/sdp8b), and change the value of Status to 3.
    Hope your query is answered with different solutions offered by many of the sdn colleagues here.
    Regards,
    Guru Charan.

Maybe you are looking for

  • Using Numbers with Lion and iOS

    Hi, I'm interested in using Numbers to share and update documents across my Apple devices (iMac, Macbook Pro, iPhone and iPad) via iCloud. I have Numbers 09 installed on my iMac and Macbook. I get that I will need to install Numbers on my iPhone and

  • Need help connecting to Oracle 8i db

    I'm trying to build a very simple jsp page that connects to a Oracle 8i schema I already have. Here's the entry in the data-sources.xml for the project: <native-data-source name="jdev-connection-native-VacationTest" jndi-name="jdbc/VacationTestCoreDS

  • BO XI R2 to BO XI  3.1 upgrade - Best Practice

    Hi Experts,     We are using BO Xi R2 version now. We would like to upgrade BO XI R2 to BO XI R3.1 version. Could you please suggest me How to do that. Could you please provide me step by step how to go about this task?     Could you please tell me w

  • Error when defining successor of node in workflows

    Hi Experts, I am receiving an error which says "error when defining successor of node XYZ". However in my workflow template, this particular XYZ node does not exists. Also I found one entry in SWP_SUSPEN table for the main workflow. I tried to execut

  • I've come this far, so, theres no stopping now

    My machine has been shutting down sporadically when I try to install certain programs.. It's not the reboot w/ the error, it shuts all the way down. It hppends at the exact same time, every time.. The only new compontents on the machine are the CPU a