on 04-04-2011 9:43 AM
Hi All,
Could you please tell me how to do the mapping format to Convert date format yyyy-mm-dd to yyyymmdd
or
Please provide any UDF for this conversion.
Thank you .
Regards,
Bharat Kumar
Hi Bharat,
This is one of the most basic requirement in SAP PI and you could have easily found this in one of the zillions of threads on this topic.
Refer the blog from Sarvesh, it talks about almost everything you want to do with DateTrans function:
/people/sarvesh.singh3/blog/2009/02/13/yes-it-is-possible-with-datetrans-function
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The blog of Sarvesh Singh is perfect to solve your problem.
If you have problem of dynamic date formats, check the below blog :
/people/robin.schroeder/blog/2006/11/21/dynamic-date-conversion-in-message-mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI ,
You can easily do that by using the standard datetransformation fuction . in the property of that function put your coming source and desired target format . However once you specify the source format then the source field should always be in thaat format
Regards,
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just use the Std. DateTrans funcion and set the in & out format as per you need. No nedd of udf..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.