on 04-03-2009 4:26 PM
Hi,
I have a question regarding the enhancement of web dynpro abap components.
In fact component HRASR00_PROCESS_EXECUTE uses component HRASR00_EMPLOYEE_SEARCH as component usage.
I need to enhance component HRASR00_EMPLOYEE_SEARCH to add restriction on employee search.
My question is :
If a create an enhancement for this component, the changes I did, will be available for all other components that use HRASR00_EMPLOYEE_SEARCH as component usage will?
If yes, is there a way to avoid that? The enhancement should be available only for component HRASR00_PROCESS_EXECUTE
Thanks a lot for your answer
Karim
Thanks Thomas,
It's a pity, I though there was a filter "system" like with badi's.
I think I'll have to use a IF statement in my enhancement method.
Thanks a lot for your answer.
Kind regards
Karim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you use the Enhancement Framework, you are changing the development object. Therefore your changes will be active for all times that this development object is called. There would be no way to filter this by parent component. Only BADIs would have input filters; but then you would have to pass in the parent component name as the filter value when you call the BADI.
Depending upon what kind of Enhancement you implement - if it is coding you could put an IF check or something around your code to only fire under certain conditions. You could lookup the application name or call some other WD API to try to find what you are running within. Your enhancement would still always fire, but you would have logic so that it only changes the output under the conidtion of the component you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.