cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a new object subtype?

Former Member
0 Kudos

Hi Experts ,

I have created a z component in my crm 2007 .

And now I want to change my configuration of display based on some condition .

Kindly guide me how can I create a new object subtype so that i would be able to change the configuration .

Thanks in advance,

Sergey Kozyrev

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

tx spro

Navigate to

SAP Implementation Guide

Customer Relationship Management

UI Framework

UI Framework Definition

and execute "Define UI Object Types".

Best regards

Pankaj Kumar

Answers (1)

Answers (1)

nicolas_busson
Active Contributor
0 Kudos

Hi,

You will need to implement a "callback class". For this, you can use a standard class as an example: CL_BP_HEAD_SUBTYPE_CALLBACK.

Then, fill in your callback class in this IMG for your object type:

SPRO > Cross component > UI Framework > Framework definition > define object type.

Regards,

Nicolas.

Former Member
0 Kudos

Hello Nicolas,

Thanks for a quick answer. I performed as you explained but when I tried to create a new configuration in the design layer, I got an error message "Subobject type ZXXX is not valid for object type YYY". Do you know what is the problem?

Thanks in advance,

Sergey Kozyrev

nicolas_busson
Active Contributor
0 Kudos

You can try to reset your shared memory...

Start tcode SHMM, select every line and clic "delete".

Regards,

Nicolas

Former Member
0 Kudos

Hi,

Did you get the issue resolved?