on 2023 Jun 27 6:23 AM
Hi experts,
I am working on SAP S/4HANA 2022 on-premise and trying to display a message in UI of fiori app 'Manage RFQs' (F2049). I have extended the item behavior definition ReservationDocumentItem.
However the custom message does not show in UI upon saving. Only a standard message from standard validation method 'validate_confd_quan_atp' appears.
But the custom message added in behavior extension of header appears as expected.
Please help on why the custom message from behavior implementation for item is not appearing.
Best regards,
Sumit
Hello volker.drees
Do we have any update on this ?
For me also custom messages gets added at the header level, but for the item level, it does not gets added to the UI. just a framework Message , resolve data inconsistencies , that too in the form of pop up. i am calling both header and items messages validation in the draft action prepare only.
draft determine action Prepare
{
validation validate_fields; " Header validation works good
validation validate_fieldsitems; " item validation.. does not works.. it even does not works at item level also..
}
we are in SAP S/4 HANA 2021 on premise release .. was this bug fix in higher releases ?
sumit.kundu2 : was this fix for you ? koradaramjee789 : please check this.You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Sumit ,
I have somewhat similar query related to Messages.
I am getting messages in the form of pop and not at the left footer , i dont know what wrong i am doing.
I wrote the blog post on this , but have not got any reply on the same.
Can you please have a look, and help here.
Message handling in DRAFT and Strict Mode | SAP Community
Regards ,
Shavneet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sumit,
simply add your item-validation as explained above to the existing draft determine action Prepare on header level.
Best Regards, Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sumit,
can you try to further extent the draft determine action Prepare, by adding your item validation to it:
validation ReservationDocumentItem~validateStockItem;
Best Regards, Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi volker.drees ,
The item has no action 'Prepare'.
I also added another method similar to similar validateStockItem to 'draft determine action prepare' of header BO but the method does not get called when directly editing a quantity in item and saving from reservation edit page.
I debugged and saw the method validateStockItem is called and message is added to message buffer but perhaps the message is somehow getting lost till the UI.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.