Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

IsPromptAnswered empty

$
0
0

Dear Experts,

 

BW:

 

In BW team wriiten user exit if its blank in fsical period prompt and accordingly doing this calculation for blank entries.

The prompt is blank(no defaults) but the values are calculated from customer exit.

 

BO:

 

  User interested in seeing the blank entries for fiscal period.

 

For this:

 

Iam trying to use system date like you mentioned and i need to compare with below client calendar table:

 

Ex 1:  Year = 2015 Mon =1 Day =24

This means till jan 24th  its Client fiscal period which is 001/2015

Ex 2: Year = 2015  Mon =2 Day =21

This means last month jan 25th  onwards till feb 21st  it is Client period 2. 002/2015

Ex 3: Year = 2015  Mon =3 Day =28

This means last month feb 22nd onwards till March 28th it is Client period 3 003/2015....and so on..


Webi Formula i have written:


=If(IsPromptAnswered("To Date")) Then ToDate(UserResponse("To Date");"MMM/yyyy") Else CurrentDate().

 

Here in the else part instead of current date, the monthyear which is fiscal period calculated based on client's calendar above..

 

Expected output if left blank at the prompt should be captured in a cell writting and derving current fiscal period as 003/2014 based on above client calendar.

 

Any ideas?..searched entire forum but was asked to shift this logic to BW, actually in BW Side exit written at the empty prompt, need to capture the empty prompt value and display in a cell based on client calendar table.

 

Thanks,

Dinya.



Viewing all articles
Browse latest Browse all 8944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>