Skip to Content
0
Former Member
Jan 16, 2009 at 10:57 AM

code for inserting a character depending on the value returned

29 Views

Hi All,

I have a specific requirement in BI, where my query requires to return CharactersY/N based on the return value of a boolean expression involving a number fieldZ

If (Z==5) then the expression returns 1 else returns 0.

But I want to use these result values(1/0) so that I get Y/N instead. I have created a character field X which can accept the values Y,N.How do i proceed forward with coding to be done?

What is the coding to be done to get this working Could someone give me the apprpriate ABAP coding for the routine I intend to write in this context