I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1.

I have a column where I have implemented writeback, its working fine. On top of this I need to show 0 as No and 1 as yes in our report, that is also done. Now I want to enter Yes in a column where it was no and I want database table to get update with 1. I am not sure how to do it. SOmeone please help me out.

Hi ,
In your write back XML  try the below  query insert
INSERT INTO TABLE_XYZ (attribute1)  values (SELECT CASE  WHEN @{C1}=’Yes’ then 1 when @{C1}=’No’ then 0 else null end from dual)
Regards
Rajagopal

Similar Messages

Maybe you are looking for

  • Items of input fields are disabled

    Hi All, I have created form using Web Dynpro. In this form, I have provided connnectivity with R/3 using RFC. After creation of the form, I noticed that input fields are disabled. Can you please suggest me the possible reason for this. I have mapped 

  • Can not log in Oracle Business Intelligence 11g

    Hi All, When I tried to startup the Oracle Business Intelligence 11g there are issues: <2010-9-12 下午11时38分24秒 CST> <Error> <oracle.wsm.resources.policymanager> <W SM-02311> <由于出现基础错误 "java.rmi.RemoteException: EJB Exception: ; nested e xception is: o

  • Still getting errors when I try to render

    I've been working on a title and last week when i went to render I got an error message  saying: "After Effects error: crash occurred while invoking effect plug-in "Shatter". then followed by a second message "After Effects error: Crash in progress.

  • Adding hrs and minutes to time

    Hi guys, I currently have a problem where I have two date fields with time stamps. The only bit i am currently interested in in these fields is the time factor. When i display them in their field they have a format of HH24:MI . I have a start time an

  • Flex Compiler include library

    Dear All, We are developing a Flex application in which we are heavily using dynamic object creation using Action Script. For this purpose, we have referanced 2 libraries through compiler include libraries. Now for first beta release it works fine as