on 02-03-2011 3:12 AM
Hi
In my portal for some of my ESS applications are used in webdynpro abap for example travel expense and travel request now i have a requirement like i have to make the create travel expense button disable based on the condition llike i only he has to click create travel expense after creating travel request .So can anybody let us know how to do modofications in the standard webdynpro abap application.
Thanks in advance.
Hi ,
Please have a look at the following link.
[Link.|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?quicklink=index&overridelayout=true]
Thanks,
Aditya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
For making changes in the standard web dynpro compoenent, you need to create and implement enhancement.
For this you can find many links in SDN on how to create enhancement.
Now coming to your specific requirement.
Here what you can do is open the standard component.
1. press ctrl +F4, It will open a popup there give some name to your enhancement.and desicrption . then press Enter.
Assign it to teh package you want.
2. Go to the view where you want to disable the button, There go to the layout and find the ID of the button. say it is 'BTN'.
3. Now go to methods tab, scroll right and selct post exit method of wddomodifyview emthod.
4. there write the code with the condition you want.
if flag eq 'yes'.
data lv_btn type ref to cl_wd_button.
lv_btn ?= view->get_element( 'BTN' ).
lv_btn->set_enabled( abap_false ).
endif.
5. one last thing is you can create a attribute named flag of type string and set its value to 'yes' when you want the button to enable.
Thanks
Sarbjeet Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi krishnakk,
With the above link this might can help you .
[Editing Standard ESS Travel Abap Webdynpro Application|;
[Configuration of ESS u2013 Travel Management (FI-TV)|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0ca7949-af7b-2b10-db80-ed8ca509f573?quicklink=index&overridelayout=true]
Thanks & Regards,
Monishankar C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi krishna,
check out this link
i hope that this will help you
regards,
sahai.s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.