cancel
Showing results for 
Search instead for 
Did you mean: 

How to use between condition with @prompt function in SAP IDT

0 Kudos

Hi All,

I have one requirement like user needs to select start date and end date as a prompt. There is filed called Day Full is a date field. I have to create a prompt with start date and end date (Between option). I tired with multiple options but i couldn't find the mistake. Please advise me with format. I have tried with below format

Day_Full between (@Prompt ('Select Day full start date', ' D', 'Table name\Day_Full', Multi, Constrained,Persistent)) AND (@Prompt ('Select Day full end date', ' D', 'Table name\Day_Full', Multi, Constrained,Persistent))

Thanks in advance,

Dhinakaran

Accepted Solutions (0)

Answers (2)

Answers (2)

mhmohammed
Active Contributor
0 Kudos

Hi D,

Please use Mono, instead of Multi in both the places in the prompt definition you have here.

Day_Full between (@Prompt ('Select Day full start date', ' D', 'Table name\Day_Full', Mono, Constrained,Persistent)) AND (@Prompt ('Select Day full end date', ' D', 'Table name\Day_Full', Mono, Constrained,Persistent))

Thanks,
Mahboob Mohammed

ayman_salem
Active Contributor
0 Kudos

What error message do you have?

0 Kudos

Hi Salem,

Please find the error screenshot attached.

between.jpg