on 12-26-2013 6:34 PM
Dear Friends:
We are going to use this WD for our W2 online: HRESS_C_ONLINE_W2_REPORT, we would like to add a message there, so that all employees can see it while seeing their W2.
I was thinking about enhancing method WDDOINIT so that a popup is triggered once this WD is accessed, or add an static text somewhere in the webdypro view. Which option do you think is the better in terms of easiness to implement? Also, do you know a way to trigger a popup in the WD (possible in the method WDDOINT) which does not affect the rest of the logic?
Thanks and regards!
Hi,
I suggest you to go for view enhancement and add a text view ui element in view layout. Here you can add your text and even you can colour the text.
Hope this is easier to implement
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Federico,
For this add the custom message directy to the class at dynamic time
CALL METHOD /sapsrm/cl_pdo_msg=>/sapsrm/if_pdo_msg_provider~add_message_static
EXPORTING
it_messages = lt_messages
CHANGING
co_message_handler = co_message_handler.
lt_message contains the message and add the message as per your requirement.
Regards.
Nishant Bansal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.