SAP Business Objects supporting Node & Action Extension
There is a demand to easily detect the SAP Business Objects which support
- Node Extension
- Adding new nodes to an SAP BO
- All features which are available in PDI Business Objects (data types, annotations, associations, actions, …) are supported inside these nodes
- Action Extension
- Adding new actions inside a standard node of an SAP BO
- Annotation [Transient]
- This requires the event “AfterLoading” to determine the value of that element if the BO is loaded from the persistency
- Event “OnDelete”
- If a node instance is deleted this event is called when the Save process is triggered.
- It allows to react upon this deletion like updating dependent entities.
These functionality is bound to new implementation framework named ESF2 which the SAP BO must use.
Unfortunately we found no place in the Repository Explorer for Business Objects documentation to locate this information so you can find this at first glance.
Therefore I present here a list of SAP Business Objects for SAP Business ByDesign as well for Cloud for Customer which supports these extensions.
Please keep in mind that there is no claim on the completeness or correctness of this list as development could change some internal, technical factors which influence this list. Nevertheless I try to keep it up to date.
Cloud for Customer
That’s all, folks.
in ByD I tried to extend the SourceOfSupply BO, so I can enhance the screen "Supply Control -> Process Purchase Proposal -> Change source of Supply" (to add 3 new fields to the screen). In the XBO there is no node, so I can't do this.
Later I found your comment in a post, that maybe would work in my case :
"- Create a Custom BO as "shadow BO" with the same ID as Alternative Key as the SAP BO
- Maintain all your elements and actions with this shadow BO
- Create am Embedded Component for this shadow BO
- Include this EC into the UI for the SAP BO you want to extend"
Can you please give me a detailed example, especially the last two steps.
Have you finished the sample, now I have the same objective, but I don't know the detail step too.
Could you share me your experience? email@example.com
Thanks a lot.
As you can see in the list above the SourceOfSupply is not enabled for node extension.
But you can add elements to it.
Please have a look into the documenation.
first I would like to thank you for your reply.
I tried to add an element but I get an error: "[Activate] Node 'Root' of business object 'SourceOfSupply' is unknown or not extendable"
The BO SourceOfSupply can not be enhanced with elements.
It can only be used to add ABSL snippets to some nodes.
So the error message does exactly mean what it is saying. 🙂
I want to know whether or not to use "UtilitiesAccountSearch" Enhancement Option to enhance standart Account Search like ECC BADI.
I try to test but it not work and I also ask a question about it .Can you help me?
Looking forward to your reply.
Thanks in advance
If it is only for adding elements to the search you can use
how is it intended to work with there IndustryExtensions?
I tried to get it work but instances are not created automatically and I cannot create them by myself because all elements are readonly. Is there a documentation or example available?
If I get it work for CustomerQuote, will the content be copied when I copy a CustomerQuote?
They should be available from the Item node of the CustomerQuote. The association itself should be created automatically.
If this does not happen I suggest to raise an incident on the CustomerQuote component.
meanwhile I tried it with BusinessPartnerSolutionExtensions in another Project, works as designed. 🙂
Hi Frank Pohlmann
Can you please share a snippet or steps how to do it?
I want do something when user view Sale Order.
My solution is trigger event when having new instance of Sale Order. But I don't know what event I can use ? Or any solution ?
Could you please give me some ideas about it ?
Thanks a lot
Please have a look at the documentation to understand the interaction behavior w.r.t. enhancements via the SDK.
There you will also find example which may help you.
Regarding to this Blog, you mean that i could't extend IndividualProduct BO with addition Action Script file !
As the BO IndividualProduct is not listed, you cannot extend it with actions or nodes.
Only elements are possible for the PSM-released, as extensible marked nodes.
Thank you Horst !
Very useful post, thank you!
I have created a node on the business object CustomerQuote in C4C and added this node with an embedded component to the quote TI.
Now I want to add the elements of the node to the quote form, but the elements are not available when I select 'Enhance Form' on the XBO.
Is there another way to get the elements on the forms?
I am afraid the element selection needs a workaround.
Did you tried to add a dummy element at the CustomerQuote and then trigger "Enhance From"?
I have added a few elements in the root node of the CustomerQuote. There is no problem to add these to the form.
Only the elements that are added in the extension node are not available in the 'enhance form' selection.
What kind of workaround do you suggest?
The adding of those elements was my hope for a workaround.
In that case please create an incident and describe this situation.
The Extension Framework needs to take care of an extension nodes as well as for extension elements.
Thank you for your response. I will create an incident.
Did you manage to publish your extention nodes to your form?
Unfortunately, this was not possible.
i have add Extension with Messages to my extended ServiceRequest, i want to call the message from AfterModify event of ItemProduct Node, unfortunately the Message not available on the event.
You need to enhance the node definition with the message. Please have a look at section 18.104.22.168 Raises (Business Object Extension) of the documentation.
Thank you very much, please what is documentation you referring to by Business object Extension?
The documentation of the SAP Cloud Applications Studio. 🙂
Reachable in the studio via menu Help -> SAP Cloud Applications Studio Help