cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent : Move String data to Dec variable

Former Member
0 Kudos

iam working in CRM application

I have updating a table with new createddata and time. The table has CRMD_ORDERADM_H table has a field CREATED_AT whose datatype is DEC15. In the database table the value is stored as "01/14/2003 12:24:53"

Now i need to change this data in the program. iam concatenating the date and time into a string trying to pass into the variable L_CREATED of type CRMD_ORDERADM_H-CREATED_AT, i get a dump.

There are no convertion routines for this in CRM. Can someone suggest me workaround.

Thanks,

Suri

Accepted Solutions (0)

Answers (2)

Answers (2)

Clemenss
Active Contributor
0 Kudos

Hi Suri,

I'm not working on CRM system right now. I remember the timestamp has a conversion exit and what you see is the external representation. The field is conected to domain COM_TSTMP. Here you have conversion exit TSTLC.

This means you have to call function CONVERSION_EXIT_TSTLC_INPUT to convert to the internal representation.

Regards,

Clemens

former_member194669
Active Contributor
0 Kudos

Hi,

I think you need to use fm CONVERSION_EXIT_TSTLC_OUTPUT to convert

or go the domain of the field and check for converion routine copy that and go to se37 and paste the same and put * before and after the copied value (for example copied values is TSTLC then TSTLC) and press f4 you can find the conversion function modules

aRs

Former Member
0 Kudos

Thank aRs and Clemens that worked.