<Record Type="UI.DataField">
<PropertyValue Property="Value">
<Apply Function="odata.concat">
<String>Sales order n°</String>
<String> </String>
<Path>Vbeln</Path>
<String> - </String>
<Path>Ernam</Path>
</Apply>
</PropertyValue>
</Record>
onActionButton: function(){
var fnReadBackend = function(){
return new Promise(function(fnResolve, fnReject) {
this.getView().getModel().read("/<entitySet>", {
success: function(){
fnResolve();
},
error: function(){
fnReject();
}
})
);
}.bind(this));
}.bind(this);
this.extensionAPI.securedExecution(fnReadBackend, {
busy: {
set: true,
check: false
},
dataloss: {
popup: true,
navigation: false
},
sActionLabel: "My beautiful title."
});
}
DATA(lo_msg_container) = me->mo_context->get_message_container( ).
lo_msg_container->add_message_text_only(
EXPORTING
iv_msg_type = /iwbep/cl_cos_logger=>success
iv_msg_text = 'The copy is a success'
iv_entity_type = 'CopySO'
iv_add_to_response_header = abap_true
).
lo_msg_container->add_message_text_only(
EXPORTING
iv_msg_type = /iwbep/cl_cos_logger=>error
iv_msg_text = 'The copy is an Erro dude!'
iv_entity_type = 'CopySO'
iv_add_to_response_header = abap_true
).
lo_msg_container->add_message_text_only(
EXPORTING
iv_msg_type = /iwbep/cl_cos_logger=>warning
iv_msg_text = 'Attention, this is a warn...'
iv_entity_type = 'CopySO'
iv_add_to_response_header = abap_true
).
lo_msg_container->add_message_text_only(
EXPORTING
iv_msg_type = /iwbep/cl_cos_logger=>info
iv_msg_text = 'o you know the news ?'
iv_entity_type = 'CopySO'
iv_add_to_response_header = abap_true
).
this.getView().getModel().refresh(true);
this.extensionAPI.refresh("<id>::Table");
<namesapce_of_your_application>::sap.suite.ui.generic.template.ObjectPage.view.Details::SOHeaders--<FacetID>::Table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |