BODS Error with IDENTITY INSERT and Transactional Data Loading

Hi All,
We are facing some issues while working with SAP BODS,
Scenario: We have 4 tables in Microsoft SQL Server that contains identity Columns and they bears an Parent-Child Relationship among themselves.
We need to insert values into the tables simultaneously.
Solution we are trying to implement:
a) Trying Transactional Options for each table in the data store – but for that the preloading and post loading SQL tabs are going  disabled
                    So error facing is enable identity_insert  is set to OFF. We have everything enabled in database the user which connects the BODS is the owner of the database.
b) Trying Bulk Loading Options
                         Bulk Loading is able to insert values into tables, but then where there is a parent child relationship we are facing the error of Foreign-Key.
Please Share your views.
Thanks a lot in advance.
Regards
Joy

Yes I have tried that, if we use Transaction Loading then both pre-load and post load options are disabled for that.
But if we dont use transaction loading we are facing the parent child table loading problem. Foreign Key constraints are violated,
I have also tried scripting i.e enabling the identity insert before the data-flow begins.
Thanks and Regards
Joy

Similar Messages

  • Error with Informatica when running the data load for BI Apps

    Hi All,
    We are facing a different issue on prod which we haven't got on QA. Below given is session log :
    Target tables:
    W_ORDER_PARTY
    READER_1_1_1> RR_4050 First row returned from database to reader : (Wed Sep 22 10:36:16 2010)
    READER_1_1_1> BLKR_16019 Read [885] rows, read [0] error rows for source table [S_ORDER_BU] instance name [S_ORDER_BU]
    READER_1_1_1> BLKR_16008 Reader run completed.
    LKPDP_1> DBG_21097 Lookup Transformation [LKP_ETL_PROC_WID]: Default sql to create lookup cache: SELECT ETL_PROC_WID,ROW_WID FROM W_PARAM_G ORDER BY ROW_WID,ETL_PROC_WID
    LKPDP_1> TE_7212 Increasing [Index Cache] size for transformation [LKP_ETL_PROC_WID] from [1048576] to [1050000].
    LKPDP_1> TM_6660 Total Buffer Pool size is 609824 bytes and Block size is 65536 bytes.
    LKPDP_1:READER_1_1> DBG_21438 Reader: Source is [SFAPROD1], user [siebel]
    LKPDP_1:READER_1_1> CMN_1021 Database driver event...
    CMN_1021 [DB2 Event Using Array Inserts. connect string = [SFAPROD1]. userid = [siebel]]
    LKPDP_1:READER_1_1> BLKR_16003 Initialization completed successfully.
    LKPDP_1:READER_1_1> BLKR_16007 Reader run started.
    LKPDP_1:READER_1_1> RR_4049 SQL Query issued to database : (Wed Sep 22 10:36:17 2010)
    LKPDP_1:READER_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    LKPDP_1:READER_1_1> RR_4035 SQL Error [
    *[IBM][CLI Driver][DB2/AIX64] SQL0204N "SIEBEL.W_PARAM_G" is an undefined name. SQLSTATE=42704*
    sqlstate = 42S02
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT ETL_PROC_WID,ROW_WID FROM W_PARAM_G ORDER BY ROW_WID,ETL_PROC_WID
    DB2 Fatal Error].
    LKPDP_1:READER_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    LKPDP_1:READER_1_1> BLKR_16004 ERROR: Prepare failed.
    WRITER_1_*_1> WRT_8333 Rolling back all the targets due to fatal session error.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [LKP_ETL_PROC_WID], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [EXPTRANS1], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [EXPTRANS1], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [SQTRANS], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [SQTRANS], and the session is terminating.
    TRANSF_1_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    TRANSF_1_1_1> TM_6085 A fatal error occurred at transformation [SQTRANS], and the session is terminating.
    TRANSF_1_1_1> DBG_21511 TE: Fatal Transformation Error.
    WRITER_1_*_1> WRT_8325 Final rollback executed for the target [W_ORDER_PARTY] at end of load
    WRITER_1_*_1> WRT_8035 Load complete time: Wed Sep 22 10:36:16 2010
    In the above log W_PARAM_G table is a warehouse table. We have checked Informatica to find out the issue but there is no error in informatica.
    Thanks in advance.
    Deepak.

    Hi Sandeep,
    Yes but if you see the log ,its connecting to OLTP DB(DB2 for Siebel source DB),which it shouldnt
    KPDP_1:READER_1_1> DBG_21438 Reader: Source is [SFAPROD1], user [siebel]
    LKPDP_1:READER_1_1> CMN_1021 Database driver event...
    *CMN_1021 [DB2 Event Using Array Inserts. connect string = [SFAPROD1]. userid = [siebel]]*
    LKPDP_1:READER_1_1> BLKR_16003 Initialization completed successfully.
    LKPDP_1:READER_1_1> BLKR_16007 Reader run started.
    LKPDP_1:READER_1_1> RR_4049 SQL Query issued to database : (Wed Sep 22 10:36:17 2010)
    LKPDP_1:READER_1_1> CMN_1761 Timestamp Event: [Wed Sep 22 10:36:17 2010]
    LKPDP_1:READER_1_1> RR_4035 SQL Error [
    *[IBM][CLI Driver][DB2/AIX64] SQL0204N "SIEBEL.W_PARAM_G" is an undefined name. SQLSTATE=42704*
    I Have check the mapplet ,its same no issues in that as well.
    Regards,
    Deepak.

  • Import master and transaction data

    Hallo,
    I need the information, how I can import master and transaction data.
    I fellow the introductions from SAP.Help (see Link), but the Programm UPB_DATA_IMPORT
    is failed. (See point 3 in Link):
    http://help.sap.com/saphelp_nw04/helpdata/en/7a/6d313f8815d036e10000000a114084/frameset.htm
    If I want to try point 3. The error massage.
    “Program UPB_DATA_IMPORT does not exist Message no. DS017”
    will result.
    What I can do? Who can me say why I haven’t the Programm UPB_DATA_IMPORT?
    What is wrong?
    Please help me.I need Data to make a demo planning
    thanks

    Hi,
    There is a set of objects in business content (check under SAP DEMO in business content). You can activate some or all of these demo objects (for example demo cubes).
    There are programs which you can then execute to create the datafiles which can then be loaded to these demo cubes.
    " Start report RSO_BC_FILES_IN_BDS (Transaction SE 38), specify the required (Demo) InfoObject/InfoCube and choose the "Start BDN" button. The system will display all (generally one) CSV files which were supplied with the InfoObject/InfoCube. You can either export this CSV file into a local directory or you can write it directly onto the application server. For loading, proceed as described under section 1. " --- from OSS note 370397

  • Diff B/W master data and transaction data

    Hi all,
    What is the main Diff B/W master data and transaction data.  give me some example ?
    Thanks in Advance
    Krish...

    hi krish,
    MASTER Data is the data that exists in the organization like employee details, material master, customer master, vendor master etc. These are generally created once.
    Master data are distributed throughout the company, they are often not standardised and often redundant. As a result it is very costly to offer efficient customer service, keep track of supply chains and make strategic decisions. With SAP Master Data Management (SAP MDM) these important business data from across the company can be brought together, harmonised and made accessible to all staff and business partners. As a key component of SAP NetWeaver, SAP MDM ensures data integrity via all IT systems.
    Regardless of the industry, companies often work with different ERP and Legacy systems. The result: the business processes are based on information about customers, partners and products which is displayed in different ways in the systems. If the data are recorded manually, there are more inconsistencies: some data sets are entered several times, others cannot be retrieved by all divisions of the company.
    As corporate applications are becoming increasingly complex and produce ever greater amounts of data, the problem is intensified further. Nevertheless, your employees must work with the inconsistent data and make decisions on this basis. The lack of standardised master data easily leads to wrong decisions, which restrict efficiency and threaten customer satisfaction and profitability.
    In a word: in order to save costs and ensure your company’s success it is necessary to consolidate master data about customers, partners and products, make them available to all employees beyond system boundaries and use attributes valid company-wide for the purpose of description.
    TRASNACTION Data - These are the business documents that you create using the master data - Purchase orders, sales orders etc
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9d/193e4045796913e10000000a1550b0/content.htm
    Regards,
    GNK.

  • Downloding the SAP master data and transaction data to a flat file

    Hello All,
    Is there any SAP standard method or transaction to download the SAP master data and transaction data to flat file.
    With out using ABAP development, SAP had provided any tool or method to download the SAP system master and transaction data to flat file.
    Thanks,
    Feroz.

    hi
    as of now up to my knowledge no.

  • Web Analysis Error -- Error while executing query and retrieving data

    Regarding Web Analysis:
    We have a number of reports that we created. yesterday they were all working fine. today we try to open them and most are generating an error.
    The error is:
    Error while executing query and retrieving data.; nested exception is:
    com.hyperion.ap.APException: [1033] Native:
    1013033[Thu Oct 22 09:08:17
    2009]server name/application name/database name/user name/Error91013033)
    ReportWriter exit abnormally
    Does anyone have any insight into what is going on?
    My version information is:
    Hyperion System 9 BI+ Analytic Administration Services 9.3.0.1.1 Build 2
    Web Analysis 9.3.0.0.0.286
    Thanks in advance for your help.
    DaveW

    Hi,
    And also click on check option by opening the query in Query designer,as Mr . Arun suggested.
    And if you get any error in checking, see the long message(detail).
    With rgds,
    Anil Kumar Sharma .P

  • Relation between master and transaction data

    Hi experts,
    I have a basic question how the relation between masterdata and transction data is maintained in R/3. As I know first we extract master data and later transaction data in a typical R/3 based scenario.
    1.How does BW knows that , the transaction data are  related masterdata in the same sense as in R/3 ?
    I am involved in an enhancement of R/3 extractor. I need to derive 3 more fields and map it to info objects in BW. Cld any one explain me ( with an example plz) how these alignments to be made. How can I establish relation b/w derived fields and transaction data during extractions ?
    regs
    D Bret

    Hi Dave.
    Let's see if I can get all of your questions answered.  First, when Transactional Data is loaded, BW checks to see if a SID exists for each characterisatic field & value in the load.  If one doesn't, it either creates a SID (Surregate ID) in the master data tables (default action) or the load fails (if the enforece referential intgegrity flag is set).  It's better to load master data first in either case as it will improve the performance of the transactional load.
    In terms of R/3, the data has similar relationships as in BW.  There are master data tables and transactional data tables.  The difference is that while R/3 uses ~1 master data table per field, BW uses more.  Same thing for transactional data.
    As for your enhancement, if everything you need for the derivation of the extra field is in R/3, then you can enhance the extractor in RSA6 and do the mapping in R/3.  Once you replicate the DataSource to BW and reconnect the transformation & update rules, the load should work.  If you can give a bit more information on what sort of enhancement you are attempting, I can give a better example.
    Cheers,
    Adam

  • Loading GL Master Data -- Attributes, Text, Hier ; and Transaction Data

    Hi all,
    Could any one give me the steps individually to load the following type of data in BI 7.0:
    1. Master Data with Attributes
    2. Master Data with Text
    3. Master Data with Hierarchy
    4. Transaction Data
    Do I have to create the Transformation and DTP's individually to load all the above kind of Data?
    Please give me the information as much as you can.
    Thanks,

    For master data when you create tranformation it will prompt infoobject to act as infoprovider, and then you create DTP to schedule data to it. It works fine with attribute and Texts, though hierarchy dosn;t support much features of 2004s at my side. Like i am not able to migrate Hierarchy datasource to 2004s, and even when i replicate it, it comes as 3.5 datasource only.
    For transaction data follow Gokuls step, or try to find on forums you will get lot of discussion on it.

  • Difference between master data and transactional data

    Hi experts i have just started learning BW can u plz let me know the difference between Master data and Transactional data in bw ? and why is master data is first loaded before the transactional data ? thanks .....

    Hi
    Transaction data represents any transaction occured between two parties like Customer and Vendor.
    We maintain id's to maintain the Customer and Vendor.
    When we look at the id we don't have a clue like who is the customer, where does he live,,....
    So all this info is maintained in Master data in three categories:
    1. Attributes
    2. Text
    3. Hierarchies.
    Collection of Attribute, Texts and Hierarchies is called master Data in BI/BW.
    Eg: 0MATERIAL, 0CUSTOMER,,,,,
    Master data: is data that remains unchanged over a long period of time. Master data contains information that is always needed in the same way. Characteristics can bear master data in BW. With master data you are dealing with attributes, texts or hierarchies.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/58/a4513ce4af0a40e10000000a114084/frameset.htm
    Master Data is one form of the historical data. There is no frequent changes in the data.Every application has it's own Master Data.
    In BI the master Data has been divided into
    Characterstics
    Texts
    Hierarchies
    We can load Master Data through different ways.
    Pls. find the below link
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/58/a4513ce4af0a40e10000000a114084/frameset.htm
    hope it helps u
    regards
    gaurav

  • Difference between master and transaction data

    whts the difference and relaionship between master data and transaction data?why do we need to upload or extract both type of data's?cant we have only transaction data?please clarify

    Hi ,
    <b>Master Data :</b>
    The data which do not change frequently and that is needed generally for many reporting .
    Eg : Customer Name , Customer Address Etcc..
    <b>Transaction Data :</b>
    This the data that is derived based on some master data
    Eg : Creating a sales order for a Customer . So the transaction data will be
           Customer Number , Order Quantity .
    Why we keep master data as seperate in BW ?
    Because master data is general , So we have to use that master data in many cubes for reporting purpose . Because for any report on Customer we need to give cutomer name , So we keep that master data outside of cube so that any cubes that need to use customer master can take that , So we can concentrate on other dimensions for cube ,Other wise we need to include customer name in all cubes which is reppetitive .
    So the best method is to ....
    First Load master Data
    Then load Transactio data .
    In the Bex part we combine the master data with transaction data so that we get combined data .
    Eg :
    Master Data : Customer No , Cust Name , Cust Address
    Tran Data    :  Customer No , SD No , Order Qty .
    We first load the master data into master data tables /BI0/M*
    Then we load tarnsaction data into Cubes .
    Then in BEX Reporting we create query for Transaction Cube , But fetch some master data using Bex feature , So the report output will be
    Cust No   CustName    CustomerAddress    SD no    Order Quantity
    Hope this Solves your Problem

  • How to start Designing Master Data and transactional Data

    Can anyone tell me how to really start to design Master Data and transactional Data in Sales? What are the steps if is it possible to share? Thanks!

    Hi Lei,
    first step is to read all necessary document on help.sap.com about Business Content for SD. Here you can see all the parts covered directly by SAP with the Business Content.
    Then you can start the GAP analysis: you check if all your requirements are fully covered by BC or not, in this second case you can start developing your own InfoObjects.
    Start always by Business Content.
    Take a look also at this doc:
    <a href="https://websmp110.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002719062002E">https://websmp110.sap-ag.de/form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700002719062002E</a>
    Ciao.
    Riccardo.

  • What is master data and transactional data?

    Hi abapers,
    I want to know the difference between master and transactional data?. What is the significane of both master and transactional data. At what situation master data is used, and at what situation transactional is used?. Please give me example of tables using them.

    Master Data:
    Master data is data that remains unchanged over a period of time. It contains information that is always needed in the same way. For example, all personal attributes can be stored in various SAP standard infotypes as records with specific validity which are called Master data.
    Master data are the critical nouns of a business and fall generally into four groupings: people, things, places, and concepts. Further categorizations within those groupings are called subject areas, domain areas, or entity types. For example, within people, there are customer, employee, and salesperson. Within things, there are product, part, store, and asset. Within concepts, there are things like contract, warrantee, and licenses. Finally, within places, there are office locations and geographic divisions. Some of these domain areas may be further divided. Customer may be further segmented, based on incentives and history. A company may have normal customers, as well as premiere and executive customers. Product may be further segmented by sector and industry.
    Transaction data:
    Data relating to the day-to-day transactions.
    Reward if helpful.
    Thanks.

  • Please help to get onhand stock report with last purchase and billed date warehouse and item wise

    please help to get onhand stock report with last purchase and billed date warehouse and item wise

    Hi Rajeesh Ambadi...
    Try This
    SELECT distinct T0.ITEMCODE , t1.ItemName, T0.ONHAND as 'Total Qty',  
      T1.LASTPURDAT ,t1.LastPurPrc
    FROM OITW T0 INNER JOIN OITM T1 ON T0.ITEMCODE = T1.ITEMCODE
    INNER JOIN OITB T2 ON T1.ITMSGRPCOD=T2.ITMSGRPCOD left join ibt1 t3 on t3.itemcode = t0.itemcode and t3.whscode = t0.whscode
    WHERE
    T0.ONHAND>0
    AND T0.WhsCode ='[%0]'
    Hope Helpful
    Regards
    Kennedy

  • How to use ale/idocs in sap crm to transfer master and transactional data

    hi all,
    I am working on sap crm7.0 ehp1. I want to transfer my master and transactional data from crm development system to crm quality system here through idocs. I am aware of basic ale settings and successfully transfe the ztable data through idocs. But i am not able to find any proper step by step procedure for maste and transactional data in sap crm. Also sap ecc tcode NACE is not available here.
    pls help..
    regards,
    kavita chaudhary

    Kavita,
    In CRM, Exchange Interface (XIF) ALE/IDOC is available to transfer master and transaction data. You can go through the following link for set up.
    Basic Data exchange set up for ALE IDocs - Wiki - SCN Wiki
    You can extend the standard XIF IDOCs using Transaction BDFg as well.
    Thanks,
    Ravi

  • What are the settings master data and transaction data from r/3 to in APO.

    Hi all,
    Can u suggest me ,I need to conform in apo what are the setting when transfering master data and transaction data from r/3 to APO.
    frm
    babu

    Hi
    The data get transfered from R3 to APO via CIF which is SAP standard.
    Please find enclosed herewith the link which will provide you detail information regarding it.
    http://help.sap.com/saphelp_scm41/helpdata/en/9b/954d3baf755b67e10000000a114084/frameset.htm
    Please let us know if it helps you. Please also let us know if you have any more specific question.
    Thanks
    Amol

Maybe you are looking for