cancel
Showing results for 
Search instead for 
Did you mean: 

i would like to create a new class in a table which will show only MONTH & YEAR from EXISTING class of DATE

Former Member
0 Kudos

my date class format is "10-JUN-15" how can i fetch only month and year from this class please give me a solution am using IDT in BO4.1

Accepted Solutions (0)

Answers (1)

Answers (1)

amitrathi239
Active Contributor
0 Kudos

Hi,

In the IDT business layer object->Advance tab you can define the format.

Object->Advance->Display->Create Display Format.

Amit

Former Member
0 Kudos

hai amith i tried this but while using that class in query again the default date format only displaying

former_member193452
Active Participant
0 Kudos

Hi Pramod,

Take a look here, this may help.

http://scn.sap.com/thread/3209677

Thanks,

Jacqueline

Former Member
0 Kudos

Hi Rahn,

I have tried what u suggested but still i cant extract the month and year showing some error in reference.

Former Member
0 Kudos

Hi Pramod,

I have got the same error while trying to perform the same.

My solution was to refer to the object as @select(classname\Object_Name) instead of @(table_name.column_name)

Please try to refer to the object from within the @select() from the class-object structture, rather than the table-column structure. If you do not have the object in the UNX, take a dummy object and then refer to it.

This might be ultimately a bug or a so called "Porduct Feature" with IDT so that the @select() is not able to refer tot he table_name.column_name.

Cheers

Arijit