cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the sent date in Adapter Module

Former Member
0 Kudos

Hi

How to get Sent Date in Adapter Module. I have used message.getSentTime(). But i am getting in 1179051733406 format is there any way to change this format.

Is there any other way to get the date when file sending.?

Is it possible to get Soap Header data Run Time xml file elements (<SAP:Date>) in SXMB_MONI into my Adapter Module.

Please Help Me

Best Regards

Ravi Shankar B

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can create a Date from this long value:

java.util.Date date = new java.util.Date(1179051733406L);

Answers (2)

Answers (2)

Former Member
0 Kudos

Is it possible to get Soap Header data Run Time xml file elements (<SAP:Date>) in SXMB_MONI into my Adapter Module.?

Hi ravi, if you enable Adapter specific Message Attributes in your Adapter CC,(Source File TimeStamp), you can access the same in your ADapter code as a dynamic configuration

Regards

krishna

Former Member
0 Kudos

Hello,

If I understood correctly it will always be the current date when your adapter module is queries right!!!!!

Also it is possible to get the runtime details but it makes sense if you want them on the receiver side than on the sending side.

Regards,