cancel
Showing results for 
Search instead for 
Did you mean: 

Edit persistent timestamp property value from SAP MII Administration menu

Former Member
0 Kudos

We have created a MII shared memory attribute with data type timestamp.

Now we are trying to change the value from Menu->DataService->Shared Memory of the project.

But it always throws the error : "Error occured while converting the type of the variable".

Can anyone help in this regard ?

Edited by: AbhiGh on Feb 13, 2012 6:11 PM

Edited by: AbhiGh on Feb 13, 2012 6:11 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member201407
Participant
0 Kudos

Dear Abhiroop

This seems some bug with current patch of MII. But if this problem still persists, this can be fixed by one work-around as follows

1. Change the data type of the property (Shared Memory) to String, so that it can be edited in "mm/dd/yyyy hh:mm:ss" format.

2. In the current BLS just convert the string to datetime with built-in function dateformat or datetoxmlformat before passing to target field.

Regards

Som

former_member193328
Active Participant
0 Kudos

hi Abhi

Can you mention which version of MII you are using?

Regards

Partha

Former Member
0 Kudos

We are using SAP MII version 12.1

agentry_src
Active Contributor
0 Kudos

Can you also provide the SP (Service Pack) and build?

Thanks, Mike

Former Member
0 Kudos

The version of SAP MII is 12.1 Service Pack 8.

agentry_src
Active Contributor
0 Kudos

Create a little transaction with a datetime property holding the value you wish to update. Use and Assignment action block to update the persistent timestamp property. Then execute the transaction from your workbench.

Would also add a Tracer action block both before and after the Assign action to display the shared memory property's contents.

You will have to modify the settings of the property so that it can be updated (uncheck Readonly and you may want to tinker a bit with Protected and Cache checkboxes).

If you do a mouse over in the workbench for the property or double click to open it up, it will display its original default value and not necessarily the present contents (been a while since I played with them, so this may have changed).

Regards,

Mike