Skip to Content
avatar image
Former Member

Urgent : Move String data to Dec variable

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 21, 2007 at 04:28 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 21, 2007 at 04:35 PM

    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

    Add comment
    10|10000 characters needed characters exceeded