cancel
Showing results for 
Search instead for 
Did you mean: 

Handling dates in SUP MBO as per SAP format

RamBilasYadav
Participant
0 Kudos

Hi,

I am consuming a function module from SAP which returns the list of customer orders based on the customer & date range parameters. I created a MBO based on that.

When I click the preview and put the values for the parameters customer number, start date and end date, I returns "0" records.

I tried testing the function in SE37 with the same parameter values, it works fine and returns records.

The problem I understand is in the format of the date field.

In SAP I give the date as "01.01.2011".

While in SUP MBO I type it is "2011-01-01".

Any idea how to convert the SUP MBO date format to SAP's understandable format before passing it further to SAP fucntion.

i.e. I want to convert "2011-01-01" to "01.01.2011" in Sybase Unwired Platform, MBO.

Thanks in advance.

Regards,

Ram

Accepted Solutions (0)

Answers (1)

Answers (1)

tahir_z
Contributor
0 Kudos

Hi,

You can set date format easily in which language you are developing. If its SUP Workflow app you can set them while you retrieving data by using javascript as follows

[Date Format-Javascript|http://blog.stevenlevithan.com/archives/date-time-format]

Regards.