Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CONVERSION_EXIT_SDURA_OUTPUT

Former Member
0 Likes
1,020

Hello Gurus,

I am using this code:

data: n(5) type n,

i(3) type n VALUE '180'.

CALL FUNCTION 'CONVERSION_EXIT_SDURA_OUTPUT'

EXPORTING

input = i

IMPORTING

OUTPUT = n

.

The output should be 3:00 but i am getting 300. What am I doing wrong?

Thanks in advance

Edited by: John.Smith on Jan 7, 2010 10:56 PM

Hello Gurus,

I am using this code:

data: n(5) type n,

i(3) type n VALUE '180'.

CALL FUNCTION 'CONVERSION_EXIT_SDURA_OUTPUT'

EXPORTING

input = i

IMPORTING

OUTPUT = n

.

The output should be 3:00 but i am getting 300. What am I doing wrong?

Thanks in advance

Edited by: John.Smith on Jan 7, 2010 10:56 PM

1 REPLY 1
Read only

Former Member
0 Likes
573

Try this:

DATA: n(6) TYPE c,   "<- Character
      i(3) TYPE n VALUE '180'.

CALL FUNCTION 'CONVERSION_EXIT_SDURA_OUTPUT'
  EXPORTING
    input  = i
  IMPORTING
    output = n.

Rob