Skip to Content
0

Business Object Subtype-Supertype Attachments

Oct 24, 2017 at 08:18 AM

22

avatar image

Hi all;

I have created a subtype for BUS2012 with name ZBUS2012 and delegate. Methods working fine in test mode for ZBUS2012.

But my problem is about attachments. When users add attachments to materia from ME22N, attached files are associated with BUS2012. Is there any way to change this relation from BUS2012 to ZBUS2012 or BUS2012 and ZBUS2012?

Thanks in advance.

Best regards,

Eyüp.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Mike Pokraka Oct 24, 2017 at 10:07 AM
1

Why? Referencing the supertype is exactly the point of delegation.

Share
10 |10000 characters needed characters left characters exceeded
Rob Dielemans Oct 24, 2017 at 10:18 AM
1

Hi,

This behaviour is exactly how you want SAP to behave.

What is real reason for your question?

Kind regards,

Share
10 |10000 characters needed characters left characters exceeded
Eyüp Karaavci Oct 24, 2017 at 10:27 AM
0

Hi;

Yes you're right. I understand better now. I will use ZBUS2012 for custom methods but will use BUS2012 for attachments display/create.

Thansk, best regards.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

You can actually use BUS... for calling custom methods. You only implement them in the Z-object, delegation maps them to the supertype. So your tasks and everything should ideally be based on BUS...

0

Thank you Mike. Good information.

0