Skip to main content

Steps to configure Write back in OBIEE 11g


1) Enable write back instanceconfig.xml file.

2) Open instanceconfig.xml file, under <DSN> tab enter the following tag.<LightWriteback>true</LightWriteback>

3) Enable writeback for logical columns.

4) Open rpd in offline/online and in the BMM layer expand products logical table, double click on PROD_DESC and then in general tab make it as "Writable".

5) Set writeback permissions in presentation layer.

6) Go to presentation layer of rpd expand product table and then double click on prod desc, click on permissions make this column as Read/Write for user "BI Author"

7) Set execute direct database request permission

8) Go to manage --> Identity, click on Application roles, double click on BI Author --> Permission, Select execute direct data base request "Allow".

9) Disable the cache for physical tables.

10) Double click on SAMP_PROD_D in physical layer, disable the cacheable option, click on OK. Double click on D2 Product, click on unselect Override source table and cacheable.

11) Restart the BI services(After loading rpd in Enterprise manager).

12) Grant write back privileges to Users/Roles.

13) Logon to presentation services --> Administration --> Manage privileges and scroll to the end for "Writeback to database" property and click on Denied:Authenticated user --> Granted: to Authenticated user.

14) Click on OK.

15) Create an analysis with the following columns and enable them for Write back: Prod key, prod Desc

16) From product desc select column properties click on "Write Back" tab, select enable write back increase column width to 30.

17) Click on ok.

18) Save this analysis as write back_report1.

19) Create and store write back XML template.

20) Navigate to the following path. <Installed Drive>\BIHome\Instance\Instance1\bifoundation\ OracleBIPresentationservicescomponent\coreapplication_obips1\analytics\Res

21) Here create New folder by name "CustomMessages", Open this folder and go to Start --> Run --> Notepad and click on Ok.

22) Enter the following xml code into notepad.

<XML version ="1.0" encoding="utf-8"?>

<WebMessageTables

xmlns:sawm="com.siebel.analytics.web/message/V1">

<WebMessageTable lang="en-us" system = "writeback" table= "messages">

<WebMessage name="Wb_product_name">

<XML>

<WriteBack ConnectionPool="Connection pool">

<insert></insert>

<update>

UPDATE SAMP_PRODUCTS_D SET PROD_DESC='@2' WHERE PROD_KEY=@1

</update>

</WriteBack>

</XML>

</WebMessage>

</WebMessageTable>

</WebMessageTables>

23. Save the file as wb_product_name.xmlin the above given path.

24.Enable write back in table view.

25.Go back to answers, open the report which we have saved.

26.Go to table view, Click on edit view.

27.Click on table view properties, select write back tab, select Enable write back and give name as wb_product_name (make sure no.xml extension). Click on OK, done.

28. Save the analysis.

29.Click on "How it appears on dashboard"

30.Click on Update.

31. Now we can notice prod_desc column made as writable.

32.Change a perticular value. For example Install as Install 1234, Click on Apply and Done.

33. Check the updation in database (sqlplus).

34. Slect prod_key, prod_desc from samp_products_d where prod_key=14.

35. ECID -->Execution context ID

36. Every client "transaction" is assigned an execution context ID (ECID)

37. Log entries are "stamped' with ECID, to enable tracing across components.

38. Can be seen in plain text in log files, searched for using log viewer.

Comments

Popular posts from this blog

Contact Me

Do You have any queries ?                   If you are having any query or wishing to get any type of help related Datawarehouse, OBIEE, OBIA, OAC then please e-email on below. I will reply to your email within 24 hrs. If I didn’t reply to you within 24 Hrs., Please be patience, I must be busy in some work. kashif7222@gmail.com

Top 130 SQL Interview Questions And Answers

1. Display the dept information from department table.   Select   *   from   dept; 2. Display the details of all employees   Select * from emp; 3. Display the name and job for all employees    Select ename ,job from emp; 4. Display name and salary for all employees.   Select ename   , sal   from emp;   5. Display employee number and total salary   for each employee. Select empno, sal+comm from emp; 6. Display employee name and annual salary for all employees.   Select empno,empname,12*sal+nvl(comm,0) annualsal from emp; 7. Display the names of all employees who are working in department number 10   Select ename from emp where deptno=10; 8. Display the names of all employees working as   clerks and drawing a salary more than 3000   Select ename from emp where job=’clerk’and sal>3000; 9. Display employee number and names for employees who earn commissi...

Informatica sample project

Informatica sample project - 1 CareFirst – Blue Cross Blue Shield, Maryland (April 2009 – Current) Senior ETL Developer/Lead Model Office DWH Implementation (April 2009 – Current) CareFirst Blue Cross Blue Shield is one of the leading health care insurance provided in Atlantic region of United States covering Maryland, Delaware and Washington DC. Model Office project was built to create data warehouse for multiple subject areas including Members, Claims, and Revenue etc. The project was to provide data into EDM and to third party vendor (Verisk) to develop cubes based on data provided into EDM. I was responsible for analyzing source systems data, designing and developing ETL mappings. I was also responsible for coordinating testing with analysts and users. Responsibilities: ·          Interacted with Data Modelers and Business Analysts to understand the requirements and the impact of the ETL on the business. ·  ...