cancel
Showing results for 
Search instead for 
Did you mean: 

Passing Date parameters to an Xacute query

0 Kudos

Hi,

I have two date parameters on a web page : FromDate and ToDate and am passing them to a Xacute query which will in turn call a transaction.

I am unable to pass the date parameters from the web page to the Xacute query and the transaction. The transaction is not accepting the date parameters from the web page and is only taking the date as the current date.

Could anyone let me know if they have worked on a similar situation. If yes, could you please give me your suggestions.

Thanks,

Sushanth

View Entire Topic
austin_jacob
Explorer
0 Kudos

Hi Sushanth,

I am not sure whether the disconnect is happening from

1)UI to Xacute Query? or

2)Xacute Query to Transaction

My guess would be that you might have mapped Start Date of Mapped Input and End Date of Mapped Input with the Start and End Date Properties of the transaction like below.

If Above is the scenario, Please check if you are passing the Start Date and End Date from the UI to the StartDate and EndDate Parameter, Not to the Params which are used usually.

http://<server>/XMII/Illuminator?QueryTemplate=<QueryTemplate>&StartDate=2013-02-02T00:00:00&EndDate=2014-02-02T00:00:00

Also, make sure that the Date Formats match with the Date Format in the Date Range Tab.

If you are not passing the StartDate and EndDate, the possibility is the End Date will be Current DateTime and the Start Date will be (Current DateTime - 60 Minutes).

If this is not the scenario, please explain your issue little more elaborate.

Regards,

Austin

0 Kudos

Hi,

Thanks for your reply.

The disconnect is from UI to Xacute Query. I am new to SAP MII and I do not know how to pass parameters from the UI to Xacute Query.

Could you please help me in understanding how to pass parameters from UI to Xacute Query.

The URL that I am using to execute the Xacute query is :

http://rnosapxmd1:50200/XMII/Illuminator?service=Personalization

Thanks for your help.

- Sushanth