Skip to Content
0
Former Member
Aug 30, 2007 at 12:48 PM

exception:text for month not maintained

67 Views

hi guys this the program iam using

data : date(10),

text1(26),

num1(10),

test_day(15),

idate type sy-datum.

data : Day(2), month(2), Year(4).

data : ODay(2), Omonth(2), OYear(4).

data : Ltext Type T247-LTX.

date = order_date.

day = date+0(2).

month = date+4(2).

year = date+6(4).

concatenate year month day into idate.

CALL FUNCTION 'HR_IN_GET_DATE_COMPONENTS'

EXPORTING

idate = idate

IMPORTING

DAY = oday

MONTH = omonth

YEAR = oyear.

LTEXT = ltext.

concatenate oday ltext oyear into p_date.

in the smartform my date is in the field order_date when ima excuting iam getting a runtime error sayin <text for month not maintained>

advise..

regds