on 05-02-2011 9:03 AM
Hi All,
would like inform that there was a requirement in the T&E(Travel & Expenses) on creation of Expense report using portal in the Review screen to make the field Receipt Date Read-Only but couldn't able get the desired output on trying out using the SET_ATTRIBUTE_PROPERTY.
Webdynpro Component for the above screen : FITE_VC_RECEIPTS
View : RECEIPTS_VIEW
In the view Reciepts_view the Receipt_date has been bind with the INPUT_DAT
Provide the valuable inputs to proceed further
Regards
Jaipal
Hi Jaipal,
I have worked on almost same requirement last year while working on travel expense report .
for setting the visibility and state of UI , i enhanced method u201CUI_APPLY_FIELD_CONTROLu201D of class u201CCL_FITV_WD_UTIL.
Just debug this method and see how the visibility and sate of UI are set.
Thanks,
Anshul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI ,
I guess there is already an attribute for determining the 'read-only' feature of the date field...
I guess it is INPUT_DATE.
So just set the value of this attribute using SET_ATTRIBUTE method of IF_WD_CONTEXT_NODE to ' ' .
Thanks,
Aditya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,.
U need to create one more attribute in context and bind the read-only property of ur input field to that attribue and then use SET_ATTRIBUTE_PROPERTY method. .
for more details check this wiki,
http://wiki.sdn.sap.com/wiki/display/WDABAP/SimpleapplicationtochangepropertiesofUIElementsduringruntimeinWebDynpro+ABAP
hope this helps u.,
Thanks & Regards
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Can you please post the code that you have tried?
Thanks,
Aditya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.